asdf-vm / asdf

Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more
https://asdf-vm.com/
MIT License
21.98k stars 781 forks source link

Print a line mentioning what plugin/version is currently being installed #1753

Open StingRayZA opened 5 months ago

StingRayZA commented 5 months ago

Is your feature request related to a problem? Please describe

If you run asdf install on a project with multiple tools defined in .tool-versions you get hit with a wall of output from the various tools being installed/built/etc. This is fine, but if an error occurs with one of those (in an automated process, perhaps - like CI) it can be quite difficult to figure out exactly where the error has occurred.

On the other hand, if those tools are already installed, asdf outputs a line similar to package 1.2.3 is already installed.

It would be good to add installing package 1.2.3 into the "wall of output" so somebody trying to pick through the history of a failing bulk install has at least a breadcrumb to go on.

Describe the proposed solution

when installing a plugin, the following outputs:

package 1.2.3 is downloading package 1.2.3 is installing

or similar

Describe similar asdf features and why they are not sufficient

running asdf install on already installed tools already outputs a readable line, but this isn't helpful in automated jobs

Describe other workarounds you've considered

I considered breaking up our install into separate invocations of asdf, but the tool already has the ability to process the .tool-versions file and install any missing tools.

jthegedus commented 4 weeks ago

Yes, this makes complete sense. Shocked it hasn't been raised before now :sweat_smile: