Often when we test maintenance updates or when we decide to push an update for a package we want to know what that change may cause. Right now it is really difficult to figure out what package depends on a given package.

Motivation

When I was looking for orphan packages in SLE or in openSUSE what could start maintaining I was looking for low risk packages. Naturally for a less experienced package maintainer it is comforting to know that the package they start making updates for is not going to mess up hundreds of other packages. So when choosing a package to maintain it would be handy to know what other packages depend on the given package. Also when we are doing maintenance update validation for SLE it would be nice to know what other packages we should test with more attention. We test user scenarios and the whole platform, but if a package X depends on package Y and package Y gets a maintenance update then maybe it is a good idea to test the package X with extra attention.

Goal

  • Refresh a bit the rdepends project
  • Create a new project under the zypper development project in the Open Build Service
  • Push an initial version of a working prototype
  • Figure out if the plugin can be done in python without executing the zypper itself

Resources

Looking for hackers with the skills:

zypper libsolv python

This project is part of:

Hack Week 22

Activity

  • over 1 year ago: okurz liked this project.
  • over 1 year ago: wfrisch liked this project.
  • over 1 year ago: iivanov liked this project.
  • over 1 year ago: dfaggioli liked this project.
  • over 1 year ago: idefx liked this project.
  • over 1 year ago: robert.richardson liked this project.
  • over 1 year ago: bzoltan1 added keyword "zypper" to this project.
  • over 1 year ago: bzoltan1 added keyword "libsolv" to this project.
  • over 1 year ago: bzoltan1 added keyword "python" to this project.
  • over 1 year ago: bzoltan1 started this project.
  • over 1 year ago: dmdiss liked this project.
  • over 1 year ago: tinita liked this project.
  • over 1 year ago: fbonazzi liked this project.
  • over 1 year ago: amanzini liked this project.
  • over 1 year ago: bzoltan1 originated this project.

  • Comments

    • dancermak
      over 1 year ago by dancermak | Reply

      You might want to look at dnf's repoquery command, which supports exactly this use case. (And you can actually use dnf against openSUSE & SLE repos)

      • bzoltan1
        over 1 year ago by bzoltan1 | Reply

        Thank you for the idea Dan. I will check it out. I am coming from Debian and Ubuntu and there is apt-cache rdepends command for this purpose.

      • zbenjamin
        over 1 year ago by zbenjamin | Reply

        Or use the zypper se --requires-pkg functionality ;). It is not recursive though so it only checks the reverse deps of the given package

    Similar Projects

    Investigate zypper/openSUSE repository refresh optimisations by dirkmueller

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


    Extend GObject based introspectable API to libzypp by zbenjamin

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