[Yum-devel] [Fwd: [yum-cvs] yum/yum config.py,1.81,1.82]
seth vidal
skvidal at linux.duke.edu
Tue Dec 13 08:29:18 UTC 2005
On Mon, 2005-12-12 at 12:46 +0100, Tim Lauridsen wrote:
> On Fri, 2005-12-09 at 13:26 +1000, Menno Smits wrote:
> > Hmmmm, I really wanted the getConfigOption and setConfigOption methods
> > to go away. They are kinda ugly.
> >
> > What needs these? I thought I got rid of all uses of these methods
> > within Yum so I assume some external program that uses the Yum API is
> > needs them.
> >
> > Menno
> >
> I looks like yumex dont work with yum 2.5 in rawhide,because
> getConfigOption & setConfigOption has been removed.
>
> Is here a way to set & get options that will work in both yum 2.4.x
> and 2.5.x ???
For the moment those options are in yum 2.5.0, just released. They may
not continue to be there and most importantly yum 2.5.X will almost
undoubtedly represent an API shift for yum. So it is very likely that a
lot of things will break in yumex. On the plus side it is also very
likely that the new API in yum 2.5.X will make things easier for you to
program with in yumex.
I'd recommend branching yumex soon so it can follow yum-HEAD. We might
be able to shore up old methods later but for the time being it's not a
big priority.
-sv
More information about the Yum-devel
mailing list