This is the mail archive of the cygwin-apps mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] setup: mirror list caching


The attached (Q&D) patch implements rudimentary mirror list caching.  The
mirror list will be fully downloaded from every time if
possible, but if the site is down, a local copy (from last download) will
be used.  There is no true "caching" (with timestamps, etc), but this
could be refined later.

I've tested this on two WinXP machines -- seems to work.  We might want to
apply this soon and release a setup snapshot before this weekend, because
of <>.

As usual, the ChangeLog is below.
2005-09-29  Igor Pechtchanski  <>

	* (get_site_list): Store mirror list locally.
	Use local copy if unable to download.

      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

Attachment: setup-mirrors-cache.patch
Description: Text document

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]