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

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

  • Comments

    • zbenjamin
      over 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

    "autoremove" functionality for zypper by e_bischoff

    The purpose would be to have the equivalent of ...


    Add a machine-readable output to dmidecode by jdelvare

    Description

    There have been repeated reques...


    FizzBuzz OS by mssola

    Project Description

    FizzBuzz OS (or just ...


    Port some classic game to Linux by MDoucha

    Let's pick some old classic game, reverse engin...