Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60657 - Enhancement to equery to allow scanning for packages with changed USE flags.
Summary: Enhancement to equery to allow scanning for packages with changed USE flags.
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Karl Trygve Kalleberg (RETIRED)
Depends on:
Reported: 2004-08-17 04:58 UTC by Peter Jensen
Modified: 2005-09-16 11:33 UTC (History)
1 user (show)

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

Implement changed USE flag scanning in equery (equery_changeduse.patch,3.22 KB, patch)
2004-08-17 04:58 UTC, Peter Jensen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Jensen 2004-08-17 04:58:02 UTC
A while back I wanted to recompile the packages that have had their USE flags changed since last compile.
Finding no tool to scan for these packages, I decided to write my own script to do it.
The script went from a bash script to a heavily hacked version of equery.  Eventually it was rewritten from scratch in Python.
It has been tested by a number of #gentoo participants over the last week, and they suggested I polish the script up and merge it into equery.
This patch against equery has also been tested over the last week, with no bugs found.
May it prove useful ...
Comment 1 Peter Jensen 2004-08-17 04:58:41 UTC
Created attachment 37587 [details, diff]
Implement changed USE flag scanning in equery
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-08-22 13:47:41 UTC
Thanks a bundle! I'll have to think about how to best integrate this with equery.

I've rewritten parts of it today, to make it more stable and have better piping 

I'm considering refactoring into a useful core that will go into the gentoolkit,
then mostly display and formatting in the actual equery file.

Thanks a lot for your contribution!
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-10-10 13:48:48 UTC
The functionality for this is already integrated in portage-2.0.51 with emerge --newuse, so I don't think we need it in equery too.
Comment 4 Daniel Webert 2004-10-11 12:59:45 UTC
maybe we can close this, because of featured-in-portage
Comment 5 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-10-18 05:19:20 UTC
I'll see if it makes sense to offer a wrapper for the functionality in portage. Probably not.
Comment 6 Paul Varner (RETIRED) gentoo-dev 2005-09-16 11:33:59 UTC
I see no reason to add this to equery since the functionality exists with emerge