Sometimes I want to build an older version of a package from Alpine, and
since package upgrades can involve things like patches and other
externalities just changing the pkgver and running checksum in pmaports
may not be enough. As such, it tends to be easier to revert the change
in the local aports repo and then fork than forking and then trying to
manually revert the changes yourself (since you can't have git do that
for you given that they are distinct repositories).
Prior to this patch, that was not possible since pmbootstrap would
assume older aport version equals outdated aports in general and as such
cancel the whole operation. Instead, just print a warning and helpful
information to make this workflow possible while also warning users that
they may want to update their local aports.
pmbootstrap/patches/.build.yml: SUCCESS in 14m9s
[aportgen: Only warn if binary version > APKBUILD version][0] from [Newbyte][1]
[0]: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/47519
[1]: mailto:newbyte@postmarketos.org
✓ #1111353 SUCCESS pmbootstrap/patches/.build.yml https://builds.sr.ht/~postmarketos/job/1111353