#13034 set released_on date field in Bodhi Release metadata
Opened by petersen. Modified

Currently the Bodhi Release(s) API metadata has eol defined for each release but we don't set released_on. Could we please start doing that from F43 or F44 at the very least. Though honestly it would be nice to have this set for all current Fedora releases IMHO.

  • If we cannot complete your request, what is the impact?

There is no way to detect when a Fedora release is actually GA from the API currently, since state: current is set some days before the actual GA.

This affects fedora-repoquery 43 for example: currently (before F43 GA) it fails because it thinks it is already GA.


$ date
Sun 27 Oct 2025 01:23 AM +08
$ bodhi-cli release F43
branch: f43
candidate_tag: f43-updates-candidate
composed_by_bodhi: true
create_automatic_updates: false
critpath_mandatory_days_in_testing: 14
critpath_min_karma: 2
dist_tag: f43
eol: 2026-12-02
id_prefix: FEDORA
long_name: Fedora 43
mail_template: fedora_errata_template
mandatory_days_in_testing: 7
min_karma: 1
name: F43
override_tag: f43-override
package_manager: dnf
pending_signing_tag: f43-signing-pending
pending_stable_tag: f43-updates-pending
pending_testing_tag: f43-updates-testing-pending
released_on: null
setting_status: null
stable_tag: f43-updates
state: current
testing_repository: updates-testing
testing_tag: f43-updates-testing
version: '43'

(or curl -X GET https://bodhi.fedoraproject.org/releases/?exclude_archived=True | jq)

Metadata Update from @jnsamyak:
- Issue assigned to jnsamyak

@mattia can you look into bodhi cli, I think this seems to be a problem there?

 bodhi releases edit --name F43 --released-on 2025-10-28
Saved release:
  Name:                     F43
  Long Name:                Fedora 43
  Version:                  43
  Branch:                   f43
  ID Prefix:                FEDORA
  Dist Tag:                 f43
  Stable Tag:               f43-updates
  Testing Tag:              f43-updates-testing
  Candidate Tag:            f43-updates-candidate
  Pending Signing Tag:      f43-signing-pending
  Pending Testing Tag:      f43-updates-testing-pending
  Pending Stable Tag:       f43-updates-pending
  Override Tag:             f43-override
  State:                    current
  Beta Status:              None
  Email Template:           fedora_errata_template
  Composed by Bodhi:        True
  Create Automatic Updates: False
  Package Manager:          dnf
  Testing Repository:       updates-testing
  Released On:              None
  End of Life:              2026-12-02

Metadata Update from @jnsamyak:
- Issue tagged with: high-gain, medium-trouble, ops, sprint-3

(I had a quick look at the code and can't see anything obvious - so I almost wonder if it is the db?)

It was indeed a bodhi bug, which is fixed now: https://github.com/fedora-infra/bodhi/issues/5964 I think with the next bodhi release it will be set.

Metadata Update from @jnsamyak:
- Issue untagged with: sprint-3
- Issue tagged with: sprint-4

Metadata Update from @jnsamyak:
- Issue untagged with: sprint-4
- Issue tagged with: sprint-5

Metadata