Use alpine-qa-bot in postmarketOS
After seeing @Cogitri's awesome talk on alpine-qa-bot, the postmarketOS team decided that we want to use it for pmaports too. We don't have a concrete plan when to roll it out yet, but here is what we brainstormed in the last meeting.
Useful features:
- all postmarketOS git repositories
- comment / close stale MRs
- pmaports.git
- auto-assign users to MRs for their packages, based on "Maintainer:" in APKBUILD
- automatically tagging of MRs:
aport:upgrade
, which release etc.
Useful features (making check_mr_settings.py redundant, all postmarketOS git repositories):
- complain if MRs are coming from a protected branch (e.g. master after forking)
- automatically check "Allow maintainers to edit" (check_mr_settings.py complains about this; if we can instead of complaining just set the checkmark it would be more userfriendly!)
Features not implemented in alpine-qa-bot, which would be useful for us:
- comment / close stale issues too (all postmarketOS git repositories)
- tag device packages too (pmaports.git)
- e.g. device-pine64-pinephone gets modified -> add device-pine64-pinephone label
As bot account we can use this one, which has also been used to import everything from github to gitlab: https://gitlab.com/pmgitbot (currently only I have credentials for that one)