{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/origin/pulls/comments/40275061","id":40275061,"diff_hunk":"@@ -0,0 +1,102 @@\n+<div ng-controller=\"ProjectController\">\n+  <div ng-controller=\"CreateFinishedController\" class=\"container next-steps\">\n+    <ol class=\"breadcrumb\">\n+      <li><a href=\"{{projectName | projectOverviewURL}}\">{{(project | displayName) || projectName}}</a></li>\n+      <li><a href=\"project/{{projectName}}/create\">Add to Project</a></li>\n+      <li ng-if=\"name\"><a href=\"#\">{{name}}</a></li>\n+      <li class=\"active\"><strong ng-if=\"pendingTasks(tasks()).length\">Creating</strong><strong ng-if=\"!pendingTasks(tasks()).length\">Completed</strong></li>\n+    </ol>\n+\n+    <div ng-controller=\"TasksController\">\n+      <div class=\"page-header page-header-bleed-right\">\n+        <h1 ng-if=\"!tasks().length\">Completed</h1>\n+        <h1 ng-if=\"tasks().length && allTasksSuccessful(tasks())\">Completed successfully</h1>\n+        <h1 ng-if=\"pendingTasks(tasks()).length\">Creating...</h1>\n+        <h1 ng-if=\"!pendingTasks(tasks()).length && erroredTasks(tasks()).length\">Completed, with errors</h1>\n+      </div>\n+\n+      <div class=\"buttons\" ng-if=\"!tasks().length\">\n+        <a class=\"btn btn-primary btn-lg\" href=\"project/{{projectName}}/overview\">Go to overview</a>\n+      </div>\n+\n+      <div ng-repeat=\"task in tasks()\">\n+        <h3>\n+          <i class=\"spinner spinner-xs spinner-inline\" ng-show=\"task.status=='started'\"></i>\n+          {{ task | taskTitle }}.\n+        </h3>\n+\n+        <div ng-repeat=\"alert in task.alerts\">\n+          <div ng-switch=\"alert.type\">\n+            <div ng-switch-when=\"error\">\n+              <span class=\"pficon-layered\">\n+                <span class=\"pficon pficon-error-octagon\"></span>\n+                <span class=\"pficon pficon-error-exclamation\"></span>\n+              </span>\n+              <span ng-if=\"alert.message\">{{alert.message}}</span><span ng-if=\"alert.details\">{{alert.details}}.</span>\n+            </div>\n+            <div ng-switch-when=\"warning\">\n+              <span class=\"pficon-layered\">\n+                <span class=\"pficon pficon-warning-triangle\"></span>\n+                <span class=\"pficon pficon-warning-exclamation\"></span>\n+              </span>\n+              <span ng-if=\"alert.message\">{{alert.message}}</span><span ng-if=\"alert.details\">{{alert.details}}.</span>\n+            </div>\n+            <div ng-switch-when=\"success\">\n+              <span class=\"pficon pficon-ok\"></span>\n+              <span ng-if=\"alert.message\">{{alert.message}}</span><span ng-if=\"alert.details\">{{alert.details}}</span>\n+            </div>  \n+          </div>\n+        </div>\n+\n+        <div class=\"buttons gutter-top\" ng-if=\"!task.hasErrors\">\n+          <a class=\"btn btn-primary btn-lg\" href=\"project/{{projectName}}/overview\">Go to overview</a>\n+        </div>\n+\n+      </div>\n+    </div>\n+\n+    <div class=\"row\" ng-controller=\"TasksController\">\n+      <div ng-if=\"!pendingTasks(tasks()).length && erroredTasks(tasks()).length\" class=\"col-md-12\">\n+        <h2>Things you can do</h2>\n+        <p>Go to the <a href=\"project/{{projectName}}/overview\">overview page</a> to see more details about this project. Make sure you don't already have <a href=\"project/{{projectName}}/browse/services\">services</a>, <a href=\"project/{{projectName}}/browse/builds\">build configs</a>, <a href=\"project/{{projectName}}/browse/deployments\">deployment configs</a>, or other resources with the same names you are trying to create. Refer to the <a target=\"_blank\" href=\"{{'new_app' | helpLink}}\">documentation for creating new applications</a> for more information.</p>\n+\n+        <h3>Command line tools</h3>\n+        <p>You may want to use the <code>oc</code> command line tool to help with troubleshooting. After <a target=\"_blank\" href=\"{{'get_started_cli' | helpLink}}\">downloading and installing</a> it, you can log in, switch to this particular project, and try some commands :</p>\n+\n+        <pre class=\"code prettyprint\">oc login {{baseUrl}}\n+oc project {{projectName}}\n+oc build-logs -h\n+oc logs -h</pre>\n+\n+        <p>For more information about the command line tools, check the <a target=\"_blank\" href=\"{{'cli' | helpLink}}\">CLI Reference</a> and <a target=\"_blank\" href=\"{{'basic_cli_operations' | helpLink}}\">Basic CLI Operations</a>.</p>\n+      </div>\n+\n+      <div ng-if=\"allTasksSuccessful(tasks())\" ng-class=\"createdBuildConfigWithGitHubTrigger() ? 'col-md-6' : 'col-md-12'\">\n+        <h2>Manage your app</h2>\n+        <p>The web console is convenient, but if you need deeper control you may want to try our command line tools.</p>\n+        \n+        <h3>Command line tools</h3>\n+        <p><a target=\"_blank\" href=\"{{'get_started_cli' | helpLink}}\">Download and install</a> the <code>oc</code> command line tool. After that, you can start by logging in, switching to this particular project, and displaying an overview of it, by doing:</p>\n+\n+        <pre class=\"code prettyprint\">oc login {{baseUrl}}\n+oc project {{projectName}}\n+oc status</pre>\n+\n+        <p>For more information about the command line tools, check the <a target=\"_blank\" href=\"{{'cli' | helpLink}}\">CLI Reference</a> and <a target=\"_blank\" href=\"{{'basic_cli_operations' | helpLink}}\">Basic CLI Operations</a>.</p>\n+      </div>\n+\n+      <div ng-if=\"createdBuildConfigWithGitHubTrigger()\" class=\"col-md-6\">\n+        <h2 ng-if=\"createdBuildConfig\">Making code changes</h2>\n+        <div ng-repeat=\"trigger in createdBuildConfig.spec.triggers\">\n+          <div ng-switch=\"trigger.type\">","path":"assets/app/views/create/nextSteps.html","position":91,"original_position":91,"commit_id":"54ba1c1b5df9444177f524a93242c255b15d045b","original_commit_id":"54ba1c1b5df9444177f524a93242c255b15d045b","user":{"login":"jwforres","id":1467629,"avatar_url":"https://avatars.githubusercontent.com/u/1467629?v=3","gravatar_id":"","url":"https://api.github.com/users/jwforres","html_url":"https://github.com/jwforres","followers_url":"https://api.github.com/users/jwforres/followers","following_url":"https://api.github.com/users/jwforres/following{/other_user}","gists_url":"https://api.github.com/users/jwforres/gists{/gist_id}","starred_url":"https://api.github.com/users/jwforres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwforres/subscriptions","organizations_url":"https://api.github.com/users/jwforres/orgs","repos_url":"https://api.github.com/users/jwforres/repos","events_url":"https://api.github.com/users/jwforres/events{/privacy}","received_events_url":"https://api.github.com/users/jwforres/received_events","type":"User","site_admin":false},"body":"since you arent actually handling any other types and dont have a switch default, just make this an `ng-if=\"trigger.type == 'GitHub'\"`","created_at":"2015-09-24T00:32:08Z","updated_at":"2015-09-24T00:32:08Z","html_url":"https://github.com/openshift/origin/pull/4728#discussion_r40275061","pull_request_url":"https://api.github.com/repos/openshift/origin/pulls/4728","_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments/40275061"},"html":{"href":"https://github.com/openshift/origin/pull/4728#discussion_r40275061"},"pull_request":{"href":"https://api.github.com/repos/openshift/origin/pulls/4728"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/4728","id":45445132,"html_url":"https://github.com/openshift/origin/pull/4728","diff_url":"https://github.com/openshift/origin/pull/4728.diff","patch_url":"https://github.com/openshift/origin/pull/4728.patch","issue_url":"https://api.github.com/repos/openshift/origin/issues/4728","number":4728,"state":"open","locked":false,"title":"[WIP] Next steps page (after creating stuff in console)","user":{"login":"fabianofranz","id":158611,"avatar_url":"https://avatars.githubusercontent.com/u/158611?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianofranz","html_url":"https://github.com/fabianofranz","followers_url":"https://api.github.com/users/fabianofranz/followers","following_url":"https://api.github.com/users/fabianofranz/following{/other_user}","gists_url":"https://api.github.com/users/fabianofranz/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianofranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianofranz/subscriptions","organizations_url":"https://api.github.com/users/fabianofranz/orgs","repos_url":"https://api.github.com/users/fabianofranz/repos","events_url":"https://api.github.com/users/fabianofranz/events{/privacy}","received_events_url":"https://api.github.com/users/fabianofranz/received_events","type":"User","site_admin":false},"body":"Instead of going directly to the overview, this adds an interstitial page (like we did in v2) with possible next steps, like creating webhooks, downloading and installing the CLI, etc.","created_at":"2015-09-18T19:46:27Z","updated_at":"2015-09-24T00:32:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7de7eeb4a8359b273249be4a24cba27c130ef30e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/origin/pulls/4728/commits","review_comments_url":"https://api.github.com/repos/openshift/origin/pulls/4728/comments","review_comment_url":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/origin/issues/4728/comments","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/54ba1c1b5df9444177f524a93242c255b15d045b","head":{"label":"fabianofranz:522_next_steps_page","ref":"522_next_steps_page","sha":"54ba1c1b5df9444177f524a93242c255b15d045b","user":{"login":"fabianofranz","id":158611,"avatar_url":"https://avatars.githubusercontent.com/u/158611?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianofranz","html_url":"https://github.com/fabianofranz","followers_url":"https://api.github.com/users/fabianofranz/followers","following_url":"https://api.github.com/users/fabianofranz/following{/other_user}","gists_url":"https://api.github.com/users/fabianofranz/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianofranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianofranz/subscriptions","organizations_url":"https://api.github.com/users/fabianofranz/orgs","repos_url":"https://api.github.com/users/fabianofranz/repos","events_url":"https://api.github.com/users/fabianofranz/events{/privacy}","received_events_url":"https://api.github.com/users/fabianofranz/received_events","type":"User","site_admin":false},"repo":{"id":23366851,"name":"origin","full_name":"fabianofranz/origin","owner":{"login":"fabianofranz","id":158611,"avatar_url":"https://avatars.githubusercontent.com/u/158611?v=3","gravatar_id":"","url":"https://api.github.com/users/fabianofranz","html_url":"https://github.com/fabianofranz","followers_url":"https://api.github.com/users/fabianofranz/followers","following_url":"https://api.github.com/users/fabianofranz/following{/other_user}","gists_url":"https://api.github.com/users/fabianofranz/gists{/gist_id}","starred_url":"https://api.github.com/users/fabianofranz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fabianofranz/subscriptions","organizations_url":"https://api.github.com/users/fabianofranz/orgs","repos_url":"https://api.github.com/users/fabianofranz/repos","events_url":"https://api.github.com/users/fabianofranz/events{/privacy}","received_events_url":"https://api.github.com/users/fabianofranz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fabianofranz/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":true,"url":"https://api.github.com/repos/fabianofranz/origin","forks_url":"https://api.github.com/repos/fabianofranz/origin/forks","keys_url":"https://api.github.com/repos/fabianofranz/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fabianofranz/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fabianofranz/origin/teams","hooks_url":"https://api.github.com/repos/fabianofranz/origin/hooks","issue_events_url":"https://api.github.com/repos/fabianofranz/origin/issues/events{/number}","events_url":"https://api.github.com/repos/fabianofranz/origin/events","assignees_url":"https://api.github.com/repos/fabianofranz/origin/assignees{/user}","branches_url":"https://api.github.com/repos/fabianofranz/origin/branches{/branch}","tags_url":"https://api.github.com/repos/fabianofranz/origin/tags","blobs_url":"https://api.github.com/repos/fabianofranz/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fabianofranz/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fabianofranz/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/fabianofranz/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fabianofranz/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/fabianofranz/origin/languages","stargazers_url":"https://api.github.com/repos/fabianofranz/origin/stargazers","contributors_url":"https://api.github.com/repos/fabianofranz/origin/contributors","subscribers_url":"https://api.github.com/repos/fabianofranz/origin/subscribers","subscription_url":"https://api.github.com/repos/fabianofranz/origin/subscription","commits_url":"https://api.github.com/repos/fabianofranz/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/fabianofranz/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/fabianofranz/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/fabianofranz/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/fabianofranz/origin/contents/{+path}","compare_url":"https://api.github.com/repos/fabianofranz/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fabianofranz/origin/merges","archive_url":"https://api.github.com/repos/fabianofranz/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fabianofranz/origin/downloads","issues_url":"https://api.github.com/repos/fabianofranz/origin/issues{/number}","pulls_url":"https://api.github.com/repos/fabianofranz/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/fabianofranz/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/fabianofranz/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fabianofranz/origin/labels{/name}","releases_url":"https://api.github.com/repos/fabianofranz/origin/releases{/id}","created_at":"2014-08-26T21:06:40Z","updated_at":"2015-04-24T16:39:47Z","pushed_at":"2015-09-23T21:00:13Z","git_url":"git://github.com/fabianofranz/origin.git","ssh_url":"git@github.com:fabianofranz/origin.git","clone_url":"https://github.com/fabianofranz/origin.git","svn_url":"https://github.com/fabianofranz/origin","homepage":"https://openshift.github.io","size":142510,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"openshift:master","ref":"master","sha":"1e9e368666ee6296316cc470a1cd744ce9ac3410","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":22442668,"name":"origin","full_name":"openshift/origin","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":false,"url":"https://api.github.com/repos/openshift/origin","forks_url":"https://api.github.com/repos/openshift/origin/forks","keys_url":"https://api.github.com/repos/openshift/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/origin/teams","hooks_url":"https://api.github.com/repos/openshift/origin/hooks","issue_events_url":"https://api.github.com/repos/openshift/origin/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/origin/events","assignees_url":"https://api.github.com/repos/openshift/origin/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/origin/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/origin/tags","blobs_url":"https://api.github.com/repos/openshift/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/origin/languages","stargazers_url":"https://api.github.com/repos/openshift/origin/stargazers","contributors_url":"https://api.github.com/repos/openshift/origin/contributors","subscribers_url":"https://api.github.com/repos/openshift/origin/subscribers","subscription_url":"https://api.github.com/repos/openshift/origin/subscription","commits_url":"https://api.github.com/repos/openshift/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/origin/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/origin/merges","archive_url":"https://api.github.com/repos/openshift/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/origin/downloads","issues_url":"https://api.github.com/repos/openshift/origin/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/origin/labels{/name}","releases_url":"https://api.github.com/repos/openshift/origin/releases{/id}","created_at":"2014-07-30T20:04:05Z","updated_at":"2015-09-23T17:57:35Z","pushed_at":"2015-09-23T22:29:15Z","git_url":"git://github.com/openshift/origin.git","ssh_url":"git@github.com:openshift/origin.git","clone_url":"https://github.com/openshift/origin.git","svn_url":"https://github.com/openshift/origin","homepage":"http://www.openshift.org","size":229352,"stargazers_count":694,"watchers_count":694,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":421,"mirror_url":null,"open_issues_count":561,"forks":421,"open_issues":561,"watchers":694,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/4728"},"html":{"href":"https://github.com/openshift/origin/pull/4728"},"issue":{"href":"https://api.github.com/repos/openshift/origin/issues/4728"},"comments":{"href":"https://api.github.com/repos/openshift/origin/issues/4728/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/origin/pulls/4728/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/origin/pulls/4728/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/origin/statuses/54ba1c1b5df9444177f524a93242c255b15d045b"}}}}