Bug 979353
| Summary: | [rfe] [rel-eng] best_package() and direct_deps() functions | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel Mach <dmach> |
| Component: | hawkey | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED DEFERRED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | jsilhan, jzeleny, mls, packaging-team-maint |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-22 11:14:08 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1022940, 1080837 | ||
|
Description
Daniel Mach
2013-06-28 09:53:37 UTC
(In reply to Daniel Mach from comment #0) > 2) direct deps > I can list package's requires and find all packages with matching provides > to get direct deps. But the list is actual superset of what I really need, > because some requirements can be provided by multiple packages. > I'm interested in getting a *minimal* list of direct deps. > It should consider already installed packages as priority deps (to keep > package set minimal). The key here, or why just adding a package to a transaction and resolving won't help you, is that you only want the first level of dependencies, not the dependencies of dependencies etc. Michael, can libsolv do something for us here? (low prio at this point, possibly involved resolution and only limited demand for the feature) Any update on this? It's a blocker for release engineering; we cannot stop using yum in our tools without having these features available in hawkey. Hi Dan, when progress is made on this I'll make sure to update the bugzilla. Unfortunately it's not even on the roadmap now. talking with MLS about this here: to filter all provides down to the best suiting packages we want to look at policy_filter_unwanted(). For the direct deps functionality, MLS suggests looking in detail at what Pungi really needs/does. We probably do not want to use the usual depsolving process here---the special handling will needed to be in hawkey. We don't have use case for `best_package` in DNF and it's already in Pungi. If anyone wants this in DNF, feel free to reopen and we will reconsider moving it to DNF. (clearing needinfo) |