[MacPorts] #55502: Use size from checksums for curl progress bar when server does not supply length header
MacPorts
noreply at macports.org
Mon Mar 12 15:05:29 UTC 2018
#55502: Use size from checksums for curl progress bar when server does not supply
length header
--------------------------+----------------------------
Reporter: ryandesign | Owner: neverpanic
Type: enhancement | Status: assigned
Priority: Normal | Milestone: MacPorts 2.6.0
Component: base | Version:
Resolution: | Keywords:
Port: |
--------------------------+----------------------------
Changes (by raimue):
* status: new => assigned
* owner: => neverpanic
* milestone: => MacPorts 2.6.0
Comment:
This is reasonable, but it is not as easy as I originally thought. At the
moment, we just rely on the progress function of curl, so we would need to
pass the expected size to the `curl` Tcl command and then pass it through
to the progress function to calculate the expected time. Also the
`checksums` option is only parsed in the checksums phase, so that would
neeed to be moved to be done earlier.
--
Ticket URL: <https://trac.macports.org/ticket/55502#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list