fedora-infra / bodhi

Bodhi is a web-system that facilitates the process of publishing updates for a Fedora-based software distribution.
https://bodhi.fedoraproject.org
GNU General Public License v2.0
155 stars 196 forks source link

Bodhi needs to be able to find non-RPM critpath Packages #1448

Open bowlofeggs opened 7 years ago

bowlofeggs commented 7 years ago

Currently, Bodhi can only know about critical path RPMs due to the pkgdb API only having a way to express critpath for RPMs:

https://github.com/fedora-infra/bodhi/blob/2.5.0/bodhi/server/util.py#L201-L214

Once pkgdb can express non-RPM critical path packages, we will need to update Bodhi so it can enforce critical path rules on other types.

This pkgdb issue tracks the RFE to add types to the critpath API:

https://pagure.io/pkgdb2/issue/66

This issue was first reported by @jeremycline.

jeremycline commented 7 years ago

I've heard rumblings about pkgdb being replaced by Pagure, so we should also follow up on that to make sure we're ready if that happens.