Bodhi 6.0: What's new

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey everyone!

Bodhi 6.0 will be published in a few days, and deployed to production a couple weeks after the Fedora release. It has backwards-incompatible changes, here's what you need to know.

== Authentication ==
Bodhi gained support for OpenID Connect (OIDC) authentication, like most of Fedora's webapps. OpenID still works but is not the default, you can access it by using `/login?method=openid` as the login URL.

Version 6.0 of the Bodhi client uses only OIDC, plain OpenID support has been dropped. Version 5.7.5 of the Bodhi client, however, uses the new OpenID login URL and has been available for about a month now, you'll need at least version 5.7.5 to use the Bodhi client with the updated server.

The client's API has changed, so if you have a piece of code that imports from `bodhi.client`, you'll have to update it to use the new API, and in the meantime use version 5.7.5.

As a user of the `bodhi` CLI, you'll notice that the `--username` and `--password` options have disappeared. Instead the Bodhi client will ask you to open your browser to a URL to authenticate. The authentication tokens will be saved and you'll be able to use the `bodhi` CLI without authenticating afterwards (or non-interactively).

== Code reorganization ==
The Bodhi source code has been reorganized to drop the hacks used in `setup.py` to support sub-projects. Instead, `bodhi-server`, `bodhi-client` and `bodhi-messages` are now actual Python package directories in the repo. The import path has not changed.

Bodhi's Python project metadata and dependencies are now managed with Poetry <https://python-poetry.org/>.

== Other changes ==
- Serialized `Release` objects sent in the messages don't contain the `composes` property anymore
- The `koji-build-group.build.complete` messages now contain an `update` property
- In the Bodhi client API, the `save_override()` method has been extended to allow setting the expiration date directly
- Misc bug fixes


If you have any questions, feel free to ask the Bodhi team in our matrix room: <https://matrix.to/#/#bodhi:matrix.org>.
If you are importing the bodhi client code in your app/script, or using the bodhi client in an "unusual" manner, we'll help you migrate.

Thanks!

Aurélien Bompard
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux