Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232924 - portage should dump a list of valid sets if an invalid one is specified
Summary: portage should dump a list of valid sets if an invalid one is specified
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 210077
  Show dependency tree
 
Reported: 2008-07-25 14:12 UTC by Andrew Gaffney (RETIRED)
Modified: 2008-07-28 10:42 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 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-25 14:12:55 UTC
Currently, there's no way for portage to spit out a list of valid sets. With pkgcore, if you specify an invalid set on the commandline, it will tell you what the valid ones are:

kirara ~ # pmerge -p -s foo
No set called 'foo'!
known sets: ['glsa', 'installed', 'versioned-installed', 'system', 'world', 'vuln']

Can we get this same functionality for portage?
Comment 1 Zac Medico gentoo-dev 2008-07-26 07:57:42 UTC
Here's how it looks now:

# emerge @foo
emerge: There are no sets to satisfy 'foo'. The following sets exist:

    installed
    preserved-rebuild
    security
    system
    world
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2008-07-26 16:01:23 UTC
Perfect...you rock! :P
Comment 3 Zac Medico gentoo-dev 2008-07-28 10:42:10 UTC
This is fixed in 2.2_rc4.