Re: com web/master: Revert "Hardcodish US mirrors by east/west coast": scripts/mirror-test

From: Date: Fri, 12 Jun 2015 20:43:40 +0000
Subject: Re: com web/master: Revert "Hardcodish US mirrors by east/west coast": scripts/mirror-test
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-21332@lists.php.net to get a copy of this message
Thanks for cleaning stuff like this up. Always enjoy seeing legacy stuff removed \o/ On Fri, Jun 12, 2015 at 11:57 AM, Hannes Magnusson <bjori@php.net> wrote: > Commit: 179443698f81450662f79b649f7c5de9cf616917 > Author: Hannes Magnusson <bjori@php.net> Fri, 12 Jun 2015 10:57:21 -0700 > Parents: ca968d3f275ed05321b57c41328bbadc06339ad9 > Branches: master > > Link: > http://git.php.net/?p=web/master.git;a=commitdiff;h=179443698f81450662f79b649f7c5de9cf616917 > > Log: > Revert "Hardcodish US mirrors by east/west coast" > > This reverts commit ca968d3f275ed05321b57c41328bbadc06339ad9. > > Turns out these are legacy things and not worth using :) > > Changed paths: > M scripts/mirror-test > > > Diff: > diff --git a/scripts/mirror-test b/scripts/mirror-test > index c38b31e..6e6fc5e 100755 > --- a/scripts/mirror-test > +++ b/scripts/mirror-test > @@ -376,22 +376,8 @@ function geoDNS($HOSTS) { > if (!$GEOLIST) { > p("Not updating EasyDNS GeoDNS, couldn't get the list!\n"); > } > - > - /* We don't monitor php-web2, need to hard code it */ > $HOSTS["php-web2.php.net."] = "North America"; > > - /* Special cases for US mirrors -- register them by coast, not country.. */ > - $rewrites = array( > - "php-mirror.nexcess.net." => "NA East", > - "php.he.net." => "NA West", > - "phpnet.c7dc.com." => "NA West", > - ); > - foreach($rewrites as $cname => $geoid) { > - if (!empty($HOSTS[$cname])) { > - $HOSTS[$cname] = $geoid; > - } > - } > - > /* Remove disabled hosts */ > $GEO = array(); > foreach($GEOLIST["data"] as $k => $entry) { > > > -- > PHP Webmaster List Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.webmaster (#21332) next »