Opened 5 years ago
Last modified 5 years ago
#15414 new bug
solve_repo_dependencies tool
Reported by: | kallisti5 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Kits/Package Kit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
We're in desperate need of a "solve_repo_dependencies" tool which we can run on binary repo files and get a listing of packages which can not be installed cleanly.
This would be a good sanity check we could run server-side on repositories to validate they are sane.
get_package_dependencies seems like a good potential base. (But instead of depending on the repository and the packages to install against it, it should simply look for "uninstallable" packages based purely on the packages within the specified repository)
Change History (2)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
Design goals:
- Provide cli tool an on-disk repository
- Tool looks at packages in repo, and solves the dependencies of each.
- Any "uninstallable" packages are reported back
Nice to haves:
- Flags to "ignore dependencies" such as packages depending on "haiku"
Example usage:
solve_repo_dependencies --ignore haiku,haiku_userguide my/fancy/repository/repo
Note:
See TracTickets
for help on using tickets.
I tried to hack in usage of get_package_dependencies, but it didn't really work like we need: