Re: parsing the comps file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 25 Sep 2002, seth vidal wrote:

> On Wed, 2002-09-25 at 14:23, Aaron Bennett wrote:
> > Hello --
> > 
> > I'm writing a cgi script that generates a customized kickstart
> > configuration file.  I'm wondering if anyone has any ideas about parsing
> > the comps file?
> > 
> 
> do this:
> 
> wait for 8.0 - parse the xml comps file.
> 
> that will make the cgi script more easy w/less pain and you can do wacky
> dependency catching stuff in the script.
> 
> look at comps.py that is in rhpl and is used by redhat-config-packages
> in TNV/8.0

Yup, if you're using python then parsing the new comps.xml is ridiculously 
easy. A simple example how to use it is my metapackage (Debian 
style task- packages) generator: 
http://koti.welho.com/pmatilai/comps2task/comps2task.py

-- 
	- Panu -





[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux