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.
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 hitthe 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