bodhi-rs 0.1.0

1 minute read

I’d like to announce the latest release 0.1.0 of the bodhi crate. It contains a lot of work since the last pre-release in the 0.0.x series, including:

  • major internal refactoring for better maintainability and extendability
  • friendlier external API, which now also only needs references instead of taking ownership of values, where possible
  • complete implementation of GET requests for querying bodhi
  • complete implementation of POST requests and authenticated sessions, using fedora-rs
  • complete bindings for querying, creating, and editing almost all objects in bodhi (except for Release instances, because I have no way to test that code)
  • complete documentation for all public (and most private) items – browse the docs for the latest version on docs.rs

The current state of the project can be browsed on GitHub.

With this release, I’d consider the bodhi crate ready for “production” use, and I don’t plan to introduce any breaking API changes, only to add new features if requested or necessary.

For example, I’m planning to port my fedora-update-notifier toy project to this version, which would also bring the possibility to submit comments and feedback from the command line again (I think fedora-easy-karma is still broken in that regard).

I also plan to provide a bodhi-cli CLI interface that wraps the rust bindings in this crate in a nice package.