Handling of $provides in ap
The apkdb as created by aports/db.lua
also considers package names specified in $provides
:
https://gitlab.alpinelinux.org/alpine/lua-aports/-/blob/master/aports/db.lua#L152
As such, ap
subcommands also work on these package names which is somewhat unexpected. For example:
$ ap builddirs -d ~/src/aports/main gnupg
~/src/aports/main/gnupg
~/aports/main/gnupg1
This behaviour currently causes a bug in the GitLab CI script. For example, if the gnupg aport was modified the CI build script will also attempt to rebuild the gnupg1 aport.
I am not sure what the intended behaviour of the ap script is. Maybe the code for considering $provides
could be disabled using an option?