Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 305747 - gentoolkit-0.3.0_rc8-r1: equery list sometimes gives duplicate entries
Summary: gentoolkit-0.3.0_rc8-r1: equery list sometimes gives duplicate entries
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:
Depends on:
Blocks: 237964
  Show dependency tree
 
Reported: 2010-02-18 15:13 UTC by Ralph Hartley
Modified: 2010-04-06 10:05 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Hartley 2010-02-18 15:13:49 UTC
# equery l -p *gentoolkit
 * Searching for *gentoolkit ...
[-P-] [  ] app-portage/gentoolkit-0.2.4.5:0
[-P-] [  ] app-portage/gentoolkit-0.3.0_rc7:0
[-P-] [  ] app-portage/gentoolkit-0.3.0_rc8:0
[IP-] [  ] app-portage/gentoolkit-0.3.0_rc8-r1:0
[IP-] [  ] app-portage/gentoolkit-0.3.0_rc8-r1:0
[-P-] [ -] app-portage/gentoolkit-9999:0

The installed version is listed twice.

But
# equery l -p gentoolkit
 * Searching for gentoolkit ...
[-P-] [  ] app-portage/gentoolkit-0.2.4.5:0
[-P-] [  ] app-portage/gentoolkit-0.3.0_rc7:0
[-P-] [  ] app-portage/gentoolkit-0.3.0_rc8:0
[IP-] [  ] app-portage/gentoolkit-0.3.0_rc8-r1:0
[-P-] [ -] app-portage/gentoolkit-9999:0

Without the redundant wildcard, it is fine.

The installed version is still listed twice if the wildcard is not redundant, e.g. genttool* or gentookit* .

Reproducible: Always

Steps to Reproduce:
Comment 1 Douglas Anderson 2010-02-20 04:42:46 UTC
Thanks for the bug report.

$ svn ci -m "Removes duplicates in gentoolkit.helpers.get_cpvs(); bug #305747."
Sending        gentoolkit/pym/gentoolkit/base.py
Sending        gentoolkit/pym/gentoolkit/equery/list_.py
Sending        gentoolkit/pym/gentoolkit/helpers.py
Transmitting file data ...
Committed revision 224.
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2010-04-06 10:05:35 UTC
This bug has been fixed in app-portage/gentoolkit-0.3.0_rc10, thanks for reporting this issue.