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)"
Created attachment 101069 [details, diff] emerge.patch
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.
Thanks! I've committed a slightly modified version of you patch in svn r4970.
This has been released in 2.1.2_rc1-r5.