[Yum-devel] Re: [Yum] Get rid of the header download

seth vidal skvidal at linux.duke.edu
Mon Oct 30 18:45:43 UTC 2006


On Mon, 2006-10-30 at 08:22 -0600, Nathan Straz wrote:
> On Oct 29 23:19, seth vidal wrote:
> > On Sun, 2006-10-29 at 10:28 -0600, Nathan Straz wrote:
> > > I started looking at this item on the YumIdeas page.  A yum upgrade from
> > > FC5 to FC6 pushed me over the edge. :)
> > > 
> > > I think the critical piece to get this working is to fill out the RPM
> > > Python interface.  Currently you cannot create new hdr objects from
> > > python.  The only factory interfaces I found depend on reading a binary
> > > blog, which is exactly what we want to avoid.
> > > 
> > > I started trying to get "h = rpm.hdr()" working and ran into a big
> > > problem.  I created a tp_new function for hdr which allowed me to create
> > > new hdr objects in Python.  Then I allocated the Header structure in
> > > hdrObject and all hell broke loose.  On my system calling headerNew()
> > > totally clobbers the hdrObject.
> > > 
> > 
> > Hi Nathan,
> >  So far it looks like the patch you've seen needs to go to rpm-devel or
> > rpm-python-devel instead. Additionally, it'd be best if you discussed
> > yum development issues on the yum-devel list, cool?
> 
> Cool.
> 
> Has anyone else started work on this item?

yes and no.

-sv





More information about the Yum-devel mailing list