{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/667","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/667/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/667/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/667/events","html_url":"https://github.com/commercialhaskell/stack/pull/667","id":96938260,"number":667,"title":"Never throw an exception when stack.yaml is missing","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},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"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},"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":19,"closed_issues":110,"state":"open","created_at":"2015-06-16T14:23:31Z","updated_at":"2015-07-27T16:39:29Z","due_on":"2015-08-31T07:00:00Z","closed_at":null},"comments":1,"created_at":"2015-07-24T01:06:19Z","updated_at":"2015-07-27T17:40:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/commercialhaskell/stack/pulls/667","html_url":"https://github.com/commercialhaskell/stack/pull/667","diff_url":"https://github.com/commercialhaskell/stack/pull/667.diff","patch_url":"https://github.com/commercialhaskell/stack/pull/667.patch"},"body":"I'm not sure this is a good idea, which is why I'm putting it on a\r\nseparate branch for discussion. Pinging @manny-fp and @chrisdone.\r\n\r\nMy reasoning for this change: we currently have weird behavior where\r\nsome commands (e.g. stack install) will work outside of a project, but\r\nothers (e.g., stack build) will not. This makes a lot of sense for some\r\ncommands (like stack test), since it's almost certainly user error to\r\nrun `stack test` outside a project. However:\r\n\r\n* This logic is difficult to explain to people\r\n* My guesses about usage were wrong, e.g. people really do want\r\n  `stack build somelibrary` to work outside a project for things like\r\n  `stack runghc` to work nicely\r\n* Consistent behavior > smart behavior\r\n\r\nSo this new approach is: we always fall back to the implicit global\r\nproject, but notify the user about it."},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/125283355","html_url":"https://github.com/commercialhaskell/stack/pull/667#issuecomment-125283355","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/667","id":125283355,"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-07-27T17:40:17Z","updated_at":"2015-07-27T17:40:17Z","body":"OK, it builds again"}}