Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 211588

Summary: print_installed in x11-base/xorg-server-1.4.0.90-r*
Product: Gentoo Linux Reporter: Bo Ørsted Andresen (RETIRED) <zlin>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: qa
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-02-27 03:57:07 UTC
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?
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2008-03-08 21:58:20 UTC
This does look a bit icky.  Can't we just give them the command to run like you do a few lines below?
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2008-03-08 23:12:55 UTC
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.