[Yum-devel] RFC: Package object comparison -- do we need a slight change?
tim at rasmil.dk
Fri Oct 13 08:35:44 UTC 2006
seth vidal wrote:
> On Thu, 2006-10-12 at 09:45 +0200, Tim Lauridsen wrote:
>> Tim Lauridsen wrote:
>>> My proposal is to remove the rich comparisons for package objects and
>>> add an EVR property there return a compareable
>>> packageEVR object, there contain the rich comparisons for evr. (See
>>> the attached patch)
>>> if po1 > po2: will have to be changed to
>>> if po1.EVR > po2.EVR: # Everybody should be able to see what we are
>>> comparing here.
>> To much cut & paste, there is a new patch.
> yah - that's what we were talking about last night (or morning for you,
> or whatever)
It was very early morning :-) .
> Right now I think that's the way we have to go and we need to sift
> through all the code (yum-utils, too) and look for all places a po is
> compared for ver and fix it up.
There should not be any problems with yum-utils, i have check all the
recent patches to yum-utils there have not been added any po compare stuff.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Yum-devel