[Yum-devel] new features just checked in

seth vidal skvidal at phy.duke.edu
Fri Oct 15 07:00:38 UTC 2004


Hey folks,
 I implemented a new feature last night that I think some of you will
find cool.

It will probably need to be moved around and into the yum module but
right now it works and it doesn't cause anything to spontaneously
combust.

yum localinstall /path/to/some/file.rpm

will install/update file.rpm and resolve it's dependencies from the
repositories you have.


yum install /path/to/some/file.rpm 

will do the same - but it will import the repository metadata first b/c
it has to parse the args and look at the repo lists and what not.

it determines it it should gpgcheck the package based on the global
gpgcheck value under [main]

it was shockingly simple to implement. I just defined a YumLocalPackage
class that acts much like a repository package object.


anyway - break it - tell me why it sucks - and/or submit patches.
-sv







More information about the Yum-devel mailing list