[RFC] New redmine-upkeep.py script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://github.com/ceph/ceph/pull/64191

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.

[1] https://github.com/ceph/ceph/blob/f768b9273887b71fd09e1c92ebbe6cced3dd26c8/src/script/backport-resolve-issue
[2] https://tracker.ceph.com/projects/cephfs/issues?utf8=%E2%9C%93&set_filter=1&sort=priority%3Adesc%2Cid%3Adesc&f%5B%5D=cf_33&op%5Bcf_33%5D=*&f%5B%5D=&c%5B%5D=project&c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=subject&c%5B%5D=cf_21&c%5B%5D=cf_33&c%5B%5D=cf_34&c%5B%5D=cf_35&group_by=status&t%5B%5D=

--
Patrick Donnelly, Ph.D.
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

[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux