[Yum-devel] makecache process
seth vidal
skvidal at phy.duke.edu
Sat Nov 5 05:12:22 UTC 2005
On Fri, 2005-11-04 at 15:43 -0800, David Lutterkort wrote:
> 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' ?
it's _mostly_ makecache - but it needs to be more careful about locking
and maybe take into account some other variables on the system.
> 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.
Adding command line options isn't going to help us for the other yum
interfaces, though. It's fine for the cli - but having something that
helps with this problem with reasonable intelligence is the only thing
that's going to help with the guis.
> 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.
and it means downloading and reading a separate copy of repomd.xml for
every mirror per repo.
-sv
More information about the Yum-devel
mailing list