Implement Toddler for Handling Bugzilla Issues on Package Retirement and Unretirement #194

Open
opened 2024-05-29 13:03:53 +00:00 by jnsamyak · 6 comments

Description:


When a package is retired in Fedora, all Bugzilla issues filed for rawhide should be closed with the status "WONTFIX" or "EOL". Additionally, when a package is unretired, we need to notify the package maintainer with a list of all bugs that were closed due to the retirement, allowing them to handle the reopened bugs as they see fit.

Releng Ticket: https://pagure.io/releng/issue/8478

Requirements:

  • Bugzilla Closure on Package Retirement:
  1. Listen for messages indicating a package retirement.
  2. Identify all Bugzilla issues for the retired package filed for rawhide.
  3. Close these Bugzilla issues with the status "WONTFIX" or "EOL".
  • Notification on Package Unretirement:
  1. Listen for messages indicating a package unretirement.
  2. Retrieve the list of Bugzilla issues closed due to the previous retirement.
  3. Send a notification to the package maintainer with the list of closed bugs.

Automating this process will streamline the handling of Bugzilla issues related to package lifecycle events, reducing manual workload for maintainers and improving overall efficiency.

## Description: --- When a package is retired in Fedora, all Bugzilla issues filed for rawhide should be closed with the status "WONTFIX" or "EOL". Additionally, when a package is unretired, we need to notify the package maintainer with a list of all bugs that were closed due to the retirement, allowing them to handle the reopened bugs as they see fit. Releng Ticket: https://pagure.io/releng/issue/8478 ## Requirements: - Bugzilla Closure on Package Retirement: 1. Listen for messages indicating a package retirement. 2. Identify all Bugzilla issues for the retired package filed for rawhide. 3. Close these Bugzilla issues with the status "WONTFIX" or "EOL". - Notification on Package Unretirement: 1. Listen for messages indicating a package unretirement. 2. Retrieve the list of Bugzilla issues closed due to the previous retirement. 3. Send a notification to the package maintainer with the list of closed bugs. Automating this process will streamline the handling of Bugzilla issues related to package lifecycle events, reducing manual workload for maintainers and improving overall efficiency.
Contributor

This sounds like two new small toddlers that will just listen for topic and do some interactions with Bugzilla.

How the notification should be sent? By e-mail?

This sounds like two new small toddlers that will just listen for topic and do some interactions with Bugzilla. How the notification should be sent? By e-mail?
Author

How the notification should be sent? By e-mail?

I think so triggering an email against, should be the right way to go.

> How the notification should be sent? By e-mail? I think so triggering an email against, should be the right way to go.

We shouldn't close with EOL, this is not end of life, it's a retirement.... I guess WONTFIX is best.

How do we get the list of bugs closed on unretirement? The only way I could think of is to perhaps add a whiteboard tag of some kind to them? but it would have to be a unique setting for that package so when we queried it later we wouldn't get other stuff. Or do you see some other way to get this information?

Perhaps we could leverage pagure for the notification? ie, when a unretirement is processed we add that list to the ticket and say it's processed?
(but I guess that could be bad if there's private bugs, so this might not be best)

We shouldn't close with EOL, this is not end of life, it's a retirement.... I guess WONTFIX is best. How do we get the list of bugs closed on unretirement? The only way I could think of is to perhaps add a whiteboard tag of some kind to them? but it would have to be a unique setting for that package so when we queried it later we wouldn't get other stuff. Or do you see some other way to get this information? Perhaps we could leverage pagure for the notification? ie, when a unretirement is processed we add that list to the ticket and say it's processed? (but I guess that could be bad if there's private bugs, so this might not be best)
Author

@churchyard's comment from the releng ticket:

The reviewer is supposed to check the bugzilla title matches the package.

The tool can then check if the repo name matches the bugzilla title, which it did in this case.
@churchyard's comment from the releng ticket: ``` The reviewer is supposed to check the bugzilla title matches the package. The tool can then check if the repo name matches the bugzilla title, which it did in this case. ```
Contributor

How is my comment relevant here?

How is my comment relevant here?

It would be nice to also leave an automatic comment on open distgiit PRs announcing that the package has been retired and pointing to the "how to unretire a package" docs.

It would be nice to also leave an automatic comment on open distgiit PRs announcing that the package has been retired and pointing to the "how to unretire a package" docs.
rcallwoo added this to the Unified backlog project 2025-08-07 01:50:39 +00:00
Sign in to join this conversation.
No milestone
No assignees
5 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: Infrastructure/toddlers#194
No description provided.