#151 scm_request_processor - automatically retire rahwide branch for epel only packages
Closed by zlopez. Opened by humaton.

From time to time epel maintainers are requesting epel only packages in this manner: https://pagure.io/releng/fedora-scm-requests/issue/50640

For now, it is up to the requester to retire the package. People forget and it leads to such issues https://pagure.io/releng/issue/11240

The toddler should recognize that is a regular fedora package with -epel extension and retire the rawhide branch right after its creation.


I would like to work on this now, but have question about the retirement process. I looked at the documentation and it seems that only thing I need to do is to create a dead.package file with correct content on rawhide branch. Is that correct or do I need to do something else as well?

Yes, it should be just removing all existing files and add a new dead.package file. This emits a commit message that the block retired toddler processes and blocks the package in koji.

There may be something passing the retirement reason to pagure-dist-git also, but it might read that from the dead.package/comment message?

That should be relatively easy to do. Thanks for clarifying.

Implemented in https://pagure.io/fedora-infra/toddlers/pull-request/344

Metadata Update from @zlopez:
- Issue status updated to: Closed (was: Open)

Metadata Update from @zlopez:
- Issue status updated to: Open (was: Closed)

I was able to finally get the push working on small reproducer I wrote. So this PR should be the last batch of changes.

I was able to create a testing repo on staging, so I'm closing this as done. Will deploy the changes on production on Monday.

Metadata Update from @zlopez:
- Issue status updated to: Closed (was: Open)

Metadata
Related Pull Requests