Re: [patch] createrepo --update

Mike McLean <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Organization Red Hat
Message-ID <[email protected]>
seth vidal wrote:
>>http://people.redhat.com/mikem/software/createrepo-update4.patch
> 
> I looked at this before and I couldn't figure out why you wrote an
> entire other metadata parser just for it? why not just reuse the code
> from elsewhere?

Well, the parser only parses a fraction of the metadata, just enough to 
figure out which nodes go to which packages and what their mtime and 
size should be. By doing so I'm able to recycle the nodes and not have 
to regenerate them.

Importing yum seemed like overkill at the time ... or were you referring 
to some other code I should reuse?
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.