When doing emerge --depclean -pv, you get presented with a nice list of basic system facts. Something like this might be nice to have as a summary of the portage database. maybe just something as simple as: elif "summary"==myaction: syslist=getlist("system") worldlist=getlist("world") myvarlist=portage.vardbapi(portage.root).cp_all() if not syslist: print "!!! You have no system list. Cannot determine system from world." if not worldlist: print "!!! You have no world file. Cannot determine explicit merges." if not myvarlist: print "!!! You have no installed package tree (%s). This is a problem." % portage.VDB_PATH if not (syslist and worldlist and myvarlist): print sys.exit(1) print print "Packages installed: "+str(len(myvarlist)) print "Packages in world: "+str(len(worldlist)) print "Packages in system: "+str(len(syslist)) the more this can be expanded on the better of course. Looking forward to hearing your views.
*bump* Thoughts? Not sure about doing it till emerge gets cleaned up, but it strikes me as sane functionality.
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. ;)
Reopening for consideration.
Seems like not many people are interested in this, and this will eventually be available via `equery --list-set-contents world | wc -l` (not implemented yet).