[Yum-devel] [PATCH] Remove skipped pkgs from updates and new processConflicts implementation

seth vidal skvidal at fedoraproject.org
Thu Feb 14 14:02:42 UTC 2008


On Wed, 2008-02-13 at 17:06 +0100, Florian Festi wrote:
> Hi!
> 
> Reimplementing .processConflict() is on the todo list for too long now. The 
> first patch removes pkgs from updates (self.up) to avoid errors when trying 
> to update to an already skipped package (which is no longer found in the 
> .pkgSack). The second patch is the new processConflict implementation which 
> now get passed the conflicting package object. The method just calls .update 
> on both packages and tries to be smart which to update first.
> 
> Comments?

This looks reasonably straightforward. Swapping out a big section for
update() and adding the ability to remove the packages from the updates
object that are skipped, too.

+1
-sv





More information about the Yum-devel mailing list