{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/origin/pulls/comments/25337753","id":25337753,"diff_hunk":"@@ -8,21 +8,86 @@\n           <em>{{emptyMessage}}</em>\n         </div>\n       </div>\n-      <div style=\"margin-bottom: 10px;\" ng-repeat=\"build in builds\">\n-        <h3>{{build.metadata.labels.buildconfig}} <span class=\"small\">({{build.metadata.name}})</span></h3>\n-        <div>Created: <relative-timestamp timestamp=\"build.metadata.creationTimestamp\"></relative-timestamp></div>            \n-        <div>Status: {{build.status}}</div>\n-        <div>Build strategy: {{build.parameters.strategy.type}}</div>\n-        <div ng-if=\"build.parameters.strategy.type == 'STI'\">\n-          Builder image: {{build.parameters.strategy.stiStrategy.builderImage}}\n+      <div ng-repeat=\"(buildConfigName, buildConfig) in buildConfigs\">\n+        <h2>{{buildConfigName}}</h2>\n+        <div>Build strategy: {{buildConfig.parameters.strategy.type}}</div>\n+        <div ng-if=\"buildConfig.parameters.strategy.type == 'STI'\">\n+          Builder image: {{buildConfig.parameters.strategy.stiStrategy.builderImage}}\n         </div>\n-        <div ng-if=\"build.parameters.source\">\n-          <div ng-if=\"build.parameters.source.type == 'Git'\">Source repo: {{build.parameters.source.git.uri}}</div>\n-          <!-- TODO add git ref details -->\n+        <div ng-if=\"buildConfig.parameters.source\">\n+          <div ng-if=\"buildConfig.parameters.source.type == 'Git'\">Source repo: {{buildConfig.parameters.source.git.uri}}</div>\n         </div>\n-        <div>Output image: {{build.parameters.output.imageTag}}</div>   \n-        <div>Output image registry: {{build.parameters.output.registry}}</div>   \n-      </div>      \n+        <div ng-switch=\"buildConfig.parameters.output.to.kind\">","path":"assets/app/views/builds.html","position":26,"original_position":26,"commit_id":"72244c91b7dffa80eef21ee03aaa13a65cab277d","original_commit_id":"72244c91b7dffa80eef21ee03aaa13a65cab277d","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":"i'm not seeing output.dockerImageReference coming back from the API","created_at":"2015-02-25T13:05:38Z","updated_at":"2015-02-25T13:05:38Z","html_url":"https://github.com/openshift/origin/pull/1134#discussion_r25337753","pull_request_url":"https://api.github.com/repos/openshift/origin/pulls/1134","_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments/25337753"},"html":{"href":"https://github.com/openshift/origin/pull/1134#discussion_r25337753"},"pull_request":{"href":"https://api.github.com/repos/openshift/origin/pulls/1134"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/origin/pulls/1134","id":29943087,"html_url":"https://github.com/openshift/origin/pull/1134","diff_url":"https://github.com/openshift/origin/pull/1134.diff","patch_url":"https://github.com/openshift/origin/pull/1134.patch","issue_url":"https://api.github.com/repos/openshift/origin/issues/1134","number":1134,"state":"open","locked":false,"title":"Builds page - group builds by build config and show more details for build configs","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":null,"created_at":"2015-02-24T22:35:37Z","updated_at":"2015-02-25T13:05:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7055d282e303786acf9ccd48798f42e187979b75","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/origin/pulls/1134/commits","review_comments_url":"https://api.github.com/repos/openshift/origin/pulls/1134/comments","review_comment_url":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/origin/issues/1134/comments","statuses_url":"https://api.github.com/repos/openshift/origin/statuses/72244c91b7dffa80eef21ee03aaa13a65cab277d","head":{"label":"jwforres:build_config_details","ref":"build_config_details","sha":"72244c91b7dffa80eef21ee03aaa13a65cab277d","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},"repo":{"id":22971182,"name":"origin","full_name":"jwforres/origin","owner":{"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},"private":false,"html_url":"https://github.com/jwforres/origin","description":"OpenShift 3 - build, deploy, and manage your applications with Docker and Kubernetes","fork":true,"url":"https://api.github.com/repos/jwforres/origin","forks_url":"https://api.github.com/repos/jwforres/origin/forks","keys_url":"https://api.github.com/repos/jwforres/origin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jwforres/origin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jwforres/origin/teams","hooks_url":"https://api.github.com/repos/jwforres/origin/hooks","issue_events_url":"https://api.github.com/repos/jwforres/origin/issues/events{/number}","events_url":"https://api.github.com/repos/jwforres/origin/events","assignees_url":"https://api.github.com/repos/jwforres/origin/assignees{/user}","branches_url":"https://api.github.com/repos/jwforres/origin/branches{/branch}","tags_url":"https://api.github.com/repos/jwforres/origin/tags","blobs_url":"https://api.github.com/repos/jwforres/origin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jwforres/origin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jwforres/origin/git/refs{/sha}","trees_url":"https://api.github.com/repos/jwforres/origin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jwforres/origin/statuses/{sha}","languages_url":"https://api.github.com/repos/jwforres/origin/languages","stargazers_url":"https://api.github.com/repos/jwforres/origin/stargazers","contributors_url":"https://api.github.com/repos/jwforres/origin/contributors","subscribers_url":"https://api.github.com/repos/jwforres/origin/subscribers","subscription_url":"https://api.github.com/repos/jwforres/origin/subscription","commits_url":"https://api.github.com/repos/jwforres/origin/commits{/sha}","git_commits_url":"https://api.github.com/repos/jwforres/origin/git/commits{/sha}","comments_url":"https://api.github.com/repos/jwforres/origin/comments{/number}","issue_comment_url":"https://api.github.com/repos/jwforres/origin/issues/comments{/number}","contents_url":"https://api.github.com/repos/jwforres/origin/contents/{+path}","compare_url":"https://api.github.com/repos/jwforres/origin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jwforres/origin/merges","archive_url":"https://api.github.com/repos/jwforres/origin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jwforres/origin/downloads","issues_url":"https://api.github.com/repos/jwforres/origin/issues{/number}","pulls_url":"https://api.github.com/repos/jwforres/origin/pulls{/number}","milestones_url":"https://api.github.com/repos/jwforres/origin/milestones{/number}","notifications_url":"https://api.github.com/repos/jwforres/origin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jwforres/origin/labels{/name}","releases_url":"https://api.github.com/repos/jwforres/origin/releases{/id}","created_at":"2014-08-14T22:53:50Z","updated_at":"2015-01-15T19:24:31Z","pushed_at":"2015-02-24T22:35:34Z","git_url":"git://github.com/jwforres/origin.git","ssh_url":"git@github.com:jwforres/origin.git","clone_url":"https://github.com/jwforres/origin.git","svn_url":"https://github.com/jwforres/origin","homepage":"https://openshift.github.io","size":45449,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openshift:master","ref":"master","sha":"3b05d7dd67b5524e6d88fc9ccfa4dce9b9de2bed","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-02-25T08:13:50Z","pushed_at":"2015-02-25T07:43:14Z","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":"https://openshift.github.io","size":59607,"stargazers_count":290,"watchers_count":290,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":152,"mirror_url":null,"open_issues_count":99,"forks":152,"open_issues":99,"watchers":290,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/origin/pulls/1134"},"html":{"href":"https://github.com/openshift/origin/pull/1134"},"issue":{"href":"https://api.github.com/repos/openshift/origin/issues/1134"},"comments":{"href":"https://api.github.com/repos/openshift/origin/issues/1134/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/origin/pulls/1134/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/origin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/origin/pulls/1134/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/origin/statuses/72244c91b7dffa80eef21ee03aaa13a65cab277d"}}}}