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

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

  • Comments

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

    Investigate zypper/openSUSE repository refresh optimisations by dirkmueller

    [comment]: # (Please use the project descriptio...


    Vulkan Widget for GTK by yudaike

    [comment]: # (Please use the project descriptio...


    The Missing Middle: Add an intermediate brightness setting for auxiliary LEDs in Andúril 2 by gkenion

    [comment]: # (Please use the project descriptio...


    Deep Packet Inspection: compare the performance between libnetfilter_queue, NF_HOOK and eBPF XDP by nguyens

    Deep Packet Inspection: compare the performan...


    Avahi Integration and Network Connection by vojha

    Avahi Integration and Network Connection

    ...


    80-bit floats support on x86_64 for Valgrind by mfranc

    [comment]: # (Please use the project descriptio...


    Avahi Integration and Network Connection by vojha

    Avahi Integration and Network Connection

    ...


    HelenOS: <filesystem> of a down by jjindrak

    During the previous Hackweek [0], I have succes...


    SMTGCC by fkastl

    [comment]: # (Please use the project descriptio...


    Open Source Firmware for EV chargers using the ESP32 Chip (Autoaid / EN-Plus / EVSEDO) by bschmidt

    [comment]: # (Please use the project descriptio...


    Tungsten: A low-level LLVM programming language by mfriedrich

    Project Description

    > Tungsten is suppose...