{"action":"created","comment":{"url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls/comments/62928253","id":62928253,"diff_hunk":"@@ -311,6 +311,7 @@ def release\n         run_cmd \"git pull . #{branch}\"\n         run_cmd \"git push origin HEAD\"\n         integrate_branch(base_branch, staging_branch)\n+        integrate_branch(base_branch, prototype_branch) unless enforce_staging_before_release?","path":"lib/socialcast-git-extensions/cli.rb","position":4,"original_position":4,"commit_id":"a5371dbf016f0e14e63d7dd4ed949a9fcbdea839","original_commit_id":"a5371dbf016f0e14e63d7dd4ed949a9fcbdea839","user":{"login":"f1sherman","id":349804,"avatar_url":"https://avatars.githubusercontent.com/u/349804?v=3","gravatar_id":"","url":"https://api.github.com/users/f1sherman","html_url":"https://github.com/f1sherman","followers_url":"https://api.github.com/users/f1sherman/followers","following_url":"https://api.github.com/users/f1sherman/following{/other_user}","gists_url":"https://api.github.com/users/f1sherman/gists{/gist_id}","starred_url":"https://api.github.com/users/f1sherman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f1sherman/subscriptions","organizations_url":"https://api.github.com/users/f1sherman/orgs","repos_url":"https://api.github.com/users/f1sherman/repos","events_url":"https://api.github.com/users/f1sherman/events{/privacy}","received_events_url":"https://api.github.com/users/f1sherman/received_events","type":"User","site_admin":false},"body":"since we're already unconditionally integrating into the staging branch, do you think we should unconditionally integrate into the prototype branch as well, for consistency/simplicity?","created_at":"2016-05-11T21:15:06Z","updated_at":"2016-05-11T21:15:06Z","html_url":"https://github.com/socialcast/socialcast-git-extensions/pull/97#discussion_r62928253","pull_request_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls/97","_links":{"self":{"href":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls/comments/62928253"},"html":{"href":"https://github.com/socialcast/socialcast-git-extensions/pull/97#discussion_r62928253"},"pull_request":{"href":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls/97","id":69739927,"html_url":"https://github.com/socialcast/socialcast-git-extensions/pull/97","diff_url":"https://github.com/socialcast/socialcast-git-extensions/pull/97.diff","patch_url":"https://github.com/socialcast/socialcast-git-extensions/pull/97.patch","issue_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/issues/97","number":97,"state":"open","locked":false,"title":"update-prototype-on-release-when-staging-not-enforced","user":{"login":"phene","id":166528,"avatar_url":"https://avatars.githubusercontent.com/u/166528?v=3","gravatar_id":"","url":"https://api.github.com/users/phene","html_url":"https://github.com/phene","followers_url":"https://api.github.com/users/phene/followers","following_url":"https://api.github.com/users/phene/following{/other_user}","gists_url":"https://api.github.com/users/phene/gists{/gist_id}","starred_url":"https://api.github.com/users/phene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phene/subscriptions","organizations_url":"https://api.github.com/users/phene/orgs","repos_url":"https://api.github.com/users/phene/repos","events_url":"https://api.github.com/users/phene/events{/privacy}","received_events_url":"https://api.github.com/users/phene/received_events","type":"User","site_admin":false},"body":"Modify `git-release` behavior to update prototype when `enforce_staging_before_release` is false\n\nWhen `enforce_staging_before_release` is true, prototype will already have the latest changes since `git-promote` pushes changes to both staging and prototype. This guarentee doesn't apply when `enforce_staging_before_release` is false, so add the `integrate_branch` step to ensure branches are kept up to date.","created_at":"2016-05-11T20:49:22Z","updated_at":"2016-05-11T21:15:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c629a088e2df346a36a0ab269811f1fbe2b4b43","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls/97/commits","review_comments_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls/97/comments","review_comment_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/issues/97/comments","statuses_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/statuses/a5371dbf016f0e14e63d7dd4ed949a9fcbdea839","head":{"label":"socialcast:update-prototype-on-release-when-staging-not-enforced","ref":"update-prototype-on-release-when-staging-not-enforced","sha":"a5371dbf016f0e14e63d7dd4ed949a9fcbdea839","user":{"login":"socialcast","id":57931,"avatar_url":"https://avatars.githubusercontent.com/u/57931?v=3","gravatar_id":"","url":"https://api.github.com/users/socialcast","html_url":"https://github.com/socialcast","followers_url":"https://api.github.com/users/socialcast/followers","following_url":"https://api.github.com/users/socialcast/following{/other_user}","gists_url":"https://api.github.com/users/socialcast/gists{/gist_id}","starred_url":"https://api.github.com/users/socialcast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socialcast/subscriptions","organizations_url":"https://api.github.com/users/socialcast/orgs","repos_url":"https://api.github.com/users/socialcast/repos","events_url":"https://api.github.com/users/socialcast/events{/privacy}","received_events_url":"https://api.github.com/users/socialcast/received_events","type":"Organization","site_admin":false},"repo":{"id":1000634,"name":"socialcast-git-extensions","full_name":"socialcast/socialcast-git-extensions","owner":{"login":"socialcast","id":57931,"avatar_url":"https://avatars.githubusercontent.com/u/57931?v=3","gravatar_id":"","url":"https://api.github.com/users/socialcast","html_url":"https://github.com/socialcast","followers_url":"https://api.github.com/users/socialcast/followers","following_url":"https://api.github.com/users/socialcast/following{/other_user}","gists_url":"https://api.github.com/users/socialcast/gists{/gist_id}","starred_url":"https://api.github.com/users/socialcast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socialcast/subscriptions","organizations_url":"https://api.github.com/users/socialcast/orgs","repos_url":"https://api.github.com/users/socialcast/repos","events_url":"https://api.github.com/users/socialcast/events{/privacy}","received_events_url":"https://api.github.com/users/socialcast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/socialcast/socialcast-git-extensions","description":"","fork":false,"url":"https://api.github.com/repos/socialcast/socialcast-git-extensions","forks_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/forks","keys_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/teams","hooks_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/hooks","issue_events_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/events","assignees_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/tags","blobs_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/languages","stargazers_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/stargazers","contributors_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/contributors","subscribers_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/subscribers","subscription_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/subscription","commits_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/merges","archive_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/downloads","issues_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/labels{/name}","releases_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/releases{/id}","deployments_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/deployments","created_at":"2010-10-18T21:23:25Z","updated_at":"2015-04-29T14:41:48Z","pushed_at":"2016-05-11T20:52:14Z","git_url":"git://github.com/socialcast/socialcast-git-extensions.git","ssh_url":"git@github.com:socialcast/socialcast-git-extensions.git","clone_url":"https://github.com/socialcast/socialcast-git-extensions.git","svn_url":"https://github.com/socialcast/socialcast-git-extensions","homepage":"","size":491,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":12,"forks":6,"open_issues":12,"watchers":4,"default_branch":"master"}},"base":{"label":"socialcast:master","ref":"master","sha":"0543421afcde58d97324d44c66ce79c8dfecb69e","user":{"login":"socialcast","id":57931,"avatar_url":"https://avatars.githubusercontent.com/u/57931?v=3","gravatar_id":"","url":"https://api.github.com/users/socialcast","html_url":"https://github.com/socialcast","followers_url":"https://api.github.com/users/socialcast/followers","following_url":"https://api.github.com/users/socialcast/following{/other_user}","gists_url":"https://api.github.com/users/socialcast/gists{/gist_id}","starred_url":"https://api.github.com/users/socialcast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socialcast/subscriptions","organizations_url":"https://api.github.com/users/socialcast/orgs","repos_url":"https://api.github.com/users/socialcast/repos","events_url":"https://api.github.com/users/socialcast/events{/privacy}","received_events_url":"https://api.github.com/users/socialcast/received_events","type":"Organization","site_admin":false},"repo":{"id":1000634,"name":"socialcast-git-extensions","full_name":"socialcast/socialcast-git-extensions","owner":{"login":"socialcast","id":57931,"avatar_url":"https://avatars.githubusercontent.com/u/57931?v=3","gravatar_id":"","url":"https://api.github.com/users/socialcast","html_url":"https://github.com/socialcast","followers_url":"https://api.github.com/users/socialcast/followers","following_url":"https://api.github.com/users/socialcast/following{/other_user}","gists_url":"https://api.github.com/users/socialcast/gists{/gist_id}","starred_url":"https://api.github.com/users/socialcast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/socialcast/subscriptions","organizations_url":"https://api.github.com/users/socialcast/orgs","repos_url":"https://api.github.com/users/socialcast/repos","events_url":"https://api.github.com/users/socialcast/events{/privacy}","received_events_url":"https://api.github.com/users/socialcast/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/socialcast/socialcast-git-extensions","description":"","fork":false,"url":"https://api.github.com/repos/socialcast/socialcast-git-extensions","forks_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/forks","keys_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/teams","hooks_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/hooks","issue_events_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/issues/events{/number}","events_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/events","assignees_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/assignees{/user}","branches_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/branches{/branch}","tags_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/tags","blobs_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/git/refs{/sha}","trees_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/statuses/{sha}","languages_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/languages","stargazers_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/stargazers","contributors_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/contributors","subscribers_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/subscribers","subscription_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/subscription","commits_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/commits{/sha}","git_commits_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/git/commits{/sha}","comments_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/comments{/number}","issue_comment_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/issues/comments{/number}","contents_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/contents/{+path}","compare_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/merges","archive_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/downloads","issues_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/issues{/number}","pulls_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls{/number}","milestones_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/milestones{/number}","notifications_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/labels{/name}","releases_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/releases{/id}","deployments_url":"https://api.github.com/repos/socialcast/socialcast-git-extensions/deployments","created_at":"2010-10-18T21:23:25Z","updated_at":"2015-04-29T14:41:48Z","pushed_at":"2016-05-11T20:52:14Z","git_url":"git://github.com/socialcast/socialcast-git-extensions.git","ssh_url":"git@github.com:socialcast/socialcast-git-extensions.git","clone_url":"https://github.com/socialcast/socialcast-git-extensions.git","svn_url":"https://github.com/socialcast/socialcast-git-extensions","homepage":"","size":491,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":12,"forks":6,"open_issues":12,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls/97"},"html":{"href":"https://github.com/socialcast/socialcast-git-extensions/pull/97"},"issue":{"href":"https://api.github.com/repos/socialcast/socialcast-git-extensions/issues/97"},"comments":{"href":"https://api.github.com/repos/socialcast/socialcast-git-extensions/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/socialcast/socialcast-git-extensions/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/socialcast/socialcast-git-extensions/statuses/a5371dbf016f0e14e63d7dd4ed949a9fcbdea839"}}}}