Re: DNF and PackageKit background data usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/02/2016 08:15 PM, Adam Williamson wrote:
On Sun, 2016-10-30 at 08:50 +0200, Panu Matilainen wrote:
On a related note, why on earth is the main Fedora repo set to expire
every two weeks? (and its -source and -debuginfo every week??) It's not
supposed to change *ever* for a released distro version now is it?

You know, this may be me being dumb, but this question prompted me to
wonder...can't we do something better than metadata expiry and complete
re-download for repos that use the mirrormanager metalinks?

The metalinks already provide checksums and timestamps for the
metadata. So instead of dumbly going out and re-downloading the entire
metadata at hardcoded intervals, couldn't we rather just check if the
'latest' metadata (according to the metalink) has changed since the
last time we ran, or something along those lines, and only actually
download the metadata if so? Wouldn't that save us a lot of wasted
metadata downloads?

I suppose that's what is supposed to happen. And of course, now that I try to reproduce it, that is exactly what happens.

I know I've seen it redownload the main repo occasionally but perhaps its just been bugs since fixed. Or then the main repo actually changed. But perhaps having bugs is the more likely explanation...

	- Panu -
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux