[MacPorts] #15939: port install : in need of a progressbar
MacPorts
noreply at macports.org
Wed Jun 1 14:05:23 PDT 2016
#15939: port install : in need of a progressbar
--------------------------+--------------------------------
Reporter: pc@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Low | Milestone: MacPorts Future
Component: base | Version: 1.6.0
Resolution: | Keywords:
Port: |
--------------------------+--------------------------------
Comment (by cal@…):
Just so this is documented somewhere… I've had the idea in my head for a
while that we could use the number of lines generated on stdout as an
indicator of build progress. Since warnings go to stderr, this number of
lines should be roughly the same on all installations for a given port at
a given version. A webservice could be used to map a hash of (portname,
version, variants, OS) to the median number of lines submitted for this
tuple. We could encourage users to opt-in to provide this information if
base only used the webservice if users also agree to submit this info. The
hash would be used to prevent turning this into statistics, since we have
other approaches for that.
This approach would work for the configure, build and destroot phases of
pretty much all ports, regardless of their build system.
Progress for the operations involving (de-)activation and archiving could
be handled per file because we know (or can easily determine) the number
of files in a port.
--
Ticket URL: <https://trac.macports.org/ticket/15939#comment:13>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list