[Yum-devel] standardize on a package object?

seth vidal skvidal at linux.duke.edu
Mon Aug 21 12:32:03 UTC 2006


On Mon, 2006-08-21 at 14:11 +0300, Tambet Ingo wrote:
> On Sun, 2006-08-20 at 17:46 -0400, seth vidal wrote:
> > We frequently do something like:
> > 
> > (n1,a1,e1,v1,r1) = pkg.pkgtup
> > (n2,a2,e2,v2,r2) = instpkg.pkgtup
> > rc = rpmUtils.miscutils.compareEVR((e, v, r), (te, tv, tr))
> 
> There's also a bunch of places where there are tuples like (n,e,v,r,a),
> that is, the order is different. It drove me insane and made me drop the
> rpmsack rework I started. In other words, I would love to see that
> change.

agreed.

no time like the present. If you're willing to help, go find the places
where things take a nevra tuple and kill them or - hell - just point
them all out so we can clean them up.

thanks,
-sv





More information about the Yum-devel mailing list