{"action":"created","issue":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/1087","labels_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1087/labels{/name}","comments_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1087/comments","events_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1087/events","html_url":"https://github.com/commercialhaskell/stack/issues/1087","id":109294261,"number":1087,"title":"Provides means of querying information about build WAS Offer command to find base directory for package","user":{"login":"bitonic","id":556090,"avatar_url":"https://avatars.githubusercontent.com/u/556090?v=3","gravatar_id":"","url":"https://api.github.com/users/bitonic","html_url":"https://github.com/bitonic","followers_url":"https://api.github.com/users/bitonic/followers","following_url":"https://api.github.com/users/bitonic/following{/other_user}","gists_url":"https://api.github.com/users/bitonic/gists{/gist_id}","starred_url":"https://api.github.com/users/bitonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitonic/subscriptions","organizations_url":"https://api.github.com/users/bitonic/orgs","repos_url":"https://api.github.com/users/bitonic/repos","events_url":"https://api.github.com/users/bitonic/events{/privacy}","received_events_url":"https://api.github.com/users/bitonic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/need%20confirmation","name":"need confirmation","color":"fbca04"},{"url":"https://api.github.com/repos/commercialhaskell/stack/labels/type:%20enhancement","name":"type: enhancement","color":"fad8c7"}],"state":"closed","locked":false,"assignee":{"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},"milestone":{"url":"https://api.github.com/repos/commercialhaskell/stack/milestones/6","html_url":"https://github.com/commercialhaskell/stack/milestones/P2:%20Should","labels_url":"https://api.github.com/repos/commercialhaskell/stack/milestones/6/labels","id":1191309,"number":6,"title":"P2: Should","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":39,"closed_issues":91,"state":"open","created_at":"2015-07-02T18:20:49Z","updated_at":"2015-10-29T19:15:12Z","due_on":"2015-11-30T08:00:00Z","closed_at":null},"comments":5,"created_at":"2015-10-01T12:59:43Z","updated_at":"2015-10-29T22:29:15Z","closed_at":"2015-10-09T05:27:38Z","body":"This command, say `package-path`, would return the base directory (where the `.cabal` file lives) for a certain package, e.g.\r\n\r\n```\r\n$ cat stack.yaml\r\npackages:\r\n  - ./foo # Contains foo.cabal, package name foo\r\n  - ./bar # Contains bar.cabal, package name bar\r\nresolver: lts-3\r\n$ stack package-path foo\r\n./foo\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/commercialhaskell/stack/issues/comments/152345836","html_url":"https://github.com/commercialhaskell/stack/issues/1087#issuecomment-152345836","issue_url":"https://api.github.com/repos/commercialhaskell/stack/issues/1087","id":152345836,"user":{"login":"bitonic","id":556090,"avatar_url":"https://avatars.githubusercontent.com/u/556090?v=3","gravatar_id":"","url":"https://api.github.com/users/bitonic","html_url":"https://github.com/bitonic","followers_url":"https://api.github.com/users/bitonic/followers","following_url":"https://api.github.com/users/bitonic/following{/other_user}","gists_url":"https://api.github.com/users/bitonic/gists{/gist_id}","starred_url":"https://api.github.com/users/bitonic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitonic/subscriptions","organizations_url":"https://api.github.com/users/bitonic/orgs","repos_url":"https://api.github.com/users/bitonic/repos","events_url":"https://api.github.com/users/bitonic/events{/privacy}","received_events_url":"https://api.github.com/users/bitonic/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T22:29:15Z","updated_at":"2015-10-29T22:29:15Z","body":"Thanks!"}}