[Yum-devel] [RFC][PATCH] config initialisation refactoring
Menno Smits
menno-yum at freshfoo.com
Tue Jun 13 18:31:59 UTC 2006
Hi all,
I've refactored the way Yum's configuration and logging gets initialised
because Jeremy and myself weren't happy with my recent changes in
this area. I thought I'd better get this in quickly because I noticed
people have been changing their code to match the new (ugly) API.
This patch removes the doStartupConfig() method that was recently added
by merging most of what it did into doConfigSetup(). doConfigSetup() now
sets up plugins and logging by calling overridable doPluginSetup() and
doLoggingSetup() methods. A few other minor bits and pieces were cleaned
up as well. In most cases client code shouldn't need to call
doPluginSetup() anymore although it can if required.
I think this approach is cleaner and more flexible. Any comments before
I commit?
Menno
Scanned by the NetBox from NetBox Blue
(http://netboxblue.com/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yum-config_setup_refactor.patch
Type: text/x-patch
Size: 9670 bytes
Desc: not available
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20060613/bbd41d82/attachment.bin
More information about the Yum-devel
mailing list