#50 Fix Bodhi release discovery to handle Branched and Rawhide
Merged by mymindstorm. Opened by adamwill.
adamwill/fedora-packages-static fix-bodhi-pending  into  master

Download 50.patch

In Bodhi, the releases that represent Branched and Rawhide have
state 'pending', not 'active'. Also, the release that represents
Rawhide has the appropriate release number (currently 42) as its
version, not 'rawhide' or 'Rawhide'. The rest of this app is
written to expect that this script will treat Rawhide's version
as 'rawhide' (and thus name the database files as
fedora-rawhide_(type).sqlite), so let's detect when we've hit
the Bodhi release that matches Rawhide by checking the 'branch'
property, and handle it specially.

See: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/2SFM5ZKYWEGETYS2GVUZP3ABEUH34Y6H/

Signed-off-by: Adam Williamson awilliam@redhat.com

rebased onto 9463d3793272c349a1377fd22830b3c0ab8e80e1

Updated to also patch get-product-names.py. Hardcoding just seems like the sensible way to go there.

Pull-Request has been merged by mymindstorm

Metadata