I was originally going to title this "'stack upload' should be harder to use."
Uploading a package to hackage is irrevocable and it's a too easy now to accidentally upload without intending to do so (which I did in the last stack release, so now there's a weird version of stack on Hackage that can't be deleted). stack upload could default to just telling you what it would do plus a message saying something like "use stack upload -y to actually upload". Alternatively, it could prompt the user interactively, and also provide a -y option to have it skip the prompt.
The text was updated successfully, but these errors were encountered:
I hadn't thought of going in this direction to be honest. What I'd thought of was simply removing the ability of stack upload without arguments to do an upload.
I was originally going to title this "'stack upload' should be harder to use."
Uploading a package to hackage is irrevocable and it's a too easy now to accidentally upload without intending to do so (which I did in the last stack release, so now there's a weird version of stack on Hackage that can't be deleted).
stack upload
could default to just telling you what it would do plus a message saying something like "usestack upload -y
to actually upload". Alternatively, it could prompt the user interactively, and also provide a-y
option to have it skip the prompt.The text was updated successfully, but these errors were encountered: