Discussion:
Createrepo in delta form.
Edward Peschko
2010-09-16 03:38:19 UTC
Permalink
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..

Ed
seth vidal
2010-09-20 15:24:22 UTC
Permalink
Post by Edward Peschko
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.
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

Loading...