ugexe / zef

Raku Module Management
Artistic License 2.0
207 stars 44 forks source link

Confusing message for command 'upgrade' #527

Open tbrowder opened 1 year ago

tbrowder commented 1 year ago

When running

zef upgrade Foo

whose current version is 1, the current response is approximately

...will upgrade version 2...

A friendlier message would be something like:

...upgrade from version 1 to version 2...
ugexe commented 1 year ago

The current message makes more sense in the context of potentially multiple versions having already been installed

tbrowder commented 1 year ago

Then just

...installing ...
ugexe commented 1 year ago

I believe it will already say ...installing... later on when the install actually happens, so I don't want to duplicate that. I wonder if the upgrade text should instead reference the original module without version. For instance, zef upgrade zef should say like updating zef:auth<github:ugexe> (and later on the installing zef:auth<github:ugexe>:ver<...>)

tbrowder commented 1 year ago

Sounds like an improvement!