Project Description
Currently we are in a situation with libzypp where we have a C++ based and hard to use API. Due to the nature of C++ it's basically impossible to use it from other languages like Rust or even Python.
In the last hackweek I layed the grounds for calling into libzypp via GLib, so I'm going to improve on that trying to wrap the legacy reports into a new style report API and maybe expose more functionality.
Goal for this Hackweek
- Wrap new C++ event API in GLib-C
- Catch and forward legacy reports via said API
- Expose more functionality as we go
I already started to look into it, development will be done here: https://github.com/bzeller/libzypp/tree/zyppng-api
Resources
Looking for hackers with the skills:
This project is part of:
Hack Week 22 Hack Week 23
Activity
Comments
-
almost 3 years ago by zbenjamin | Reply
So during the hackweek I managed to set up a very basic GObject based API that is able to initialize libzypp, list the names of all currenty known repositories and use the new async libzypp API to download a file. This is a good start and we should be able to build on it.
You can see the resulting python script that is controlling libzypp here
Similar Projects
This project is one of its kind!