Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259337 - app-portage/gentoolkit-0.2.4.2-r1 - epkginfo ignores all but the first herd listed
Summary: app-portage/gentoolkit-0.2.4.2-r1 - epkginfo ignores all but the first herd l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 237964
  Show dependency tree
 
Reported: 2009-02-17 09:34 UTC by Jeroen Roovers (RETIRED)
Modified: 2009-06-19 17:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Make epkginfo print all herds instead of only the last one and don't list herds as maintainers (gentoolkit-epkginfo-print-all-herds.patch,1.54 KB, patch)
2009-06-04 11:12 UTC, Sebastian Luther (few)
Details | Diff
Make epkginfo print keywords for all ebuilds (gentoolkit-epkginfo-print-all-keywords.patch,647 bytes, patch)
2009-06-04 11:49 UTC, Sebastian Luther (few)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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