New Comps Groups

seth vidal skvidal at linux.duke.edu
Thu Nov 30 04:37:33 UTC 2006


On Wed, 2006-11-29 at 20:20 -0800, Toshio Kuratomi wrote:
> On Wed, 2006-11-29 at 22:49 -0500, seth vidal wrote:
> > I don't see anything stopping that from happening now.
> > 
> > Either:
> >  1. write the above interface for repodata and then have yum be able to
> > understand that info
> >  2. use the existing comps format and just have yum be able to look up
> > pkgs by the group they belong to. So for the above you would do:
> >    Take the intersection of /Language/Python, /Development/Library,
> > and /Security/Cryptography and display those pkgs.
> > Then comps looks like:
> > 
> >   <group>
> >    <name>/Security/Cryptography</name>
> >    <package>python-gpgme</package>
> >    <package>gpgme</package>
> >    <package>gnupg</package>
> >   </group>
> >   <group>
> >    <name>/Development/Library</name>
> >    <package>python-gpgme</package>
> >    <package>gpgme</package>
> >   </group>
> > 
> So perhaps all we need is free reign to do this in comps.  Which, from
> previous messages from jeremy, seems to imply we would need to have
> separate comps.xml files for the installer and for the repo.

Well that's actually not hard to do.

yum concatenates comps contents across repos. So you could have a
grouping-only repo that is only hit post-install.

The grouping-only repo would have nothing besides a comps file in it.

spiffy, huh? :)

-sv





More information about the fedora-extras-list mailing list