Op Tue, 18 Oct 2005 01:35:12 -0400 (EDT) schreef Igor Pechtchanski in <[EMAIL PROTECTED]>: : On Tue, 18 Oct 2005, Buzz wrote:
: > Op Sun, 16 Oct 2005 17:30:34 -0400 (EDT) schreef Igor Pechtchanski: [Mirror manually added or stale.] : > : You are assuming that the format of the last-mirror file is fixed and : > : won't change. We could keep the fact that the user typed in the mirror : > : URL as opposed to clicking on one of the official ones... : > : Igor : > Would it not be possible to use the cached mirror-list to : > differentiate the two cases? (Only warn if a mirror is used which is : > in cache but not in new list. Keep the old mirror in the cache if : > the user wants to be warned again.) : > (I know, SHTDI.) : a) the cached mirror-list was only introduced recently, I suggest using it. Your point? : b) the cached mirror-list is overwritten every time a successful : connection is established with sourceware.org, That could change. (Or the stale mirrors might get appended.) : c) this kind of information belongs in last-mirror, IMO, and That is also an option. Adding a ``stale''-flag there, if the user wants to be warned again, should work. Still, one could use the cached mirror-list to determine when an official mirror went stale since last connection. : d) you said it: SHTDI. If there's interest, I'm willing to look into the source. (It may take me a while. The last time I looked at it is way back.) L8r, Buzz. -- ) | | ---/ ---/ Yes, this | This message consists of true | I do not -- | | / / really is | and false bits entirely. | mail for ) | | / / a 72 by 4 +-------------------------------+ any1 but -- \--| /--- /--- .sigfile. | |perl -pe "s.u(z)\1.as." | me. 4^re