GitHub PullRequestReviewCommentEvent at 2014-12-19 16:35:14
Repository: katello
Actor: ehelms
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Katello/katello/pulls/comments/22113661","id":22113661,"diff_hunk":"@@ -46,12 +46,16 @@ child :product do |product|\n   end\n end\n \n-child :environment => :environment do |_repo|\n-  attribute :id\n+if @object && @object.library_instance_id.nil?\n+\n+  node :content_view_environments do |repository|\n+    Katello::RepositoryPresenter.new(repository).content_view_environments\n+  end\n+","path":"app/views/katello/api/v2/repositories/show.json.rabl","position":11,"original_position":11,"commit_id":"ff5f28575b14a881c07b2be84f35980a361e7f8f","original_commit_id":"ff5f28575b14a881c07b2be84f35980a361e7f8f","user":{"login":"ehelms","id":293363,"avatar_url":"https://avatars.githubusercontent.com/u/293363?v=3","gravatar_id":"","url":"https://api.github.com/users/ehelms","html_url":"https://github.com/ehelms","followers_url":"https://api.github.com/users/ehelms/followers","following_url":"https://api.github.com/users/ehelms/following{/other_user}","gists_url":"https://api.github.com/users/ehelms/gists{/gist_id}","starred_url":"https://api.github.com/users/ehelms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehelms/subscriptions","organizations_url":"https://api.github.com/users/ehelms/orgs","repos_url":"https://api.github.com/users/ehelms/repos","events_url":"https://api.github.com/users/ehelms/events{/privacy}","received_events_url":"https://api.github.com/users/ehelms/received_events","type":"User","site_admin":false},"body":"Index as this was a way to provide seeing a list of repositories and knowing what content views they are part of.","created_at":"2014-12-19T16:35:14Z","updated_at":"2014-12-19T16:35:14Z","html_url":"https://github.com/Katello/katello/pull/4866#discussion_r22113661","pull_request_url":"https://api.github.com/repos/Katello/katello/pulls/4866","_links":{"self":{"href":"https://api.github.com/repos/Katello/katello/pulls/comments/22113661"},"html":{"href":"https://github.com/Katello/katello/pull/4866#discussion_r22113661"},"pull_request":{"href":"https://api.github.com/repos/Katello/katello/pulls/4866"}}},"pull_request":{"url":"https://api.github.com/repos/Katello/katello/pulls/4866","id":25851445,"html_url":"https://github.com/Katello/katello/pull/4866","diff_url":"https://github.com/Katello/katello/pull/4866.diff","patch_url":"https://github.com/Katello/katello/pull/4866.patch","issue_url":"https://api.github.com/repos/Katello/katello/issues/4866","number":4866,"state":"open","locked":false,"title":"Fixes #8655: Show content view and environment pairings for library repo...","user":{"login":"ehelms","id":293363,"avatar_url":"https://avatars.githubusercontent.com/u/293363?v=3","gravatar_id":"","url":"https://api.github.com/users/ehelms","html_url":"https://github.com/ehelms","followers_url":"https://api.github.com/users/ehelms/followers","following_url":"https://api.github.com/users/ehelms/following{/other_user}","gists_url":"https://api.github.com/users/ehelms/gists{/gist_id}","starred_url":"https://api.github.com/users/ehelms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehelms/subscriptions","organizations_url":"https://api.github.com/users/ehelms/orgs","repos_url":"https://api.github.com/users/ehelms/repos","events_url":"https://api.github.com/users/ehelms/events{/privacy}","received_events_url":"https://api.github.com/users/ehelms/received_events","type":"User","site_admin":false},"body":"...sitories.","created_at":"2014-12-10T20:12:05Z","updated_at":"2014-12-19T16:35:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2f40375cfe89d07ceb0f2ea044c2736dd5eb23a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Katello/katello/pulls/4866/commits","review_comments_url":"https://api.github.com/repos/Katello/katello/pulls/4866/comments","review_comment_url":"https://api.github.com/repos/Katello/katello/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Katello/katello/issues/4866/comments","statuses_url":"https://api.github.com/repos/Katello/katello/statuses/ff5f28575b14a881c07b2be84f35980a361e7f8f","head":{"label":"ehelms:fixes-8655","ref":"fixes-8655","sha":"ff5f28575b14a881c07b2be84f35980a361e7f8f","user":{"login":"ehelms","id":293363,"avatar_url":"https://avatars.githubusercontent.com/u/293363?v=3","gravatar_id":"","url":"https://api.github.com/users/ehelms","html_url":"https://github.com/ehelms","followers_url":"https://api.github.com/users/ehelms/followers","following_url":"https://api.github.com/users/ehelms/following{/other_user}","gists_url":"https://api.github.com/users/ehelms/gists{/gist_id}","starred_url":"https://api.github.com/users/ehelms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehelms/subscriptions","organizations_url":"https://api.github.com/users/ehelms/orgs","repos_url":"https://api.github.com/users/ehelms/repos","events_url":"https://api.github.com/users/ehelms/events{/privacy}","received_events_url":"https://api.github.com/users/ehelms/received_events","type":"User","site_admin":false},"repo":{"id":4041354,"name":"katello","full_name":"ehelms/katello","owner":{"login":"ehelms","id":293363,"avatar_url":"https://avatars.githubusercontent.com/u/293363?v=3","gravatar_id":"","url":"https://api.github.com/users/ehelms","html_url":"https://github.com/ehelms","followers_url":"https://api.github.com/users/ehelms/followers","following_url":"https://api.github.com/users/ehelms/following{/other_user}","gists_url":"https://api.github.com/users/ehelms/gists{/gist_id}","starred_url":"https://api.github.com/users/ehelms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehelms/subscriptions","organizations_url":"https://api.github.com/users/ehelms/orgs","repos_url":"https://api.github.com/users/ehelms/repos","events_url":"https://api.github.com/users/ehelms/events{/privacy}","received_events_url":"https://api.github.com/users/ehelms/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ehelms/katello","description":"Katello integrates open source systems management tools into a single solution for controlling the lifecycle of your machines.","fork":true,"url":"https://api.github.com/repos/ehelms/katello","forks_url":"https://api.github.com/repos/ehelms/katello/forks","keys_url":"https://api.github.com/repos/ehelms/katello/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ehelms/katello/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ehelms/katello/teams","hooks_url":"https://api.github.com/repos/ehelms/katello/hooks","issue_events_url":"https://api.github.com/repos/ehelms/katello/issues/events{/number}","events_url":"https://api.github.com/repos/ehelms/katello/events","assignees_url":"https://api.github.com/repos/ehelms/katello/assignees{/user}","branches_url":"https://api.github.com/repos/ehelms/katello/branches{/branch}","tags_url":"https://api.github.com/repos/ehelms/katello/tags","blobs_url":"https://api.github.com/repos/ehelms/katello/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ehelms/katello/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ehelms/katello/git/refs{/sha}","trees_url":"https://api.github.com/repos/ehelms/katello/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ehelms/katello/statuses/{sha}","languages_url":"https://api.github.com/repos/ehelms/katello/languages","stargazers_url":"https://api.github.com/repos/ehelms/katello/stargazers","contributors_url":"https://api.github.com/repos/ehelms/katello/contributors","subscribers_url":"https://api.github.com/repos/ehelms/katello/subscribers","subscription_url":"https://api.github.com/repos/ehelms/katello/subscription","commits_url":"https://api.github.com/repos/ehelms/katello/commits{/sha}","git_commits_url":"https://api.github.com/repos/ehelms/katello/git/commits{/sha}","comments_url":"https://api.github.com/repos/ehelms/katello/comments{/number}","issue_comment_url":"https://api.github.com/repos/ehelms/katello/issues/comments/{number}","contents_url":"https://api.github.com/repos/ehelms/katello/contents/{+path}","compare_url":"https://api.github.com/repos/ehelms/katello/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ehelms/katello/merges","archive_url":"https://api.github.com/repos/ehelms/katello/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ehelms/katello/downloads","issues_url":"https://api.github.com/repos/ehelms/katello/issues{/number}","pulls_url":"https://api.github.com/repos/ehelms/katello/pulls{/number}","milestones_url":"https://api.github.com/repos/ehelms/katello/milestones{/number}","notifications_url":"https://api.github.com/repos/ehelms/katello/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ehelms/katello/labels{/name}","releases_url":"https://api.github.com/repos/ehelms/katello/releases{/id}","created_at":"2012-04-16T14:03:35Z","updated_at":"2014-07-29T00:45:44Z","pushed_at":"2014-12-19T02:14:57Z","git_url":"git://github.com/ehelms/katello.git","ssh_url":"git@github.com:ehelms/katello.git","clone_url":"https://github.com/ehelms/katello.git","svn_url":"https://github.com/ehelms/katello","homepage":"katello.org","size":75312,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"Katello:master","ref":"master","sha":"ad8584ed5f2cc32319ee6206ab13288c1191a658","user":{"login":"Katello","id":1316386,"avatar_url":"https://avatars.githubusercontent.com/u/1316386?v=3","gravatar_id":"","url":"https://api.github.com/users/Katello","html_url":"https://github.com/Katello","followers_url":"https://api.github.com/users/Katello/followers","following_url":"https://api.github.com/users/Katello/following{/other_user}","gists_url":"https://api.github.com/users/Katello/gists{/gist_id}","starred_url":"https://api.github.com/users/Katello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katello/subscriptions","organizations_url":"https://api.github.com/users/Katello/orgs","repos_url":"https://api.github.com/users/Katello/repos","events_url":"https://api.github.com/users/Katello/events{/privacy}","received_events_url":"https://api.github.com/users/Katello/received_events","type":"Organization","site_admin":false},"repo":{"id":4007018,"name":"katello","full_name":"Katello/katello","owner":{"login":"Katello","id":1316386,"avatar_url":"https://avatars.githubusercontent.com/u/1316386?v=3","gravatar_id":"","url":"https://api.github.com/users/Katello","html_url":"https://github.com/Katello","followers_url":"https://api.github.com/users/Katello/followers","following_url":"https://api.github.com/users/Katello/following{/other_user}","gists_url":"https://api.github.com/users/Katello/gists{/gist_id}","starred_url":"https://api.github.com/users/Katello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Katello/subscriptions","organizations_url":"https://api.github.com/users/Katello/orgs","repos_url":"https://api.github.com/users/Katello/repos","events_url":"https://api.github.com/users/Katello/events{/privacy}","received_events_url":"https://api.github.com/users/Katello/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Katello/katello","description":"Katello integrates open source systems management tools into a single solution for controlling the lifecycle of your machines.","fork":false,"url":"https://api.github.com/repos/Katello/katello","forks_url":"https://api.github.com/repos/Katello/katello/forks","keys_url":"https://api.github.com/repos/Katello/katello/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Katello/katello/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Katello/katello/teams","hooks_url":"https://api.github.com/repos/Katello/katello/hooks","issue_events_url":"https://api.github.com/repos/Katello/katello/issues/events{/number}","events_url":"https://api.github.com/repos/Katello/katello/events","assignees_url":"https://api.github.com/repos/Katello/katello/assignees{/user}","branches_url":"https://api.github.com/repos/Katello/katello/branches{/branch}","tags_url":"https://api.github.com/repos/Katello/katello/tags","blobs_url":"https://api.github.com/repos/Katello/katello/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Katello/katello/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Katello/katello/git/refs{/sha}","trees_url":"https://api.github.com/repos/Katello/katello/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Katello/katello/statuses/{sha}","languages_url":"https://api.github.com/repos/Katello/katello/languages","stargazers_url":"https://api.github.com/repos/Katello/katello/stargazers","contributors_url":"https://api.github.com/repos/Katello/katello/contributors","subscribers_url":"https://api.github.com/repos/Katello/katello/subscribers","subscription_url":"https://api.github.com/repos/Katello/katello/subscription","commits_url":"https://api.github.com/repos/Katello/katello/commits{/sha}","git_commits_url":"https://api.github.com/repos/Katello/katello/git/commits{/sha}","comments_url":"https://api.github.com/repos/Katello/katello/comments{/number}","issue_comment_url":"https://api.github.com/repos/Katello/katello/issues/comments/{number}","contents_url":"https://api.github.com/repos/Katello/katello/contents/{+path}","compare_url":"https://api.github.com/repos/Katello/katello/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Katello/katello/merges","archive_url":"https://api.github.com/repos/Katello/katello/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Katello/katello/downloads","issues_url":"https://api.github.com/repos/Katello/katello/issues{/number}","pulls_url":"https://api.github.com/repos/Katello/katello/pulls{/number}","milestones_url":"https://api.github.com/repos/Katello/katello/milestones{/number}","notifications_url":"https://api.github.com/repos/Katello/katello/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Katello/katello/labels{/name}","releases_url":"https://api.github.com/repos/Katello/katello/releases{/id}","created_at":"2012-04-12T16:59:08Z","updated_at":"2014-12-19T06:26:58Z","pushed_at":"2014-12-19T06:26:58Z","git_url":"git://github.com/Katello/katello.git","ssh_url":"git@github.com:Katello/katello.git","clone_url":"https://github.com/Katello/katello.git","svn_url":"https://github.com/Katello/katello","homepage":"katello.org","size":225910,"stargazers_count":145,"watchers_count":145,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":97,"mirror_url":null,"open_issues_count":107,"forks":97,"open_issues":107,"watchers":145,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Katello/katello/pulls/4866"},"html":{"href":"https://github.com/Katello/katello/pull/4866"},"issue":{"href":"https://api.github.com/repos/Katello/katello/issues/4866"},"comments":{"href":"https://api.github.com/repos/Katello/katello/issues/4866/comments"},"review_comments":{"href":"https://api.github.com/repos/Katello/katello/pulls/4866/comments"},"review_comment":{"href":"https://api.github.com/repos/Katello/katello/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Katello/katello/pulls/4866/commits"},"statuses":{"href":"https://api.github.com/repos/Katello/katello/statuses/ff5f28575b14a881c07b2be84f35980a361e7f8f"}}}}