[Yum-devel] [PATCH] Fix huge checkConflicts regression due to 4.9.x code conversion.

seth vidal skvidal at fedoraproject.org
Wed Nov 17 08:11:16 UTC 2010


On Wed, 2010-11-17 at 10:06 +0200, Panu Matilainen wrote:
> On Wed, 17 Nov 2010, seth vidal wrote:
> 
> > On Wed, 2010-11-17 at 09:31 +0200, Panu Matilainen wrote:
> >> On Wed, 17 Nov 2010, seth vidal wrote:
> >>
> >>> On Wed, 2010-11-17 at 09:14 +0200, Panu Matilainen wrote:
> >>>> On Wed, 10 Nov 2010, seth vidal wrote:
> >>>> [...]
> >>>>>
> >>>>> ACK - but can I tell you how much I'm not in love with special cases for
> >>>>> various versions of things?
> >>>>>
> >>>>> not your fault but <sigh>
> >>>>
> >>>> Here's a thought:
> >>>>
> >>>> How about finally shredding some of the old of the old weight to
> >>>> counterbalance? I skimmed through yum commits and there are all sorts of
> >>>> workarounds for things that only ever existed in some rpm 4.6-prerelease
> >>>> version(s) etc, not to mention all the rpm <= 4.4.x kludges from the more
> >>>> ancient past.
> >>>>
> >>>> With Fedora 12 going EOL shortly, all supported versions of Fedora, RHEL 6
> >>>> and recent OpenSuse have rpm >= 4.8.0 with the "refreshed" bindings. I'd
> >>>> be happy to help here, including sending patches.
> >>>>
> >>>
> >>> To be completely honest - in many cases I've lost track of which ones
> >>> were for which workarounds.
> >>
> >> Sure, and not all the workarounds can be shedded anyway, the callback
> >> being one of the biggest messes (and among the hardest to change), sigh.
> >> But I have a fairly good idea about what can be removed.
> >>
> >>> Patches are welcome.
> >>
> >> The big question here to me is: would patch that essentially adds
> >> "Requires: rpm-python >= 4.8.0" be accepted? Without a clear definition of
> >> what is supported and what's not, removing old kludges is not really
> >> possible.
> >>
> >
> > Doubtful b/c that would make piecemealing a patch later for rhel5
> > excruciating.
> 
> Personally I rather grit my teeth and do the backporting, painful as it 
> occasionally might be, when the time comes rather than maintain 
> compatibility at cost of other improvements. But your project, your choice 
> of course.
> 
> > if we're going to do that then maybe only do it when we're ready to
> > break yum's api entirely.
> 
> Well, as long as rpm >= 4.4.x compatibility is required then the whole 
> thing is a no-go. The other aspect of it is that there's not a whole lot 
> of incentive to improve the python bindings when the improvements 
> cannot/wont be used in years to come :-/
> 

Well, rhel6 just dropped - maybe now IS the time to break yum's api.

We'll be keeping 3.2.X running for rhel5 and rhel6 for pretty much ever
- so why not target fedora 16 for a yum api break - that gives us what
10 months to figure out how badly we'll disfigure anaconda and friends..

Panu are you coming to fudcon in Tempe, AZ in late January? If not - is
there any way we can con Denise into getting you and Florian there? It
would be nice to have a sit down about all of this.

-sv




More information about the Yum-devel mailing list