When neither portage-utils, gentoolkit or epm are installed print_installed() makes some really stupid assumptions. This causes it to run best_version on metadata.xml and possibly CVS... It is also icky with binpkgs which really shouldn't require PORTDIR.. Is this function really necessary at all? Why not just tell the users that every installed package in the x11-drivers/ category needs to be reinstalled? If you want to be nice you can suggest using `qfile -IC x11-driver` from portage-utils to list them but certainly that should do?
This does look a bit icky. Can't we just give them the command to run like you do a few lines below?
23:09 < zlin@> dberkholz: basically I'd just like to get a response on bug #211588 23:09 < jeeves+> zlin: https://bugs.gentoo.org/211588 nor, P2, All, zlin@gentoo.org->x11@gentoo.org, NEW, pending, print_installed in x11-base/xorg-server-1.4.0.90-r* 23:10 < dberkholz@> zlin: multiple people requested that i actually give them a list, for whatever reason 23:11 < dberkholz@> spending a whole lot of time dealing with it feels like a huge waste of time to me 23:11 < zlin@> dberkholz: 1) that doesn't mean it's a good idea. 2) the current implementation sucks. 23:11 < dberkholz@> fix it 23:11 < dberkholz@> you've got commit access =) 23:11 < zlin@> well, I happen to think it's a bad idea to begin with. 23:12 < dberkholz@> so fix it that way, and i'll just point anyone who whines in your direction 23:12 < zlin@> but at the very least please comment on the bug. 23:12 < jakub@> good ideas are overrated :P 23:12 < zlin@> that's fine.