Description

Zypper currently only supports searching for files in a few pre-defined prefixes (/usr/bin, /usr/sbin, etc.) via using rpm provides. This means that it is difficult to find files that are not in the explicit list.

Doing this in zypper itself seems difficult.

Goals

Create a zypper subcommand (plugin) that can download file lists as needed to search for file contents. As a stretch goal, have a secondary subcommand that can list files in packages regardless of whether they are already installed.

At this point, making the resulting code usable as part of zypper itself is not a goal, as it would probably take more time than available.

Resources

Upstream issue: https://github.com/openSUSE/zypper/issues/469

Stretch goal: https://github.com/openSUSE/zypper/issues/164

Subcommands: https://manpages.opensuse.org/Tumbleweed/zypper/zypper.8.en.html#SUBCOMMANDS

Looking for hackers with the skills:

zypper

This project is part of:

Hack Week 25

Activity

  • about 5 hours ago: mook_work added keyword "zypper" to this project.
  • about 1 month ago: mook_work started this project.
  • about 1 month ago: mook_work originated this project.

  • Comments

    • mook_work
      about 4 hours ago by mook_work | Reply

      Created https://github.com/mook-as/zypper-filesearch

      Supports searching by file path (zypper file-search *glob*) as well as listing files in packages (zypper file-list git-core).

      Also available in OBS in home:mook_work:golang

    Similar Projects

    This project is one of its kind!