WIP: Add script to manage FTBFS/FTI bugs #9443

Merged
jnsamyak merged 30 commits from ftbfs-fti into master 2026-06-08 03:11:36 +00:00
Contributor

Running script is fairly trivial:

sudo dnf \
  --repofrompath=koji,https://kojipkgs.fedoraproject.org/repos/f33-build/latest/x86_64 \
  --repofrompath=koji-source,https://kojipkgs.fedoraproject.org/repos/f33-build/latest/src \
  --repo=koji,koji-source \
  --refresh \
  makecache
./follow-bugs.py

Missing things are:

  • FTBFS handling
Running script is fairly trivial: ``` sudo dnf \ --repofrompath=koji,https://kojipkgs.fedoraproject.org/repos/f33-build/latest/x86_64 \ --repofrompath=koji-source,https://kojipkgs.fedoraproject.org/repos/f33-build/latest/src \ --repo=koji,koji-source \ --refresh \ makecache ./follow-bugs.py ``` --- Missing things are: * FTBFS handling
Author
Contributor

1 new commit added

  • fixup! Add script to manage FTBFS/FTI bugs
**1 new commit added** * ``fixup! Add script to manage FTBFS/FTI bugs``
Author
Contributor

rebased onto 22720a3f760287da7c95865a7b18452e1bf2eeea

rebased onto 22720a3f760287da7c95865a7b18452e1bf2eeea
Author
Contributor

1 new commit added

  • fixup! Add script to manage FTBFS/FTI bugs
**1 new commit added** * ``fixup! Add script to manage FTBFS/FTI bugs``
Author
Contributor

1 new commit added

  • fixup! Add script to manage FTBFS/FTI bugs
**1 new commit added** * ``fixup! Add script to manage FTBFS/FTI bugs``
Author
Contributor

1 new commit added

  • fixup! Add script to manage FTBFS/FTI bugs
**1 new commit added** * ``fixup! Add script to manage FTBFS/FTI bugs``
Author
Contributor

1 new commit added

  • ftbfs-fti: Do not close bugs if they block any other important tracker
**1 new commit added** * ``ftbfs-fti: Do not close bugs if they block any other important tracker``
Author
Contributor

5 new commits added

  • ftbfs-fti: Do not close bugs if they block any other important tracker
  • fixup! Add script to manage FTBFS/FTI bugs
  • fixup! Add script to manage FTBFS/FTI bugs
  • fixup! Add script to manage FTBFS/FTI bugs
  • Add script to manage FTBFS/FTI bugs
**5 new commits added** * ``ftbfs-fti: Do not close bugs if they block any other important tracker`` * ``fixup! Add script to manage FTBFS/FTI bugs`` * ``fixup! Add script to manage FTBFS/FTI bugs`` * ``fixup! Add script to manage FTBFS/FTI bugs`` * ``Add script to manage FTBFS/FTI bugs``
Author
Contributor

5 new commits added

  • ftbfs-fti: Do not close bugs if they block any other important tracker
  • fixup! Add script to manage FTBFS/FTI bugs
  • fixup! Add script to manage FTBFS/FTI bugs
  • fixup! Add script to manage FTBFS/FTI bugs
  • Add script to manage FTBFS/FTI bugs
**5 new commits added** * ``ftbfs-fti: Do not close bugs if they block any other important tracker`` * ``fixup! Add script to manage FTBFS/FTI bugs`` * ``fixup! Add script to manage FTBFS/FTI bugs`` * ``fixup! Add script to manage FTBFS/FTI bugs`` * ``Add script to manage FTBFS/FTI bugs``
Author
Contributor

5 new commits added

  • ftbfs-fti: Do not close bugs if they block any other important tracker
  • fixup! Add script to manage FTBFS/FTI bugs
  • fixup! Add script to manage FTBFS/FTI bugs
  • fixup! Add script to manage FTBFS/FTI bugs
  • Add script to manage FTBFS/FTI bugs
**5 new commits added** * ``ftbfs-fti: Do not close bugs if they block any other important tracker`` * ``fixup! Add script to manage FTBFS/FTI bugs`` * ``fixup! Add script to manage FTBFS/FTI bugs`` * ``fixup! Add script to manage FTBFS/FTI bugs`` * ``Add script to manage FTBFS/FTI bugs``
Author
Contributor

1 new commit added

  • fixup! ftbfs-fti: Do not close bugs if they block any other important tracker
**1 new commit added** * ``fixup! ftbfs-fti: Do not close bugs if they block any other important tracker``
Author
Contributor

rebased onto 2e03dc91abaac743bb51f462d14dfce6bcb4c8d8

