Opened 17 years ago

Closed 12 years ago

Last modified 12 years ago

#15167 closed enhancement (duplicate)

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 (Rainer Müller), ryandesign (Ryan Carsten Schmidt), cooljeanius (Eric Gallager)
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 (11)

comment:1 Changed 17 years ago by raimue (Rainer Müller)

Cc: raimue@… added
Keywords: progress added
Summary: add progress meter during instalation dependenciesAdd 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 16 years ago by raimue (Rainer Müller)

See also #15939.

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

Version 0, edited 15 years ago by p.ixiemotion@… (next)

comment:4 Changed 15 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 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: gguthe@… added
Keywords: progress removed

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

comment:6 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

comment:7 Changed 12 years ago by cooljeanius (Eric Gallager)

I think this is similar to #5001

comment:8 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:9 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

comment:10 Changed 12 years ago by gguthe@…

Cc: gguthe@… removed

Cc Me!

comment:11 Changed 12 years ago by jmroot (Joshua Root)

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