Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138622 - Add --portage-tree and/or --overlay-tree options to 'equery which' command
Summary: Add --portage-tree and/or --overlay-tree options to 'equery which' command
Status: RESOLVED DUPLICATE of bug 204324
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2006-06-30 13:14 UTC by Paul Varner (RETIRED)
Modified: 2008-01-04 21:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
add support for using use hints for packages from overlays (equery-info-overlay.patch,2.29 KB, patch)
2007-10-21 03:05 UTC, Carlo Marcelo Arenas Belon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Varner (RETIRED) gentoo-dev 2006-06-30 13:14:22 UTC
As currently implemented, equery which shows the ebuild path for the best version available for a package regardless if the ebuild is in the portage tree or the overlay tree.

Adding support for querying only the portage tree or the overlay tree will allow more fine grained control over the results.
Comment 1 Carlo Marcelo Arenas Belon 2007-10-21 03:05:31 UTC
Created attachment 134002 [details, diff]
add support for using use hints for packages from overlays

a very crude implementation for equery info --overlay-tree which adds support to scan for descriptions in overlay's use.local.desc

patch applies to current svn (version 454)
Comment 2 Carlo Marcelo Arenas Belon 2007-10-21 03:12:38 UTC
patch won't apply to current stable version of equery (=app-portage/gentoolkit-0.2.3-r2) because of the renaming of options but conflict is easy to fix and have a patch as well if there is interest.

ideally, would be better to use a function that is reused in both cases and add support as well for global use flags defined in the overlays as well to avoid the exception handling all together as the use of those hints in overlays isn't even a warning IMHO (specially considering that there was no use for them until this patch).

tested by using my own overlay in amd64 by doing :

  # layman -f -o http://tapir.sajinet.com.pe/gentoo/layman.xml -a sajinet
  # emerge -DNvupt kvm
  # equery uses -o kvm
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-04 21:14:36 UTC

*** This bug has been marked as a duplicate of bug 204324 ***