#9 Some safety improvements for fedora_bz.py eolwarn (check if first bug has been commented already, add a --start-bug option)
Merged by bcotton. Opened by adamwill.
fedora-pgm/ adamwill/pgm_scripts fedorabz-safety  into  main

Download 9.patch

This adds a safety check for the eolwarn command, which can potentially edit bugs multiple times: we check if we've already commented on the first bug in the list, and bail out if so. There is a --force option to override this. We also add a --start-bug option which can be used to work on only bugs with an ID higher than the ID given - this is intended for use if an eolwarn run dies halfway through, you can run it again with --start-bug (last edited ID) and it will pick up where it left off (and pass the safety check).

Pull-Request has been merged by bcotton

safety_dance.mp3

Would you mind updating the SOP docs for @amoloney's benefit?

https://docs.fedoraproject.org/en-US/program_management/pgm_guide/sop/branch/
https://docs.fedoraproject.org/en-US/program_management/pgm_guide/sop/eol-warning/
https://docs.fedoraproject.org/en-US/program_management/pgm_guide/sop/eol-day/

yeah, I'm on it.

Metadata