prepare_release_notes: support for sweep:ignore and domain labels
This update tries to solve the issue that we don't have a good way of communicating changes to the production branch that should not be merged into main (see e.g. !69049 (merged) from @jojungge). The developer used the appropriate sweep:ignore but of course that would have gone unnoticed. Our prepare_release_notes.py
script now warns (in sweep mode) that a MR with that label is being merged:
*******************************************************************************
WARNING - the following MRs have the sweep:ignore label attached
https://gitlab.cern.ch/atlas/athena/-/merge_requests/69049 [branch: DisableMuonPhaseIITests]
Check the MRs and if needed revert them before proceeding:
git revert -m1 f8275a9923583d28cb7b782d7dcb74e1c9ae4dd4
1e721d773fdbfe29f1f6642b2ca92e5eea3d9892
# then rerun prepare_release_notes.py and edit the MR description to reflect the changes
********************************************************************************
In addition, replace the hard-coded domain labels by reading our "official" domain map from the CI repository.
Edited by Frank Winklmeier