{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/test-pull-requests/pulls/comments/74985236","id":74985236,"diff_hunk":"@@ -152,6 +178,97 @@ def submitted_tests_for_branch(branch)\n   $submitted_tests[branch] ? $submitted_tests[branch] : $submitted_tests['*']\n end\n \n+# Pulls out as much metadata from the bot comment as it can, including","path":"test_pull_requests","position":43,"original_position":43,"commit_id":"f17d28960d1ad5c0e4972d1e50b1ed959bf6bb3d","original_commit_id":"f17d28960d1ad5c0e4972d1e50b1ed959bf6bb3d","user":{"login":"dobbymoodge","id":1537044,"avatar_url":"https://avatars.githubusercontent.com/u/1537044?v=3","gravatar_id":"","url":"https://api.github.com/users/dobbymoodge","html_url":"https://github.com/dobbymoodge","followers_url":"https://api.github.com/users/dobbymoodge/followers","following_url":"https://api.github.com/users/dobbymoodge/following{/other_user}","gists_url":"https://api.github.com/users/dobbymoodge/gists{/gist_id}","starred_url":"https://api.github.com/users/dobbymoodge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobbymoodge/subscriptions","organizations_url":"https://api.github.com/users/dobbymoodge/orgs","repos_url":"https://api.github.com/users/dobbymoodge/repos","events_url":"https://api.github.com/users/dobbymoodge/events{/privacy}","received_events_url":"https://api.github.com/users/dobbymoodge/received_events","type":"User","site_admin":false},"body":"If we really care we should be targetting RDoc (https://github.com/rdoc/rdoc). That would be appropriate on a larger project, but on a single-file script I think the extra work doesn't give good value.","created_at":"2016-08-16T17:51:06Z","updated_at":"2016-08-16T17:51:06Z","html_url":"https://github.com/openshift/test-pull-requests/pull/31#discussion_r74985236","pull_request_url":"https://api.github.com/repos/openshift/test-pull-requests/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/openshift/test-pull-requests/pulls/comments/74985236"},"html":{"href":"https://github.com/openshift/test-pull-requests/pull/31#discussion_r74985236"},"pull_request":{"href":"https://api.github.com/repos/openshift/test-pull-requests/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/test-pull-requests/pulls/31","id":79966056,"html_url":"https://github.com/openshift/test-pull-requests/pull/31","diff_url":"https://github.com/openshift/test-pull-requests/pull/31.diff","patch_url":"https://github.com/openshift/test-pull-requests/pull/31.patch","issue_url":"https://api.github.com/repos/openshift/test-pull-requests/issues/31","number":31,"state":"open","locked":false,"title":"[WIP] Quick merge","user":{"login":"dobbymoodge","id":1537044,"avatar_url":"https://avatars.githubusercontent.com/u/1537044?v=3","gravatar_id":"","url":"https://api.github.com/users/dobbymoodge","html_url":"https://github.com/dobbymoodge","followers_url":"https://api.github.com/users/dobbymoodge/followers","following_url":"https://api.github.com/users/dobbymoodge/following{/other_user}","gists_url":"https://api.github.com/users/dobbymoodge/gists{/gist_id}","starred_url":"https://api.github.com/users/dobbymoodge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobbymoodge/subscriptions","organizations_url":"https://api.github.com/users/dobbymoodge/orgs","repos_url":"https://api.github.com/users/dobbymoodge/repos","events_url":"https://api.github.com/users/dobbymoodge/events{/privacy}","received_events_url":"https://api.github.com/users/dobbymoodge/received_events","type":"User","site_admin":false},"body":"Add base repo commit ID metadata to bot comment, add check for up-to-date test success to skip merge tests.","created_at":"2016-08-03T19:41:31Z","updated_at":"2016-08-16T17:51:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5f5c6986f5f2ffd8db6e77f6455fcee808045c74","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openshift/test-pull-requests/pulls/31/commits","review_comments_url":"https://api.github.com/repos/openshift/test-pull-requests/pulls/31/comments","review_comment_url":"https://api.github.com/repos/openshift/test-pull-requests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/test-pull-requests/issues/31/comments","statuses_url":"https://api.github.com/repos/openshift/test-pull-requests/statuses/f17d28960d1ad5c0e4972d1e50b1ed959bf6bb3d","head":{"label":"dobbymoodge:quick_merge","ref":"quick_merge","sha":"f17d28960d1ad5c0e4972d1e50b1ed959bf6bb3d","user":{"login":"dobbymoodge","id":1537044,"avatar_url":"https://avatars.githubusercontent.com/u/1537044?v=3","gravatar_id":"","url":"https://api.github.com/users/dobbymoodge","html_url":"https://github.com/dobbymoodge","followers_url":"https://api.github.com/users/dobbymoodge/followers","following_url":"https://api.github.com/users/dobbymoodge/following{/other_user}","gists_url":"https://api.github.com/users/dobbymoodge/gists{/gist_id}","starred_url":"https://api.github.com/users/dobbymoodge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobbymoodge/subscriptions","organizations_url":"https://api.github.com/users/dobbymoodge/orgs","repos_url":"https://api.github.com/users/dobbymoodge/repos","events_url":"https://api.github.com/users/dobbymoodge/events{/privacy}","received_events_url":"https://api.github.com/users/dobbymoodge/received_events","type":"User","site_admin":false},"repo":{"id":15808954,"name":"test-pull-requests","full_name":"dobbymoodge/test-pull-requests","owner":{"login":"dobbymoodge","id":1537044,"avatar_url":"https://avatars.githubusercontent.com/u/1537044?v=3","gravatar_id":"","url":"https://api.github.com/users/dobbymoodge","html_url":"https://github.com/dobbymoodge","followers_url":"https://api.github.com/users/dobbymoodge/followers","following_url":"https://api.github.com/users/dobbymoodge/following{/other_user}","gists_url":"https://api.github.com/users/dobbymoodge/gists{/gist_id}","starred_url":"https://api.github.com/users/dobbymoodge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dobbymoodge/subscriptions","organizations_url":"https://api.github.com/users/dobbymoodge/orgs","repos_url":"https://api.github.com/users/dobbymoodge/repos","events_url":"https://api.github.com/users/dobbymoodge/events{/privacy}","received_events_url":"https://api.github.com/users/dobbymoodge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dobbymoodge/test-pull-requests","description":"Utility for serially testing then merging pull requests in conjunction with Jenkins.","fork":true,"url":"https://api.github.com/repos/dobbymoodge/test-pull-requests","forks_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/forks","keys_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/teams","hooks_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/hooks","issue_events_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/issues/events{/number}","events_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/events","assignees_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/assignees{/user}","branches_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/branches{/branch}","tags_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/tags","blobs_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/git/refs{/sha}","trees_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/statuses/{sha}","languages_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/languages","stargazers_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/stargazers","contributors_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/contributors","subscribers_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/subscribers","subscription_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/subscription","commits_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/commits{/sha}","git_commits_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/git/commits{/sha}","comments_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/comments{/number}","issue_comment_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/issues/comments{/number}","contents_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/contents/{+path}","compare_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/merges","archive_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/downloads","issues_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/issues{/number}","pulls_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/pulls{/number}","milestones_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/milestones{/number}","notifications_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/labels{/name}","releases_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/releases{/id}","deployments_url":"https://api.github.com/repos/dobbymoodge/test-pull-requests/deployments","created_at":"2014-01-10T20:36:01Z","updated_at":"2014-06-26T19:27:50Z","pushed_at":"2016-08-16T14:30:05Z","git_url":"git://github.com/dobbymoodge/test-pull-requests.git","ssh_url":"git@github.com:dobbymoodge/test-pull-requests.git","clone_url":"https://github.com/dobbymoodge/test-pull-requests.git","svn_url":"https://github.com/dobbymoodge/test-pull-requests","homepage":null,"size":262,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"openshift:master","ref":"master","sha":"f2a0aed2eb5544221e720c7c7c04a88a98f6e5b0","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":5604195,"name":"test-pull-requests","full_name":"openshift/test-pull-requests","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/test-pull-requests","description":"Utility for serially testing then merging pull requests in conjunction with Jenkins.","fork":false,"url":"https://api.github.com/repos/openshift/test-pull-requests","forks_url":"https://api.github.com/repos/openshift/test-pull-requests/forks","keys_url":"https://api.github.com/repos/openshift/test-pull-requests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/test-pull-requests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/test-pull-requests/teams","hooks_url":"https://api.github.com/repos/openshift/test-pull-requests/hooks","issue_events_url":"https://api.github.com/repos/openshift/test-pull-requests/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/test-pull-requests/events","assignees_url":"https://api.github.com/repos/openshift/test-pull-requests/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/test-pull-requests/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/test-pull-requests/tags","blobs_url":"https://api.github.com/repos/openshift/test-pull-requests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/test-pull-requests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/test-pull-requests/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/test-pull-requests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/test-pull-requests/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/test-pull-requests/languages","stargazers_url":"https://api.github.com/repos/openshift/test-pull-requests/stargazers","contributors_url":"https://api.github.com/repos/openshift/test-pull-requests/contributors","subscribers_url":"https://api.github.com/repos/openshift/test-pull-requests/subscribers","subscription_url":"https://api.github.com/repos/openshift/test-pull-requests/subscription","commits_url":"https://api.github.com/repos/openshift/test-pull-requests/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/test-pull-requests/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/test-pull-requests/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/test-pull-requests/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/test-pull-requests/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/test-pull-requests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/test-pull-requests/merges","archive_url":"https://api.github.com/repos/openshift/test-pull-requests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/test-pull-requests/downloads","issues_url":"https://api.github.com/repos/openshift/test-pull-requests/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/test-pull-requests/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/test-pull-requests/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/test-pull-requests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/test-pull-requests/labels{/name}","releases_url":"https://api.github.com/repos/openshift/test-pull-requests/releases{/id}","deployments_url":"https://api.github.com/repos/openshift/test-pull-requests/deployments","created_at":"2012-08-29T17:45:58Z","updated_at":"2016-01-21T22:06:21Z","pushed_at":"2016-08-16T17:32:30Z","git_url":"git://github.com/openshift/test-pull-requests.git","ssh_url":"git@github.com:openshift/test-pull-requests.git","clone_url":"https://github.com/openshift/test-pull-requests.git","svn_url":"https://github.com/openshift/test-pull-requests","homepage":null,"size":286,"stargazers_count":12,"watchers_count":12,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":3,"forks":21,"open_issues":3,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/test-pull-requests/pulls/31"},"html":{"href":"https://github.com/openshift/test-pull-requests/pull/31"},"issue":{"href":"https://api.github.com/repos/openshift/test-pull-requests/issues/31"},"comments":{"href":"https://api.github.com/repos/openshift/test-pull-requests/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/test-pull-requests/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/test-pull-requests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/test-pull-requests/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/test-pull-requests/statuses/f17d28960d1ad5c0e4972d1e50b1ed959bf6bb3d"}}}}
{"actor":{"display_login":"dobbymoodge"}}