CI: make failure because of outdated pmaports.cfg version more obvious
Example: !21 (closed)
aports-static fails with:
Initializing pmbootstrap [07:02:01] Work path [/home/pmos/.local/var/pmbootstrap]: Run 'pmbootstrap log' for details.
The real error message is only in
log.txt (when browsing the build artifacts):
(000026) [07:02:01] Save config: /home/pmos/.config/pmbootstrap.cfg (000026) [07:02:01] NOTE: pmaports path: /builds/Danct12/pmaports (000026) [07:02:01] NOTE: your pmaports folder has version 0, but version 1 is required. (000026) [07:02:01] ERROR: Please update your local pmaports repository. Usually with: 'git -C "/builds/Danct12/pmaports" pull' (000026) [07:02:01] See also: <https://postmarketos.org/troubleshooting>
What this means is for the user who creates the MR: the MR needs to be rebased on master. It would be nice if we could make that more obvious.