On Fri, 2003-08-22 at 00:02, Jef Spaleta wrote:
Bill Anderson wrote:
>Right now, I am working ona python script that explores a given group
>and determines a package list for the entire group. With this, my goal
>is (initially) to be able to have it take the Mandatory, and later
>Default, options in the group, list them, and then follow it's group
>requirements and do the same up the tree (all the way to Core).
is rpm-analyzer the project you seek?
http://www.maisondubonheur.com/rpm-analyzer/
if yer going through this much trouble for a python script maybe you can
hack the extra mandatory/default/optional functionality into
rpm-analyzer proggie while yer at it.
Might I suggest you look at yum's groups support.
yum reads the comps.xml now and can list packages out in groups of
'mandatory', 'default' and 'optional'.
yumcomps.py in yum's source is an easy read, lots of comments.
-sv