-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inform user the full path where the executable is copied/symlinked with v2-install #6575
Comments
Could you point to where these messages are generated? I would like to look into this. Seems fairly easy |
I think this is the main functions where several executables are copying/symlinking: cabal/cabal-install/Distribution/Client/CmdInstall.hs Lines 798 to 812 in 2e03231
It calls this for each one: cabal/cabal-install/Distribution/Client/CmdInstall.hs Lines 826 to 834 in 2e03231
|
I'll take a look into it. Some questions:
|
Yes
Let's not parameterize that output by verbosity. Then it should be one line change (if tests don't need to be updated). |
I think it's good to go, please, take a look at: #6582 |
Thanks @emlautarom1 and @phadej (it is clear that maintaining a package like cabal is really, really hard)! |
Actually
cabal install
output ends with (you can replaceCopying
withSymlinking
)and
cabal install -v3
with:being
D:\bin
the dir where the executables are being copied/symlinked. Even when the directory already exists (but that is not the goal of this issue)!I think it would be great show the absolute path where the artifacts are being created even with the default verbosity:
or, if all of them only could be created in one location (not sure about that)
It seems a small change but the directory value can come from several sources and beginners not always are aware of them.
I think bug fixes should be the priority here but this seems to be easy to implement (ha! 😝)
The text was updated successfully, but these errors were encountered: