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:

zypper gobject c c++ introspection scriptability async

This project is part of:

Hack Week 22 Hack Week 23

Activity

  • 9 months ago: jmodak liked this project.
  • about 2 years ago: cdywan liked this project.
  • about 2 years ago: j_renner liked this project.
  • about 2 years ago: shunghsiyu liked this project.
  • about 2 years ago: mvidner liked this project.
  • about 2 years ago: zbenjamin started this project.
  • about 2 years ago: zbenjamin added keyword "zypper" to this project.
  • about 2 years ago: zbenjamin added keyword "gobject" to this project.
  • about 2 years ago: zbenjamin added keyword "c" to this project.
  • about 2 years ago: zbenjamin added keyword "c++" to this project.
  • about 2 years ago: zbenjamin added keyword "introspection" to this project.
  • about 2 years ago: zbenjamin added keyword "scriptability" to this project.
  • about 2 years ago: zbenjamin added keyword "async" to this project.
  • about 2 years ago: zbenjamin originated this project.

  • Comments

    • zbenjamin
      about 2 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!