{"action":"opened","number":167,"pull_request":{"url":"https://api.github.com/repos/haskell-servant/servant/pulls/167","id":40833097,"html_url":"https://github.com/haskell-servant/servant/pull/167","diff_url":"https://github.com/haskell-servant/servant/pull/167.diff","patch_url":"https://github.com/haskell-servant/servant/pull/167.patch","issue_url":"https://api.github.com/repos/haskell-servant/servant/issues/167","number":167,"state":"open","locked":false,"title":"add stack.yaml and use it in travis file","user":{"login":"soenkehahn","id":402539,"avatar_url":"https://avatars.githubusercontent.com/u/402539?v=3","gravatar_id":"","url":"https://api.github.com/users/soenkehahn","html_url":"https://github.com/soenkehahn","followers_url":"https://api.github.com/users/soenkehahn/followers","following_url":"https://api.github.com/users/soenkehahn/following{/other_user}","gists_url":"https://api.github.com/users/soenkehahn/gists{/gist_id}","starred_url":"https://api.github.com/users/soenkehahn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soenkehahn/subscriptions","organizations_url":"https://api.github.com/users/soenkehahn/orgs","repos_url":"https://api.github.com/users/soenkehahn/repos","events_url":"https://api.github.com/users/soenkehahn/events{/privacy}","received_events_url":"https://api.github.com/users/soenkehahn/received_events","type":"User","site_admin":false},"body":"Please, don't merge yet, opening this PR for discussion.\r\n\r\n`travis` is throwing an error because definitions from `cabal_macros.h` are not available. This should be fixed in `stack-0.1.2.1` (on master). Here's the build:\r\n\r\nhttps://travis-ci.org/haskell-servant/servant/builds/72568559\r\n\r\nSo we can either wait for the next stack release or try to get rid of the cabal macros. I think at least some of them could be avoided through using `base-compat`.\r\n\r\nAlso, I haven't figured out caching yet.","created_at":"2015-07-25T07:54:39Z","updated_at":"2015-07-25T07:54:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/haskell-servant/servant/pulls/167/commits","review_comments_url":"https://api.github.com/repos/haskell-servant/servant/pulls/167/comments","review_comment_url":"https://api.github.com/repos/haskell-servant/servant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/haskell-servant/servant/issues/167/comments","statuses_url":"https://api.github.com/repos/haskell-servant/servant/statuses/85b23772083adebe6a522ce3185f1aecf4422e45","head":{"label":"haskell-servant:stack","ref":"stack","sha":"85b23772083adebe6a522ce3185f1aecf4422e45","user":{"login":"haskell-servant","id":10049283,"avatar_url":"https://avatars.githubusercontent.com/u/10049283?v=3","gravatar_id":"","url":"https://api.github.com/users/haskell-servant","html_url":"https://github.com/haskell-servant","followers_url":"https://api.github.com/users/haskell-servant/followers","following_url":"https://api.github.com/users/haskell-servant/following{/other_user}","gists_url":"https://api.github.com/users/haskell-servant/gists{/gist_id}","starred_url":"https://api.github.com/users/haskell-servant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskell-servant/subscriptions","organizations_url":"https://api.github.com/users/haskell-servant/orgs","repos_url":"https://api.github.com/users/haskell-servant/repos","events_url":"https://api.github.com/users/haskell-servant/events{/privacy}","received_events_url":"https://api.github.com/users/haskell-servant/received_events","type":"Organization","site_admin":false},"repo":{"id":27440142,"name":"servant","full_name":"haskell-servant/servant","owner":{"login":"haskell-servant","id":10049283,"avatar_url":"https://avatars.githubusercontent.com/u/10049283?v=3","gravatar_id":"","url":"https://api.github.com/users/haskell-servant","html_url":"https://github.com/haskell-servant","followers_url":"https://api.github.com/users/haskell-servant/followers","following_url":"https://api.github.com/users/haskell-servant/following{/other_user}","gists_url":"https://api.github.com/users/haskell-servant/gists{/gist_id}","starred_url":"https://api.github.com/users/haskell-servant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskell-servant/subscriptions","organizations_url":"https://api.github.com/users/haskell-servant/orgs","repos_url":"https://api.github.com/users/haskell-servant/repos","events_url":"https://api.github.com/users/haskell-servant/events{/privacy}","received_events_url":"https://api.github.com/users/haskell-servant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/haskell-servant/servant","description":"Main repository for the servant libraries. Web API combinators, with servers, clients and documentation","fork":false,"url":"https://api.github.com/repos/haskell-servant/servant","forks_url":"https://api.github.com/repos/haskell-servant/servant/forks","keys_url":"https://api.github.com/repos/haskell-servant/servant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haskell-servant/servant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haskell-servant/servant/teams","hooks_url":"https://api.github.com/repos/haskell-servant/servant/hooks","issue_events_url":"https://api.github.com/repos/haskell-servant/servant/issues/events{/number}","events_url":"https://api.github.com/repos/haskell-servant/servant/events","assignees_url":"https://api.github.com/repos/haskell-servant/servant/assignees{/user}","branches_url":"https://api.github.com/repos/haskell-servant/servant/branches{/branch}","tags_url":"https://api.github.com/repos/haskell-servant/servant/tags","blobs_url":"https://api.github.com/repos/haskell-servant/servant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haskell-servant/servant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haskell-servant/servant/git/refs{/sha}","trees_url":"https://api.github.com/repos/haskell-servant/servant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haskell-servant/servant/statuses/{sha}","languages_url":"https://api.github.com/repos/haskell-servant/servant/languages","stargazers_url":"https://api.github.com/repos/haskell-servant/servant/stargazers","contributors_url":"https://api.github.com/repos/haskell-servant/servant/contributors","subscribers_url":"https://api.github.com/repos/haskell-servant/servant/subscribers","subscription_url":"https://api.github.com/repos/haskell-servant/servant/subscription","commits_url":"https://api.github.com/repos/haskell-servant/servant/commits{/sha}","git_commits_url":"https://api.github.com/repos/haskell-servant/servant/git/commits{/sha}","comments_url":"https://api.github.com/repos/haskell-servant/servant/comments{/number}","issue_comment_url":"https://api.github.com/repos/haskell-servant/servant/issues/comments{/number}","contents_url":"https://api.github.com/repos/haskell-servant/servant/contents/{+path}","compare_url":"https://api.github.com/repos/haskell-servant/servant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haskell-servant/servant/merges","archive_url":"https://api.github.com/repos/haskell-servant/servant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haskell-servant/servant/downloads","issues_url":"https://api.github.com/repos/haskell-servant/servant/issues{/number}","pulls_url":"https://api.github.com/repos/haskell-servant/servant/pulls{/number}","milestones_url":"https://api.github.com/repos/haskell-servant/servant/milestones{/number}","notifications_url":"https://api.github.com/repos/haskell-servant/servant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haskell-servant/servant/labels{/name}","releases_url":"https://api.github.com/repos/haskell-servant/servant/releases{/id}","created_at":"2014-12-02T15:58:17Z","updated_at":"2015-07-23T21:25:47Z","pushed_at":"2015-07-25T07:54:40Z","git_url":"git://github.com/haskell-servant/servant.git","ssh_url":"git@github.com:haskell-servant/servant.git","clone_url":"https://github.com/haskell-servant/servant.git","svn_url":"https://github.com/haskell-servant/servant","homepage":"http://haskell-servant.github.io/tutorial/#tutorial","size":4431,"stargazers_count":182,"watchers_count":182,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":31,"mirror_url":null,"open_issues_count":37,"forks":31,"open_issues":37,"watchers":182,"default_branch":"master"}},"base":{"label":"haskell-servant:master","ref":"master","sha":"2cf2d08cd36f6f751a906268088e7cedd0fdfe1d","user":{"login":"haskell-servant","id":10049283,"avatar_url":"https://avatars.githubusercontent.com/u/10049283?v=3","gravatar_id":"","url":"https://api.github.com/users/haskell-servant","html_url":"https://github.com/haskell-servant","followers_url":"https://api.github.com/users/haskell-servant/followers","following_url":"https://api.github.com/users/haskell-servant/following{/other_user}","gists_url":"https://api.github.com/users/haskell-servant/gists{/gist_id}","starred_url":"https://api.github.com/users/haskell-servant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskell-servant/subscriptions","organizations_url":"https://api.github.com/users/haskell-servant/orgs","repos_url":"https://api.github.com/users/haskell-servant/repos","events_url":"https://api.github.com/users/haskell-servant/events{/privacy}","received_events_url":"https://api.github.com/users/haskell-servant/received_events","type":"Organization","site_admin":false},"repo":{"id":27440142,"name":"servant","full_name":"haskell-servant/servant","owner":{"login":"haskell-servant","id":10049283,"avatar_url":"https://avatars.githubusercontent.com/u/10049283?v=3","gravatar_id":"","url":"https://api.github.com/users/haskell-servant","html_url":"https://github.com/haskell-servant","followers_url":"https://api.github.com/users/haskell-servant/followers","following_url":"https://api.github.com/users/haskell-servant/following{/other_user}","gists_url":"https://api.github.com/users/haskell-servant/gists{/gist_id}","starred_url":"https://api.github.com/users/haskell-servant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskell-servant/subscriptions","organizations_url":"https://api.github.com/users/haskell-servant/orgs","repos_url":"https://api.github.com/users/haskell-servant/repos","events_url":"https://api.github.com/users/haskell-servant/events{/privacy}","received_events_url":"https://api.github.com/users/haskell-servant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/haskell-servant/servant","description":"Main repository for the servant libraries. Web API combinators, with servers, clients and documentation","fork":false,"url":"https://api.github.com/repos/haskell-servant/servant","forks_url":"https://api.github.com/repos/haskell-servant/servant/forks","keys_url":"https://api.github.com/repos/haskell-servant/servant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haskell-servant/servant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haskell-servant/servant/teams","hooks_url":"https://api.github.com/repos/haskell-servant/servant/hooks","issue_events_url":"https://api.github.com/repos/haskell-servant/servant/issues/events{/number}","events_url":"https://api.github.com/repos/haskell-servant/servant/events","assignees_url":"https://api.github.com/repos/haskell-servant/servant/assignees{/user}","branches_url":"https://api.github.com/repos/haskell-servant/servant/branches{/branch}","tags_url":"https://api.github.com/repos/haskell-servant/servant/tags","blobs_url":"https://api.github.com/repos/haskell-servant/servant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haskell-servant/servant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haskell-servant/servant/git/refs{/sha}","trees_url":"https://api.github.com/repos/haskell-servant/servant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haskell-servant/servant/statuses/{sha}","languages_url":"https://api.github.com/repos/haskell-servant/servant/languages","stargazers_url":"https://api.github.com/repos/haskell-servant/servant/stargazers","contributors_url":"https://api.github.com/repos/haskell-servant/servant/contributors","subscribers_url":"https://api.github.com/repos/haskell-servant/servant/subscribers","subscription_url":"https://api.github.com/repos/haskell-servant/servant/subscription","commits_url":"https://api.github.com/repos/haskell-servant/servant/commits{/sha}","git_commits_url":"https://api.github.com/repos/haskell-servant/servant/git/commits{/sha}","comments_url":"https://api.github.com/repos/haskell-servant/servant/comments{/number}","issue_comment_url":"https://api.github.com/repos/haskell-servant/servant/issues/comments{/number}","contents_url":"https://api.github.com/repos/haskell-servant/servant/contents/{+path}","compare_url":"https://api.github.com/repos/haskell-servant/servant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haskell-servant/servant/merges","archive_url":"https://api.github.com/repos/haskell-servant/servant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haskell-servant/servant/downloads","issues_url":"https://api.github.com/repos/haskell-servant/servant/issues{/number}","pulls_url":"https://api.github.com/repos/haskell-servant/servant/pulls{/number}","milestones_url":"https://api.github.com/repos/haskell-servant/servant/milestones{/number}","notifications_url":"https://api.github.com/repos/haskell-servant/servant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haskell-servant/servant/labels{/name}","releases_url":"https://api.github.com/repos/haskell-servant/servant/releases{/id}","created_at":"2014-12-02T15:58:17Z","updated_at":"2015-07-23T21:25:47Z","pushed_at":"2015-07-25T07:54:40Z","git_url":"git://github.com/haskell-servant/servant.git","ssh_url":"git@github.com:haskell-servant/servant.git","clone_url":"https://github.com/haskell-servant/servant.git","svn_url":"https://github.com/haskell-servant/servant","homepage":"http://haskell-servant.github.io/tutorial/#tutorial","size":4431,"stargazers_count":182,"watchers_count":182,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":31,"mirror_url":null,"open_issues_count":37,"forks":31,"open_issues":37,"watchers":182,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/haskell-servant/servant/pulls/167"},"html":{"href":"https://github.com/haskell-servant/servant/pull/167"},"issue":{"href":"https://api.github.com/repos/haskell-servant/servant/issues/167"},"comments":{"href":"https://api.github.com/repos/haskell-servant/servant/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/haskell-servant/servant/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/haskell-servant/servant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/haskell-servant/servant/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/haskell-servant/servant/statuses/85b23772083adebe6a522ce3185f1aecf4422e45"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":35,"deletions":50,"changed_files":6}}