#10880 Set proper version in pkgdb/api/collections/ response for pre-release offers
Closed: Fixed 2 years ago by kevin. Opened 2 years ago by mcrha.

At the moment, the Fedora 37 pre-release reports this on https://admin.fedoraproject.org/pkgdb/api/collections/ :

    {
      "allow_retire": true,
      "branchname": "master",
      "date_created": "2014-05-14 12:36:15",
      "date_updated": "2022-08-09 17:07:23",
      "dist_tag": ".fc37",
      "koji_name": "f37",
      "name": "Fedora Linux",
      "status": "Under Development",
      "version": "devel"
    },
    {
      "allow_retire": true,
      "branchname": "master",
      "date_created": "2014-05-14 12:36:15",
      "date_updated": "2022-08-09 17:07:23",
      "dist_tag": ".fc37",
      "koji_name": "f37",
      "name": "Fedora",
      "status": "Under Development",
      "version": "devel"
    },

Note of the version field, it's not a number, it's a text. This breaks pre-release upgrade in gnome-software, which expects a number there. The status field might be enough to distinguish between the versions, I guess.

Related bugzilla report:
https://bugzilla.redhat.com/show_bug.cgi?id=2124145


Metadata Update from @zlopez:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: low-trouble, medium-gain, ops

2 years ago

Since we are in beta freeze we need to get +1s for this PR to fix it https://pagure.io/fedora-infra/ansible/pull-request/1180

Metadata Update from @humaton:
- Issue untagged with: low-trouble, medium-gain, ops
- Issue priority set to: Needs Review (was: Waiting on Assignee)

2 years ago

We talked about this in fedora stand up. freeze-break approved in this case

Metadata Update from @phsmoura:
- Issue priority set to: Waiting on Assignee (was: Needs Review)
- Issue tagged with: medium-gain, medium-trouble, ops

2 years ago

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog