Commit Graph

11 Commits

Author SHA1 Message Date
Eli Barzilay
1eaecb8e39 An a warning newline, minor additional tweaks. 2012-07-28 12:11:43 -04:00
Eli Barzilay
0de95a0a79 Do a timeout for http polls too.
(Turns out that some network problems can lead to a timeout after
several hours...)
2012-02-24 14:46:17 -05:00
Eli Barzilay
4d5ba08653 lambda' -> λ' 2011-12-31 14:24:41 -05:00
Eli Barzilay
1160e423e2 Add a timeout to the ftp poll.
This is because the ftp mirror tends to become unresponsive often, but
it takes a huge amount of time to actually get a tmeout.
2011-12-28 21:07:24 -05:00
Eli Barzilay
7d1b00ff69 Typo in error message detection 2011-10-08 03:02:20 -04:00
Eli Barzilay
f5230d858f Catch tcp failures in the http verification. 2011-10-07 11:05:15 -04:00
Eli Barzilay
9608c0f041 When a file is missing the ftp client throws an error, catch it. 2011-08-17 10:00:55 -04:00
Eli Barzilay
093d2304a8 Add an email alert whenever an ok mirror link changed to being omitted. 2011-08-12 19:47:43 -04:00
Eli Barzilay
046817a328 Better randomization of poll dates -- multiply the range by a factor of 1..2. 2011-08-12 19:47:43 -04:00
Eli Barzilay
1a65678924 Add a note to the command-line help text, and describe the functionality
in case someone really wants to use this.
2011-08-05 02:44:57 -04:00
Eli Barzilay
d048954f04 Poll mirrors for the download web pages.
This is triggered by an environment variable that points at a file that
is used to cache polling results.  If the variable is not specified just
use all mirror links as usual.  This way, for random builds when people
try things out there is no problem, while the nightly builds (and my
manual builds when there are changes) do the right thing.

The file holds information about the polls, and verifies that the
download exists -- if not, the link is not shown.  If it is, then it
tries to get the size of the remote file (via HEAD or via FTP), and if
it doesn't match our download information, then drop it too.  If no size
informaion is available, include it, but re-poll after a few days.  Even
if the size matches, a re-poll will be done after a month, so stale
mirrors will not stick.
2011-08-05 02:05:59 -04:00