After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786491 - Fedora upgrade code relies on pkgdb 'collections' API, which is being retired
Fedora upgrade code relies on pkgdb 'collections' API, which is being retired
Status: RESOLVED OBSOLETE
Product: gnome-software
Classification: Applications
Component: General
unspecified
Other Linux
: Normal major
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-08-18 21:24 UTC by Adam Williamson
Modified: 2018-01-24 17:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Williamson 2017-08-18 21:24:09 UTC
The code which determines which Fedora releases are available as upgrades - plugins/fedora-pkgdb-collections/gs-plugin-fedora-pkgdb-collections.c in current git master - relies on the pkgdb 'collections' API endpoint:

https://admin.fedoraproject.org/pkgdb/api/collections/

However, pkgdb is being retired. At present it's read-only and has been since August 4th, so the data it contains is inaccurate: it still considers Fedora 24 active (it is in fact EOL) and does not know that Fedora 27 has been branched. At some point soon, it will likely go away entirely.

The idea is that code should switch to using PDC - https://pdc.fedoraproject.org/ - for this instead. However, there's a major problem with that: PDC doesn't distinguish between development and stable releases, it only has 'active' and 'inactive' (EOL). So both Fedora 26 and Fedora 27 (which has just branched) are listed as 'active', which is obviously no good for gnome-software's needs.

There has been an issue open on this for a long time: https://github.com/product-definition-center/product-definition-center/issues/294

I've poked Ralph Bean to give it some urgency. Note, we will need to ship updates for all supported Fedora releases once this can be fixed...
Comment 1 GNOME Infrastructure Team 2018-01-24 17:43:34 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/214.