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 <1114360717.15223.22.camel@cutter>
> How about just checking timestamps (those in repomd.xml and repomd.xml itself, 
> and making sure, that no rpm file is newer than this, otherwise just recreate 
> them? Sure, wouldn't be 100% waterproof, but would fit at least my needs!
> 
> Yes, this behavior should be correctly documented..
> 


So you just want a quick way to say 'if no changes, don't re-index'. I
thought you  were asking for a quick way to really only index the
changed information, instead of re-reading all of it.

The former isn't a big deal - send me a patch and I'll probably pull it
in.

The latter will be difficult to make fast.

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.