Summary: | gentoolkit-0.2.4: equery depgraph only works correctly when all dependencies are installed | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Paul Varner (RETIRED) <fuzzyray> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rbu, sping |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 170220 | ||
Attachments: |
equery patch
equery patch |
Description
Paul Varner (RETIRED)
2008-09-02 20:27:57 UTC
Created attachment 164416 [details, diff]
equery patch
Proposed patch. I need to do some more in-depth testing before committing to subversion.
Created attachment 164426 [details, diff]
equery patch
Updated patch. I changed it to use find_packages as a fallback since find_best_match is quicker. Secondly, find_packages returns a sorted list of packages, so I am selecting the last package in the list. This may not necessarily match what portage would install, since it is disregarding the masked status of a package in order to get a result.
$ svn commit -m "Fix depgraph function to print out dependencies that don't resolve to a package (Bug #236492)" Sending trunk/ChangeLog Sending trunk/src/equery/equery Transmitting file data .. Committed revision 512. Released in gentoolkit-0.2.4.1 |