#6957 Set bugzilla assignee to orphan for retired branches/packages
Closed: Fixed 5 years ago Opened 6 years ago by till.

When a branch such as epel is retired, something needs to make sure that the bugzilla assignee is also set to orphan. Ideally people could not even report new bugs (not sure if this was implemented with the pkgdb2 setup). With pkgdb2 it just managed this, not sure what could be a good tool right now. Maybe something that checks on pdc branch retirements and then updates fedora-scm-requests?

We also need to make sure that when we unretire things, that we set the bugzilla owner to the requester. I mentioned this here:
https://pagure.io/fedrepo_req/issue/64

@ralph @mprahl


@till I think we could add this functionality to the Bugzilla owner/cc sync script, but I don't know how we'd manage the access needed to fedora-scm-requests from the host that's running the script.

Any ideas?

@mprahl, where is the Bugzilla owner script running? Is it the dist-git-pagure host? AFAICS pagure has a remote-edit feature for files in repos, maybe this can be used for this.

Another issue is that it seems that this is not on branch granularity but only differentiates between Fedora and EPEL. Just wondering, if someone uses a custom branch for Fedora modularity, how will this be mapped to Bugzilla?

Metadata Update from @ralph:
- Issue assigned to ralph

6 years ago

Hm, well, here's a start:

https://paste.fedoraproject.org/paste/A3WUpxQOagtmoJ5eOPTaMg

That queries PDC for retirement status before consulting the overrides.. which seems simpler to me than trying to sync everything to the overrides repo all the time.

I'm not sure yet about how to map default assignees for "arbitrary" branches, though.

@ralph , is this fixed? Can this ticket be closed? Please advise.

Still waiting on a reply from @ralph ...

Yeah, let's call it done. Thanks @syeghiay.

Metadata Update from @ralph:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata