{"action":"created","comment":{"url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls/comments/190633449","pull_request_review_id":123051963,"id":190633449,"diff_hunk":"@@ -0,0 +1,40 @@\n+#!/usr/bin/env bash\n+\n+set -euo pipefail\n+\n+featureBranch=$(git rev-parse --abbrev-ref HEAD)\n+dogfoodBranch=dogfood/$featureBranch\n+\n+info() {\n+    echo \"* $@\"\n+}\n+\n+branchExists() {\n+    git rev-parse -q --verify \"$1\" >/dev/null\n+}\n+\n+createDogfoodBranch() {\n+    git branch \"$dogfoodBranch\"\n+}\n+\n+rebaseDogfoodBranch() {\n+    git checkout \"$dogfoodBranch\"\n+    git rebase \"$featureBranch\"\n+    git checkout -\n+}\n+\n+if [ \"$featureBranch\" = \"master\" ]; then","path":"git/dogfood.sh","position":null,"original_position":26,"commit_id":"5421255cff451ef1e36e2390bc773dbf55663bfa","original_commit_id":"64194ceed1c203d4d9aefd806e82eafc1b365339","user":{"login":"janos-ss","id":21700885,"avatar_url":"https://avatars0.githubusercontent.com/u/21700885?v=4","gravatar_id":"","url":"https://api.github.com/users/janos-ss","html_url":"https://github.com/janos-ss","followers_url":"https://api.github.com/users/janos-ss/followers","following_url":"https://api.github.com/users/janos-ss/following{/other_user}","gists_url":"https://api.github.com/users/janos-ss/gists{/gist_id}","starred_url":"https://api.github.com/users/janos-ss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janos-ss/subscriptions","organizations_url":"https://api.github.com/users/janos-ss/orgs","repos_url":"https://api.github.com/users/janos-ss/repos","events_url":"https://api.github.com/users/janos-ss/events{/privacy}","received_events_url":"https://api.github.com/users/janos-ss/received_events","type":"User","site_admin":false},"body":"Added.","created_at":"2018-05-24T15:36:38Z","updated_at":"2018-05-24T15:36:39Z","html_url":"https://github.com/SonarSource/sonar-developer-toolset/pull/9#discussion_r190633449","pull_request_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls/9","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls/comments/190633449"},"html":{"href":"https://github.com/SonarSource/sonar-developer-toolset/pull/9#discussion_r190633449"},"pull_request":{"href":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls/9"}},"in_reply_to_id":190598595},"pull_request":{"url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls/9","id":190281193,"html_url":"https://github.com/SonarSource/sonar-developer-toolset/pull/9","diff_url":"https://github.com/SonarSource/sonar-developer-toolset/pull/9.diff","patch_url":"https://github.com/SonarSource/sonar-developer-toolset/pull/9.patch","issue_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/issues/9","number":9,"state":"open","locked":false,"title":"Add script to easily create or update dogfood branches","user":{"login":"janos-ss","id":21700885,"avatar_url":"https://avatars0.githubusercontent.com/u/21700885?v=4","gravatar_id":"","url":"https://api.github.com/users/janos-ss","html_url":"https://github.com/janos-ss","followers_url":"https://api.github.com/users/janos-ss/followers","following_url":"https://api.github.com/users/janos-ss/following{/other_user}","gists_url":"https://api.github.com/users/janos-ss/gists{/gist_id}","starred_url":"https://api.github.com/users/janos-ss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janos-ss/subscriptions","organizations_url":"https://api.github.com/users/janos-ss/orgs","repos_url":"https://api.github.com/users/janos-ss/repos","events_url":"https://api.github.com/users/janos-ss/events{/privacy}","received_events_url":"https://api.github.com/users/janos-ss/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-24T13:00:15Z","updated_at":"2018-05-24T15:36:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6456888b241018a1c9cbac2e3e818da962574cde","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls/9/commits","review_comments_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls/9/comments","review_comment_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/issues/9/comments","statuses_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/statuses/5421255cff451ef1e36e2390bc773dbf55663bfa","head":{"label":"SonarSource:feature/janos/dogfood","ref":"feature/janos/dogfood","sha":"5421255cff451ef1e36e2390bc773dbf55663bfa","user":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars0.githubusercontent.com/u/545988?v=4","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":3152588,"name":"sonar-developer-toolset","full_name":"SonarSource/sonar-developer-toolset","owner":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars0.githubusercontent.com/u/545988?v=4","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/sonar-developer-toolset","description":"Developer Toolset for Sonar-* Projects","fork":false,"url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset","forks_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/forks","keys_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/teams","hooks_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/events","assignees_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/tags","blobs_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/languages","stargazers_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/subscription","commits_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/merges","archive_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/downloads","issues_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/releases{/id}","deployments_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/deployments","created_at":"2012-01-11T09:43:39Z","updated_at":"2018-04-11T09:09:45Z","pushed_at":"2018-05-24T15:36:33Z","git_url":"git://github.com/SonarSource/sonar-developer-toolset.git","ssh_url":"git@github.com:SonarSource/sonar-developer-toolset.git","clone_url":"https://github.com/SonarSource/sonar-developer-toolset.git","svn_url":"https://github.com/SonarSource/sonar-developer-toolset","homepage":"","size":628,"stargazers_count":12,"watchers_count":12,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":12,"open_issues":3,"watchers":12,"default_branch":"master"}},"base":{"label":"SonarSource:master","ref":"master","sha":"121cd2a9b9720cdfdb06814186f5ac9bcd4f0962","user":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars0.githubusercontent.com/u/545988?v=4","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"repo":{"id":3152588,"name":"sonar-developer-toolset","full_name":"SonarSource/sonar-developer-toolset","owner":{"login":"SonarSource","id":545988,"avatar_url":"https://avatars0.githubusercontent.com/u/545988?v=4","gravatar_id":"","url":"https://api.github.com/users/SonarSource","html_url":"https://github.com/SonarSource","followers_url":"https://api.github.com/users/SonarSource/followers","following_url":"https://api.github.com/users/SonarSource/following{/other_user}","gists_url":"https://api.github.com/users/SonarSource/gists{/gist_id}","starred_url":"https://api.github.com/users/SonarSource/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SonarSource/subscriptions","organizations_url":"https://api.github.com/users/SonarSource/orgs","repos_url":"https://api.github.com/users/SonarSource/repos","events_url":"https://api.github.com/users/SonarSource/events{/privacy}","received_events_url":"https://api.github.com/users/SonarSource/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SonarSource/sonar-developer-toolset","description":"Developer Toolset for Sonar-* Projects","fork":false,"url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset","forks_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/forks","keys_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/teams","hooks_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/hooks","issue_events_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/issues/events{/number}","events_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/events","assignees_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/assignees{/user}","branches_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/branches{/branch}","tags_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/tags","blobs_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/git/refs{/sha}","trees_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/statuses/{sha}","languages_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/languages","stargazers_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/stargazers","contributors_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/contributors","subscribers_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/subscribers","subscription_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/subscription","commits_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/commits{/sha}","git_commits_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/git/commits{/sha}","comments_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/comments{/number}","issue_comment_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/issues/comments{/number}","contents_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/contents/{+path}","compare_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/merges","archive_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/downloads","issues_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/issues{/number}","pulls_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls{/number}","milestones_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/milestones{/number}","notifications_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/labels{/name}","releases_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/releases{/id}","deployments_url":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/deployments","created_at":"2012-01-11T09:43:39Z","updated_at":"2018-04-11T09:09:45Z","pushed_at":"2018-05-24T15:36:33Z","git_url":"git://github.com/SonarSource/sonar-developer-toolset.git","ssh_url":"git@github.com:SonarSource/sonar-developer-toolset.git","clone_url":"https://github.com/SonarSource/sonar-developer-toolset.git","svn_url":"https://github.com/SonarSource/sonar-developer-toolset","homepage":"","size":628,"stargazers_count":12,"watchers_count":12,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":12,"open_issues":3,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls/9"},"html":{"href":"https://github.com/SonarSource/sonar-developer-toolset/pull/9"},"issue":{"href":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/issues/9"},"comments":{"href":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/SonarSource/sonar-developer-toolset/statuses/5421255cff451ef1e36e2390bc773dbf55663bfa"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"janos-ss"}}