{"action":"closed","number":270,"pull_request":{"url":"https://api.github.com/repos/fpco/ide-backend/pulls/270","id":32256021,"html_url":"https://github.com/fpco/ide-backend/pull/270","diff_url":"https://github.com/fpco/ide-backend/pull/270.diff","patch_url":"https://github.com/fpco/ide-backend/pull/270.patch","issue_url":"https://api.github.com/repos/fpco/ide-backend/issues/270","number":270,"state":"closed","locked":false,"title":"Split out ide-backend-common","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},"body":"Pinging @edsko @chrisdone \r\n\r\nThe current repo structure relies on relative paths which `cabal sdist` doesn't like. It's also missing other-modules entries, and requires multiple compilation of shared modules between ide-backend and ide-backend-server.\r\n\r\nThis PR separates things out into 4 clear packages: ide-backend-rts is unchanged, ide-backend-common is the common code between ide-backend and ide-backend-server, and ide-backend(-server) are the same as before, minor the common parts.\r\n\r\n@edsko I'd like your opinion on this change. We need to do *something* to make this uploadable to Hackage, and this seems like the minimal necessary changes.","created_at":"2015-03-30T18:56:33Z","updated_at":"2015-03-31T04:11:45Z","closed_at":"2015-03-31T04:11:45Z","merged_at":"2015-03-31T04:11:45Z","merge_commit_sha":"b4ffb86783f90e8dad4e0ae55b9baa8143cc5dda","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fpco/ide-backend/pulls/270/commits","review_comments_url":"https://api.github.com/repos/fpco/ide-backend/pulls/270/comments","review_comment_url":"https://api.github.com/repos/fpco/ide-backend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fpco/ide-backend/issues/270/comments","statuses_url":"https://api.github.com/repos/fpco/ide-backend/statuses/5d83c2a318d46a72f81e19b5edaa3eaa391b7099","head":{"label":"fpco:ide-backend-common","ref":"ide-backend-common","sha":"5d83c2a318d46a72f81e19b5edaa3eaa391b7099","user":{"login":"fpco","id":2163372,"avatar_url":"https://avatars.githubusercontent.com/u/2163372?v=3","gravatar_id":"","url":"https://api.github.com/users/fpco","html_url":"https://github.com/fpco","followers_url":"https://api.github.com/users/fpco/followers","following_url":"https://api.github.com/users/fpco/following{/other_user}","gists_url":"https://api.github.com/users/fpco/gists{/gist_id}","starred_url":"https://api.github.com/users/fpco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpco/subscriptions","organizations_url":"https://api.github.com/users/fpco/orgs","repos_url":"https://api.github.com/users/fpco/repos","events_url":"https://api.github.com/users/fpco/events{/privacy}","received_events_url":"https://api.github.com/users/fpco/received_events","type":"Organization","site_admin":false},"repo":{"id":6597021,"name":"ide-backend","full_name":"fpco/ide-backend","owner":{"login":"fpco","id":2163372,"avatar_url":"https://avatars.githubusercontent.com/u/2163372?v=3","gravatar_id":"","url":"https://api.github.com/users/fpco","html_url":"https://github.com/fpco","followers_url":"https://api.github.com/users/fpco/followers","following_url":"https://api.github.com/users/fpco/following{/other_user}","gists_url":"https://api.github.com/users/fpco/gists{/gist_id}","starred_url":"https://api.github.com/users/fpco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpco/subscriptions","organizations_url":"https://api.github.com/users/fpco/orgs","repos_url":"https://api.github.com/users/fpco/repos","events_url":"https://api.github.com/users/fpco/events{/privacy}","received_events_url":"https://api.github.com/users/fpco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fpco/ide-backend","description":"GHC API wrapper to be used by the isolation-runner","fork":false,"url":"https://api.github.com/repos/fpco/ide-backend","forks_url":"https://api.github.com/repos/fpco/ide-backend/forks","keys_url":"https://api.github.com/repos/fpco/ide-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fpco/ide-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fpco/ide-backend/teams","hooks_url":"https://api.github.com/repos/fpco/ide-backend/hooks","issue_events_url":"https://api.github.com/repos/fpco/ide-backend/issues/events{/number}","events_url":"https://api.github.com/repos/fpco/ide-backend/events","assignees_url":"https://api.github.com/repos/fpco/ide-backend/assignees{/user}","branches_url":"https://api.github.com/repos/fpco/ide-backend/branches{/branch}","tags_url":"https://api.github.com/repos/fpco/ide-backend/tags","blobs_url":"https://api.github.com/repos/fpco/ide-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fpco/ide-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fpco/ide-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/fpco/ide-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fpco/ide-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/fpco/ide-backend/languages","stargazers_url":"https://api.github.com/repos/fpco/ide-backend/stargazers","contributors_url":"https://api.github.com/repos/fpco/ide-backend/contributors","subscribers_url":"https://api.github.com/repos/fpco/ide-backend/subscribers","subscription_url":"https://api.github.com/repos/fpco/ide-backend/subscription","commits_url":"https://api.github.com/repos/fpco/ide-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/fpco/ide-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/fpco/ide-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/fpco/ide-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/fpco/ide-backend/contents/{+path}","compare_url":"https://api.github.com/repos/fpco/ide-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fpco/ide-backend/merges","archive_url":"https://api.github.com/repos/fpco/ide-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fpco/ide-backend/downloads","issues_url":"https://api.github.com/repos/fpco/ide-backend/issues{/number}","pulls_url":"https://api.github.com/repos/fpco/ide-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/fpco/ide-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/fpco/ide-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fpco/ide-backend/labels{/name}","releases_url":"https://api.github.com/repos/fpco/ide-backend/releases{/id}","created_at":"2012-11-08T13:53:58Z","updated_at":"2015-03-31T02:54:24Z","pushed_at":"2015-03-31T04:11:45Z","git_url":"git://github.com/fpco/ide-backend.git","ssh_url":"git@github.com:fpco/ide-backend.git","clone_url":"https://github.com/fpco/ide-backend.git","svn_url":"https://github.com/fpco/ide-backend","homepage":null,"size":5660,"stargazers_count":41,"watchers_count":41,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":46,"forks":1,"open_issues":46,"watchers":41,"default_branch":"master"}},"base":{"label":"fpco:master","ref":"master","sha":"3f023cdb139be798f580d3cb0dff2317ae0a80e6","user":{"login":"fpco","id":2163372,"avatar_url":"https://avatars.githubusercontent.com/u/2163372?v=3","gravatar_id":"","url":"https://api.github.com/users/fpco","html_url":"https://github.com/fpco","followers_url":"https://api.github.com/users/fpco/followers","following_url":"https://api.github.com/users/fpco/following{/other_user}","gists_url":"https://api.github.com/users/fpco/gists{/gist_id}","starred_url":"https://api.github.com/users/fpco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpco/subscriptions","organizations_url":"https://api.github.com/users/fpco/orgs","repos_url":"https://api.github.com/users/fpco/repos","events_url":"https://api.github.com/users/fpco/events{/privacy}","received_events_url":"https://api.github.com/users/fpco/received_events","type":"Organization","site_admin":false},"repo":{"id":6597021,"name":"ide-backend","full_name":"fpco/ide-backend","owner":{"login":"fpco","id":2163372,"avatar_url":"https://avatars.githubusercontent.com/u/2163372?v=3","gravatar_id":"","url":"https://api.github.com/users/fpco","html_url":"https://github.com/fpco","followers_url":"https://api.github.com/users/fpco/followers","following_url":"https://api.github.com/users/fpco/following{/other_user}","gists_url":"https://api.github.com/users/fpco/gists{/gist_id}","starred_url":"https://api.github.com/users/fpco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpco/subscriptions","organizations_url":"https://api.github.com/users/fpco/orgs","repos_url":"https://api.github.com/users/fpco/repos","events_url":"https://api.github.com/users/fpco/events{/privacy}","received_events_url":"https://api.github.com/users/fpco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fpco/ide-backend","description":"GHC API wrapper to be used by the isolation-runner","fork":false,"url":"https://api.github.com/repos/fpco/ide-backend","forks_url":"https://api.github.com/repos/fpco/ide-backend/forks","keys_url":"https://api.github.com/repos/fpco/ide-backend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fpco/ide-backend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fpco/ide-backend/teams","hooks_url":"https://api.github.com/repos/fpco/ide-backend/hooks","issue_events_url":"https://api.github.com/repos/fpco/ide-backend/issues/events{/number}","events_url":"https://api.github.com/repos/fpco/ide-backend/events","assignees_url":"https://api.github.com/repos/fpco/ide-backend/assignees{/user}","branches_url":"https://api.github.com/repos/fpco/ide-backend/branches{/branch}","tags_url":"https://api.github.com/repos/fpco/ide-backend/tags","blobs_url":"https://api.github.com/repos/fpco/ide-backend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fpco/ide-backend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fpco/ide-backend/git/refs{/sha}","trees_url":"https://api.github.com/repos/fpco/ide-backend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fpco/ide-backend/statuses/{sha}","languages_url":"https://api.github.com/repos/fpco/ide-backend/languages","stargazers_url":"https://api.github.com/repos/fpco/ide-backend/stargazers","contributors_url":"https://api.github.com/repos/fpco/ide-backend/contributors","subscribers_url":"https://api.github.com/repos/fpco/ide-backend/subscribers","subscription_url":"https://api.github.com/repos/fpco/ide-backend/subscription","commits_url":"https://api.github.com/repos/fpco/ide-backend/commits{/sha}","git_commits_url":"https://api.github.com/repos/fpco/ide-backend/git/commits{/sha}","comments_url":"https://api.github.com/repos/fpco/ide-backend/comments{/number}","issue_comment_url":"https://api.github.com/repos/fpco/ide-backend/issues/comments{/number}","contents_url":"https://api.github.com/repos/fpco/ide-backend/contents/{+path}","compare_url":"https://api.github.com/repos/fpco/ide-backend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fpco/ide-backend/merges","archive_url":"https://api.github.com/repos/fpco/ide-backend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fpco/ide-backend/downloads","issues_url":"https://api.github.com/repos/fpco/ide-backend/issues{/number}","pulls_url":"https://api.github.com/repos/fpco/ide-backend/pulls{/number}","milestones_url":"https://api.github.com/repos/fpco/ide-backend/milestones{/number}","notifications_url":"https://api.github.com/repos/fpco/ide-backend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fpco/ide-backend/labels{/name}","releases_url":"https://api.github.com/repos/fpco/ide-backend/releases{/id}","created_at":"2012-11-08T13:53:58Z","updated_at":"2015-03-31T02:54:24Z","pushed_at":"2015-03-31T04:11:45Z","git_url":"git://github.com/fpco/ide-backend.git","ssh_url":"git@github.com:fpco/ide-backend.git","clone_url":"https://github.com/fpco/ide-backend.git","svn_url":"https://github.com/fpco/ide-backend","homepage":null,"size":5660,"stargazers_count":41,"watchers_count":41,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":46,"forks":1,"open_issues":46,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fpco/ide-backend/pulls/270"},"html":{"href":"https://github.com/fpco/ide-backend/pull/270"},"issue":{"href":"https://api.github.com/repos/fpco/ide-backend/issues/270"},"comments":{"href":"https://api.github.com/repos/fpco/ide-backend/issues/270/comments"},"review_comments":{"href":"https://api.github.com/repos/fpco/ide-backend/pulls/270/comments"},"review_comment":{"href":"https://api.github.com/repos/fpco/ide-backend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fpco/ide-backend/pulls/270/commits"},"statuses":{"href":"https://api.github.com/repos/fpco/ide-backend/statuses/5d83c2a318d46a72f81e19b5edaa3eaa391b7099"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":2,"review_comments":0,"commits":11,"additions":736,"deletions":629,"changed_files":630}}