Skip to content

Releases: fedora-infra/bodhi

8.2.0

28 Oct 14:02
Compare
Choose a tag to compare

Released on 2024-10-26.
This is a feature release that needs configuration file adjustments. See the following notes for the details.

Backwards incompatible changes

  • Bodhi's update status checking has been overhauled, and some configuration options have changed.

    • critpath.num_admin_approvals is removed. This backed the old Fedora "proventesters" concept, which has not been used for some years.
    • critpath.min_karma is removed and is replaced by a new setting just calledmin_karma. This applies to all updates, not just critical path.
    • critpath.stable_after_days_without_negative_karma is renamed to critpath.mandatory_days_in_testing and its behavior has changed: there is no longer any check for 'no negative karma'. Critical path updates, like non-critical path updates, can now be manually pushed stable after reaching this time threshold even if they have negative karma.

    As before, these settings can be specified with prefixes to apply only to particular releases and milestones. min_karma and (critpath.)mandatory_days_in_testing now act strictly and consistently as minimum requirements for stable push. Any update may be pushed stable once it reaches either of those thresholds (and passes gating requirements, if gating is enabled). The update's stable_karma value is no longer ever considered in determining whether it may be pushed stable. stable_karma and stable_days are only used as triggers for automatic stable pushes (but for an update to be automatically pushed it must also reach either min_karma or (critpath.)mandatory_days_in_testing).

    The most obvious practical result of this change for Fedora is that, during phases where the policy minimum karma requirement is +2, you will no longer be able to make non-critical path updates pushable with +1 karma by setting this as their stable_karma value. Additionally:

    • It is no longer possible to set an update's request to 'stable' if it has previously met requirements but currently does not
    • Two cases where updates that reached their unstable_karma thresholds were not obsoleted are resolved
    • Updates in 'pending' as well as 'testing' status have autopush disabled upon receiving any negative karma
    • The date_approved property of updates is more consistently set as the date the update first became eligible for stable push (#5630).

Features

  • When searching updates, you can now specify multiple gating statuses by passing the 'gating' query arg more than once (#5658).
  • Bundled fedora-bootstrap has been updated to 5.3.3-0 (#5711).
  • A packager can now edit a side-tag update even if the side-tag is not owned by them, provided they have commit rights on all packages included in the side-tag (#5764).

Bug fixes

  • The development.ini.example config - on which the BCD config is based - is now set up to listen on both IPv4 and IPv6 (#5659).
  • Openid based login support has been removed from Bodhi. python-openid and pyramid-fas-openid are EOL and we moved to OIDC authentication. (#5601).
  • Fixed a build validation issue which would prevent a sidetag update from being submitted in some circumstances (#5725).
  • Fixed broken pagination for listing updates in webUI and JSON (#5738).

Development improvements

  • Calls to datetime.datetime.utcnow() have been changed to datetime.datetime.now(datetime.timezone.utc). We previously assumed all datetimes were UTC based, now this is explicit by using timezone aware datetimes (#5702).

Documentation improvements

  • Bodhi's documentation is now served from ReadTheDocs pages (#5774).

Contributors

The following developers contributed to this release of Bodhi:

  • Adam Williamson
  • Mattia Verga
  • Nikola Forró
  • Ryan Lerch

8.1.1

22 Jun 13:56
Compare
Choose a tag to compare

Released on 2024-06-22.
This is a bugfix release, see below for the details.

Bug fixes

  • Builds passed alongside a side-tag in update forms were not validated correctly against the side-tag (#5647).
  • build with spec false: build require python3dist(poetry-core) >= 1 but not in spec BuildRequires (#5678).
  • bodhi server web Incorrect static resource path for httpd, always "python3.7" python3_version in /etc/httpd/conf.d/bodhi.conf, fix in bodhi-server.spec (#5680).
  • Fixed the release list web page which was not updated after a release changed state (#5684).
  • Fixed bodhi-server enums initialization in Python 3.13 (#5685).

Contributors

The following developers contributed to this release of Bodhi:

  • niuwanli
  • Mattia Verga

8.1.0

09 Apr 12:27
Compare
Choose a tag to compare

Released on 2024-04-09.
This is a feature release that adds options for running createrepo_c.

Features

  • Bodhi can now set a timeout on postgresql database queries (default to 30 sec) (#5593).
  • The createrepo_c config file now can accept enabling/disabling sqlite metadata generation and using --compatibility flag (#5617).
  • Builds submission can now be restricted to only specified sources (#5556).
  • A new /list_releases/ GET endpoint is available to allow retrieving JSON data through ajax calls. (#5587).

Bug fixes

  • Use urljoin for update URLs construction (#5566`).
  • DRPMs can now be disabled per Release in createrepo_c config file (#5616).

Development improvements

  • The Vagrant development environment is entirely removed in favor of BCD, and bodhi-shell is fixed in BCD. (#5600).

Contributors

The following developers contributed to this release of Bodhi:

  • Aurélien Bompard
  • Adam Williamson
  • Mattia Verga

bodhi-server 8.0.2

11 Jan 16:23
Compare
Choose a tag to compare

Released on 2024-01-11.
This is a bugfix release.

Bug fixes

  • Fixed Automated Tests table in the web UI not showing missing results or remote rule errors correctly (#5581).

Contributors

The following developers contributed to this release of Bodhi:

  • Adam Williamson

bodhi-server 8.0.1

24 Dec 08:58
Compare
Choose a tag to compare

Released on 2023-12-24.
This is a bugfix release that fixes an urgent issue about bodhi-server not honouring cookie authentication settings.

Bug fixes

  • The Bodhi authentication policy wasn't honoring settings from config (#5572).

Contributors

The following developers contributed to this release of Bodhi:

  • Mattia Verga

8.0.0

09 Dec 15:20
Compare
Choose a tag to compare

Released on 2023-12-09.
This is a major release that introduces several breaking changes. Please read the details below and make sure to update any customized value in your config file.

Backwards incompatible changes

  • The 'required testcases' feature is removed, as it mostly just duplicated what we do with Greenwave, only worse. The SaveUpdate schema is modified (#5548).
  • The custom skopeo-light script has been dropped. Please adjust your config file to use the real skopeo command (#5505).
  • Build NVRs are added to the Bugzilla comment. Please adjust initial_bug_msg in Bodhi config during upgrade (#5513).
  • Settings for repodata and updateinfo can now be set by an external config file and no more hardcoded. Custom settings can be applied per Release, see the devel/ci/integration/bodhi/createrepo_c.ini file for reference (#5521).

Dependency changes

  • libcomps >= 0.20 is required to correctly validate repodata created with createrepo_c >= 1.0. Bodhi can now support all compression method available in createrepo_c (#5455).
  • Authentication and Authorization have been ported to Pyramid 2.0 Security Policies and session serializer has been switched from PickleSerializer to JSONSerializer. Bodhi will now require Pyramid > 2.0. (#5091).
  • Bodhi now can run with sqlalchemy 2. At the same time the minimum required sqlalchemy version is raised to 1.4 (#5105).

Server upgrade instructions

This release contains database migrations. To apply them, run:

$ sudo -u apache /usr/bin/alembic -c /etc/bodhi/alembic.ini upgrade head

Summary of the migrations:

  • The Release model has gained a released_on column which reports the date of first release.
  • The requirements column has been removed from both Package and Update models.
  • The email column of the User model has been modified to UnicodeText.

Features

  • Support for storing critical path data in PDC is removed, as it is no longer needed (#5431).
  • Server: added a get_critpath_components json endpoint to list critical path components configured for a Release (#5484).
  • The release timeline graph now uses logarithmic scale for better display (#5492).
  • The webUI now allows unpushing Rawhide updates which fail gating tests (#5542).
  • Releases can now inherit buildroot override tags from other releases by settings in Bodhi config file (#4737).
  • Update notes are now converted to plaintext when printed in email or messages (#5049).
  • Members of QA groups defined in configuration are now able to waive or trigger tests for any update, despite they're packagers/provenpackagers or not (#5448).
  • Make the update.comment message schema more informative (#5469).
  • Release data now give information about the status of pre_beta and post_beta and of the first date of release (#5481).
  • Builds associated to unpushed updates can now be moved to other existing updates (#5485).
  • JSON APIs now support quering Releases by multiple states, for example ?state=pending&state=frozen (#5518).
  • The UpdateReadyForTesting message format is simplified, and the message is now published on update creation and edit with changed builds instead of push to testing (#5538).

Bug fixes

  • Exclude locked updates being composed from being modified by cron tasks (#5524).
  • WebUI will not show the "push to testing" option meanwhile the update is waiting for builds to be signed (#5550).
  • Updates ejected from the composes would remain stuck in pending state due to wrong tags applied to thei builds (#5396).
  • Usernames containing a - are now correctly matched when mentioning (#5453).
  • Sidetags in the dropdown of the new update form are now sorted alphabetically (#5470).
  • Fixed "cannot access local variable 'tags'" error when editing flatpak updates (#5503).
  • The new update page now displays a meaningful page title (#5540).

Contributors

The following developers contributed to this release of Bodhi:

  • Aurélien Bompard
  • Adam Williamson
  • Jonathan Lebon
  • Lenka Segura
  • Mattia Verga
  • Owen W. Taylor
  • Ryan Lerch

7.2.2

03 Oct 14:43
Compare
Choose a tag to compare

Released on 2023-10-03.
This is a bugfix release.

Bug fixes

  • Fixed the detection of Flatpak update type (#5496).
  • Fix handling container tags which aren't valid OCI tags (#5497).
  • Fixed display of waived failures in the Automated Tests tab (#5397).

Contributors

The following developers contributed to this release of Bodhi:

  • Owen Taylor
  • Adam Williamson
  • Mattia Verga

7.2.1

30 Jul 14:54
Compare
Choose a tag to compare

Released on 2023-07-30.
This is a bugfix release.

Features

  • If an update has got any failing test, an help box is displayed in the Automated Tests tab (#5382).

Bug fixes

  • On the Automated Tests tab, passed tests that are 'required' now correctly show as such (#5388).
  • client: do not rely on HOME being defined in os.environ variables (#5398).
  • server: when resubmitting a pending update to testing, make sure the release candidate tag is applied to all builds (#5400).
  • Fixed wrong update attribution in ready for testing message string (#5415).
  • Fixed missing whitespace in "bodhi update completed push to testing" (#5416).
  • Update testing instruction command is now clearer as it now warns users that it may take up to 24 hours for an update to propagate to mirrors (#5428).

Development improvements

  • Added support for dnf5 to repository sanity check tests (#5404).

Contributors

The following developers contributed to this release of Bodhi:

  • Aurélien Bompard
  • Adam Williamson
  • Mattia Verga

7.2.0

30 Apr 07:07
Compare
Choose a tag to compare

Released on 2023-04-30.
This is a bugfix release.

Features

  • Bodhi will not try to recalculate the gating status in response to a new result or a new waiver if the status is ignored (#5202).
  • update.edit messages now include new_builds and removed_builds properties (#5237).
  • The Releases list webpage now hide inactive (disabled or archived) releases by default (#5264).

Bug fixes

  • Icons for tests in QUEUED and RUNNING states were not displayed in the webUI (#5187).
  • Updated links to Bodhi extended markdown description page (#5190).
  • The title in the update webpage now has no more a hyperlink (#5089).
  • The bundled selectize js component was downgraded to 0.14.0 to solve a bug where the bug list was emptied upon editing an update (#5233).
  • Link to Koji builds are now correctly encoded (#5272).

Development improvements

  • Use functools lru_cache for caching Release.all_releases() and Release.get_tags() instead of a custom implementation (#5238).

Contributors

The following developers contributed to this release of Bodhi:

  • Aurélien Bompard
  • Adam Williamson
  • Kevin Fenzi
  • Mattia Verga
  • Mikolaj Izdebski
  • Michal Konečný

7.1.1

18 Mar 09:36
Compare
Choose a tag to compare

Released on 2023-03-18.
This is a minor feature release.

Features

  • The automated tests tab will now display information about queued and running tests (#5139).
  • Copy additional config files for pungi (#5154).

Contributors

The following developers contributed to this release of Bodhi:

  • Adam Williamson
  • Michal Konečný