Re: Createrepo in delta form.

seth vidal <[email protected]> Mon, 20 Sep 2010 11:24:22 -0400
Newsgroups gmane.linux.rpm.metadata
Message-ID <1284996262.25885.52.camel@oliver>
On Wed, 2010-09-15 at 20:38 -0700, Edward Peschko wrote:
> All,
> 
> We maintain a series of yum repo using an old version of 2.6.1, and
> are running into performance issues when it comes to indexing. What we
> would like do is exchange our createrepo (which AFAICT re-calculates
> all the metadata for the indexing each time is run) with a createrepo
> that only calculates deltas since the last time it was run.
> 
> So I had a couple of questions:
> 
> 1. is there a flag for createrepo (that I’m not aware of) which allows
> for any rpm commands that are run in the past to be cached, and only
> calculates deltas to create the repo files? 
> 2. can a newer version of createrepo be used with the older version of
> yum listed above?
> 3. if so, does this newer version do deltas in the way that I’ve just
> described?
> 
> Thanks much for any help..
> 

a. new yum and createrepo have lots of new options - but that'll depend
mostly on what distro and ver of rpm/python you're using.

b. yum and createrepo versions  are getting tighter and tighter together

c. deltarpms are supported in new versions of createrepo (0.9.8) and yum
- but that may not be what you mean - do you want delta rpms or delta
metadata? Or maybe you just want the --update option to createrepo to
not reparse all the rpms each time it runs?

Hope this helps.

-sv


_______________________________________________
Rpm-metadata mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/rpm-metadata