{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes/test-infra/pulls/comments/88348140","pull_request_review_id":8923937,"id":88348140,"diff_hunk":"@@ -140,7 +160,9 @@ def checkout(repo, branch, pull):\n                 raise\n             logging.warning('git fetch failed')\n             random_sleep(attempt)\n-    call([git, 'checkout', 'FETCH_HEAD'])\n+    call([git, 'checkout', '-B', 'test', checkouts[0]])","path":"jenkins/bootstrap.py","position":62,"original_position":62,"commit_id":"0876bde0634e08c2c03f2071f08fad3aa1d4e712","original_commit_id":"0876bde0634e08c2c03f2071f08fad3aa1d4e712","user":{"login":"fejta","id":940341,"avatar_url":"https://avatars.githubusercontent.com/u/940341?v=3","gravatar_id":"","url":"https://api.github.com/users/fejta","html_url":"https://github.com/fejta","followers_url":"https://api.github.com/users/fejta/followers","following_url":"https://api.github.com/users/fejta/following{/other_user}","gists_url":"https://api.github.com/users/fejta/gists{/gist_id}","starred_url":"https://api.github.com/users/fejta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fejta/subscriptions","organizations_url":"https://api.github.com/users/fejta/orgs","repos_url":"https://api.github.com/users/fejta/repos","events_url":"https://api.github.com/users/fejta/events{/privacy}","received_events_url":"https://api.github.com/users/fejta/received_events","type":"User","site_admin":false},"body":"How do we enforce that we are merging into a branch?","created_at":"2016-11-16T22:39:14Z","updated_at":"2016-11-16T22:42:16Z","html_url":"https://github.com/kubernetes/test-infra/pull/1090#discussion_r88348140","pull_request_url":"https://api.github.com/repos/kubernetes/test-infra/pulls/1090","_links":{"self":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/comments/88348140"},"html":{"href":"https://github.com/kubernetes/test-infra/pull/1090#discussion_r88348140"},"pull_request":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/1090"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes/test-infra/pulls/1090","id":94060933,"html_url":"https://github.com/kubernetes/test-infra/pull/1090","diff_url":"https://github.com/kubernetes/test-infra/pull/1090.diff","patch_url":"https://github.com/kubernetes/test-infra/pull/1090.patch","issue_url":"https://api.github.com/repos/kubernetes/test-infra/issues/1090","number":1090,"state":"open","locked":false,"title":"Make bootstrap.py accept batch commits.","user":{"login":"rmmh","id":211868,"avatar_url":"https://avatars.githubusercontent.com/u/211868?v=3","gravatar_id":"","url":"https://api.github.com/users/rmmh","html_url":"https://github.com/rmmh","followers_url":"https://api.github.com/users/rmmh/followers","following_url":"https://api.github.com/users/rmmh/following{/other_user}","gists_url":"https://api.github.com/users/rmmh/gists{/gist_id}","starred_url":"https://api.github.com/users/rmmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmmh/subscriptions","organizations_url":"https://api.github.com/users/rmmh/orgs","repos_url":"https://api.github.com/users/rmmh/repos","events_url":"https://api.github.com/users/rmmh/events{/privacy}","received_events_url":"https://api.github.com/users/rmmh/received_events","type":"User","site_admin":false},"body":"They include the SHAs for each ref involved, e.g.:\r\n\r\n    --pull master:18d1cdf822518a55916dfd44c24311e0ba5ddbbb,123:2f97295852f6ece2af499849aa1d8830f37db313,456:40ddfd89205f79338f1d9784eea667091a696ee5\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.kubernetes.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.kubernetes.io/reviews/kubernetes/test-infra/1090)\n<!-- Reviewable:end -->\n","created_at":"2016-11-16T22:09:35Z","updated_at":"2016-11-16T22:42:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c0e6ad2887ba59943b396b0f42705d8f2aac346","assignee":{"login":"fejta","id":940341,"avatar_url":"https://avatars.githubusercontent.com/u/940341?v=3","gravatar_id":"","url":"https://api.github.com/users/fejta","html_url":"https://github.com/fejta","followers_url":"https://api.github.com/users/fejta/followers","following_url":"https://api.github.com/users/fejta/following{/other_user}","gists_url":"https://api.github.com/users/fejta/gists{/gist_id}","starred_url":"https://api.github.com/users/fejta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fejta/subscriptions","organizations_url":"https://api.github.com/users/fejta/orgs","repos_url":"https://api.github.com/users/fejta/repos","events_url":"https://api.github.com/users/fejta/events{/privacy}","received_events_url":"https://api.github.com/users/fejta/received_events","type":"User","site_admin":false},"assignees":[{"login":"fejta","id":940341,"avatar_url":"https://avatars.githubusercontent.com/u/940341?v=3","gravatar_id":"","url":"https://api.github.com/users/fejta","html_url":"https://github.com/fejta","followers_url":"https://api.github.com/users/fejta/followers","following_url":"https://api.github.com/users/fejta/following{/other_user}","gists_url":"https://api.github.com/users/fejta/gists{/gist_id}","starred_url":"https://api.github.com/users/fejta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fejta/subscriptions","organizations_url":"https://api.github.com/users/fejta/orgs","repos_url":"https://api.github.com/users/fejta/repos","events_url":"https://api.github.com/users/fejta/events{/privacy}","received_events_url":"https://api.github.com/users/fejta/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes/test-infra/pulls/1090/commits","review_comments_url":"https://api.github.com/repos/kubernetes/test-infra/pulls/1090/comments","review_comment_url":"https://api.github.com/repos/kubernetes/test-infra/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes/test-infra/issues/1090/comments","statuses_url":"https://api.github.com/repos/kubernetes/test-infra/statuses/0876bde0634e08c2c03f2071f08fad3aa1d4e712","head":{"label":"rmmh:bootstrap-batch","ref":"bootstrap-batch","sha":"0876bde0634e08c2c03f2071f08fad3aa1d4e712","user":{"login":"rmmh","id":211868,"avatar_url":"https://avatars.githubusercontent.com/u/211868?v=3","gravatar_id":"","url":"https://api.github.com/users/rmmh","html_url":"https://github.com/rmmh","followers_url":"https://api.github.com/users/rmmh/followers","following_url":"https://api.github.com/users/rmmh/following{/other_user}","gists_url":"https://api.github.com/users/rmmh/gists{/gist_id}","starred_url":"https://api.github.com/users/rmmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmmh/subscriptions","organizations_url":"https://api.github.com/users/rmmh/orgs","repos_url":"https://api.github.com/users/rmmh/repos","events_url":"https://api.github.com/users/rmmh/events{/privacy}","received_events_url":"https://api.github.com/users/rmmh/received_events","type":"User","site_admin":false},"repo":{"id":57414245,"name":"kubernetes-test-infra","full_name":"rmmh/kubernetes-test-infra","owner":{"login":"rmmh","id":211868,"avatar_url":"https://avatars.githubusercontent.com/u/211868?v=3","gravatar_id":"","url":"https://api.github.com/users/rmmh","html_url":"https://github.com/rmmh","followers_url":"https://api.github.com/users/rmmh/followers","following_url":"https://api.github.com/users/rmmh/following{/other_user}","gists_url":"https://api.github.com/users/rmmh/gists{/gist_id}","starred_url":"https://api.github.com/users/rmmh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmmh/subscriptions","organizations_url":"https://api.github.com/users/rmmh/orgs","repos_url":"https://api.github.com/users/rmmh/repos","events_url":"https://api.github.com/users/rmmh/events{/privacy}","received_events_url":"https://api.github.com/users/rmmh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rmmh/kubernetes-test-infra","description":"Test infrastructure for the Kubernetes project.","fork":true,"url":"https://api.github.com/repos/rmmh/kubernetes-test-infra","forks_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/forks","keys_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/teams","hooks_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/hooks","issue_events_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/issues/events{/number}","events_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/events","assignees_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/assignees{/user}","branches_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/branches{/branch}","tags_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/tags","blobs_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/git/refs{/sha}","trees_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/statuses/{sha}","languages_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/languages","stargazers_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/stargazers","contributors_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/contributors","subscribers_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/subscribers","subscription_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/subscription","commits_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/commits{/sha}","git_commits_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/git/commits{/sha}","comments_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/comments{/number}","issue_comment_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/issues/comments{/number}","contents_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/contents/{+path}","compare_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/merges","archive_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/downloads","issues_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/issues{/number}","pulls_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/pulls{/number}","milestones_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/milestones{/number}","notifications_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/labels{/name}","releases_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/releases{/id}","deployments_url":"https://api.github.com/repos/rmmh/kubernetes-test-infra/deployments","created_at":"2016-04-29T21:34:00Z","updated_at":"2016-04-29T21:34:10Z","pushed_at":"2016-11-16T22:21:16Z","git_url":"git://github.com/rmmh/kubernetes-test-infra.git","ssh_url":"git@github.com:rmmh/kubernetes-test-infra.git","clone_url":"https://github.com/rmmh/kubernetes-test-infra.git","svn_url":"https://github.com/rmmh/kubernetes-test-infra","homepage":null,"size":5873,"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":"kubernetes:master","ref":"master","sha":"9f04466eee9af62f52d65ed9ff1e89538251f6a9","user":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"repo":{"id":57333709,"name":"test-infra","full_name":"kubernetes/test-infra","owner":{"login":"kubernetes","id":13629408,"avatar_url":"https://avatars.githubusercontent.com/u/13629408?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes","html_url":"https://github.com/kubernetes","followers_url":"https://api.github.com/users/kubernetes/followers","following_url":"https://api.github.com/users/kubernetes/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes/subscriptions","organizations_url":"https://api.github.com/users/kubernetes/orgs","repos_url":"https://api.github.com/users/kubernetes/repos","events_url":"https://api.github.com/users/kubernetes/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes/test-infra","description":"Test infrastructure for the Kubernetes project.","fork":false,"url":"https://api.github.com/repos/kubernetes/test-infra","forks_url":"https://api.github.com/repos/kubernetes/test-infra/forks","keys_url":"https://api.github.com/repos/kubernetes/test-infra/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes/test-infra/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes/test-infra/teams","hooks_url":"https://api.github.com/repos/kubernetes/test-infra/hooks","issue_events_url":"https://api.github.com/repos/kubernetes/test-infra/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes/test-infra/events","assignees_url":"https://api.github.com/repos/kubernetes/test-infra/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes/test-infra/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes/test-infra/tags","blobs_url":"https://api.github.com/repos/kubernetes/test-infra/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes/test-infra/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes/test-infra/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes/test-infra/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes/test-infra/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes/test-infra/languages","stargazers_url":"https://api.github.com/repos/kubernetes/test-infra/stargazers","contributors_url":"https://api.github.com/repos/kubernetes/test-infra/contributors","subscribers_url":"https://api.github.com/repos/kubernetes/test-infra/subscribers","subscription_url":"https://api.github.com/repos/kubernetes/test-infra/subscription","commits_url":"https://api.github.com/repos/kubernetes/test-infra/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes/test-infra/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes/test-infra/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes/test-infra/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes/test-infra/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes/test-infra/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes/test-infra/merges","archive_url":"https://api.github.com/repos/kubernetes/test-infra/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes/test-infra/downloads","issues_url":"https://api.github.com/repos/kubernetes/test-infra/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes/test-infra/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes/test-infra/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes/test-infra/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes/test-infra/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes/test-infra/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes/test-infra/deployments","created_at":"2016-04-28T21:05:35Z","updated_at":"2016-11-16T18:51:41Z","pushed_at":"2016-11-16T22:41:11Z","git_url":"git://github.com/kubernetes/test-infra.git","ssh_url":"git@github.com:kubernetes/test-infra.git","clone_url":"https://github.com/kubernetes/test-infra.git","svn_url":"https://github.com/kubernetes/test-infra","homepage":null,"size":6637,"stargazers_count":29,"watchers_count":29,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":68,"mirror_url":null,"open_issues_count":76,"forks":68,"open_issues":76,"watchers":29,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/1090"},"html":{"href":"https://github.com/kubernetes/test-infra/pull/1090"},"issue":{"href":"https://api.github.com/repos/kubernetes/test-infra/issues/1090"},"comments":{"href":"https://api.github.com/repos/kubernetes/test-infra/issues/1090/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/1090/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes/test-infra/pulls/1090/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes/test-infra/statuses/0876bde0634e08c2c03f2071f08fad3aa1d4e712"}}}}
{"actor":{"display_login":"fejta"}}