[Yum-devel] yum classes

seth vidal skvidal at phy.duke.edu
Sun Mar 21 23:11:02 UTC 2004


Hey,
 Michael and I were talking on irc and discussed that maybe some
reshuffling of yum's structure would be handy.


Maybe something like:

import yum
yum.initialize()

this sets up a conf class, a read-only ts, a transaction holder, etc


the we parse some cli options to create the config class, this sets up
the repos class which gets us our packageSack as well.

then we can do a lot of stuff internally to the yum module, as we should
be doing.

I think that makes more sense.

thoughts?

-sv







More information about the Yum-devel mailing list