Dist file mirror selection

Joshua Root jmr at macports.org
Mon Sep 28 22:18:33 PDT 2015


On 2015-9-29 11:50 , Craig Treleaven wrote:
> Hi:
> 
> What order does MacPorts use for fetching dist files?  My impression was that MacPorts would try to:
> 
> 1) use a ‘close by’ mirror (based on ping times)
> 2) fetch from the main MacPorts dist file server (http://distfiles.macports.org/)
> 3) fall back to the master_site (GitHub, in my case[a])

Nope, it goes completely by ping time (as modified by
host_blacklist/preferred_hosts) except in the case of
<http://svn.macports.org/repository/macports/distfiles/> which is tried
as a last resort.

- Josh


More information about the macports-dev mailing list