From Fedora Project Wiki
This is a shorthand list of items we are needing to cover for building Rawhide Gating in Fedora Infrastructure for the Fiscal Year 2020.
Point of contact: Pingou
Time for implementation: 2020-03-31(?)
Change proposal: https://fedoraproject.org/wiki/Changes/GatingRawhidePackages
Task breakdown
Bodhi
- Single package update
- We will need to write a message-bus listener that will automatically create a bodhi update for each package built in the rawhide-gated tag.
- We will need to write a message-bus listener to automatically push bodhi updates created for rawhide that have passed CI (the decision being announced by Greenwave).
- Multi package update
- We will need to allow bodhi to create a new update from a specified side-tag instead of a list of builds.
- We will need to write a message-bus listener that, upon greenwave notifications about an update created from a side-tag passing CI, will move all of its builds into the rawhide-candidate tag and clean the side-tag created for this update.
- We will need to write a script that regularly clean old side-tags left around
Koji
- We will need a koji plugin allowing packagers to create new side-tags
fedpkg/rpkg
- We will need to add support for the command:
fedpkg side-tag create
which will create a new side-tag in koji for this user using the new plugin - We will need to add support for the command:
fedpkg side-tag merge
which will call bodhi to ask it to create an update corresponding to this side-tag- Alternatively: Expand the existing
fedpkg update
command to add support for creating a new update from a side-tag
- Alternatively: Expand the existing