Re: Is there an easy way to get a simple dict of rpm attributes from xml metadata?
seth vidal <[email protected]>
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <1113747474.22733.57.camel@cutter> |
> That did the trick, thanks. > > > > Apart from this, yum does really nice here on SuSE 9.3 ;) > > > > > > No excessive memory hogging any more like in 2.0 times, and it feels > > > fast, man.. > > > > good, good. > > Would you accept a patch to genpkgmetadata.py for an --update option, checking > timestamps before shooting? > > It still has to be done, but will be a nice job while on plane in my holiday. > Will do it anyway, but knowing it _may_ be accepted upstream is a major call > to do it well. ;) > if you can make the --update option not consume a huge amount of memory, yes, I will accept it. Every mechanism I've been able to come up with for --update either involved: 1. a big cache dir that stores all this information broken apart (bleah) 2. or reading in all the current xml and storing it in memory - which is not-small. -sv