GitHub PullRequestReviewCommentEvent at 2014-06-30 06:48:36
Repository: homebrew
Actor: mikemcquaid
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/14337604","id":14337604,"diff_hunk":"@@ -253,7 +264,7 @@ def single_commit? start_revision, end_revision\n     return if @url and not steps.last.passed?\n \n     diff_stat = git \"diff-tree\", \"-r\", \"--name-status\",\n-      diff_start_sha1, diff_end_sha1, \"--\", \"Library/Formula\"\n+      diff_start_sha1, diff_end_sha1, \"--\", (@tap.nil? ? \"Library/Formula\" : \"Formula\")","path":"Library/Contributions/cmd/brew-test-bot.rb","position":68,"original_position":68,"commit_id":"b492653ee65941e54311db401ac8ddc7fa044a84","original_commit_id":"b492653ee65941e54311db401ac8ddc7fa044a84","user":{"login":"mikemcquaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?","gravatar_id":"215e0166d4d8265395c5d9076da73c70","url":"https://api.github.com/users/mikemcquaid","html_url":"https://github.com/mikemcquaid","followers_url":"https://api.github.com/users/mikemcquaid/followers","following_url":"https://api.github.com/users/mikemcquaid/following{/other_user}","gists_url":"https://api.github.com/users/mikemcquaid/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemcquaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemcquaid/subscriptions","organizations_url":"https://api.github.com/users/mikemcquaid/orgs","repos_url":"https://api.github.com/users/mikemcquaid/repos","events_url":"https://api.github.com/users/mikemcquaid/events{/privacy}","received_events_url":"https://api.github.com/users/mikemcquaid/received_events","type":"User","site_admin":true},"body":"Make another variable to store this value (`Library/Formula` vs `Formula`) and otherwise make it inline.","created_at":"2014-06-30T06:48:36Z","updated_at":"2014-06-30T06:48:36Z","html_url":"https://github.com/Homebrew/homebrew/pull/30540#discussion_r14337604","pull_request_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/30540","_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/14337604"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/30540#discussion_r14337604"},"pull_request":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/30540"}}},"pull_request":{"url":"https://api.github.com/repos/Homebrew/homebrew/pulls/30540","id":17750509,"html_url":"https://github.com/Homebrew/homebrew/pull/30540","diff_url":"https://github.com/Homebrew/homebrew/pull/30540.diff","patch_url":"https://github.com/Homebrew/homebrew/pull/30540.patch","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/30540","number":30540,"state":"open","title":"Extend brew-test-bot to support taps","user":{"login":"mcuelenaere","id":1682432,"avatar_url":"https://avatars.githubusercontent.com/u/1682432?","gravatar_id":"808f523a582eabd88060bc3c4346d0f2","url":"https://api.github.com/users/mcuelenaere","html_url":"https://github.com/mcuelenaere","followers_url":"https://api.github.com/users/mcuelenaere/followers","following_url":"https://api.github.com/users/mcuelenaere/following{/other_user}","gists_url":"https://api.github.com/users/mcuelenaere/gists{/gist_id}","starred_url":"https://api.github.com/users/mcuelenaere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcuelenaere/subscriptions","organizations_url":"https://api.github.com/users/mcuelenaere/orgs","repos_url":"https://api.github.com/users/mcuelenaere/repos","events_url":"https://api.github.com/users/mcuelenaere/events{/privacy}","received_events_url":"https://api.github.com/users/mcuelenaere/received_events","type":"User","site_admin":false},"body":"This is my stab at trying to extend brew-test-bot to support taps.\r\n\r\nI've briefly tested this with `brew test-bot --local --tap=homebrew/homebrew-php 983d939617eec6e6b9dbd39d43f7c18f2c5e619b`, which seems to work, but I could have missed something.\r\n\r\nI'm a ruby newbie, so be gentle ;)","created_at":"2014-06-29T20:35:13Z","updated_at":"2014-06-30T06:48:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5208097ab36cc4e0ba1584748f01ee73035626ff","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/30540/commits","review_comments_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/30540/comments","review_comment_url":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/30540/comments","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/b492653ee65941e54311db401ac8ddc7fa044a84","head":{"label":"mcuelenaere:test-bot-taps","ref":"test-bot-taps","sha":"b492653ee65941e54311db401ac8ddc7fa044a84","user":{"login":"mcuelenaere","id":1682432,"avatar_url":"https://avatars.githubusercontent.com/u/1682432?","gravatar_id":"808f523a582eabd88060bc3c4346d0f2","url":"https://api.github.com/users/mcuelenaere","html_url":"https://github.com/mcuelenaere","followers_url":"https://api.github.com/users/mcuelenaere/followers","following_url":"https://api.github.com/users/mcuelenaere/following{/other_user}","gists_url":"https://api.github.com/users/mcuelenaere/gists{/gist_id}","starred_url":"https://api.github.com/users/mcuelenaere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcuelenaere/subscriptions","organizations_url":"https://api.github.com/users/mcuelenaere/orgs","repos_url":"https://api.github.com/users/mcuelenaere/repos","events_url":"https://api.github.com/users/mcuelenaere/events{/privacy}","received_events_url":"https://api.github.com/users/mcuelenaere/received_events","type":"User","site_admin":false},"repo":{"id":14534905,"name":"homebrew","full_name":"mcuelenaere/homebrew","owner":{"login":"mcuelenaere","id":1682432,"avatar_url":"https://avatars.githubusercontent.com/u/1682432?","gravatar_id":"808f523a582eabd88060bc3c4346d0f2","url":"https://api.github.com/users/mcuelenaere","html_url":"https://github.com/mcuelenaere","followers_url":"https://api.github.com/users/mcuelenaere/followers","following_url":"https://api.github.com/users/mcuelenaere/following{/other_user}","gists_url":"https://api.github.com/users/mcuelenaere/gists{/gist_id}","starred_url":"https://api.github.com/users/mcuelenaere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcuelenaere/subscriptions","organizations_url":"https://api.github.com/users/mcuelenaere/orgs","repos_url":"https://api.github.com/users/mcuelenaere/repos","events_url":"https://api.github.com/users/mcuelenaere/events{/privacy}","received_events_url":"https://api.github.com/users/mcuelenaere/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mcuelenaere/homebrew","description":"The missing package manager for OS X.","fork":true,"url":"https://api.github.com/repos/mcuelenaere/homebrew","forks_url":"https://api.github.com/repos/mcuelenaere/homebrew/forks","keys_url":"https://api.github.com/repos/mcuelenaere/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mcuelenaere/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mcuelenaere/homebrew/teams","hooks_url":"https://api.github.com/repos/mcuelenaere/homebrew/hooks","issue_events_url":"https://api.github.com/repos/mcuelenaere/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/mcuelenaere/homebrew/events","assignees_url":"https://api.github.com/repos/mcuelenaere/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/mcuelenaere/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/mcuelenaere/homebrew/tags","blobs_url":"https://api.github.com/repos/mcuelenaere/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mcuelenaere/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mcuelenaere/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/mcuelenaere/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mcuelenaere/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/mcuelenaere/homebrew/languages","stargazers_url":"https://api.github.com/repos/mcuelenaere/homebrew/stargazers","contributors_url":"https://api.github.com/repos/mcuelenaere/homebrew/contributors","subscribers_url":"https://api.github.com/repos/mcuelenaere/homebrew/subscribers","subscription_url":"https://api.github.com/repos/mcuelenaere/homebrew/subscription","commits_url":"https://api.github.com/repos/mcuelenaere/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/mcuelenaere/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/mcuelenaere/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/mcuelenaere/homebrew/issues/comments/{number}","contents_url":"https://api.github.com/repos/mcuelenaere/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/mcuelenaere/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mcuelenaere/homebrew/merges","archive_url":"https://api.github.com/repos/mcuelenaere/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mcuelenaere/homebrew/downloads","issues_url":"https://api.github.com/repos/mcuelenaere/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/mcuelenaere/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/mcuelenaere/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/mcuelenaere/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mcuelenaere/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/mcuelenaere/homebrew/releases{/id}","created_at":"2013-11-19T19:08:29Z","updated_at":"2014-06-08T15:32:38Z","pushed_at":"2014-06-29T20:32:12Z","git_url":"git://github.com/mcuelenaere/homebrew.git","ssh_url":"git@github.com:mcuelenaere/homebrew.git","clone_url":"https://github.com/mcuelenaere/homebrew.git","svn_url":"https://github.com/mcuelenaere/homebrew","homepage":"http://brew.sh","size":37569,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Homebrew:master","ref":"master","sha":"ac1e2671e0ca926db7be443045cb9ad1cac23ce9","user":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?","gravatar_id":"53b099dabcf41f2b4395513ddfd68fc6","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"repo":{"id":206084,"name":"homebrew","full_name":"Homebrew/homebrew","owner":{"login":"Homebrew","id":1503512,"avatar_url":"https://avatars.githubusercontent.com/u/1503512?","gravatar_id":"53b099dabcf41f2b4395513ddfd68fc6","url":"https://api.github.com/users/Homebrew","html_url":"https://github.com/Homebrew","followers_url":"https://api.github.com/users/Homebrew/followers","following_url":"https://api.github.com/users/Homebrew/following{/other_user}","gists_url":"https://api.github.com/users/Homebrew/gists{/gist_id}","starred_url":"https://api.github.com/users/Homebrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Homebrew/subscriptions","organizations_url":"https://api.github.com/users/Homebrew/orgs","repos_url":"https://api.github.com/users/Homebrew/repos","events_url":"https://api.github.com/users/Homebrew/events{/privacy}","received_events_url":"https://api.github.com/users/Homebrew/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Homebrew/homebrew","description":"The missing package manager for OS X.","fork":false,"url":"https://api.github.com/repos/Homebrew/homebrew","forks_url":"https://api.github.com/repos/Homebrew/homebrew/forks","keys_url":"https://api.github.com/repos/Homebrew/homebrew/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Homebrew/homebrew/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Homebrew/homebrew/teams","hooks_url":"https://api.github.com/repos/Homebrew/homebrew/hooks","issue_events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/events{/number}","events_url":"https://api.github.com/repos/Homebrew/homebrew/events","assignees_url":"https://api.github.com/repos/Homebrew/homebrew/assignees{/user}","branches_url":"https://api.github.com/repos/Homebrew/homebrew/branches{/branch}","tags_url":"https://api.github.com/repos/Homebrew/homebrew/tags","blobs_url":"https://api.github.com/repos/Homebrew/homebrew/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Homebrew/homebrew/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Homebrew/homebrew/git/refs{/sha}","trees_url":"https://api.github.com/repos/Homebrew/homebrew/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Homebrew/homebrew/statuses/{sha}","languages_url":"https://api.github.com/repos/Homebrew/homebrew/languages","stargazers_url":"https://api.github.com/repos/Homebrew/homebrew/stargazers","contributors_url":"https://api.github.com/repos/Homebrew/homebrew/contributors","subscribers_url":"https://api.github.com/repos/Homebrew/homebrew/subscribers","subscription_url":"https://api.github.com/repos/Homebrew/homebrew/subscription","commits_url":"https://api.github.com/repos/Homebrew/homebrew/commits{/sha}","git_commits_url":"https://api.github.com/repos/Homebrew/homebrew/git/commits{/sha}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/comments{/number}","issue_comment_url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/{number}","contents_url":"https://api.github.com/repos/Homebrew/homebrew/contents/{+path}","compare_url":"https://api.github.com/repos/Homebrew/homebrew/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Homebrew/homebrew/merges","archive_url":"https://api.github.com/repos/Homebrew/homebrew/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Homebrew/homebrew/downloads","issues_url":"https://api.github.com/repos/Homebrew/homebrew/issues{/number}","pulls_url":"https://api.github.com/repos/Homebrew/homebrew/pulls{/number}","milestones_url":"https://api.github.com/repos/Homebrew/homebrew/milestones{/number}","notifications_url":"https://api.github.com/repos/Homebrew/homebrew/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Homebrew/homebrew/labels{/name}","releases_url":"https://api.github.com/repos/Homebrew/homebrew/releases{/id}","created_at":"2009-05-20T19:38:37Z","updated_at":"2014-06-30T06:35:53Z","pushed_at":"2014-06-30T06:03:30Z","git_url":"git://github.com/Homebrew/homebrew.git","ssh_url":"git@github.com:Homebrew/homebrew.git","clone_url":"https://github.com/Homebrew/homebrew.git","svn_url":"https://github.com/Homebrew/homebrew","homepage":"http://brew.sh","size":1150774,"stargazers_count":17908,"watchers_count":17908,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":true,"forks_count":8962,"mirror_url":null,"open_issues_count":226,"forks":8962,"open_issues":226,"watchers":17908,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/30540"},"html":{"href":"https://github.com/Homebrew/homebrew/pull/30540"},"issue":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/30540"},"comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/issues/30540/comments"},"review_comments":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/30540/comments"},"review_comment":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Homebrew/homebrew/pulls/30540/commits"},"statuses":{"href":"https://api.github.com/repos/Homebrew/homebrew/statuses/b492653ee65941e54311db401ac8ddc7fa044a84"}}}}