New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15939 (new enhancement)

Opened 5 years ago

Last modified 4 months ago

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:1 Changed 5 years ago by pc@…

  • Cc pc@… added

Cc Me!

comment:2 Changed 5 years ago by raimue@…

See also #15167.

comment:3 Changed 5 years ago by raimue@…

  • Milestone set to MacPorts base enhancements

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:5 Changed 5 years ago by pc@…

Thx milosh, of course a good idea :)

comment:6 Changed 4 years ago by p.ixiemotion@…

  • Cc p.ixiemotion@… added

Cc Me!

comment:7 Changed 3 years ago by gguthe@…

cc me too please

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.

comment:9 Changed 4 months ago by gguthe@…

  • Cc gguthe@… removed

Cc Me!

comment:10 Changed 4 months ago by egall@…

  • Cc egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.