[Yum-devel] yum config on HEAD

Paul Nasrat pnasrat at redhat.com
Tue Oct 11 21:29:24 UTC 2005


The parser stuff is working with repo.d style dirs, we need to handle
url based includes and option mapping still.  I'm thinking how to go
about that.

Go to yum working dir - drop this file in

cvs update
export PYTHONPATH=$(pwd)/yum

python
from yumconfig import *
y = YumBaseConfig()
print y.conf
for repo in y.repos:
    print repo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yumconfig.py
Type: text/x-python
Size: 6006 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20051011/2ddb00d5/attachment.py 


More information about the Yum-devel mailing list