Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153847 - print number of upgrades, downgrades, rebuilds etc. with --verbose
Summary: print number of upgrades, downgrades, rebuilds etc. with --verbose
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 147007
  Show dependency tree
 
Reported: 2006-11-02 11:53 UTC by Bo Ørsted Andresen (RETIRED)
Modified: 2006-11-07 15:45 UTC (History)
1 user (show)

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


Attachments
emerge.patch (emerge.patch,3.98 KB, patch)
2006-11-02 11:55 UTC, Bo Ørsted Andresen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-11-02 11:53:55 UTC
I would like emerge to print total number of packages, upgrades, downgrades, new slots, new packages, rebuilds and blocks in the same spot where it currently prints total size of downloads when --verbose is enabled.

Like this:

"Total: 10 packages, size of downloads: 0 kB (8 upgrades, 1 downgrade, 1 rebuild)"
Comment 1 Bo Ørsted Andresen (RETIRED) gentoo-dev 2006-11-02 11:55:26 UTC
Created attachment 101069 [details, diff]
emerge.patch
Comment 2 Zac Medico gentoo-dev 2006-11-03 13:30:50 UTC
I like the general idea. I think we'll want to encapsulate that counters and display logic into a class though. Then the incrementation code will look something like counters.rebuilds += 1 and the string can be generated inside the new class so the we just call something like str(counters) to generate the string.
Comment 3 Zac Medico gentoo-dev 2006-11-06 22:00:48 UTC
Thanks! I've committed a slightly modified version of you patch in svn r4970.
Comment 4 Zac Medico gentoo-dev 2006-11-07 15:45:40 UTC
This has been released in 2.1.2_rc1-r5.