Ticket #15939 (new enhancement)
port install : in need of a progressbar
| Reported by: | pc@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Low | Milestone: | MacPorts Future |
| Component: | base | Version: | 1.6.0 |
| Keywords: | Cc: | pc@…, p.ixiemotion@…, ryandesign@…, egall@… | |
| Port: |
Description
Installing bigger Distributions, like texlive_texmf-full (>125MB), I was wondering if everything is allright after some minutes of nothingness. I know that other *nix-packet-managers have a progressbar (some dots or whatever) so that the user is able to track the progress, at least having an idea if everything is allright.
Since now I know I just have to wait, everything is fine for me. Thinking of other users - they would sometimes appreciate to have a progressbar when installing using port, I suppose. Thinking of gentoo-users sitting next to me, I would appreciate that anyway ;)
Change History
comment:4 Changed 5 years ago by milosh@…
As a pis-aller, you can use the -d option. You will have curl's progressbar while fetching and lots of output while building reassuring you that things are moving.
Note: for texlive_texmf-full, the long phases should be feching and activating (macports is quite slow at activating thousands of files).
comment:8 Changed 4 months ago by ryandesign@…
- Cc gguthe@…, ryandesign@… added
- Keywords port install progressbar removed
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.


Cc Me!