RFC: maintenance improvements for forked packages in pmaports
We have a few forked (from aports) packages in pmaports, like compilers and such, and we're going to get a lot more when systemd support is merged in. These forked packages need to stay in sync with upstream aports, when the version in aports changes then the forked package's version needs to change to include the latest from aports.
There is currently automation (monitoring project) for letting us know when some of the forked packages are outdated, but it would be nice to have automation that:
-
monitors all forked packages in pmaports
- discover them at runtime, perhaps by grepping for the "# Forked from Alpine" line that we require in forked package APKBUILDs
- https://gitlab.com/postmarketOS/monitoring/-/issues/6
- OR use alpine's mqtt broker for triggering, #2790 (comment 1894902542)
-
submits a patch to pmaports upgrading any forked packages
- current process is running
pmbootstrap aportgen <package>
to re-sync<package>
with its aports counterpart - later a gitlab bot(? or ?) could auto-merge these upgrade patches? (Clayton doesn't think this should be required for a MVP)
- current process is running
Please comment if there are more things missing that you think would be either 1) required or 2) nice to have (and please indicate which)!
Edited by Administrator