Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 38674

Summary: Add "threshold" option to emerge -u
Product: Gentoo Linux Reporter: Keith Lea <keith>
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: esigra, jstubbs, radek
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 155723    

Description Keith Lea 2004-01-18 19:44:10 UTC
I'd like to be able to say:

% emerge -upv world --threshold=revision

This would show me all possible updates.

% emerge -upv world --threshold=release

This would show me all possible updates whose version (not revision number) is newer than my installed version.

% emerge -upv world --threshold=major

This would show me all possible updates whose major version number, like the 1 in 1.2.3, is newer than the major version number of my latest installed version.

I want this because when I emerge -upv world, I see about 80 updates that I don't care about because they're only newer revisions, and when I check the changelog, it's usually something like "added x86 to stable," so it's not like I *should* be rebuilding it.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-01-18 19:52:33 UTC
Not saying that this functionality isn't useful anyway, but a revision should only occur when there is a bugfix of some sort. Adding an architecture or changing the keywords for an architecture should not cause a revision bump.
Comment 2 Keith Lea 2004-01-18 20:31:41 UTC
I agree. I think there should be two kinds of revisions, rebuild-worthy revisions and non-rebuilding revisions. Maybe it could be something like package-1.2-r2c, where the rebuilding revision is 2, and the non-rebuilding revision is 3 (c = 3). There also needs to be a means of describing changes between versions easily and probably from within emerge -u. But until those things are implemented, I think this new emerge option is a good solution.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-01-27 14:54:05 UTC
*** Bug 39501 has been marked as a duplicate of this bug. ***
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2005-07-28 07:24:42 UTC
Putting a hold on feature requests for portage as they are drowning out the 
bugs. Most of these features should be available in the next major version of 
portage. But for the time being, they are just drowning out the major bugs and 
delaying the next version's progress. 
 
Any bugs that contain patches and any bugs for etc-update or dispatch-conf can 
be reopened. Sorry, I'm just not good enough with bugzilla. ;) 
Comment 5 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 12:39:20 UTC
Reopening for consideration.
I know that quite a few people want such a feature, but I don't like it.
Comment 6 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 12:39:30 UTC
Reopening for consideration.
I know that quite a few people want such a feature, but I don't like it.
Comment 7 Paolo quello di Mappa 2007-02-02 10:37:57 UTC
ciap ciao
Comment 8 Paolo quello di Mappa 2007-02-02 10:38:09 UTC
test
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2007-06-05 18:28:57 UTC
Closing per comment #5.