Skip to content

prefix-dev/resolvo-rpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resolvo-rpm

This project downloads repodata from a yum/dnf/rpm repository and tries to resolve for the packages the user requests. It uses the resolvo crate to do the actual SAT resolution (instead of libsolv).

Usage

$ cargo run --release -- curl

Resolved:

- basesystem=11
- bash=5.2.15
- ca-certificates=2023.2.60
- coreutils-common=9.1
- coreutils=9.1
- curl=7.87.0
...

Shortcomings

This is currently just an initial proof of concept. We're hoping that the community will help us figure some things out.

  • Handle suggests properly. Currently can only be disabled globally with --disable-suggests but should be iteratively removed if they conflict with other packages.
  • Handle recommends properly. Not handled at all.
  • Handle conflicts properly. This should be fairly straightforward as we have this capability in resolvo.
  • Handle obsoletes properly. Not handled at all.
  • Try to actually install packages using rpm-rs.
  • Store repodata in a better cache or load only what we need as repodata loading is somewhat slow right now.

There is also this open issue to track some of the ideas in resolvo: mamba-org/resolvo#1

About

Resolver for RPM packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages