{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/DanielG/ghc-mod/pulls/3","id":28410603,"html_url":"https://github.com/DanielG/ghc-mod/pull/3","diff_url":"https://github.com/DanielG/ghc-mod/pull/3.diff","patch_url":"https://github.com/DanielG/ghc-mod/pull/3.patch","issue_url":"https://api.github.com/repos/DanielG/ghc-mod/issues/3","number":3,"state":"open","locked":false,"title":"Fix sandbox guessing logic.","user":{"login":"abhinav","id":41730,"avatar_url":"https://avatars.githubusercontent.com/u/41730?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinav","html_url":"https://github.com/abhinav","followers_url":"https://api.github.com/users/abhinav/followers","following_url":"https://api.github.com/users/abhinav/following{/other_user}","gists_url":"https://api.github.com/users/abhinav/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinav/subscriptions","organizations_url":"https://api.github.com/users/abhinav/orgs","repos_url":"https://api.github.com/users/abhinav/repos","events_url":"https://api.github.com/users/abhinav/events{/privacy}","received_events_url":"https://api.github.com/users/abhinav/received_events","type":"User","site_admin":false},"body":"07456a76825f6579bee1efdafca2998a144750cc broke ghc-mod for OSX.\r\n\r\nIt assumed package dbs were under `x86_64-darwin-ghc-7.8.3-packages.conf.d`,\r\nbut GHC 7.8.3 on OSX uses `x86_64-osx-ghc-7.8.3-packages.conf.d` (`osx`\r\ninstead of `darwin`).\r\n\r\nThis commit changes the logic to actually check for package db existence. If\r\nthe db that cabal.sandbox.config points to already exists, then there's\r\nnothing to fix. If it doesn't exist, it looks for other package dbs in the\r\nsandbox directory and uses the first of those.","created_at":"2015-01-31T06:10:39Z","updated_at":"2015-01-31T06:10:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DanielG/ghc-mod/pulls/3/commits","review_comments_url":"https://api.github.com/repos/DanielG/ghc-mod/pulls/3/comments","review_comment_url":"https://api.github.com/repos/DanielG/ghc-mod/pulls/comments/{number}","comments_url":"https://api.github.com/repos/DanielG/ghc-mod/issues/3/comments","statuses_url":"https://api.github.com/repos/DanielG/ghc-mod/statuses/4e3b6576f222d091a7f2d7220bc80792f3dc2fae","head":{"label":"abhinav:master","ref":"master","sha":"4e3b6576f222d091a7f2d7220bc80792f3dc2fae","user":{"login":"abhinav","id":41730,"avatar_url":"https://avatars.githubusercontent.com/u/41730?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinav","html_url":"https://github.com/abhinav","followers_url":"https://api.github.com/users/abhinav/followers","following_url":"https://api.github.com/users/abhinav/following{/other_user}","gists_url":"https://api.github.com/users/abhinav/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinav/subscriptions","organizations_url":"https://api.github.com/users/abhinav/orgs","repos_url":"https://api.github.com/users/abhinav/repos","events_url":"https://api.github.com/users/abhinav/events{/privacy}","received_events_url":"https://api.github.com/users/abhinav/received_events","type":"User","site_admin":false},"repo":{"id":30102858,"name":"ghc-mod","full_name":"abhinav/ghc-mod","owner":{"login":"abhinav","id":41730,"avatar_url":"https://avatars.githubusercontent.com/u/41730?v=3","gravatar_id":"","url":"https://api.github.com/users/abhinav","html_url":"https://github.com/abhinav","followers_url":"https://api.github.com/users/abhinav/followers","following_url":"https://api.github.com/users/abhinav/following{/other_user}","gists_url":"https://api.github.com/users/abhinav/gists{/gist_id}","starred_url":"https://api.github.com/users/abhinav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhinav/subscriptions","organizations_url":"https://api.github.com/users/abhinav/orgs","repos_url":"https://api.github.com/users/abhinav/repos","events_url":"https://api.github.com/users/abhinav/events{/privacy}","received_events_url":"https://api.github.com/users/abhinav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abhinav/ghc-mod","description":"Happy Haskell programming for editors","fork":true,"url":"https://api.github.com/repos/abhinav/ghc-mod","forks_url":"https://api.github.com/repos/abhinav/ghc-mod/forks","keys_url":"https://api.github.com/repos/abhinav/ghc-mod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abhinav/ghc-mod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abhinav/ghc-mod/teams","hooks_url":"https://api.github.com/repos/abhinav/ghc-mod/hooks","issue_events_url":"https://api.github.com/repos/abhinav/ghc-mod/issues/events{/number}","events_url":"https://api.github.com/repos/abhinav/ghc-mod/events","assignees_url":"https://api.github.com/repos/abhinav/ghc-mod/assignees{/user}","branches_url":"https://api.github.com/repos/abhinav/ghc-mod/branches{/branch}","tags_url":"https://api.github.com/repos/abhinav/ghc-mod/tags","blobs_url":"https://api.github.com/repos/abhinav/ghc-mod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abhinav/ghc-mod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abhinav/ghc-mod/git/refs{/sha}","trees_url":"https://api.github.com/repos/abhinav/ghc-mod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abhinav/ghc-mod/statuses/{sha}","languages_url":"https://api.github.com/repos/abhinav/ghc-mod/languages","stargazers_url":"https://api.github.com/repos/abhinav/ghc-mod/stargazers","contributors_url":"https://api.github.com/repos/abhinav/ghc-mod/contributors","subscribers_url":"https://api.github.com/repos/abhinav/ghc-mod/subscribers","subscription_url":"https://api.github.com/repos/abhinav/ghc-mod/subscription","commits_url":"https://api.github.com/repos/abhinav/ghc-mod/commits{/sha}","git_commits_url":"https://api.github.com/repos/abhinav/ghc-mod/git/commits{/sha}","comments_url":"https://api.github.com/repos/abhinav/ghc-mod/comments{/number}","issue_comment_url":"https://api.github.com/repos/abhinav/ghc-mod/issues/comments/{number}","contents_url":"https://api.github.com/repos/abhinav/ghc-mod/contents/{+path}","compare_url":"https://api.github.com/repos/abhinav/ghc-mod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abhinav/ghc-mod/merges","archive_url":"https://api.github.com/repos/abhinav/ghc-mod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abhinav/ghc-mod/downloads","issues_url":"https://api.github.com/repos/abhinav/ghc-mod/issues{/number}","pulls_url":"https://api.github.com/repos/abhinav/ghc-mod/pulls{/number}","milestones_url":"https://api.github.com/repos/abhinav/ghc-mod/milestones{/number}","notifications_url":"https://api.github.com/repos/abhinav/ghc-mod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abhinav/ghc-mod/labels{/name}","releases_url":"https://api.github.com/repos/abhinav/ghc-mod/releases{/id}","created_at":"2015-01-31T05:04:30Z","updated_at":"2015-01-31T06:09:07Z","pushed_at":"2015-01-31T06:09:07Z","git_url":"git://github.com/abhinav/ghc-mod.git","ssh_url":"git@github.com:abhinav/ghc-mod.git","clone_url":"https://github.com/abhinav/ghc-mod.git","svn_url":"https://github.com/abhinav/ghc-mod","homepage":"http://www.mew.org/~kazu/proj/ghc-mod/","size":4267,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DanielG:master","ref":"master","sha":"774b93ed10d801ec57269d547627a4b1d46ab661","user":{"login":"DanielG","id":199218,"avatar_url":"https://avatars.githubusercontent.com/u/199218?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielG","html_url":"https://github.com/DanielG","followers_url":"https://api.github.com/users/DanielG/followers","following_url":"https://api.github.com/users/DanielG/following{/other_user}","gists_url":"https://api.github.com/users/DanielG/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielG/subscriptions","organizations_url":"https://api.github.com/users/DanielG/orgs","repos_url":"https://api.github.com/users/DanielG/repos","events_url":"https://api.github.com/users/DanielG/events{/privacy}","received_events_url":"https://api.github.com/users/DanielG/received_events","type":"User","site_admin":false},"repo":{"id":18729620,"name":"ghc-mod","full_name":"DanielG/ghc-mod","owner":{"login":"DanielG","id":199218,"avatar_url":"https://avatars.githubusercontent.com/u/199218?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielG","html_url":"https://github.com/DanielG","followers_url":"https://api.github.com/users/DanielG/followers","following_url":"https://api.github.com/users/DanielG/following{/other_user}","gists_url":"https://api.github.com/users/DanielG/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielG/subscriptions","organizations_url":"https://api.github.com/users/DanielG/orgs","repos_url":"https://api.github.com/users/DanielG/repos","events_url":"https://api.github.com/users/DanielG/events{/privacy}","received_events_url":"https://api.github.com/users/DanielG/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DanielG/ghc-mod","description":"Here there be rebases","fork":true,"url":"https://api.github.com/repos/DanielG/ghc-mod","forks_url":"https://api.github.com/repos/DanielG/ghc-mod/forks","keys_url":"https://api.github.com/repos/DanielG/ghc-mod/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DanielG/ghc-mod/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DanielG/ghc-mod/teams","hooks_url":"https://api.github.com/repos/DanielG/ghc-mod/hooks","issue_events_url":"https://api.github.com/repos/DanielG/ghc-mod/issues/events{/number}","events_url":"https://api.github.com/repos/DanielG/ghc-mod/events","assignees_url":"https://api.github.com/repos/DanielG/ghc-mod/assignees{/user}","branches_url":"https://api.github.com/repos/DanielG/ghc-mod/branches{/branch}","tags_url":"https://api.github.com/repos/DanielG/ghc-mod/tags","blobs_url":"https://api.github.com/repos/DanielG/ghc-mod/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DanielG/ghc-mod/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DanielG/ghc-mod/git/refs{/sha}","trees_url":"https://api.github.com/repos/DanielG/ghc-mod/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DanielG/ghc-mod/statuses/{sha}","languages_url":"https://api.github.com/repos/DanielG/ghc-mod/languages","stargazers_url":"https://api.github.com/repos/DanielG/ghc-mod/stargazers","contributors_url":"https://api.github.com/repos/DanielG/ghc-mod/contributors","subscribers_url":"https://api.github.com/repos/DanielG/ghc-mod/subscribers","subscription_url":"https://api.github.com/repos/DanielG/ghc-mod/subscription","commits_url":"https://api.github.com/repos/DanielG/ghc-mod/commits{/sha}","git_commits_url":"https://api.github.com/repos/DanielG/ghc-mod/git/commits{/sha}","comments_url":"https://api.github.com/repos/DanielG/ghc-mod/comments{/number}","issue_comment_url":"https://api.github.com/repos/DanielG/ghc-mod/issues/comments/{number}","contents_url":"https://api.github.com/repos/DanielG/ghc-mod/contents/{+path}","compare_url":"https://api.github.com/repos/DanielG/ghc-mod/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DanielG/ghc-mod/merges","archive_url":"https://api.github.com/repos/DanielG/ghc-mod/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DanielG/ghc-mod/downloads","issues_url":"https://api.github.com/repos/DanielG/ghc-mod/issues{/number}","pulls_url":"https://api.github.com/repos/DanielG/ghc-mod/pulls{/number}","milestones_url":"https://api.github.com/repos/DanielG/ghc-mod/milestones{/number}","notifications_url":"https://api.github.com/repos/DanielG/ghc-mod/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DanielG/ghc-mod/labels{/name}","releases_url":"https://api.github.com/repos/DanielG/ghc-mod/releases{/id}","created_at":"2014-04-13T13:17:18Z","updated_at":"2015-01-16T14:47:34Z","pushed_at":"2015-01-16T14:47:34Z","git_url":"git://github.com/DanielG/ghc-mod.git","ssh_url":"git@github.com:DanielG/ghc-mod.git","clone_url":"https://github.com/DanielG/ghc-mod.git","svn_url":"https://github.com/DanielG/ghc-mod","homepage":"","size":2352,"stargazers_count":2,"watchers_count":2,"language":"Haskell","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DanielG/ghc-mod/pulls/3"},"html":{"href":"https://github.com/DanielG/ghc-mod/pull/3"},"issue":{"href":"https://api.github.com/repos/DanielG/ghc-mod/issues/3"},"comments":{"href":"https://api.github.com/repos/DanielG/ghc-mod/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/DanielG/ghc-mod/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/DanielG/ghc-mod/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/DanielG/ghc-mod/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/DanielG/ghc-mod/statuses/4e3b6576f222d091a7f2d7220bc80792f3dc2fae"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":12,"changed_files":1}}