On Tue, 2007-07-03 at 10:26 +0200, Florian La Roche wrote:
> > why add all that code when we can just  check the timestamp on the file
> > we saved and compare it? How much benefit to the user are we enabling by
> > implementing all of the above? More options != more benefit.
> 
> You might want to add a check if one of the config
> files is more recent than the mirrorlist, so that
> people less often have todo a "yum cache clean".
> 

So I can make it so that if the mirrorlist is older than the config file
or older than any of the repo files. But I can't, however make them
correlate one to one. The repo files aren't parsed that way and the
repos can actually come out of nowhere  (ie: rhn-plugin).

If it is good enough to invalidate all the mirrorlists if they are older
than any given config file that's fine - but I can't get much more
precision than that w/o rewriting a lot of the repo-gathering code.
Which is not interesting right now.

-sv


_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to