rebased onto 2e03dc91abaac743bb51f462d14dfce6bcb4c8d8
Author
Contributor

2 new commits added

  • ftbfs-fti: Move bugkeeping to the separate function
  • ftbfs-fti: Show more information about dates
**2 new commits added** * ``ftbfs-fti: Move bugkeeping to the separate function`` * ``ftbfs-fti: Show more information about dates``
Author
Contributor

1 new commit added

  • ftbfs-fti: Improve wording for new bugs
**1 new commit added** * ``ftbfs-fti: Improve wording for new bugs``
Author
Contributor

1 new commit added

  • ftbfs-fti: Improve messaging when closing bug to handle retired packages
**1 new commit added** * ``ftbfs-fti: Improve messaging when closing bug to handle retired packages``
Author
Contributor

4 new commits added

  • ftbfs-fti: Ignore ON_QA bugs
  • ftbfs-fti: Add support for opening bugs against non-rawhide
  • ftbfs-fti: Truncate summary if needed
  • ftbfs-fti: Fix crash after asking for second needinfo
**4 new commits added** * ``ftbfs-fti: Ignore ON_QA bugs`` * ``ftbfs-fti: Add support for opening bugs against non-rawhide`` * ``ftbfs-fti: Truncate summary if needed`` * ``ftbfs-fti: Fix crash after asking for second needinfo``
Author
Contributor

2 new commits added

  • ftbfs-fti: Do not bother opening bugs for orphaned packages
  • ftbfs-fti: Ignore only MODIFIED/ON_QA bugs if they have bodhi update for appropriate release
**2 new commits added** * ``ftbfs-fti: Do not bother opening bugs for orphaned packages`` * ``ftbfs-fti: Ignore only MODIFIED/ON_QA bugs if they have bodhi update for appropriate release``
Author
Contributor

rebased onto c1163ab3170eab2ea4bcc7701d0048f9453bc551

rebased onto c1163ab3170eab2ea4bcc7701d0048f9453bc551
Author
Contributor

1 new commit added

  • ftbfs-fti: Close bugs with WORKSFORME instead of RAWHIDE
**1 new commit added** * ``ftbfs-fti: Close bugs with WORKSFORME instead of RAWHIDE``
Author
Contributor

1 new commit added

  • ftbfs-fti: Create bugs for a specific release instead of rawhide
**1 new commit added** * ``ftbfs-fti: Create bugs for a specific release instead of rawhide``
Author
Contributor

1 new commit added

  • ftbfs-fti: Improve output a bit
**1 new commit added** * ``ftbfs-fti: Improve output a bit``
Author
Contributor

1 new commit added

  • ftbfs-fti: Drop F30 trackers, those are EOL anyway
**1 new commit added** * ``ftbfs-fti: Drop F30 trackers, those are EOL anyway``
Author
Contributor

3 new commits added

  • ftbfs-fti: Try to be smarter when dealing bugzilla wrt flag setting
  • fixup! ftbfs-fti: Create bugs for a specific release instead of rawhide
  • Actually send second needinfo
**3 new commits added** * ``ftbfs-fti: Try to be smarter when dealing bugzilla wrt flag setting`` * ``fixup! ftbfs-fti: Create bugs for a specific release instead of rawhide`` * ``Actually send second needinfo``
Author
Contributor

rebased onto 6fb308df9db07916c431711eaace12d25679cc00

rebased onto 6fb308df9db07916c431711eaace12d25679cc00
Author
Contributor

2 new commits added

  • ftbfs-fti: Print closing/unblocking message to the stdout
  • ftbfs-fti: Improve debuggning messages
**2 new commits added** * ``ftbfs-fti: Print closing/unblocking message to the stdout`` * ``ftbfs-fti: Improve debuggning messages``
Author
Contributor

20 new commits added

  • ftbfs-fti: Print closing/unblocking message to the stdout
  • ftbfs-fti: Improve debuggning messages
  • ftbfs-fti: Try to be smarter when dealing bugzilla wrt flag setting
  • Actually send second needinfo
  • ftbfs-fti: Drop F30 trackers, those are EOL anyway
  • ftbfs-fti: Improve output a bit
  • ftbfs-fti: Create bugs for a specific release instead of rawhide
  • ftbfs-fti: Close bugs with WORKSFORME instead of RAWHIDE
  • ftbfs-fti: Do not bother opening bugs for orphaned packages
  • ftbfs-fti: Ignore only MODIFIED/ON_QA bugs if they have bodhi update for appropriate release
  • ftbfs-fti: Ignore ON_QA bugs
  • ftbfs-fti: Add support for opening bugs against non-rawhide
  • ftbfs-fti: Truncate summary if needed
  • ftbfs-fti: Fix crash after asking for second needinfo
  • ftbfs-fti: Improve messaging when closing bug to handle retired packages
  • ftbfs-fti: Improve wording for new bugs
  • ftbfs-fti: Move bugkeeping to the separate function
  • ftbfs-fti: Show more information about dates
  • ftbfs-fti: Do not close bugs if they block any other important tracker
  • Add script to manage FTBFS/FTI bugs
