[Yum-devel] makecache process

David Lutterkort dlutter at redhat.com
Fri Nov 4 23:43:18 UTC 2005


On Fri, 2005-11-04 at 16:41 -0500, seth vidal wrote:
> A simple yum-util that would do a cache update from cron every N hours.

Just out of curiosity, would that be more than running 'yum makecache' ?

> Then modify yum so that if repomd.xml (or a variable inside it) is < N
> hours old then assume that repo is current and use the local store of
> it.

I think that's an excellent idea; but just a cmd line option that tells
yum to only download data if my local copy is older than X might be
enough. I am fine with it d/l'ing every once in a while, but when I run
several yum commands in succession I would like it to only d/l what's
absolutely necessary.

> If anyone has any suggestions for more things to add around this, let me
> know - but I think it might just work/help.

It seems that extras causes a lot of metadata churn, because different
mirrors seem to be in different states. It would be nice if yum would
only download the metadata if it is newer than the local copy; but that
will require handling the case where the selected mirror is older than
the local metadata.

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum-devel/attachments/20051104/37d39ab6/attachment.pgp 


More information about the Yum-devel mailing list