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

seth vidal skvidal at fedoraproject.org
Wed Dec 19 15:14:35 UTC 2007


On Tue, 2007-12-18 at 21:26 -0500, 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.


cool, this fits in with some changes I've been making to install() so
cli.installPkgs() can be simplified.

thanks,
-sv





More information about the Yum-devel mailing list