New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15167 (closed enhancement: duplicate)

Opened 5 years ago

Last modified 3 months ago

Add progress indicator during installation of dependencies

Reported by: jan.matousek@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.6.0
Keywords: Cc: raimue@…, ryandesign@…, egall@…
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

comment:1 Changed 5 years 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).

comment:2 Changed 5 years ago by raimue@…

See also #15939.

comment:3 Changed 4 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.

Last edited 3 months ago by ryandesign@… (previous) (diff)

comment:4 Changed 3 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.

comment:5 Changed 3 months ago by ryandesign@…

  • Cc gguthe@… added
  • Keywords progress removed

That might be nice, but MacPorts has no information about how "large" a build is.

comment:6 Changed 3 months ago by ryandesign@…

  • Cc ryandesign@… added

comment:7 Changed 3 months ago by egall@…

I think this is similar to #5001

comment:8 Changed 3 months ago by egall@…

  • Cc egall@… added

Cc Me!

comment:9 Changed 3 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to duplicate

comment:10 Changed 3 months ago by gguthe@…

  • Cc gguthe@… removed

Cc Me!

comment:11 Changed 3 months ago by jmr@…

  • Milestone MacPorts Future deleted
Note: See TracTickets for help on using tickets.