New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15167 (new enhancement)

Opened 4 years ago

Last modified 2 years ago

Add progress indicator during installation of dependencies

Reported by: jan.matousek@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts Future
Component: base Version: 1.6.0
Keywords: progress Cc: raimue@…
Port:

Description

During installing dependencies for some port, progress meter would improve the user experience. I see that time progress meter will be impossible (or pretty nontrivial) to add, but simple count of dependencies that will be installed (recursively, see #11892) will greatly improve the knowledge of how much work will be done.

The port output with progress meter can for example look like this:

bash-3.2# port install meld
--->  Installing dependency py-gtk2 (1 / 2)
--->  Fetching py-gtk2
--->  Verifying checksum(s) for py-gtk2
--->  Extracting py-gtk2
--->  Configuring py-gtk2
--->  Building py-gtk2 with target all
--->  Staging py-gtk2 into destroot
--->  Installing py-gtk2 2.12.1_0+darwin_9
--->  Activating py-gtk2 2.12.1_0+darwin_9
--->  Cleaning py-gtk2
--->  Installing dependency py-gnome (2 / 2)
--->  Fetching py-gnome
...

Now the port output look like this:

bash-3.2# port install meld
--->  Fetching py-gtk2
--->  Verifying checksum(s) for py-gtk2
--->  Extracting py-gtk2
--->  Configuring py-gtk2
--->  Building py-gtk2 with target all
--->  Staging py-gtk2 into destroot
--->  Installing py-gtk2 2.12.1_0+darwin_9
--->  Activating py-gtk2 2.12.1_0+darwin_9
--->  Cleaning py-gtk2
--->  Fetching py-gnome
...

With just two dependencies it is no big difference. But when installing whole gnome as dependency, the progress meter becames more helpfull.

Change History

Changed 4 years ago by raimue@…

  • keywords progress added
  • cc raimue@… added
  • summary changed from add progress meter during instalation dependencies to Add progress indicator during installation of dependencies

Sounds like a good idea. It could become difficult if you specify multiple ports on the command line as we currently don't check how many ports are going to be installed. A change that would also be needed to add a "pretend" option (didn't we already have a ticket for that? Can't find one).

Changed 4 years ago by raimue@…

See also #15939.

Changed 2 years ago by p.ixiemotion@…

I've been wanting this :-)

tlmgr has a nice count when you do an update all: [1/95] linguex... [2/95] myfont... etc.

This count of course doesn't delve into dependencies, but even without that it'd a great help to just have some idea.

Changed 2 years ago by gguthe@…

cc me too. Also it would be good to know if the dependencies include a large build like a different version of gcc.

Note: See TracTickets for help on using tickets.