[Yum-devel] packagesack/package objects

Jeremy Katz katzj at redhat.com
Tue Jan 31 04:10:58 UTC 2006


.On Mon, 2006-01-30 at 22:55 -0500, seth vidal wrote:
> On Mon, 2006-01-30 at 22:30 -0500, Paul Nasrat wrote:
> > Are YumInstalledPackage and YumLocalPackage not related (driven by
> > header so lots of the parsing of prco into YumBasePackage format is the
> > same).  This ties in to the patch I hacked up in the current
> > YumInstalledPackage thread to try and unify behaviour.
> 
> ah, right - yes - they should be related: YumLocalPackage ->
> YumInstalledPackage, I'd think.

That or just derive both from a YumHeaderPackage type base class --
since at least I don't think that installed and local should really
inherit from each other.

Jeremy




More information about the Yum-devel mailing list