Skip to content

Releases: fedora-infra/bodhi

Bodhi 3.12.0 released

17 Dec 22:22
Compare
Choose a tag to compare

This is a small feature release.

Server upgrade instructions

No special actions are needed when applying this update.

Features

  • Add a new bugzilla_api_key setting so that Bodhi can authenticate with an API key instead of
    a username and password. It is hoped that this will solve an issue Bodhi has been experiencing
    with Red Hat's Bugzilla instance since it upgraded to version 5, where Bodhi is often told it
    needs to log in to Bugzilla when making changes to issues (#2827).
  • Logging around Bodhi's use of the Bugzilla API is expanded (#2831).

Contributors

The following developers contributed to Bodhi 3.12.0:

  • Randy Barlow

Bodhi 3.11.3 released

05 Dec 15:17
Compare
Choose a tag to compare

This is a bugfix release.

Server upgrade instructions

No special actions are needed when applying this update.

Bug fixes

  • Correctly handle multiple builds with the search form in the new update JavaScript web UI code
    (#2791).

Contributors

The following developers contributed to Bodhi 3.11.3:

  • Mattia Verga

Bodhi 3.11.2 released

03 Dec 18:49
Compare
Choose a tag to compare

This is a bugfix release, addressing an issue that was solved incorrectly with 3.11.1.

Server upgrade instructions

No special actions are needed when applying this update.

Bug fixes

  • Correctly catch http.client.IncompleteRead while Composing and retry (#2758).

Contributors

The following developers contributed to Bodhi 3.11.2:

  • Randy Barlow

Bodhi 3.11.1 released

27 Nov 15:30
Compare
Choose a tag to compare

This is a bugfix release, addressing a few issues with running Bodhi under Python 3.

Server upgrade instructions

No special actions are needed when applying this update.

Bug fixes

  • Pass the correct type, str, to smtplib.SMTP.sendmail() for its to and from address
    parameters (#2756).
  • Allow EnumSymbols to be sorted (#2757).
  • Catch http.client.IncompleteRead while Composing and retry (#2758).
  • Correctly handle timestamps from Koji (#2768).
  • Do not reverse the logout/reboot options in the web UI on Python 3 (#2778).
  • The captcha now works under Python 3 (#2786).

Contributors

The following developers contributed to Bodhi 3.11.1:

  • Patrick Uiterwijk
  • Randy Barlow

Bodhi 3.11.0 released

16 Nov 14:26
Compare
Choose a tag to compare

Dependency changes

  • Bodhi now fully supports Python 3.
  • Bodhi now works with markdown 3 and click 7.
  • Bodhi no longer requires pyramid_tm.

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

Features

  • It is now possible to query update by more fields: alias, approved-before,
    modified-before, pushed-before, active-releases, severity, and
    submitted-before, and the fields are documented in the bindings (#181).
  • It is now possible to query by update title (#251).
  • It is now possible to filter comments, updates, and overrides with multiple users at once
    (#2489).
  • The bodhi releases subcommand now has a list feature (#2536).
  • A new compose state was added for waiting on the mirrors to sync updated repositories
    (#2550).
  • A new server CLI script called bodhi-sar has been added to retrieve personally identifiable
    information from Bodhi (#2553).
  • The waive subcommand is now documented in the bodhi man page (#2610).
  • bodhi-push now has a --yes/-y flag (#2635).
  • The composes and releases subcommands are now documented in the bodhi man page
    (#2642).
  • The composer now logs more information when items are missing from the generated repomd.xml
    file (#2643).
  • The comment submit button now renders more clearly on some browsers (#2649).
  • Bodhi is now able to determine container repository names from Koji metadata, instead of
    hard coding it (#2658).
  • The bodhi CLI's pagination features are now documented (#2663).
  • There is now a bodhi composes info subcommand (#2683).

Bug fixes

  • Bodhi now disallows empty comments (#2009).
  • bodhi-check-policies now sets up a log handler to silence warnings (#2156).
  • The test_gating_status is now set back to waiting when updates are waived (#2364).
  • Bugzilla permission errors should not cause error e-mails to be sent anymore (#2431).
  • The waive button is now only displayed if there are failed tests to waive (#2545).
  • Correctly handle unicode characters in update notes in the CLI (#2546).
  • The test waiver dialog now shows the test case name (#2571).
  • Examples were corrected in the bodhi CLI help text and man page
    (#2640 and #2641).
  • The new update web form received a number of improvements and bug fixes. Builds and bugs lists are
    refreshed every time a new package is selected in the input field. Manual added bugs and builds
    are not added to the lists if they are already present after having been retrieved from package
    selection. When an error in AJAX query occurs it is now displayed as an error message. AJAX
    queries now have a timeout. And we now avoid form submit when pressing Enter while entering text
    in the package text input field (#2648).
  • A misleading composer log entry was corrected (#2667).
  • An incorrect error message was corrected (#2703).

Development improvements

  • Bodhi's CI job now reports each test as an individual GitHub status line, which makes it much
    easier to identify the cause of test failures when they occur (#2584).
  • Due to the above, Mergify is now configured to only enforce passing tests on branched releases,
    since Rawhide failures are often not due to pull request patches (#2594).
  • Use update.get_url() to generate comments URL (#2596).
  • Unnecessary repetition was removed from the BugTracker class (#2607).
  • A typo was fixed in the docstring of Bugzilla.get_url() (#2608).
  • CI now uses the Jenkins Pipeline plugin, which allows us to run the CI jobs much more efficiently,
    and only requires a single node to parallelize the tasks (#2609).
  • A new development tool, devel/ci/bodhi-ci, was created to replace devel/run_tests.sh
    as the CI test running tool. It is designed to be useful to developers for running the CI suite
    locally, and has help text to guide you in usage (#2616).
  • Do not expose the Duffy key in CI logs (#2617).
  • Use markdown's Extension API to register FFMarkdown instead of an undocumented internal API. This
    allows Bodhi to work with markdown-3.0.0 (#2618).
  • Explicitly name the skopeo-lite src/dest_creds parameters. Also fix two unit tests for
    click-7.0.0. This allows Bodhi to work with click-7.0.0 (#2621).
  • Some docstrings were corrected (#2680, #2682, and #2689).
  • Upgraded to Mergify 2 (#2686).
  • Bodhi's tests now run about 40% faster (#2687).

Contributors

The following developers contributed to Bodhi 3.11.0:

  • Mattia Verga
  • Owen W. Taylor
  • Patrick Uiterwijk
  • Ryan Lerch
  • Sebastian Wojciechowski
  • sedrubal
  • Randy Barlow

Bodhi 3.10.1 released

09 Oct 20:23
Compare
Choose a tag to compare

This release fixes a crash while composing modular repositories (#2631).

Bodhi 3.10.0 released

17 Sep 15:50
Compare
Choose a tag to compare

Dependency changes

The composer now requires hawkey.

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

Features

  • It is no longer an error if a developer tries to create an override for a build that already had
    an override. Instead, Bodhi helpfully edits the old override automatically (#2030).
  • The UI displays the date that expired overrides became expired (#2136).
  • Security updates now require severity to be set (#2206).
  • The Waiver UI now gives the user more context (#2270 and #2363).
  • The CLI can be used to edit Release mail templates (#2475).
  • A new clean_old_composes setting allows admins to disable the automatic compose cleanup
    feature that was new in Bodhi 3.9.0 (#2561).
  • The API can filter releases by state (beb69a0).
  • The CLI now has a --debug flag on a couple of commands (1bd7617).
  • The bindings have some debug level logging when retrieving Greenwave status (b55fa45).
  • The UI now makes it clear that only authenticated users can leave karma on updates
    (3b551c3).
  • Bodhi can now manage Flatpaks (1a6c4e8).
  • Bodhi now ships a /usr/bin/bodhi-skopeo-lite, which is intended to be an alternative for use
    with the skopeo.cmd setting. It allows for multi-arch containers and Flatpaks to be managed by
    Bodhi (a0496fc).
  • The composer now uses librepo/hawkey to do much more extensive testing on the produced yum
    repositories to ensure they are valid (7dda554).

Bug fixes

  • More space was added around some buttons so they don't touch on small screens (#1902).
  • The bodhi releases subcommands no longer prompt for password when not necessary
    (#2496).
  • The submit feedback button now appears on low resolution screens (#2509).
  • Articles were fixed in a tooltip on the update page (075f8a9).
  • The CLI can again display missing required tests (cf75ff8).
  • Fix a failure that sometimes occurred when editing multi-build updates (d997ed4).
  • Unknown Koji tags will no longer cause an Exception when creating new updates
    (78dd4aa).

Development improvements

  • Line test coverage has reached 100% (2477fc8).
  • A fake Pungi is used in the Vagrant environment to speed up vagrant up (1b4f5fc).
  • No tests are skipped on Python 3 anymore (44d46e3).

Contributors

The following developers contributed to Bodhi 3.10.0:

  • Anatoli Babenia
  • Clement Verna
  • Mattia Verga
  • Owen W. Taylor
  • Patrick Uiterwijk
  • Pierre-Yves Chibon
  • Ralph Bean
  • Rick Elrod
  • Vismay Golwala
  • Randy Barlow

Bodhi 3.9.0 released

22 Aug 22:53
Compare
Choose a tag to compare

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

Deprecation

bodhi-manage-releases is now deprecated. The bodhi CLI now has a releases section
that performs the tasks that bodhi-manage-releases is used for.

Dependency changes

  • Cornice must now be at least version 3.1.0 (#2286).
  • Greenwave is now a required service for Bodhi deployments that wish to continue displaying test
    results in the UI (#2370).

Features

  • Bodhi now comments in the same POST as status changes on Bugzilla comments (#336).
  • The RSS feeds now have titles (#1119).
  • bodhi-clean-old-mashes is automatically run after each successful compose (#1304).
  • The bodhi CLI can now edit releases' pending_signing_tag fields (#1337).
  • White space is stripped when searching for packages or updates (#2046).
  • Severity is displayed in the web UI (#2108).
  • Bugzilla bugs are sorted by number on the update bugs tab (#2222).
  • The web UI now queries Greenwave with each page load to display the test gating status, rather
    than displaying the cached value from Bodhi's database. This allows users to see the current
    status of their update from Greenwave's perspective. This change also causes Bodhi to retrieve the
    test results from Greenwave rather than from ResultsDB, which means the test results tab now shows
    the same test results that influence the gating decision (#2370, #2393, and
    #2425)
  • The waiver API is now documented (#2390).
  • The CLI and bindings can now paginate results when querying updates and overrides (#2405).
  • The bodhi CLI can now manage releases (#2419).
  • Comments have a mouse hoverover for timestamps (60e2cdd).
  • The compose is now skipped if the repo is already staged (9d94edb).
  • Update statuses have a descriptive tooltip in the web UI (40d0422).
  • A new /updates/{id}/get-test-results :doc:../server_api/updates API endpoint was added
    that can retrieve the test results for an update from Greenwave (9631a9b).
  • API users can specify which results they'd like to waive in the waiver API (7d51ee5).
  • Update CI status is now displayed in the CLI (4ab03af).
  • The CLI can now waive test results (833a9c1).

Bug fixes

  • Do not alter Bugzilla tickets that are not related to an approved product (#1043 and
    #2336).
  • Only comments after the most recent karma reset event are considered for critpath karma
    (#1996).
  • The homepage now uses correct link for critical path updates (#2094).
  • Bug and test case karma is now correctly registered (#2130, #2189, and
    #2456).
  • The web UI no longer uses a hardcoded Koji URL, and gets it from the new koji_web_url
    setting instead (#2182).
  • The Bodhi CLI will no longer reset unedited fields to their defaults when editing updates
    (#2208).
  • Return a helpful error when notes are not supplied when creating an update (#2214).
  • Removed a conflicting HTTPForbidden handler (#2258).
  • The RSS view for an update now works when the update has comments with no text (#2314).
  • Composes that fail the sanity check are now thrown out (#2374).
  • The uniqueness constraint on e-mail was dropped since it was not useful and did cause occasional
    problems (#2387).
  • e-mail templates are no longer hardcoded and are now stored on the filesystem (#2396).
  • Failure to act on private Bugzilla tickets is no longer logged at error level (#2431).
  • Block quotes are now correctly styled (fd843a4).
  • The validators will no longer report spurious errors due to previously failed validations
    (5241205).

Development improvements

  • Python 2 line test coverage was raised to 99% (#2409).
  • The development build system now implements the addTag and deleteTag calls (4787a3e).
  • The querystring validator is now used from Cornice (f9900c0).
  • The tests now initialize the BodhiClient with a username so the tests will pass when there is a
    cached username (such as on a Fedora system that has Bodhi credentials) (773232b).
  • A new subclass of webtest.TestApp was created so tests would pass on Python 3
    (847873f).
  • devel/Vagrantfile.example was renamed to Vagrantfile (e985fa3).
  • The tests now pass on systems that don't use UTC (6354367).
  • Python 3 line test coverage was significantly increased, up to 98%.
  • A few warnings have been fixed.

Contributors

The following developers contributed to Bodhi 3.9.0:

  • Clement Verna
  • Eli Young
  • Lumir Balhar
  • Mattia Verga
  • Miro Hrončok
  • Owen W. Taylor
  • Patrick Uiterwijk
  • Pierre-Yves Chibon
  • Ralph Bean
  • Vismay Golwala
  • Randy Barlow

Bodhi 3.8.1 released

12 Jun 17:01
Compare
Choose a tag to compare

Bug

  • Fix two incompatibilities with Python 3.7 (#2436 and #2438).

Contributor

Thanks to Miro Hrončok for fixing these issues.

Bodhi 3.8.0 released

25 May 19:25
Compare
Choose a tag to compare

Features

  • Container releases may now have a trailing "C" in their name (#2250).
  • The number of days an update has been in its current state is now displayed by the CLI
    (#2176 and #2269).
  • Composes are no longer batched by category (security vs. non-security, updates vs. testing)
    as this was not found to be beneficial and did slow the compose process down (68c7936).
  • A fedmsg is now transmitted when an update's time in testing is met (99923f1).
  • New states for updates that are related to side tags have been documented (d7b5432).

Bugs

  • Bodhi no longer considers HTTP codes > 200 and < 300 to be errors (#2361).
  • Do not apply null Koji tags to ejected updates during compose (#2368).

Development improvements

  • The container composer has been refactored to use a cleaner helper function (#2259).
  • Bodhi's models now support side tags, a planned feature for an upcoming Bodhi release
    (#2275).
  • Compose.from_updates() returns a list in Python 3 (#2291).
  • Some silliness was removed from the universe, as bodhi.server.models.BodhiBase.get() no
    longer requires a database session to be passed to it (#2298).
  • The in-memory dogpile cache backend is used for development by default (#2300).
  • The CI container no longer installs Pungi, which speeds the CI testing time up (#2306).
  • Dropped support for str arguments from util.cmd() (#2332).
  • Python 3 line test coverage has increased to 85%.

Server upgrade instructions

This update contains a migration to add two new updates states for side tags. After installing the
new server packages, you need to run the migrations:

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

Contributors

The following developers contributed to Bodhi 3.8.0:

  • Mattia Verga
  • Eli Young
  • Lumir Balhar
  • Patrick Uiterwijk
  • Ralph Bean
  • Paul W. Frields
  • Randy Barlow