[Yum-devel] [PATCH/RFC] New processConflict implementation

Tim Lauridsen tim.lauridsen at googlemail.com
Mon Nov 5 11:40:01 UTC 2007


Florian Festi wrote:
> Hi!
>
> Depsolve.processConflict() has been on the "Needs to be revisited" 
> list for quite some time. The attached patch offers a simple but 
> powerful implementation by invoking self.update. This code passes the 
> few conflict test cases we have including the one that are failing 
> right now. It tries to update both of the involved pkgs and tries to 
> be smart which one to try first.
>
> While I think that implementation of processConflict is quite good I 
> am a bit unsure if YumBase.update is capable of handling all 
> situations that we are handing over. I guess we need to make .update 
> handling more situations properly - especially updates to non newest 
> versions.
>
> Comments anyone?
>
> Florian
> ------------------------------------------------------------------------
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at linux.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
What if some one want to use the desolve class directly, it will fail 
because there is no update method, there need to be some virtual method 
raising NotImplemted or something like that.

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum-devel/attachments/20071105/97118248/attachment.htm 


More information about the Yum-devel mailing list