{"action":"opened","number":3952,"pull_request":{"url":"https://api.github.com/repos/haskell/cabal/pulls/3952","id":88542282,"html_url":"https://github.com/haskell/cabal/pull/3952","diff_url":"https://github.com/haskell/cabal/pull/3952.diff","patch_url":"https://github.com/haskell/cabal/pull/3952.patch","issue_url":"https://api.github.com/repos/haskell/cabal/issues/3952","number":3952,"state":"open","locked":false,"title":"Remove duplicate definition of adjustSize","user":{"login":"quchen","id":3020161,"avatar_url":"https://avatars.githubusercontent.com/u/3020161?v=3","gravatar_id":"","url":"https://api.github.com/users/quchen","html_url":"https://github.com/quchen","followers_url":"https://api.github.com/users/quchen/followers","following_url":"https://api.github.com/users/quchen/following{/other_user}","gists_url":"https://api.github.com/users/quchen/gists{/gist_id}","starred_url":"https://api.github.com/users/quchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quchen/subscriptions","organizations_url":"https://api.github.com/users/quchen/orgs","repos_url":"https://api.github.com/users/quchen/repos","events_url":"https://api.github.com/users/quchen/events{/privacy}","received_events_url":"https://api.github.com/users/quchen/received_events","type":"User","site_admin":false},"body":"This definition was both in the module, and in a CPP-conditionally imported other module. This patch removes this redundancy.\r\n\r\nIn the normal Cabal build this was not an issue, since it uses a newer version of QuickCheck. The Stack-based build however still uses an old one, which lead to both the import as well as the local definition from being in the code. The testsuite would then fail with a duplicate definition error.\r\n\r\nResolves haskell/cabal#3950","created_at":"2016-10-08T10:49:21Z","updated_at":"2016-10-08T10:49:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/haskell/cabal/pulls/3952/commits","review_comments_url":"https://api.github.com/repos/haskell/cabal/pulls/3952/comments","review_comment_url":"https://api.github.com/repos/haskell/cabal/pulls/comments{/number}","comments_url":"https://api.github.com/repos/haskell/cabal/issues/3952/comments","statuses_url":"https://api.github.com/repos/haskell/cabal/statuses/2876009819525e491587415fdbc45ef92d32a361","head":{"label":"quchen:duplicate-adjust-size","ref":"duplicate-adjust-size","sha":"2876009819525e491587415fdbc45ef92d32a361","user":{"login":"quchen","id":3020161,"avatar_url":"https://avatars.githubusercontent.com/u/3020161?v=3","gravatar_id":"","url":"https://api.github.com/users/quchen","html_url":"https://github.com/quchen","followers_url":"https://api.github.com/users/quchen/followers","following_url":"https://api.github.com/users/quchen/following{/other_user}","gists_url":"https://api.github.com/users/quchen/gists{/gist_id}","starred_url":"https://api.github.com/users/quchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quchen/subscriptions","organizations_url":"https://api.github.com/users/quchen/orgs","repos_url":"https://api.github.com/users/quchen/repos","events_url":"https://api.github.com/users/quchen/events{/privacy}","received_events_url":"https://api.github.com/users/quchen/received_events","type":"User","site_admin":false},"repo":{"id":70320319,"name":"cabal","full_name":"quchen/cabal","owner":{"login":"quchen","id":3020161,"avatar_url":"https://avatars.githubusercontent.com/u/3020161?v=3","gravatar_id":"","url":"https://api.github.com/users/quchen","html_url":"https://github.com/quchen","followers_url":"https://api.github.com/users/quchen/followers","following_url":"https://api.github.com/users/quchen/following{/other_user}","gists_url":"https://api.github.com/users/quchen/gists{/gist_id}","starred_url":"https://api.github.com/users/quchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quchen/subscriptions","organizations_url":"https://api.github.com/users/quchen/orgs","repos_url":"https://api.github.com/users/quchen/repos","events_url":"https://api.github.com/users/quchen/events{/privacy}","received_events_url":"https://api.github.com/users/quchen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/quchen/cabal","description":"Official upstream development repository for Cabal and cabal-install","fork":true,"url":"https://api.github.com/repos/quchen/cabal","forks_url":"https://api.github.com/repos/quchen/cabal/forks","keys_url":"https://api.github.com/repos/quchen/cabal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/quchen/cabal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/quchen/cabal/teams","hooks_url":"https://api.github.com/repos/quchen/cabal/hooks","issue_events_url":"https://api.github.com/repos/quchen/cabal/issues/events{/number}","events_url":"https://api.github.com/repos/quchen/cabal/events","assignees_url":"https://api.github.com/repos/quchen/cabal/assignees{/user}","branches_url":"https://api.github.com/repos/quchen/cabal/branches{/branch}","tags_url":"https://api.github.com/repos/quchen/cabal/tags","blobs_url":"https://api.github.com/repos/quchen/cabal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/quchen/cabal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/quchen/cabal/git/refs{/sha}","trees_url":"https://api.github.com/repos/quchen/cabal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/quchen/cabal/statuses/{sha}","languages_url":"https://api.github.com/repos/quchen/cabal/languages","stargazers_url":"https://api.github.com/repos/quchen/cabal/stargazers","contributors_url":"https://api.github.com/repos/quchen/cabal/contributors","subscribers_url":"https://api.github.com/repos/quchen/cabal/subscribers","subscription_url":"https://api.github.com/repos/quchen/cabal/subscription","commits_url":"https://api.github.com/repos/quchen/cabal/commits{/sha}","git_commits_url":"https://api.github.com/repos/quchen/cabal/git/commits{/sha}","comments_url":"https://api.github.com/repos/quchen/cabal/comments{/number}","issue_comment_url":"https://api.github.com/repos/quchen/cabal/issues/comments{/number}","contents_url":"https://api.github.com/repos/quchen/cabal/contents/{+path}","compare_url":"https://api.github.com/repos/quchen/cabal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/quchen/cabal/merges","archive_url":"https://api.github.com/repos/quchen/cabal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/quchen/cabal/downloads","issues_url":"https://api.github.com/repos/quchen/cabal/issues{/number}","pulls_url":"https://api.github.com/repos/quchen/cabal/pulls{/number}","milestones_url":"https://api.github.com/repos/quchen/cabal/milestones{/number}","notifications_url":"https://api.github.com/repos/quchen/cabal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/quchen/cabal/labels{/name}","releases_url":"https://api.github.com/repos/quchen/cabal/releases{/id}","deployments_url":"https://api.github.com/repos/quchen/cabal/deployments","created_at":"2016-10-08T09:28:02Z","updated_at":"2016-10-08T09:28:05Z","pushed_at":"2016-10-08T10:48:12Z","git_url":"git://github.com/quchen/cabal.git","ssh_url":"git@github.com:quchen/cabal.git","clone_url":"https://github.com/quchen/cabal.git","svn_url":"https://github.com/quchen/cabal","homepage":"http://haskell.org/cabal","size":33533,"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":"haskell:master","ref":"master","sha":"36dbbf724aba6e23981f5195550965fd679f1b6b","user":{"login":"haskell","id":450574,"avatar_url":"https://avatars.githubusercontent.com/u/450574?v=3","gravatar_id":"","url":"https://api.github.com/users/haskell","html_url":"https://github.com/haskell","followers_url":"https://api.github.com/users/haskell/followers","following_url":"https://api.github.com/users/haskell/following{/other_user}","gists_url":"https://api.github.com/users/haskell/gists{/gist_id}","starred_url":"https://api.github.com/users/haskell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskell/subscriptions","organizations_url":"https://api.github.com/users/haskell/orgs","repos_url":"https://api.github.com/users/haskell/repos","events_url":"https://api.github.com/users/haskell/events{/privacy}","received_events_url":"https://api.github.com/users/haskell/received_events","type":"Organization","site_admin":false},"repo":{"id":3728161,"name":"cabal","full_name":"haskell/cabal","owner":{"login":"haskell","id":450574,"avatar_url":"https://avatars.githubusercontent.com/u/450574?v=3","gravatar_id":"","url":"https://api.github.com/users/haskell","html_url":"https://github.com/haskell","followers_url":"https://api.github.com/users/haskell/followers","following_url":"https://api.github.com/users/haskell/following{/other_user}","gists_url":"https://api.github.com/users/haskell/gists{/gist_id}","starred_url":"https://api.github.com/users/haskell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskell/subscriptions","organizations_url":"https://api.github.com/users/haskell/orgs","repos_url":"https://api.github.com/users/haskell/repos","events_url":"https://api.github.com/users/haskell/events{/privacy}","received_events_url":"https://api.github.com/users/haskell/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/haskell/cabal","description":"Official upstream development repository for Cabal and cabal-install","fork":false,"url":"https://api.github.com/repos/haskell/cabal","forks_url":"https://api.github.com/repos/haskell/cabal/forks","keys_url":"https://api.github.com/repos/haskell/cabal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haskell/cabal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haskell/cabal/teams","hooks_url":"https://api.github.com/repos/haskell/cabal/hooks","issue_events_url":"https://api.github.com/repos/haskell/cabal/issues/events{/number}","events_url":"https://api.github.com/repos/haskell/cabal/events","assignees_url":"https://api.github.com/repos/haskell/cabal/assignees{/user}","branches_url":"https://api.github.com/repos/haskell/cabal/branches{/branch}","tags_url":"https://api.github.com/repos/haskell/cabal/tags","blobs_url":"https://api.github.com/repos/haskell/cabal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haskell/cabal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haskell/cabal/git/refs{/sha}","trees_url":"https://api.github.com/repos/haskell/cabal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haskell/cabal/statuses/{sha}","languages_url":"https://api.github.com/repos/haskell/cabal/languages","stargazers_url":"https://api.github.com/repos/haskell/cabal/stargazers","contributors_url":"https://api.github.com/repos/haskell/cabal/contributors","subscribers_url":"https://api.github.com/repos/haskell/cabal/subscribers","subscription_url":"https://api.github.com/repos/haskell/cabal/subscription","commits_url":"https://api.github.com/repos/haskell/cabal/commits{/sha}","git_commits_url":"https://api.github.com/repos/haskell/cabal/git/commits{/sha}","comments_url":"https://api.github.com/repos/haskell/cabal/comments{/number}","issue_comment_url":"https://api.github.com/repos/haskell/cabal/issues/comments{/number}","contents_url":"https://api.github.com/repos/haskell/cabal/contents/{+path}","compare_url":"https://api.github.com/repos/haskell/cabal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haskell/cabal/merges","archive_url":"https://api.github.com/repos/haskell/cabal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haskell/cabal/downloads","issues_url":"https://api.github.com/repos/haskell/cabal/issues{/number}","pulls_url":"https://api.github.com/repos/haskell/cabal/pulls{/number}","milestones_url":"https://api.github.com/repos/haskell/cabal/milestones{/number}","notifications_url":"https://api.github.com/repos/haskell/cabal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haskell/cabal/labels{/name}","releases_url":"https://api.github.com/repos/haskell/cabal/releases{/id}","deployments_url":"https://api.github.com/repos/haskell/cabal/deployments","created_at":"2012-03-15T12:53:38Z","updated_at":"2016-10-07T17:00:42Z","pushed_at":"2016-10-08T09:59:04Z","git_url":"git://github.com/haskell/cabal.git","ssh_url":"git@github.com:haskell/cabal.git","clone_url":"https://github.com/haskell/cabal.git","svn_url":"https://github.com/haskell/cabal","homepage":"http://haskell.org/cabal","size":33661,"stargazers_count":647,"watchers_count":647,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":351,"mirror_url":null,"open_issues_count":743,"forks":351,"open_issues":743,"watchers":647,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/haskell/cabal/pulls/3952"},"html":{"href":"https://github.com/haskell/cabal/pull/3952"},"issue":{"href":"https://api.github.com/repos/haskell/cabal/issues/3952"},"comments":{"href":"https://api.github.com/repos/haskell/cabal/issues/3952/comments"},"review_comments":{"href":"https://api.github.com/repos/haskell/cabal/pulls/3952/comments"},"review_comment":{"href":"https://api.github.com/repos/haskell/cabal/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/haskell/cabal/pulls/3952/commits"},"statuses":{"href":"https://api.github.com/repos/haskell/cabal/statuses/2876009819525e491587415fdbc45ef92d32a361"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":0,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"quchen"}}