[MacPorts] #49496: Offer a choice of mirror server in the MacPorts installer package
MacPorts
noreply at macports.org
Thu Oct 29 03:08:34 PDT 2015
#49496: Offer a choice of mirror server in the MacPorts installer package
---------------------------+--------------------------------
Reporter: ryandesign@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Low | Milestone:
Component: base | Version: 2.3.99
Resolution: | Keywords:
Port: |
---------------------------+--------------------------------
Comment (by lpancescu@…):
Another possibility is to invoke rsync (eventually with --timeout, in case
the connection stalls), and send it a TERM signal if it's not finished in
e.g. 2 minutes, to retry using a different mirror. An alternative to ping
is getting the region using the free MaxMind GeoIP Lite database [1], but
ping might be simpler to implement.
As for the user interface, since you said that nobody made such a request
in all these years, I'd also settle for the installer checking if there's
an environment variable MACPORTS_MIRROR set, and using that.
[1] http://wiki.tcl.tk/12521
--
Ticket URL: <https://trac.macports.org/ticket/49496#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list