Changes between Initial Version and Version 1 of Ticket #49496, comment 1


Ignore:
Timestamp:
Oct 17, 2016, 3:06:53 AM (8 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49496, comment 1

    initial v1  
    1 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.
     1Another 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.
    22
    33As 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.
    44
    5 [1] http://wiki.tcl.tk/12521
     5![1] http://wiki.tcl.tk/12521