Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

import com.madana.common.apkparser.Package

...

// set alpine arch; default is 'x86_64'
Package.setAlpineArch("aarch64");

// set alpine version; default is 'latest_stable'
Package.setAlpineArch("3.12");

// search for exact match
Package mariadb = Package.searchExact("mariadb");

// search for partial match; this returns a list of packages whos names contain 'mariadb'
ArrayList<Package> mariadbPackages = Package.search("mariadb");

Good to know

  • package list is automatically update if a search is executed and if 24 hours have surpased

About

madana-apk-parser is a module which allows the search for alpine packages by downloading the latest index, parsing it and providing an easy to handle wrapper.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages