[Yum-devel] [PATCH] Add a method for installing local packages onto YumBase

Tim Lauridsen tim.lauridsen at googlemail.com
Wed Dec 19 08:09:51 UTC 2007


James Bowes wrote:
> Hi all:
> 
> In a nutshell, the attached patch moves most of the logic from
> localinstall in cli.py to yum/__init__.py's YumBase. I changed the name
> to not have it be confused with the old method, and made it take only
> one path at a time, or optionally the already instantiated package
> object (like the install/update/erase methods).
> 
> This should be useful for any applications that have thus far been
> carrying their own copy of the localinstall code.
> 
> -James
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at linux.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Very nice, i really missed this one, when making the PackageKit yum 
backend, i had to duplicate a lot of code from cli to make it work.

Tim




More information about the Yum-devel mailing list