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] | |
Hi,
The attached (Q&D) patch implements rudimentary mirror list caching. The
mirror list will be fully downloaded from sources.redhat.com 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 <http://cygwin.com/ml/cygwin/2005-09/msg00993.html>.
As usual, the ChangeLog is below.
Igor
==============================================================================
ChangeLog:
2005-09-29 Igor Pechtchanski <pechtcha@cs.nyu.edu>
* site.cc (get_site_list): Store mirror list locally.
Use local copy if unable to download.
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,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. /DAAttachment:
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] |