Opened 15 years ago

Closed 14 years ago

#21540 closed enhancement (fixed)

Show dependencies on install prior to installing them

Reported by: imgroxx@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts 1.9.0
Component: base Version: 1.8.0
Keywords: Cc:
Port:

Description

It strikes me as odd that, though the dependencies are apparently known immediately after "Computing dependencies for <port>", they are shown only individually as they are installed or in a large list if an install fails.

I'd request that a list be shown once dependencies are calculated, defaulting to what needs to be installed, and with the option to show all dependencies, so the user can cancel / pre-empt / have some rudimentary progress notification without interrupting the process. Though non-progress-related uses are limited, they can certainly exist.

Attachments (1)

pyport (3.8 KB) - added by Mathias.Laurin@… 14 years ago.
pyport

Download all attachments as: .zip

Change History (7)

comment:1 Changed 15 years ago by tobypeterson

Component: portsbase

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Keywords: dependencies install removed
Milestone: MacPorts Future

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 1.9.0

Changed 14 years ago by Mathias.Laurin@…

Attachment: pyport added

pyport

comment:4 Changed 14 years ago by Mathias.Laurin@…

I would also like a more gentoo-ish package manager and this feature is the one I miss most, hence I wrote a small python script calling port(1) recursively to do exactly that. It shows a star next to the already-installed dependencies. I am sorry I do not know tcl, I know a patch would have been more useful. I also see and appreciate that this feature is schedule to 1.9.0. In the mean time, my "pyport" script can be used. It may not be perfect but it does the job for me. It is public domain (really trivial python with a recursive call).

comment:5 Changed 14 years ago by jmroot (Joshua Root)

It looks like this script does almost the same thing as port-rdeps?

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.