Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307945 - Add support for querying sets to gentoolkit
Summary: Add support for querying sets to gentoolkit
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 237964
  Show dependency tree
 
Reported: 2010-03-05 22:43 UTC by Andy Kittner
Modified: 2010-04-06 09:58 UTC (History)
0 users

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


Attachments
Patch for set support, against svn r749 (gentoolkit-sets.patch,4.50 KB, patch)
2010-03-05 22:44 UTC, Andy Kittner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Kittner 2010-03-05 22:43:30 UTC
This patch adds support for querying sets with gentoolkit (e.g equery l @system)
It currently only works with portage-2.2 (as the set-API is marked as private in portage-2.1 IIRC) and does not contain any documentation updates. I'd work on
this as well as on anything else that might also be required if it is deemed
useful enough for inclusion into gentoolkit.
Comment 1 Andy Kittner 2010-03-05 22:44:27 UTC
Created attachment 222219 [details, diff]
Patch for set support, against svn r749
Comment 2 Douglas Anderson 2010-03-05 23:54:12 UTC
Thanks, Andy!

I had planned on doing this (see bug #300931) but this looks great; exactly what I had in mind.

I'll take a little more time to review the patch, but I'll probably apply later today (it'll be at genscripts.googlecode.com which is serving as somewhat of a test bed for gentoolkit's svn, but it should make its way into svn HEAD soon).
Comment 3 Douglas Anderson 2010-03-06 03:08:39 UTC
$ svn ci -m "Adding equery list @set patch from Andy Kittner; bug #307945."
Sending        gentoolkit/pym/gentoolkit/errors.py
Sending        gentoolkit/pym/gentoolkit/helpers.py
Transmitting file data ..
Committed revision 248.
Comment 4 Christian Ruppert (idl0r) gentoo-dev 2010-04-06 09:58:50 UTC
This bug has been fixed in app-portage/gentoolkit-0.3.0_rc10, thanks for reporting this issue.