[Yum-devel] Better way to extend Yum's configuration files from plugins

Menno Smits menno-yum at freshfoo.com
Fri Jun 16 15:15:15 UTC 2006


Hi all,

This work seems to have stabilised now so I thought I'd announce it 
properly...

Plugins can now add to Yum's configuration options in the same way that 
config options are done for the rest of Yum. This provides plugins with 
a lot more flexibility when adding configuration options. Plugins can 
even define their own option types by creating subclasses of the Option 
class. The code behind this is also a lot cleaner than the previous 
implementation.

The old method of defining options (registerOpt) is still available but 
is deprecated. It will go away in a future version of Yum.

The wiki documentation relating to this work has been updated:
http://wiki.linux.duke.edu/WritingYumPlugins

Feedback welcome.

Menno



More information about the Yum-devel mailing list