Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 46540 - Patch to have equery report packages built with USE flag settings different from current settings
Summary: Patch to have equery report packages built with USE flag settings different f...
Status: RESOLVED WONTFIX
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:
Depends on:
Blocks:
 
Reported: 2004-04-01 16:22 UTC by Frank Szczerba
Modified: 2004-04-21 19:22 UTC (History)
0 users

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


Attachments
Patch to equery from gentoolkit-0.2.0_pre8 (equery.patch,5.49 KB, patch)
2004-04-01 16:24 UTC, Frank Szczerba
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Szczerba 2004-04-01 16:22:28 UTC
When I change USE flags in make.conf, I like to see what currently installed packages are affected so I can rebuild them as appropriate. This patch makes equery answer that question.

Usage:
$ equery changeduses
Displays packages affected by changes in USE flags since package was originally merged.

$ equery changeduses -v
    or
$ equery changeduses --verbose
As above, except changed USE flags are reported in "equery uses xxx" format.

Known limitations:
- All installed category/package/version combinations are tested. If the ebuild is no longer available a warning message is displayed, but operation continues.
- Would be nice to report which packages should be built because of a version bump.

This is my first foray into portage development, so it's not immediately obvious to me how to address the noted limitations. If someone cares to provide some guidance I'll be glad to take a shot at it (Phython is far from my strongest language though).



Reproducible: Always
Steps to Reproduce:
Comment 1 Frank Szczerba 2004-04-01 16:24:48 UTC
Created attachment 28537 [details, diff]
Patch to equery from gentoolkit-0.2.0_pre8
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-04-21 19:22:13 UTC
That functionality is already in emerge (--newuse parameter; in the 2.0.51 series), no need to duplicate it.