[Yum-devel] YumBase.preconf ... to get rid of doConfigSetup etc.

seth vidal skvidal at fedoraproject.org
Fri Oct 24 20:52:13 UTC 2008


On Fri, 2008-10-24 at 15:36 -0400, James Antill wrote:
> On Fri, 2008-10-24 at 15:13 -0400, seth vidal wrote:
> > Would it make more sense to allow ANY config attribute to be set rather
> > than specifying them? I know it would be tricky to ensure but it would
> > mean not having to constantly add them in later when they are wanted for
> > some arbitrary setup.
> 
>  I don't think so, it would be easy to allow arbitrary data but I think
> we want to keep it to "configuration about the configuration" so that
> people setup their preconf and then just use "self.conf.blah".
>  We _might_ want to add:
> 
> preconf.uid
> preconf.logfile
> 
> ...as those are used in _getConfig(), but aren't settable atm.
> 

and probably preconf.arch, preconf.releasever, etc, as we move forward,
right?

-sv




More information about the Yum-devel mailing list