Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152030 - --emptytree shouldn't mark all packages as "N"ew
Summary: --emptytree shouldn't mark all packages as "N"ew
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-10-19 22:16 UTC by Jason Stubbs (RETIRED)
Modified: 2006-10-20 16:37 UTC (History)
0 users

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


Attachments
Remove --empty-tree special casing (emerge-empty-tree.patch,832 bytes, patch)
2006-10-19 22:17 UTC, Jason Stubbs (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Stubbs (RETIRED) gentoo-dev 2006-10-19 22:16:06 UTC
I believe --emptytree was originally implemented as a developer tool to be able see the complete set of dependencies of a package. It may well have that the original implementation didn't know what was installed and thus had to mark packages as "N". It may have been that showing the "R", "U", etc was too distracting. It may have even been a performance trade-off.

Whatever the case was, there is no performance improvement now and the USE flags shown when using --verbose do show changes against what is currently installed. I would guess that --emptytree is also more oft used for system tasks rather than developer tasks as well. My request is to unify the --emptytree output with all the rest.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2006-10-19 22:17:40 UTC
Created attachment 100071 [details, diff]
Remove --empty-tree special casing
Comment 2 Zac Medico gentoo-dev 2006-10-19 22:45:24 UTC
Thanks, your patch is in svn r4761.
Comment 3 Zac Medico gentoo-dev 2006-10-20 16:37:38 UTC
This has been released in 2.1.2_pre3-r6.