{"action":"created","comment":{"url":"https://api.github.com/repos/zendesk/samson/pulls/comments/80133347","id":80133347,"diff_hunk":"@@ -0,0 +1,79 @@\n+<h1>Deploy to <%= @deploy_group.name %></h1>\n+\n+<label>Environment</label>\n+<div>\n+  <%= @deploy_group.environment.name %>\n+</div>\n+\n+<h2>Creating Stages</h2>\n+\n+<small>These stages will be created.</small>\n+\n+<section class=\"clearfix\">\n+  <div class=\"table table-hover table-condensed\">\n+    <table class=\"table\">\n+      <thead>\n+        <tr>\n+          <th>Project</th>\n+          <th>New Stage Name</th>\n+          <th>Copied From</th>\n+        </tr>\n+      </thead>\n+\n+      <tbody>\n+        <% @stages_to_create.each do |template_stage| %>\n+          <tr>\n+            <td><%= template_stage.project.name %></td>\n+            <td><%= @deploy_group.name %></td>\n+            <td><%= template_stage.name %></td>\n+          </tr>\n+        <% end %>\n+      </tbody>\n+    </table>\n+  </div>\n+\n+  <div class=\"admin-actions\">\n+    <div class=\"pull-right\">\n+      <%= link_to \"Create Stages\",\n+        create_all_stages_admin_deploy_group_path(@deploy_group),\n+        class: \"btn btn-primary\",\n+        data: {\n+          method: \"post\",\n+          confirm: \"All Project marked 'Include in New Deploy Groups' will get a stage for this deploy group.\\n\\n\" +\n+                   \"Create all missing stages for this deploy group now?\"\n+        }\n+      %>\n+\n+      <%= link_to \"Cancel\", admin_deploy_group_path(@deploy_group), class: \"btn btn-default\"%>\n+    </div>\n+  </div>\n+</section>\n+\n+\n+<h2>Stages Already Created</h2>","path":"app/views/admin/deploy_groups/create_all_stages_verify.html.erb","position":53,"original_position":53,"commit_id":"11b037441a09b2e2223814d437e7145b3d50f62f","original_commit_id":"11b037441a09b2e2223814d437e7145b3d50f62f","user":{"login":"grosser","id":11367,"avatar_url":"https://avatars.githubusercontent.com/u/11367?v=3","gravatar_id":"","url":"https://api.github.com/users/grosser","html_url":"https://github.com/grosser","followers_url":"https://api.github.com/users/grosser/followers","following_url":"https://api.github.com/users/grosser/following{/other_user}","gists_url":"https://api.github.com/users/grosser/gists{/gist_id}","starred_url":"https://api.github.com/users/grosser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grosser/subscriptions","organizations_url":"https://api.github.com/users/grosser/orgs","repos_url":"https://api.github.com/users/grosser/repos","events_url":"https://api.github.com/users/grosser/events{/privacy}","received_events_url":"https://api.github.com/users/grosser/received_events","type":"User","site_admin":false},"body":"simplify these 2 lines into `Existing stages for <deploy group>` ?","created_at":"2016-09-22T20:50:15Z","updated_at":"2016-09-22T20:55:07Z","html_url":"https://github.com/zendesk/samson/pull/1304#discussion_r80133347","pull_request_url":"https://api.github.com/repos/zendesk/samson/pulls/1304","_links":{"self":{"href":"https://api.github.com/repos/zendesk/samson/pulls/comments/80133347"},"html":{"href":"https://github.com/zendesk/samson/pull/1304#discussion_r80133347"},"pull_request":{"href":"https://api.github.com/repos/zendesk/samson/pulls/1304"}}},"pull_request":{"url":"https://api.github.com/repos/zendesk/samson/pulls/1304","id":86408819,"html_url":"https://github.com/zendesk/samson/pull/1304","diff_url":"https://github.com/zendesk/samson/pull/1304.diff","patch_url":"https://github.com/zendesk/samson/pull/1304.patch","issue_url":"https://api.github.com/repos/zendesk/samson/issues/1304","number":1304,"state":"open","locked":false,"title":"Add interstitial page review actions when creating new stages.","user":{"login":"dragonfax","id":933806,"avatar_url":"https://avatars.githubusercontent.com/u/933806?v=3","gravatar_id":"","url":"https://api.github.com/users/dragonfax","html_url":"https://github.com/dragonfax","followers_url":"https://api.github.com/users/dragonfax/followers","following_url":"https://api.github.com/users/dragonfax/following{/other_user}","gists_url":"https://api.github.com/users/dragonfax/gists{/gist_id}","starred_url":"https://api.github.com/users/dragonfax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dragonfax/subscriptions","organizations_url":"https://api.github.com/users/dragonfax/orgs","repos_url":"https://api.github.com/users/dragonfax/repos","events_url":"https://api.github.com/users/dragonfax/events{/privacy}","received_events_url":"https://api.github.com/users/dragonfax/received_events","type":"User","site_admin":false},"body":"\r\n### Screenshot\r\n\r\n![samson](https://cloud.githubusercontent.com/assets/933806/18765031/c79e381c-80c8-11e6-977d-ca7b9fca34be.png)\r\n\r\n\r\n\r\n### References\r\n\r\n* JIRA - https://zendesk.atlassian.net/browse/TOOLS-872\r\n\r\n### Risks\r\n\r\nNone\r\n\r\nJust adding a read-only page to an existing workflow.\r\n\r\n\r\n","created_at":"2016-09-22T20:30:32Z","updated_at":"2016-09-22T20:55:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"796e4b4c424ba129f85c0c4cc4d60df8ee49c918","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/zendesk/samson/pulls/1304/commits","review_comments_url":"https://api.github.com/repos/zendesk/samson/pulls/1304/comments","review_comment_url":"https://api.github.com/repos/zendesk/samson/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zendesk/samson/issues/1304/comments","statuses_url":"https://api.github.com/repos/zendesk/samson/statuses/11b037441a09b2e2223814d437e7145b3d50f62f","head":{"label":"zendesk:jstillwell/create_stage_interstitial","ref":"jstillwell/create_stage_interstitial","sha":"11b037441a09b2e2223814d437e7145b3d50f62f","user":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"repo":{"id":20208662,"name":"samson","full_name":"zendesk/samson","owner":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendesk/samson","description":"Web interface for deployments","fork":false,"url":"https://api.github.com/repos/zendesk/samson","forks_url":"https://api.github.com/repos/zendesk/samson/forks","keys_url":"https://api.github.com/repos/zendesk/samson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendesk/samson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendesk/samson/teams","hooks_url":"https://api.github.com/repos/zendesk/samson/hooks","issue_events_url":"https://api.github.com/repos/zendesk/samson/issues/events{/number}","events_url":"https://api.github.com/repos/zendesk/samson/events","assignees_url":"https://api.github.com/repos/zendesk/samson/assignees{/user}","branches_url":"https://api.github.com/repos/zendesk/samson/branches{/branch}","tags_url":"https://api.github.com/repos/zendesk/samson/tags","blobs_url":"https://api.github.com/repos/zendesk/samson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendesk/samson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendesk/samson/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendesk/samson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendesk/samson/statuses/{sha}","languages_url":"https://api.github.com/repos/zendesk/samson/languages","stargazers_url":"https://api.github.com/repos/zendesk/samson/stargazers","contributors_url":"https://api.github.com/repos/zendesk/samson/contributors","subscribers_url":"https://api.github.com/repos/zendesk/samson/subscribers","subscription_url":"https://api.github.com/repos/zendesk/samson/subscription","commits_url":"https://api.github.com/repos/zendesk/samson/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendesk/samson/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendesk/samson/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendesk/samson/issues/comments{/number}","contents_url":"https://api.github.com/repos/zendesk/samson/contents/{+path}","compare_url":"https://api.github.com/repos/zendesk/samson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendesk/samson/merges","archive_url":"https://api.github.com/repos/zendesk/samson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendesk/samson/downloads","issues_url":"https://api.github.com/repos/zendesk/samson/issues{/number}","pulls_url":"https://api.github.com/repos/zendesk/samson/pulls{/number}","milestones_url":"https://api.github.com/repos/zendesk/samson/milestones{/number}","notifications_url":"https://api.github.com/repos/zendesk/samson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendesk/samson/labels{/name}","releases_url":"https://api.github.com/repos/zendesk/samson/releases{/id}","deployments_url":"https://api.github.com/repos/zendesk/samson/deployments","created_at":"2014-05-27T05:55:57Z","updated_at":"2016-09-22T19:15:41Z","pushed_at":"2016-09-22T20:30:32Z","git_url":"git://github.com/zendesk/samson.git","ssh_url":"git@github.com:zendesk/samson.git","clone_url":"https://github.com/zendesk/samson.git","svn_url":"https://github.com/zendesk/samson","homepage":null,"size":210539,"stargazers_count":742,"watchers_count":742,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":147,"mirror_url":null,"open_issues_count":64,"forks":147,"open_issues":64,"watchers":742,"default_branch":"master"}},"base":{"label":"zendesk:master","ref":"master","sha":"95ff449cb5345d59fb03fde7f6546e34e451c821","user":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"repo":{"id":20208662,"name":"samson","full_name":"zendesk/samson","owner":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendesk/samson","description":"Web interface for deployments","fork":false,"url":"https://api.github.com/repos/zendesk/samson","forks_url":"https://api.github.com/repos/zendesk/samson/forks","keys_url":"https://api.github.com/repos/zendesk/samson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendesk/samson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendesk/samson/teams","hooks_url":"https://api.github.com/repos/zendesk/samson/hooks","issue_events_url":"https://api.github.com/repos/zendesk/samson/issues/events{/number}","events_url":"https://api.github.com/repos/zendesk/samson/events","assignees_url":"https://api.github.com/repos/zendesk/samson/assignees{/user}","branches_url":"https://api.github.com/repos/zendesk/samson/branches{/branch}","tags_url":"https://api.github.com/repos/zendesk/samson/tags","blobs_url":"https://api.github.com/repos/zendesk/samson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendesk/samson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendesk/samson/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendesk/samson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendesk/samson/statuses/{sha}","languages_url":"https://api.github.com/repos/zendesk/samson/languages","stargazers_url":"https://api.github.com/repos/zendesk/samson/stargazers","contributors_url":"https://api.github.com/repos/zendesk/samson/contributors","subscribers_url":"https://api.github.com/repos/zendesk/samson/subscribers","subscription_url":"https://api.github.com/repos/zendesk/samson/subscription","commits_url":"https://api.github.com/repos/zendesk/samson/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendesk/samson/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendesk/samson/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendesk/samson/issues/comments{/number}","contents_url":"https://api.github.com/repos/zendesk/samson/contents/{+path}","compare_url":"https://api.github.com/repos/zendesk/samson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendesk/samson/merges","archive_url":"https://api.github.com/repos/zendesk/samson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendesk/samson/downloads","issues_url":"https://api.github.com/repos/zendesk/samson/issues{/number}","pulls_url":"https://api.github.com/repos/zendesk/samson/pulls{/number}","milestones_url":"https://api.github.com/repos/zendesk/samson/milestones{/number}","notifications_url":"https://api.github.com/repos/zendesk/samson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendesk/samson/labels{/name}","releases_url":"https://api.github.com/repos/zendesk/samson/releases{/id}","deployments_url":"https://api.github.com/repos/zendesk/samson/deployments","created_at":"2014-05-27T05:55:57Z","updated_at":"2016-09-22T19:15:41Z","pushed_at":"2016-09-22T20:30:32Z","git_url":"git://github.com/zendesk/samson.git","ssh_url":"git@github.com:zendesk/samson.git","clone_url":"https://github.com/zendesk/samson.git","svn_url":"https://github.com/zendesk/samson","homepage":null,"size":210539,"stargazers_count":742,"watchers_count":742,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":147,"mirror_url":null,"open_issues_count":64,"forks":147,"open_issues":64,"watchers":742,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zendesk/samson/pulls/1304"},"html":{"href":"https://github.com/zendesk/samson/pull/1304"},"issue":{"href":"https://api.github.com/repos/zendesk/samson/issues/1304"},"comments":{"href":"https://api.github.com/repos/zendesk/samson/issues/1304/comments"},"review_comments":{"href":"https://api.github.com/repos/zendesk/samson/pulls/1304/comments"},"review_comment":{"href":"https://api.github.com/repos/zendesk/samson/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zendesk/samson/pulls/1304/commits"},"statuses":{"href":"https://api.github.com/repos/zendesk/samson/statuses/11b037441a09b2e2223814d437e7145b3d50f62f"}}}}
{"actor":{"display_login":"grosser"}}