-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add option --dry-run #1
Comments
Which version are you using?
Maybe If you wanted to keep 8.10.2, you could do: Thanks for the feedback. |
I was using 0.2.1
Oops, I didn't know that a dry-run option was already implemented. Maybe all that is needed to make it more discoverable. With my attempts to get help, I didn't see it:
If one knows what to look for and tries really hard, one can see it:
But this is the first time in my life that I had to invoke
to see an option. I am used to
and for fat tools like
but I haven't encountered deeper nesting yet. Maybe the option Also, I'd agree that |
- If in a project by default we act on it otherwise .stack/ - Can be overriden with options (-p,-s,-c,-g) Based on feedback by @andreasabel in #1 and also from u/simonmic in https://www.reddit.com/r/haskell/comments/knn5yt/stackcleanold_cli_tool_to_recover_diskspace/ghtl9wy/
If you want to try the reworked subcommands in HEAD and have any feedback, that would be nice. |
Thanks for reworking the command structure! Here is a little feedback... I tried HEAD (0.3) a bit, but didn't have to remove anything at this moment.
In my case, there isn't a ghc installation, but there are snapshots at 8.0.2:
So I suppose the message
Now, trying with
My heart skipped a beat since I wasn't sure if things had been removed. The message says so, maybe it would be better to say "would be removed" if option |
Thank you, basically that is a bug: it gives up when finding no compiler... |
(Also not sure if --snapshots and --compilers are overkill, maybe what I misnamed --ghc is enough, hm?) |
allows --ghc to remove snapshots without compiler
Should be fixed now |
I confirm that this is fixed now:
Does now:
Thanks! The name choice |
Right, I went with Thanks for all the constructive feedback and testing :-) |
I think we can close this, but if you notice anything directly related you can still comment or open a new issue, thanks! |
Thanks for the prompt addressing of this issue! |
I finally released 0.3 btw |
Thanks for this tool! Tried it today in dear need for some diskspace.
I ran
I think I intended to keep 8.10.2 as 8.10.3 is still brand-new...
No big problem, I suppose, but I think an option
--dry-run
would be terribly useful to see what will happen and if this is what one intends to happen.Btw, I discovered your tool here: commercialhaskell/stack#133 (comment)
The text was updated successfully, but these errors were encountered: