{"action":"opened","number":2465,"pull_request":{"url":"https://api.github.com/repos/buildbot/buildbot/pulls/2465","id":90929823,"html_url":"https://github.com/buildbot/buildbot/pull/2465","diff_url":"https://github.com/buildbot/buildbot/pull/2465.diff","patch_url":"https://github.com/buildbot/buildbot/pull/2465.patch","issue_url":"https://api.github.com/repos/buildbot/buildbot/issues/2465","number":2465,"state":"open","locked":false,"title":"Return source branch for Bitbucket PR","user":{"login":"sam-bristow","id":1728724,"avatar_url":"https://avatars.githubusercontent.com/u/1728724?v=3","gravatar_id":"","url":"https://api.github.com/users/sam-bristow","html_url":"https://github.com/sam-bristow","followers_url":"https://api.github.com/users/sam-bristow/followers","following_url":"https://api.github.com/users/sam-bristow/following{/other_user}","gists_url":"https://api.github.com/users/sam-bristow/gists{/gist_id}","starred_url":"https://api.github.com/users/sam-bristow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam-bristow/subscriptions","organizations_url":"https://api.github.com/users/sam-bristow/orgs","repos_url":"https://api.github.com/users/sam-bristow/repos","events_url":"https://api.github.com/users/sam-bristow/events{/privacy}","received_events_url":"https://api.github.com/users/sam-bristow/received_events","type":"User","site_admin":false},"body":"Instead of returning the source branch for a pull-request, the previous\r\ncode was returning the destination branch. This would mean the change\r\nthat was emitted would have the wrong branch details and the git\r\ncheckout would fail.","created_at":"2016-10-26T03:18:01Z","updated_at":"2016-10-26T03:18:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/buildbot/buildbot/pulls/2465/commits","review_comments_url":"https://api.github.com/repos/buildbot/buildbot/pulls/2465/comments","review_comment_url":"https://api.github.com/repos/buildbot/buildbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/buildbot/buildbot/issues/2465/comments","statuses_url":"https://api.github.com/repos/buildbot/buildbot/statuses/98be1a90018b502e040306ac4d4c6c4a5f254eb6","head":{"label":"sam-bristow:master","ref":"master","sha":"98be1a90018b502e040306ac4d4c6c4a5f254eb6","user":{"login":"sam-bristow","id":1728724,"avatar_url":"https://avatars.githubusercontent.com/u/1728724?v=3","gravatar_id":"","url":"https://api.github.com/users/sam-bristow","html_url":"https://github.com/sam-bristow","followers_url":"https://api.github.com/users/sam-bristow/followers","following_url":"https://api.github.com/users/sam-bristow/following{/other_user}","gists_url":"https://api.github.com/users/sam-bristow/gists{/gist_id}","starred_url":"https://api.github.com/users/sam-bristow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam-bristow/subscriptions","organizations_url":"https://api.github.com/users/sam-bristow/orgs","repos_url":"https://api.github.com/users/sam-bristow/repos","events_url":"https://api.github.com/users/sam-bristow/events{/privacy}","received_events_url":"https://api.github.com/users/sam-bristow/received_events","type":"User","site_admin":false},"repo":{"id":66133252,"name":"buildbot","full_name":"sam-bristow/buildbot","owner":{"login":"sam-bristow","id":1728724,"avatar_url":"https://avatars.githubusercontent.com/u/1728724?v=3","gravatar_id":"","url":"https://api.github.com/users/sam-bristow","html_url":"https://github.com/sam-bristow","followers_url":"https://api.github.com/users/sam-bristow/followers","following_url":"https://api.github.com/users/sam-bristow/following{/other_user}","gists_url":"https://api.github.com/users/sam-bristow/gists{/gist_id}","starred_url":"https://api.github.com/users/sam-bristow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sam-bristow/subscriptions","organizations_url":"https://api.github.com/users/sam-bristow/orgs","repos_url":"https://api.github.com/users/sam-bristow/repos","events_url":"https://api.github.com/users/sam-bristow/events{/privacy}","received_events_url":"https://api.github.com/users/sam-bristow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sam-bristow/buildbot","description":"Python-based continuous integration testing framework; your pull requests are more than welcome!","fork":true,"url":"https://api.github.com/repos/sam-bristow/buildbot","forks_url":"https://api.github.com/repos/sam-bristow/buildbot/forks","keys_url":"https://api.github.com/repos/sam-bristow/buildbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sam-bristow/buildbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sam-bristow/buildbot/teams","hooks_url":"https://api.github.com/repos/sam-bristow/buildbot/hooks","issue_events_url":"https://api.github.com/repos/sam-bristow/buildbot/issues/events{/number}","events_url":"https://api.github.com/repos/sam-bristow/buildbot/events","assignees_url":"https://api.github.com/repos/sam-bristow/buildbot/assignees{/user}","branches_url":"https://api.github.com/repos/sam-bristow/buildbot/branches{/branch}","tags_url":"https://api.github.com/repos/sam-bristow/buildbot/tags","blobs_url":"https://api.github.com/repos/sam-bristow/buildbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sam-bristow/buildbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sam-bristow/buildbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/sam-bristow/buildbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sam-bristow/buildbot/statuses/{sha}","languages_url":"https://api.github.com/repos/sam-bristow/buildbot/languages","stargazers_url":"https://api.github.com/repos/sam-bristow/buildbot/stargazers","contributors_url":"https://api.github.com/repos/sam-bristow/buildbot/contributors","subscribers_url":"https://api.github.com/repos/sam-bristow/buildbot/subscribers","subscription_url":"https://api.github.com/repos/sam-bristow/buildbot/subscription","commits_url":"https://api.github.com/repos/sam-bristow/buildbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/sam-bristow/buildbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/sam-bristow/buildbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/sam-bristow/buildbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/sam-bristow/buildbot/contents/{+path}","compare_url":"https://api.github.com/repos/sam-bristow/buildbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sam-bristow/buildbot/merges","archive_url":"https://api.github.com/repos/sam-bristow/buildbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sam-bristow/buildbot/downloads","issues_url":"https://api.github.com/repos/sam-bristow/buildbot/issues{/number}","pulls_url":"https://api.github.com/repos/sam-bristow/buildbot/pulls{/number}","milestones_url":"https://api.github.com/repos/sam-bristow/buildbot/milestones{/number}","notifications_url":"https://api.github.com/repos/sam-bristow/buildbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sam-bristow/buildbot/labels{/name}","releases_url":"https://api.github.com/repos/sam-bristow/buildbot/releases{/id}","deployments_url":"https://api.github.com/repos/sam-bristow/buildbot/deployments","created_at":"2016-08-20T06:54:56Z","updated_at":"2016-08-20T06:55:02Z","pushed_at":"2016-10-26T03:16:13Z","git_url":"git://github.com/sam-bristow/buildbot.git","ssh_url":"git@github.com:sam-bristow/buildbot.git","clone_url":"https://github.com/sam-bristow/buildbot.git","svn_url":"https://github.com/sam-bristow/buildbot","homepage":"http://buildbot.net","size":40404,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"buildbot:master","ref":"master","sha":"b12616ed232cadf251fed6d2d1fe56c9a32d8a22","user":{"login":"buildbot","id":324515,"avatar_url":"https://avatars.githubusercontent.com/u/324515?v=3","gravatar_id":"","url":"https://api.github.com/users/buildbot","html_url":"https://github.com/buildbot","followers_url":"https://api.github.com/users/buildbot/followers","following_url":"https://api.github.com/users/buildbot/following{/other_user}","gists_url":"https://api.github.com/users/buildbot/gists{/gist_id}","starred_url":"https://api.github.com/users/buildbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buildbot/subscriptions","organizations_url":"https://api.github.com/users/buildbot/orgs","repos_url":"https://api.github.com/users/buildbot/repos","events_url":"https://api.github.com/users/buildbot/events{/privacy}","received_events_url":"https://api.github.com/users/buildbot/received_events","type":"Organization","site_admin":false},"repo":{"id":760165,"name":"buildbot","full_name":"buildbot/buildbot","owner":{"login":"buildbot","id":324515,"avatar_url":"https://avatars.githubusercontent.com/u/324515?v=3","gravatar_id":"","url":"https://api.github.com/users/buildbot","html_url":"https://github.com/buildbot","followers_url":"https://api.github.com/users/buildbot/followers","following_url":"https://api.github.com/users/buildbot/following{/other_user}","gists_url":"https://api.github.com/users/buildbot/gists{/gist_id}","starred_url":"https://api.github.com/users/buildbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buildbot/subscriptions","organizations_url":"https://api.github.com/users/buildbot/orgs","repos_url":"https://api.github.com/users/buildbot/repos","events_url":"https://api.github.com/users/buildbot/events{/privacy}","received_events_url":"https://api.github.com/users/buildbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/buildbot/buildbot","description":"Python-based continuous integration testing framework; your pull requests are more than welcome!","fork":false,"url":"https://api.github.com/repos/buildbot/buildbot","forks_url":"https://api.github.com/repos/buildbot/buildbot/forks","keys_url":"https://api.github.com/repos/buildbot/buildbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buildbot/buildbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buildbot/buildbot/teams","hooks_url":"https://api.github.com/repos/buildbot/buildbot/hooks","issue_events_url":"https://api.github.com/repos/buildbot/buildbot/issues/events{/number}","events_url":"https://api.github.com/repos/buildbot/buildbot/events","assignees_url":"https://api.github.com/repos/buildbot/buildbot/assignees{/user}","branches_url":"https://api.github.com/repos/buildbot/buildbot/branches{/branch}","tags_url":"https://api.github.com/repos/buildbot/buildbot/tags","blobs_url":"https://api.github.com/repos/buildbot/buildbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buildbot/buildbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buildbot/buildbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/buildbot/buildbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buildbot/buildbot/statuses/{sha}","languages_url":"https://api.github.com/repos/buildbot/buildbot/languages","stargazers_url":"https://api.github.com/repos/buildbot/buildbot/stargazers","contributors_url":"https://api.github.com/repos/buildbot/buildbot/contributors","subscribers_url":"https://api.github.com/repos/buildbot/buildbot/subscribers","subscription_url":"https://api.github.com/repos/buildbot/buildbot/subscription","commits_url":"https://api.github.com/repos/buildbot/buildbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/buildbot/buildbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/buildbot/buildbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/buildbot/buildbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/buildbot/buildbot/contents/{+path}","compare_url":"https://api.github.com/repos/buildbot/buildbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buildbot/buildbot/merges","archive_url":"https://api.github.com/repos/buildbot/buildbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buildbot/buildbot/downloads","issues_url":"https://api.github.com/repos/buildbot/buildbot/issues{/number}","pulls_url":"https://api.github.com/repos/buildbot/buildbot/pulls{/number}","milestones_url":"https://api.github.com/repos/buildbot/buildbot/milestones{/number}","notifications_url":"https://api.github.com/repos/buildbot/buildbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buildbot/buildbot/labels{/name}","releases_url":"https://api.github.com/repos/buildbot/buildbot/releases{/id}","deployments_url":"https://api.github.com/repos/buildbot/buildbot/deployments","created_at":"2010-07-06T17:56:53Z","updated_at":"2016-10-25T03:25:24Z","pushed_at":"2016-10-25T20:24:29Z","git_url":"git://github.com/buildbot/buildbot.git","ssh_url":"git@github.com:buildbot/buildbot.git","clone_url":"https://github.com/buildbot/buildbot.git","svn_url":"https://github.com/buildbot/buildbot","homepage":"http://buildbot.net","size":90845,"stargazers_count":2413,"watchers_count":2413,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":974,"mirror_url":null,"open_issues_count":16,"forks":974,"open_issues":16,"watchers":2413,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/buildbot/buildbot/pulls/2465"},"html":{"href":"https://github.com/buildbot/buildbot/pull/2465"},"issue":{"href":"https://api.github.com/repos/buildbot/buildbot/issues/2465"},"comments":{"href":"https://api.github.com/repos/buildbot/buildbot/issues/2465/comments"},"review_comments":{"href":"https://api.github.com/repos/buildbot/buildbot/pulls/2465/comments"},"review_comment":{"href":"https://api.github.com/repos/buildbot/buildbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/buildbot/buildbot/pulls/2465/commits"},"statuses":{"href":"https://api.github.com/repos/buildbot/buildbot/statuses/98be1a90018b502e040306ac4d4c6c4a5f254eb6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"sam-bristow"}}