summaryrefslogtreecommitdiffstats
path: root/aports
Commit message (Collapse)AuthorAgeFilesLines
* db: include provides when calculate build orderNatanael Copa2019-11-191-4/+12
|
* db: clear depends_static and provides when parsing APKBUILDsNatanael Copa2019-11-191-0/+2
|
* db: clear depends_* when parse APKBUILDsNatanael Copa2019-05-031-0/+4
| | | | | Some APKBUILDs uses makedepends="$depends_dev ..." without first setting depends_dev. This may result in depends_dev leak when parsing APKBUILDs
* db: fix split_deps() to support fuzzy operator ~Jakub Jirutka2018-08-051-1/+1
|
* db: handle makedepends_build and _hostNatanael Copa2017-10-241-1/+3
|
* db: set luacheck to ignore too long lineJakub Jirutka2017-07-251-0/+1
|
* fix code quality violations according to luacheckJakub Jirutka2017-07-253-60/+51
|
* db: fix access to invalid variable in split_apkbuild()Jakub Jirutka2017-07-251-2/+4
|
* ap: add subcommand dump-jsonJakub Jirutka2017-06-221-0/+77
|
* db: fill pkg table in constructionJakub Jirutka2017-06-211-17/+17
|
* db: add field pkgdescJakub Jirutka2017-06-211-2/+4
|
* db: use more unique delimiter for printing abuild vars in shellJakub Jirutka2017-06-211-2/+2
|
* db: avoid silly string duplication using string.repJakub Jirutka2017-06-211-1/+3
|
* db: add license fieldJakub Jirutka2017-02-061-2/+4
|
* pkg, db: support $checkdepends variableWilliam Pitcock2017-01-292-2/+7
|
* pkg: support arch="!arch" syntaxTimo Teräs2016-07-251-1/+1
|
* buildrepo: fix bug when repodest is set with buildrepo -dNatanael Copa2016-04-072-9/+18
| | | | | we need to use the specified repodest when checking if package is built or not
* db: fix parsing of url fieldEivind Uggedal2015-10-011-1/+1
| | | | | url was the 12th field, but only 11 groups were present in the pattern.
* db: return nil instead of false to indicate iterator breakNatanael Copa2015-08-251-2/+2
|
* pkg: fix libc detectionNatanael Copa2014-08-191-2/+1
|
* abuild: add function for getting the libcNatanael Copa2014-08-191-6/+16
| | | | use whatever the abuild functions.sh says it is
* db: return nil when APKBUILD contains fatal errorsNatanael Copa2014-08-191-10/+22
| | | | | | | We must exit with error if there are some problem in any APKBUILD that causes the parser shell to exit. Otherwise we might end up with a partial package database.
* pkg: rename enabled() to relevant()Natanael Copa2014-01-282-3/+3
|
* db: check both arch and libc when checking for relevant aportsNatanael Copa2014-01-281-2/+2
|
* pkg: add libc_enabled() and enabled()Natanael Copa2014-01-281-0/+9
| | | | | This lets us check if a package is disabled in either arch or !libc_* in options
* db: store optionsNatanael Copa2014-01-281-6/+8
| | | | We need this for detecting !libc_*
* db: rename deps_exists to known_deps_existsNatanael Copa2014-01-241-3/+14
| | | | so we can ignore the unknown dependencies
* db: filter out version information on dependenciesNatanael Copa2014-01-241-2/+14
|
* db: implement deps_exists()Natanael Copa2014-01-241-0/+11
| | | | This tests if all the deps has the .apks built
* pkg: replace all_deps with an each_dependency() iteratorNatanael Copa2014-01-242-36/+22
|
* db: check that all subpackages' apk files exists when decide to buildNatanael Copa2014-01-241-1/+1
|
* pkg: implement all_apks_exists()Natanael Copa2014-01-241-0/+13
| | | | function to check if all the apk files exists for given package
* db: add linguas subpackagesNatanael Copa2014-01-241-4/+9
| | | | squid is the only package using it
* pkg: use luafilesystem to detect file existanceNatanael Copa2014-01-241-6/+2
|
* pkg: fix bug in arch_enabledNatanael Copa2014-01-241-1/+1
|
* db: implement git_describe()Natanael Copa2014-01-231-0/+12
| | | | | so we can get the git describe string from aport. This is used as description for the APKINDEX.
* apkrepo: new lua modeNatanael Copa2014-01-231-0/+27
| | | | add update_index implementation
* pkg: add optional subpkgname option to apk_file functionsNatanael Copa2014-01-091-9/+9
|
* db: each_need_build: filter out aports not relevant to archNatanael Copa2014-01-091-1/+1
|
* pkg: implement arch_enabled()Natanael Copa2014-01-091-0/+5
| | | | to test if package is relevant for current arch
* pkg: use pre-inialized abuild varsNatanael Copa2014-01-091-7/+4
|
* abuild: initialize commonly used vars on module loadNatanael Copa2014-01-091-0/+5
|
* pkg: initialize arch on module loadNatanael Copa2014-01-091-2/+2
| | | | so we dont need a conditional in inner loops.
* db: store arch settingNatanael Copa2014-01-091-0/+9
|
* db: add each_in_build_order()Natanael Copa2014-01-011-0/+22
|
* db: add each_need_build() iteratorNatanael Copa2014-01-011-2/+12
| | | | iterates over all aports that needs build
* pkg: add apk_file_exists()Natanael Copa2014-01-011-4/+16
| | | | tests if the .apk file exists for the given package
* abuild: add get_arch()Natanael Copa2014-01-011-0/+10
|
* db: pass aportsdir and a list repos to new()Natanael Copa2014-01-011-9/+10
|
* db: API changesNatanael Copa2013-12-311-11/+19
| | | | | | | | | rename functions: each() -> each_name() each_pkg -> each_pkg_with_name() (returns pkg, index) new functions: each() iterates all pkgs. returns pkg, name