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

2008-10-24 Thread James Antill
On Fri, 2008-10-24 at 17:11 -0400, seth vidal wrote: > On Fri, 2008-10-24 at 17:10 -0400, James Antill wrote: > > On Fri, 2008-10-24 at 16:52 -0400, seth vidal wrote: > > > and probably preconf.arch, preconf.releasever, etc, as we move forward, > > > right? > > > > Oh, sure ... and/or just allow

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

2008-10-24 Thread seth vidal
On Fri, 2008-10-24 at 17:10 -0400, James Antill wrote: > On Fri, 2008-10-24 at 16:52 -0400, seth vidal wrote: > > 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 se

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

2008-10-24 Thread James Antill
On Fri, 2008-10-24 at 16:52 -0400, seth vidal wrote: > 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

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

2008-10-24 Thread seth vidal
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

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

2008-10-24 Thread James Antill
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.

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

2008-10-24 Thread seth vidal
On Fri, 2008-10-24 at 15:06 -0400, James Antill wrote: > Here's a patch Seth and I talked about for how we can easily get rid of > doConfigSetup() etc. when we break the API, without having to do lots of > code changes all over the place at the same time. > > The basic idea is that if you want to

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

2008-10-24 Thread James Antill
Here's a patch Seth and I talked about for how we can easily get rid of doConfigSetup() etc. when we break the API, without having to do lots of code changes all over the place at the same time. The basic idea is that if you want to run yum without plugins, instead of calling: yb.doConfigSetup