indygreg / PyOxidizer

A modern Python application packaging and distribution tool
Mozilla Public License 2.0
5.47k stars 239 forks source link

Consider using existing library "rpmrepo_metadata" for reading RPM repository metadata #608

Open dralley opened 2 years ago

dralley commented 2 years ago

https://github.com/dralley/rpmrepo_metadata/

Disclosure: I wrote this library

To my knowledge it is the most complete implementation that currently exists in Rust by a large margin and I'd welcome further contributions. Updateinfo support is not 100% complete yet, nor is writing repository metadata, nor the documentation, but parsing the standard metadata is essentially done and decently tested.

I haven't put out a release on crates.io yet, because I have mostly been using it for a personal project and didn't realize there was much demand (and also I became a maintainer of quick-xml and got sidetracked fixing bugs in that library that I ran into...), but I can fix that shortly.

Also note that despite the example in README.md using the Python bindings, the Rust API is complete.

edit: Now fixed. https://crates.io/crates/rpmrepo_metadata