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

Bug 259337

Summary: app-portage/gentoolkit-0.2.4.2-r1 - epkginfo ignores all but the first herd listed
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal CC: darkside, loki_val, SebastianLuther
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 237964    
Attachments: Make epkginfo print all herds instead of only the last one and don't list herds as maintainers
Make epkginfo print keywords for all ebuilds

Description Jeroen Roovers (RETIRED) gentoo-dev 2009-02-17 09:34:51 UTC
For example: sys-kernel/hardened-sources/metadata.xml lists two herds and two maintainers, but only the two maintainers and the first herd are mentioned:
$ epkginfo hardened-sources
Package: sys-kernel/hardened-sources
Herd: hardened
Maintainer: kerframil@gmail.com, gengor@gentoo.org
[...]

Same for dev-python/PyQt4:
$ epkginfo PyQt4
Package: dev-python/PyQt4
Herd: qt
Maintainer: qt
[...]
Comment 1 Sebastian Luther (few) 2009-06-04 11:12:50 UTC
Created attachment 193491 [details, diff]
Make epkginfo print all herds instead of only the last one and don't list herds as maintainers

This patch is written against djanderson's private svn repo, rev 9.
Comment 2 Sebastian Luther (few) 2009-06-04 11:49:28 UTC
Created attachment 193493 [details, diff]
Make epkginfo print keywords for all ebuilds

This patch is written against djanderson's private svn repo, rev 9.

It fixes the following wrong output:

$epkginfo amarok
Package: media-sound/amarok
Herd: sound
Maintainer: jmbsvicetto@gentoo.org
Location: /usr/portage/media-sound/amarok
Keywords: amarok-1.4.10-r2: amd64 ppc ppc64 sparc x86 
Keywords: amarok-1.4.10-r3: 
Keywords: amarok-1.4.10_p20090130-r1: 
Keywords: amarok-1.4.10_p20090130-r2: ~ppc ~ppc64 ~sparc ~x86-fbsd 
Keywords: amarok-2.0.2-r2: 
Keywords: amarok-2.0.2-r3: ~amd64 ~x86 


djanderson: epkginfo has the same bug with ambiguous package names that was fixed for equery (bug 269454)
Comment 3 Sebastian Luther (few) 2009-06-04 11:57:24 UTC
bug 232635 talks about the behavior for the keywords and request the behavior I wanted to fix. Maybe add an option --highest-only?
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-06-05 18:48:13 UTC
(In reply to comment #2)
> Created an attachment (id=193493) [edit]
> Make epkginfo print keywords for all ebuilds

Please don't. This would be a dis-service to package maintainers.

Comment 5 Sebastian Luther (few) 2009-06-05 21:58:12 UTC
Comment on attachment 193493 [details, diff]
Make epkginfo print keywords for all ebuilds

bug 232635 has a newer version.
Comment 6 Paul Varner (RETIRED) gentoo-dev 2009-06-06 02:57:27 UTC
$ svn commit -m "Add patch from Sebastian Mingramm to Make epkginfo slot aware
and only print keywords for the highest visible versions in each slot. (Bug
232635)"
Sending        gentoolkit/ChangeLog
Sending        gentoolkit/bin/epkginfo
Transmitting file data ..
Committed revision 662.
Comment 7 Paul Varner (RETIRED) gentoo-dev 2009-06-19 17:13:46 UTC
Released in gentoolkit-0.3.0_rc7