I have created a new upkeep script for our redmine tracker which automates several tasks:
* Updates the new "Merge Commit" and "Fixed In" fields when the associated PR is merged.
* Updates the new "Released In" field when the merge commit associated with the change is in a tagged release.
* Updates a Backport tracker to "Resolved" when its PR is merged. (formerly part of [1])
* Updates a non-Backport tracker to "Resolved" when all of its backports are Resolved/Rejected. (formerly part of [1])
An example of changed issues can be seen in [2].
The main motivation for this script was to have an authoritative field in trackers which tells you at a glance when a change was actually part of a release. The "Target Version" field is currently updated by humans and can become invalid with hotfixes or changing release targets (was originally targeted for "Squid" but now "Tentacle").
The script will primarily run as a cronjob from a github action. In the future, it will also trigger whenever a tag is pushed to ceph.git. That will be useful for quickly updating all trackers' "Released In" fields when a release tag is pushed.
This is just a start. I expect it will automate other tasks for us in the future.
Patrick Donnelly, Ph.D.
GPG: 19F28A586F808C2402351B93C3301A3E258DD79D
He / Him / His
Red Hat Partner Engineer
IBM, Inc.GPG: 19F28A586F808C2402351B93C3301A3E258DD79D
_______________________________________________ Dev mailing list -- dev@xxxxxxx To unsubscribe send an email to dev-leave@xxxxxxx