GitHub PullRequestReviewCommentEvent at 2014-12-25 02:19:11
Repository: scripts
Actor: crawford
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/coreos/scripts/pulls/comments/22266230","id":22266230,"diff_hunk":"@@ -0,0 +1,18 @@\n+AZURE_ENVIRONMENT=AzureCloud\n+\n+getManagementEndpoint() {\n+\tazure account env show --environment=$AZURE_ENVIRONMENT --json | \\\n+\t\tjq '.managementEndpointUrl' --raw-output\n+}\n+\n+getSubscriptionId() {\n+\tazure account show --json | \\\n+\t\tjq '.id' --raw-output\n+}\n+\n+cammelCase() {","path":"oem/azure/common.sh","position":13,"original_position":13,"commit_id":"277e9a38f5bac6be16848519b955b1916c55a326","original_commit_id":"277e9a38f5bac6be16848519b955b1916c55a326","user":{"login":"crawford","id":368848,"avatar_url":"https://avatars.githubusercontent.com/u/368848?v=3","gravatar_id":"","url":"https://api.github.com/users/crawford","html_url":"https://github.com/crawford","followers_url":"https://api.github.com/users/crawford/followers","following_url":"https://api.github.com/users/crawford/following{/other_user}","gists_url":"https://api.github.com/users/crawford/gists{/gist_id}","starred_url":"https://api.github.com/users/crawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawford/subscriptions","organizations_url":"https://api.github.com/users/crawford/orgs","repos_url":"https://api.github.com/users/crawford/repos","events_url":"https://api.github.com/users/crawford/events{/privacy}","received_events_url":"https://api.github.com/users/crawford/received_events","type":"User","site_admin":false},"body":"Mind blown.","created_at":"2014-12-25T02:19:11Z","updated_at":"2014-12-25T02:19:11Z","html_url":"https://github.com/coreos/scripts/pull/367#discussion_r22266230","pull_request_url":"https://api.github.com/repos/coreos/scripts/pulls/367","_links":{"self":{"href":"https://api.github.com/repos/coreos/scripts/pulls/comments/22266230"},"html":{"href":"https://github.com/coreos/scripts/pull/367#discussion_r22266230"},"pull_request":{"href":"https://api.github.com/repos/coreos/scripts/pulls/367"}}},"pull_request":{"url":"https://api.github.com/repos/coreos/scripts/pulls/367","id":26345001,"html_url":"https://github.com/coreos/scripts/pull/367","diff_url":"https://github.com/coreos/scripts/pull/367.diff","patch_url":"https://github.com/coreos/scripts/pull/367.patch","issue_url":"https://api.github.com/repos/coreos/scripts/issues/367","number":367,"state":"open","locked":false,"title":"oem/azure: add set-image-icon.sh","user":{"login":"crawford","id":368848,"avatar_url":"https://avatars.githubusercontent.com/u/368848?v=3","gravatar_id":"","url":"https://api.github.com/users/crawford","html_url":"https://github.com/crawford","followers_url":"https://api.github.com/users/crawford/followers","following_url":"https://api.github.com/users/crawford/following{/other_user}","gists_url":"https://api.github.com/users/crawford/gists{/gist_id}","starred_url":"https://api.github.com/users/crawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawford/subscriptions","organizations_url":"https://api.github.com/users/crawford/orgs","repos_url":"https://api.github.com/users/crawford/repos","events_url":"https://api.github.com/users/crawford/events{/privacy}","received_events_url":"https://api.github.com/users/crawford/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-12-19T01:10:35Z","updated_at":"2014-12-25T02:19:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3dc00e6a54cd2d2e6595b6fe6df78a1ad7c99d1a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/scripts/pulls/367/commits","review_comments_url":"https://api.github.com/repos/coreos/scripts/pulls/367/comments","review_comment_url":"https://api.github.com/repos/coreos/scripts/pulls/comments/{number}","comments_url":"https://api.github.com/repos/coreos/scripts/issues/367/comments","statuses_url":"https://api.github.com/repos/coreos/scripts/statuses/277e9a38f5bac6be16848519b955b1916c55a326","head":{"label":"crawford:icon","ref":"icon","sha":"277e9a38f5bac6be16848519b955b1916c55a326","user":{"login":"crawford","id":368848,"avatar_url":"https://avatars.githubusercontent.com/u/368848?v=3","gravatar_id":"","url":"https://api.github.com/users/crawford","html_url":"https://github.com/crawford","followers_url":"https://api.github.com/users/crawford/followers","following_url":"https://api.github.com/users/crawford/following{/other_user}","gists_url":"https://api.github.com/users/crawford/gists{/gist_id}","starred_url":"https://api.github.com/users/crawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawford/subscriptions","organizations_url":"https://api.github.com/users/crawford/orgs","repos_url":"https://api.github.com/users/crawford/repos","events_url":"https://api.github.com/users/crawford/events{/privacy}","received_events_url":"https://api.github.com/users/crawford/received_events","type":"User","site_admin":false},"repo":{"id":18581356,"name":"scripts","full_name":"crawford/scripts","owner":{"login":"crawford","id":368848,"avatar_url":"https://avatars.githubusercontent.com/u/368848?v=3","gravatar_id":"","url":"https://api.github.com/users/crawford","html_url":"https://github.com/crawford","followers_url":"https://api.github.com/users/crawford/followers","following_url":"https://api.github.com/users/crawford/following{/other_user}","gists_url":"https://api.github.com/users/crawford/gists{/gist_id}","starred_url":"https://api.github.com/users/crawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawford/subscriptions","organizations_url":"https://api.github.com/users/crawford/orgs","repos_url":"https://api.github.com/users/crawford/repos","events_url":"https://api.github.com/users/crawford/events{/privacy}","received_events_url":"https://api.github.com/users/crawford/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/crawford/scripts","description":"Build and maintenance scripts for CoreOS","fork":true,"url":"https://api.github.com/repos/crawford/scripts","forks_url":"https://api.github.com/repos/crawford/scripts/forks","keys_url":"https://api.github.com/repos/crawford/scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/crawford/scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/crawford/scripts/teams","hooks_url":"https://api.github.com/repos/crawford/scripts/hooks","issue_events_url":"https://api.github.com/repos/crawford/scripts/issues/events{/number}","events_url":"https://api.github.com/repos/crawford/scripts/events","assignees_url":"https://api.github.com/repos/crawford/scripts/assignees{/user}","branches_url":"https://api.github.com/repos/crawford/scripts/branches{/branch}","tags_url":"https://api.github.com/repos/crawford/scripts/tags","blobs_url":"https://api.github.com/repos/crawford/scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/crawford/scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/crawford/scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/crawford/scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/crawford/scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/crawford/scripts/languages","stargazers_url":"https://api.github.com/repos/crawford/scripts/stargazers","contributors_url":"https://api.github.com/repos/crawford/scripts/contributors","subscribers_url":"https://api.github.com/repos/crawford/scripts/subscribers","subscription_url":"https://api.github.com/repos/crawford/scripts/subscription","commits_url":"https://api.github.com/repos/crawford/scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/crawford/scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/crawford/scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/crawford/scripts/issues/comments/{number}","contents_url":"https://api.github.com/repos/crawford/scripts/contents/{+path}","compare_url":"https://api.github.com/repos/crawford/scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/crawford/scripts/merges","archive_url":"https://api.github.com/repos/crawford/scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/crawford/scripts/downloads","issues_url":"https://api.github.com/repos/crawford/scripts/issues{/number}","pulls_url":"https://api.github.com/repos/crawford/scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/crawford/scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/crawford/scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/crawford/scripts/labels{/name}","releases_url":"https://api.github.com/repos/crawford/scripts/releases{/id}","created_at":"2014-04-09T01:40:05Z","updated_at":"2014-06-19T21:13:20Z","pushed_at":"2014-12-25T00:23:37Z","git_url":"git://github.com/crawford/scripts.git","ssh_url":"git@github.com:crawford/scripts.git","clone_url":"https://github.com/crawford/scripts.git","svn_url":"https://github.com/crawford/scripts","homepage":"http://coreos.com/docs/sdk/","size":7916,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"coreos:master","ref":"master","sha":"66a90f78516d264d03a1033846c61e2d5850b04c","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":8488880,"name":"scripts","full_name":"coreos/scripts","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/scripts","description":"Build and maintenance scripts for CoreOS","fork":false,"url":"https://api.github.com/repos/coreos/scripts","forks_url":"https://api.github.com/repos/coreos/scripts/forks","keys_url":"https://api.github.com/repos/coreos/scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/scripts/teams","hooks_url":"https://api.github.com/repos/coreos/scripts/hooks","issue_events_url":"https://api.github.com/repos/coreos/scripts/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/scripts/events","assignees_url":"https://api.github.com/repos/coreos/scripts/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/scripts/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/scripts/tags","blobs_url":"https://api.github.com/repos/coreos/scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/scripts/languages","stargazers_url":"https://api.github.com/repos/coreos/scripts/stargazers","contributors_url":"https://api.github.com/repos/coreos/scripts/contributors","subscribers_url":"https://api.github.com/repos/coreos/scripts/subscribers","subscription_url":"https://api.github.com/repos/coreos/scripts/subscription","commits_url":"https://api.github.com/repos/coreos/scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/scripts/issues/comments/{number}","contents_url":"https://api.github.com/repos/coreos/scripts/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/scripts/merges","archive_url":"https://api.github.com/repos/coreos/scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/scripts/downloads","issues_url":"https://api.github.com/repos/coreos/scripts/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/scripts/labels{/name}","releases_url":"https://api.github.com/repos/coreos/scripts/releases{/id}","created_at":"2013-02-28T21:45:57Z","updated_at":"2014-12-24T01:45:53Z","pushed_at":"2014-12-24T01:45:52Z","git_url":"git://github.com/coreos/scripts.git","ssh_url":"git@github.com:coreos/scripts.git","clone_url":"https://github.com/coreos/scripts.git","svn_url":"https://github.com/coreos/scripts","homepage":"http://coreos.com/docs/sdk/","size":9176,"stargazers_count":36,"watchers_count":36,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":3,"forks":41,"open_issues":3,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/scripts/pulls/367"},"html":{"href":"https://github.com/coreos/scripts/pull/367"},"issue":{"href":"https://api.github.com/repos/coreos/scripts/issues/367"},"comments":{"href":"https://api.github.com/repos/coreos/scripts/issues/367/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/scripts/pulls/367/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/scripts/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/coreos/scripts/pulls/367/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/scripts/statuses/277e9a38f5bac6be16848519b955b1916c55a326"}}}}