Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #15167 (new enhancement)

Opened 7 months ago

Last modified 5 months ago

Add progress indicator during installation of dependencies

Reported by: jan.matousek@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts base enhancements
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 7 months ago by raimue@…

  • cc raimue@… added
  • keywords progress 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 5 months ago by raimue@…

See also #15939.

Note: See TracTickets for help on using tickets.