**20 new commits added** * ``ftbfs-fti: Print closing/unblocking message to the stdout`` * ``ftbfs-fti: Improve debuggning messages`` * ``ftbfs-fti: Try to be smarter when dealing bugzilla wrt flag setting`` * ``Actually send second needinfo`` * ``ftbfs-fti: Drop F30 trackers, those are EOL anyway`` * ``ftbfs-fti: Improve output a bit`` * ``ftbfs-fti: Create bugs for a specific release instead of rawhide`` * ``ftbfs-fti: Close bugs with WORKSFORME instead of RAWHIDE`` * ``ftbfs-fti: Do not bother opening bugs for orphaned packages`` * ``ftbfs-fti: Ignore only MODIFIED/ON_QA bugs if they have bodhi update for appropriate release`` * ``ftbfs-fti: Ignore ON_QA bugs`` * ``ftbfs-fti: Add support for opening bugs against non-rawhide`` * ``ftbfs-fti: Truncate summary if needed`` * ``ftbfs-fti: Fix crash after asking for second needinfo`` * ``ftbfs-fti: Improve messaging when closing bug to handle retired packages`` * ``ftbfs-fti: Improve wording for new bugs`` * ``ftbfs-fti: Move bugkeeping to the separate function`` * ``ftbfs-fti: Show more information about dates`` * ``ftbfs-fti: Do not close bugs if they block any other important tracker`` * ``Add script to manage FTBFS/FTI bugs``
Author
Contributor

2 new commits added

  • ftbfs-fti: When closing bugs, ensure minor_update
  • ftbfs-fti: Count time in orphaning process from the last relevant blocked tracker
**2 new commits added** * ``ftbfs-fti: When closing bugs, ensure minor_update`` * ``ftbfs-fti: Count time in orphaning process from the last relevant blocked tracker``
Author
Contributor

2 new commits added

  • ftbfs-fti: Exit early when skipping bugs
  • ftbfs-fti: If the FTI tracker was added at the creation time, use it
**2 new commits added** * ``ftbfs-fti: Exit early when skipping bugs`` * ``ftbfs-fti: If the FTI tracker was added at the creation time, use it``
Author
Contributor

1 new commit added

  • ftbfs-fti: Improve notifications messages
**1 new commit added** * ``ftbfs-fti: Improve notifications messages``
Author
Contributor

1 new commit added

  • ftbfs-fti: All times should be in UTC
**1 new commit added** * ``ftbfs-fti: All times should be in UTC``
Author
Contributor

2 new commits added

  • ftbfs-fti: Skip dummy test packages
  • ftbfs-fti: Improve creation message
**2 new commits added** * ``ftbfs-fti: Skip dummy test packages`` * ``ftbfs-fti: Improve creation message``
Author
Contributor

rebased onto c07b50b3835321e56a99981aba9d7712bfa57890

rebased onto c07b50b3835321e56a99981aba9d7712bfa57890
Author
Contributor

2 new commits added

  • ftbfs-fti: Fix typo in closing message
  • ftbfs-fti: Update orphaned bugs with useful info and do not ask for needinfo
**2 new commits added** * ``ftbfs-fti: Fix typo in closing message`` * ``ftbfs-fti: Update orphaned bugs with useful info and do not ask for needinfo``
Author
Contributor

rebased onto 740cfc7f8a

rebased onto 740cfc7f8a15847cfe8af017f841bd893bf25804
Owner

I assume this is to just have a known place to run them from so if others do so it's all the same scripting?

Or did you want to look at us running this every day/week or whatever?

I assume this is to just have a known place to run them from so if others do so it's all the same scripting? Or did you want to look at us running this every day/week or whatever?
Owner

Pull-Request has been merged by kevin

Pull-Request has been merged by kevin
Author
Contributor

@kevin Ideally you would run it every day, but I think for now it is more about having code somewhere soe that people can run it / inspire.

@kevin Ideally you would run it every day, but I think for now it is more about having code somewhere soe that people can run it / inspire.
Owner

Sounds good. Thanks for writing it!

Sounds good. Thanks for writing it!
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
releng/tickets!9443
No description provided.