[opensuse-packaging] Simplifying RPM groups
Hi! We had a small discussion about RPM groups on openSUSE Conference and we came to the conclusion that the current situation is a mess. We have 244(!) RPM groups, some of them are really old (System/X11/Servers/XF86_3, Productivity/Networking/Napster) and somewhere we have very precise granularity (20 groups for games, 44 groups for networking tools). This problem was tackled by Duncan 2.5 years ago - see [1] (the image links are broken, but I found the correct locations). What he did was that he mapped our RPM groups to PackageKit groups and create a new Group view[2] which is the default but the old one[3] is still present. To solve this situation we can do the following: 1) get rid of our groups 2) adopt either PackageKit or Fedora or MeeGo simplified group set (see attached files, I got PackageKit groups from their git repo, so I'm not sure if all of them are valid, Fedora and MeeGo ones are VERY similar) 3) fix rpmlint script to check for new groups What we will gain in all 3 cases: * there will be no need to use group mapping in YaST, we'll directly use the reduced set, one package groups dialog instead of two What we will gain when choosing Fedora/MeeGo group set * it will be easier to cross-distro create packages (now one has to create %if-s when the groups differ and they often do) What we will gain when choosing PackageKit group set * well, at the beginning not much, but we could ask other distros to use the same common set, this is for a long run and could fail :-( From these options I like using Fedora/MeeGo and I'm slightly inclined to MeeGo option (they don't use spaces in group names and their logic of System/* is very similar to what we currently use). What do YOU think? [1] http://duncan.mac-vicar.com/blog/archives/308 [2] http://old-en.opensuse.org/images/0/02/Rpmgroups-after.png [3] http://old-en.opensuse.org/images/d/d3/Rpmgroups-before.png -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Boosters Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9 prusnak[at]opensuse.org Czech Republic
On Thursday 11 November 2010 19:31:34 Pavol Rusnak wrote:
Hi!
We had a small discussion about RPM groups on openSUSE Conference and we came to the conclusion that the current situation is a mess.
We have 244(!) RPM groups, some of them are really old (System/X11/Servers/XF86_3, Productivity/Networking/Napster) and somewhere we have very precise granularity (20 groups for games, 44 groups for networking tools).
This problem was tackled by Duncan 2.5 years ago - see [1] (the image links are broken, but I found the correct locations). What he did was that he mapped our RPM groups to PackageKit groups and create a new Group view[2] which is the default but the old one[3] is still present.
To solve this situation we can do the following:
1) get rid of our groups 2) adopt either PackageKit or Fedora or MeeGo simplified group set (see attached files, I got PackageKit groups from their git repo, so I'm not sure if all of them are valid, Fedora and MeeGo ones are VERY similar) 3) fix rpmlint script to check for new groups
Let's have first a cross-distro discussion about this to see what others think....
What we will gain in all 3 cases: * there will be no need to use group mapping in YaST, we'll directly use the reduced set, one package groups dialog instead of two
What we will gain when choosing Fedora/MeeGo group set * it will be easier to cross-distro create packages (now one has to create %if-s when the groups differ and they often do)
and with that argument I would follow the Fedora naming and not the MeeGo one since I expect us to share more with Fedora than with MeeGo...
What we will gain when choosing PackageKit group set * well, at the beginning not much, but we could ask other distros to use the same common set, this is for a long run and could fail :-(
So, let's discuss with others. PackageKit makes the most sense indeed.
From these options I like using Fedora/MeeGo and I'm slightly inclined to MeeGo option (they don't use spaces in group names and their logic of System/* is very similar to what we currently use).
What do YOU think?
thanks for raising this! When we do it, the spec cleaner should help cleaning this up ;) Andreas -- Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org} Twitter: jaegerandi | Identica: jaegerandi SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 2010-11-12 11:34:41 (+0100), Andreas Jaeger
On Thursday 11 November 2010 19:31:34 Pavol Rusnak wrote: [...]
To solve this situation we can do the following: 1) get rid of our groups 2) adopt either PackageKit or Fedora or MeeGo simplified group set (see attached files, I got PackageKit groups from their git repo, so I'm not sure if all of them are valid, Fedora and MeeGo ones are VERY similar) 3) fix rpmlint script to check for new groups
Let's have first a cross-distro discussion about this to see what others think.... [...] So, let's discuss with others. PackageKit makes the most sense indeed.
Yes, we can always try first. How about bringing that up at the distro miniconf at FOSDEM ? [...]
When we do it, the spec cleaner should help cleaning this up ;)
When the spec cleaner is ready for public consumption ;)
cheers
--
-o) Pascal Bleser
Le samedi 13 novembre 2010, à 18:48 +0100, Pascal Bleser a écrit :
On 2010-11-12 11:34:41 (+0100), Andreas Jaeger
wrote: When we do it, the spec cleaner should help cleaning this up ;)
When the spec cleaner is ready for public consumption ;)
Any specific issue you're aware of, or improvements we could add? Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Andreas Jaeger
-
Pascal Bleser
-
Pavol Rusnak
-
Vincent Untz