[MacPorts] #65160: package fetch does not honor preferred_hosts

MacPorts noreply at macports.org
Wed May 11 19:57:37 UTC 2022


#65160: package fetch does not honor preferred_hosts
--------------------------+--------------------
 Reporter:  chrstphrchvz  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  base          |    Version:  2.7.2
 Keywords:                |       Port:
--------------------------+--------------------
 Specifying package sites for `preferred_hosts` in macports.conf has no
 effect (unless other sites are added to `host_blacklist`).

 I would like `preferred_hosts` to be honored, because for me (using Google
 Fiber in San Antonio, TX), I can download from
 ywg.ca.packages.macports.org several times faster than from
 packages.macports.org (over 25Mbps versus 2.2Mbps); I do not care that the
 former has a longer ping time (60ms versus 10ms).

 I want to think that this is not a difficult issue to fix if one knows
 where to look in the code.

-- 
Ticket URL: <https://trac.macports.org/ticket/65160>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list