{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/439","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/439/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/439/events","html_url":"https://github.com/commercialhaskell/stack/issues/439","id":91512286,"number":439,"title":"'stack upload' should require confirmation before uploading","user":{"login":"manny-fp","id":2164261,"avatar_url":"https://avatars.githubusercontent.com/u/2164261?v=3","gravatar_id":"","url":"https://api.github.com/users/manny-fp","html_url":"https://github.com/manny-fp","followers_url":"https://api.github.com/users/manny-fp/followers","following_url":"https://api.github.com/users/manny-fp/following{/other_user}","gists_url":"https://api.github.com/users/manny-fp/gists{/gist_id}","starred_url":"https://api.github.com/users/manny-fp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manny-fp/subscriptions","organizations_url":"https://api.github.com/users/manny-fp/orgs","repos_url":"https://api.github.com/users/manny-fp/repos","events_url":"https://api.github.com/users/manny-fp/events{/privacy}","received_events_url":"https://api.github.com/users/manny-fp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/5","html_url":"https://github.com/commercialhaskell/stack/milestones/0.2.0.0","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/5/labels","id":1166824,"number":5,"title":"0.2.0.0","description":"Arbitrary date chosen, just to get the milestones to order nicely","creator":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"open_issues":45,"closed_issues":36,"state":"open","created_at":"2015-06-16T14:23:31Z","updated_at":"2015-06-28T05:48:07Z","due_on":"2015-07-12T21:00:00Z","closed_at":null},"comments":1,"created_at":"2015-06-27T20:48:22Z","updated_at":"2015-06-28T05:48:59Z","closed_at":null,"body":"I was originally going to title this \"'stack upload' should be harder to use.\"\r\n\r\nUploading 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."},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/116199887","html_url":"https://github.com/commercialhaskell/stack/issues/439#issuecomment-116199887","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/439","id":116199887,"user":{"login":"snoyberg","id":49415,"avatar_url":"https://avatars.githubusercontent.com/u/49415?v=3","gravatar_id":"","url":"https://api.github.com/users/snoyberg","html_url":"https://github.com/snoyberg","followers_url":"https://api.github.com/users/snoyberg/followers","following_url":"https://api.github.com/users/snoyberg/following{/other_user}","gists_url":"https://api.github.com/users/snoyberg/gists{/gist_id}","starred_url":"https://api.github.com/users/snoyberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoyberg/subscriptions","organizations_url":"https://api.github.com/users/snoyberg/orgs","repos_url":"https://api.github.com/users/snoyberg/repos","events_url":"https://api.github.com/users/snoyberg/events{/privacy}","received_events_url":"https://api.github.com/users/snoyberg/received_events","type":"User","site_admin":false},"created_at":"2015-06-28T05:48:59Z","updated_at":"2015-06-28T05:48:59Z","body":"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."}}