Bug 490560 - RFE: Change grouplist output (show group ids as well)
Summary: RFE: Change grouplist output (show group ids as well)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-16 23:57 UTC by Rahul Sundaram
Modified: 2014-01-21 23:08 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-05-05 17:17:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rahul Sundaram 2009-03-16 23:57:30 UTC
Description of problem:

I need yum to list the groupids in a yum grouplist first and perhaps include the expanded name within brackets. While the expanded names are nice for the graphical package managers and Anaconda, the groupid is much much easier to type in the command line and should be listed first. 

I generally do something like the following to install a group

# yum install @kde-desktop 

The group id is listed in comps.xml and is not otherwise visible at all.For some other groups, the expanded name is much difficult to type directly (a mix of captial, mixed case words with spaces in between) and almost impossible to remember offhand and users have to resort to yum grouplist, copy and paste the name as a argument to yum groupinstall.

Comment 1 James Antill 2009-03-17 13:57:17 UTC
 I'm not sure we want this in grouplist, but we did add it to verbose groupinfo so:

yum groupinfo -v '*' | fgrep Group-Id

Comment 2 Rahul Sundaram 2009-03-17 14:11:53 UTC
I think it doesn't make sense to give preference to the group name over the group id in the command line. group id is far more easier in most cases. Yum grouplist shows things like "SUGAR Desktop Environment" and casing and spaces is important and has to be covered within quotes while it is much easier to remember or type @sugar-desktop.

Comment 3 James Antill 2009-05-05 17:17:25 UTC
 Adding -v to grouplist will show this now.

Comment 4 Rahul Sundaram 2009-05-25 00:00:23 UTC
Can you get it list the ids by default instead of adding another option to do it? Btw the man page still claims -v is only for debugging output.  Perhaps you can mention that -v is a option for grouplist to list the ids as well if you are not doing it by default.


Note You need to log in before you can comment on or make changes to this bug.