[Yum-devel] fedorakmod.py
Jeremy Katz
katzj at redhat.com
Tue Jul 4 01:43:56 UTC 2006
On Mon, 2006-07-03 at 17:35 -0400, Jack Neely wrote:
> I've updated the Fedora kernel module yum plugin for the latest API. (I
> had hoped to do a bit more than that today.)
Okay, time to go change it again ;-P
> A goal for me has been to get this code to only use PackageObjects
> instead of a evil combination of POs and RPM headers. While the
> PackageObject classes have improved so that the APIs are pretty similar
> I never found code in Yum that would actually populate a PackageObject
> with a RPM header from a currently installed package. Is that hidden
> somewhere I missed?
You can do so by instantiating a YumInstalledPackage object (see
yum.packages)
Although some of this may change as Seth finishes up the rpmsack stuff
Jeremy
More information about the Yum-devel
mailing list