[MacPorts] #60608: Update MacPorts base using HTTP
MacPorts
noreply at macports.org
Sat Jun 6 15:21:03 UTC 2020
#60608: Update MacPorts base using HTTP
-------------------------+-----------------------------
Reporter: neverpanic | Owner: neverpanic
Type: enhancement | Status: assigned
Priority: Normal | Milestone: MacPorts Future
Component: base | Version:
Keywords: | Port:
-------------------------+-----------------------------
In #60590, we again noticed that our current method to update MacPorts
base source code via rsync is not optimal, since we do not have automatic
fallbacks to other mirrors should our main mirror be unavailable.
Additionally, the use of rsync is (a) not transport encrypted, and (b)
often requires special care for the proxy configuration, while the proxy
configuration for HTTP is usually already set.
Syncing the entire source code via rsync and only then checking the
current version in a file in the downloaded source tree is also rather
slow, compared to directly checking the current version from some online
source.
We should switch to using pure HTTP to check for the current version, and
then download a tarball of the new version once it is available.
Obviously, the signature checking that is currently in place will need to
be kept.
--
Ticket URL: <https://trac.macports.org/ticket/60608>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list