Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More efficient handling for cleaning up orphan packages from a project #9320

Open
darix opened this issue Apr 1, 2020 · 0 comments
Open
Labels
Backend Things regarding the OBS backend Feature

Comments

@darix
Copy link
Member

darix commented Apr 1, 2020

Is your feature request related to a problem? Please describe.

For large projects it becomes unfeasable to track which packages are still needed for building or installing packages.

  • devel:languages:ruby:extensions
  • distro repositories like openSUSE:Factory

the distro release team wrote themself a script which tries to do this but it isnt very efficient.

Describe the solution you'd like

an OBS request for the backend that allows me to pass in a list of packages (maybe also patterns) that should be available
and the OBS would return a list of all packages which are not needed for building or installing those packages.

Given we already have solve files in the backend this should be way more efficient than doing it via the current methods.

Describe alternatives you've considered

script that walks over the whole project with osc whatdependson and checking the repodata for runtime deps.
especially the first part is inefficient.

@darix darix added Backend Things regarding the OBS backend Feature labels Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Things regarding the OBS backend Feature
Projects
None yet
Development

No branches or pull requests

1 participant