[Yum-devel] cli-extras plugin

Tim Lauridsen tla-ml at rasmil.dk
Thu May 11 10:41:45 UTC 2006

I have made the first draft of a cli-extras plugin, it adds an option to 
set yum.conf option from the commandline.


yum -o gpgcheck=0 install somepackage

This installs somepackage without checking the gpgkey.

It looks like it is working, the options are parsed and the option is 
added to the conf structure use in the plugin hook, but it look like
yum dont care about the changes.

yum -o metadata_expire=0 list gftp, should load the metadata and display 
info about the gftp package.

but yum is just using the cached metadata. (FC5 / yum 2.6.1)

Can anybody see where the error is ??

Tim Lauridsen

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cli-extras.conf
Url: http://lists.baseurl.org/pipermail/yum-devel/attachments/20060511/9b81a00c/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cli-extras.py
Type: text/x-python
Size: 1965 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060511/9b81a00c/attachment.py 

More information about the Yum-devel mailing list