[MacPorts] #15939: port install : in need of a progressbar

MacPorts noreply at macports.org
Wed Feb 27 03:03:39 PST 2013


#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:               |
--------------------------+--------------------------------
Changes (by ryandesign@…):

 * cc: gguthe@…, ryandesign@… (added)
 * keywords:  port install progressbar =>


Comment:

 We could provide a progress bar of the various MacPorts phases, but
 different phases take vastly different amounts of time, and it varies by
 port, so there would be no way to make such a progress bar have accurate
 proportions.

 Within the fetch phase, we could hook into curl's progress meter, if the
 port fetches standard distfiles. If the port fetches from a VCS, we would
 have to see if the particular VCS used offers progress information; many
 don't.

 Within the build phase, for most ports, a proper progress bar that shows
 you how far along the build process you are is impossible because most
 build systems do not provide that information. cmake is the one exception
 I know of, which does print percent completed information in its output
 which could be turned into a progress bar. For all other build systems,
 all we could do is an indeterminate progress bar which shows that
 something is happening but would give no indication of how far along the
 process is.

 cmake might print progress information for the destroot phase as well.

 For all other phases, I don't think we have any progress information
 available.

-- 
Ticket URL: <https://trac.macports.org/ticket/15939#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list