[MacPorts] #52873: port sync should open only a single rsync connection
MacPorts
noreply at macports.org
Sun Nov 13 16:34:06 CET 2016
#52873: port sync should open only a single rsync connection
------------------------+--------------------------------
Reporter: ryandesign | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.3.4
Keywords: | Port:
------------------------+--------------------------------
In src/macports1.0/macports.tcl, MacPorts currently opens a second
connection to the rsync server to download the platform-specific
PortIndex, and a third connection to download PortIndex.rmd160. Besides
being slower and using more network bandwidth and server resources, this
presents an opportunity for the user to get a mismatched set of files --
for example, an old PortIndex and a new PortIndex.rmd160 that does not
match it.
MacPorts should open one and only one connection to the rsync server when
instructed via `sudo port sync` so to do.
--
Ticket URL: <https://trac.macports.org/ticket/52873>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list