smart query --group not displaying group names with spaces

Bug #716372 reported by pete99
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Smart Package Manager
Won't Fix
Undecided
Unassigned

Bug Description

I'm running smart version 1.3.1 on fedora 14, with only the default fedora config options set, and pointing to my local fedora repo mirro.

yum sees groups with <name> = Base, Core, Applications, Development, GNOME Desktop Environment

So far I can only get smart to see some, but not all, of the groups where <name> has a single word.
Eg: Base, Applications, Development, but not Core, Clustering

I definitely need smart to see the group with <name> = GNOME Desktop Environment, so I can use smart 1.3.1 to list the packages in that group and then I will automate the use of smart to list the packages to a list, and use smart to install the packages in the list (since smart install ^groupname is not yet available)

I would like smart to see all groups really, but I'm prepared to focus on the group GNOME Desktop Environment for now.

I've tried the following syntax:

bash# smart query --group="base" <--- lists many packages
bash# smart query --group="applications" <--- lists many packages
bash# smart query --group="development" <--- lists many packages

...but no output for any of the following queries:

bash# smart query --group="gnome-desktop" <--- correct <id> for this group
bash# smart query --group=gnome-desktop
bash# smart query --group="GNOME Desktop Environment" <--- correct <name> for this group
bash# smart query --group="gnome-desktop-environment"
bash# smart query --group=gnome-desktop-environment
bash# smart query --group="gnomedesktopenvironment"
bash# smart query --group=gnomedesktopenvironment

I doubt this is fedora specific.

.

Revision history for this message
Anders F Björklund (afb) wrote :

Smart uses the RPM groups, instead of the Yum groups.

But see Bug #244969

Revision history for this message
Anders F Björklund (afb) wrote :

Other distros put these in different groups:
'System/GUI/GNOME' (SUSE)
'Graphical desktop/GNOME' (Mandriva)

But Fedora chose to put them in all the same:
'User Interface/Desktops'
and then use comps.xml to "group" them...

Revision history for this message
pete99 (peterg-perme8) wrote :

Got it. You omitted the inclusion of Fedora "groups" from comps.xml by design, because you only included the fedora rpm groups.

This is therefore not a bug. Please close this and I'll create a wishlist request.

Changed in smart:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.