Hmm I'll have to look at that.
My script already can do that, and can also drill down through a
sequence of group requirements. For example, the current comps.xml file
in the beta shows Base (Minimal) requiring Dialup and Core. My script
currently takes the name of the comps.xml file and the id of a group. It
then spits out the Mandatory/Default packages for the specified group
and the groups it requires, and that they require, etc..
here is what yumgroups.py does:
you can give it a set of comps.xml files - it parses them, reads, them,
integrates the various groups across the comps.xml files then lists out
for you package, group and metapkgs per group.
take look - the default listing can be quite informative.
or grab yum - put a yumgroups.xml in a repository and do a 'yum
grouplist hidden'
-sv