{"action":"created","comment":{"url":"https://api.github.com/repos/gocd/gocd/pulls/comments/70377344","id":70377344,"diff_hunk":"@@ -16,26 +16,10 @@\n \n module ApiV1\n   module Scms\n-    class PluggableScmRepresenter < BaseRepresenter","path":"server/webapp/WEB-INF/rails.new/app/presenters/api_v1/scms/pluggable_scm_representer.rb","position":4,"original_position":4,"commit_id":"b613cc4c0730cdeb7e653e3a934da2c39f17ddd6","original_commit_id":"b613cc4c0730cdeb7e653e3a934da2c39f17ddd6","user":{"login":"zabil","id":54427,"avatar_url":"https://avatars.githubusercontent.com/u/54427?v=3","gravatar_id":"","url":"https://api.github.com/users/zabil","html_url":"https://github.com/zabil","followers_url":"https://api.github.com/users/zabil/followers","following_url":"https://api.github.com/users/zabil/following{/other_user}","gists_url":"https://api.github.com/users/zabil/gists{/gist_id}","starred_url":"https://api.github.com/users/zabil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zabil/subscriptions","organizations_url":"https://api.github.com/users/zabil/orgs","repos_url":"https://api.github.com/users/zabil/repos","events_url":"https://api.github.com/users/zabil/events{/privacy}","received_events_url":"https://api.github.com/users/zabil/received_events","type":"User","site_admin":false},"body":"The convention is 'summary',\r\nCan you rename this to PluggableScmSummaryRepresenter?","created_at":"2016-07-12T05:00:08Z","updated_at":"2016-07-12T05:00:08Z","html_url":"https://github.com/gocd/gocd/pull/2422#discussion_r70377344","pull_request_url":"https://api.github.com/repos/gocd/gocd/pulls/2422","_links":{"self":{"href":"https://api.github.com/repos/gocd/gocd/pulls/comments/70377344"},"html":{"href":"https://github.com/gocd/gocd/pull/2422#discussion_r70377344"},"pull_request":{"href":"https://api.github.com/repos/gocd/gocd/pulls/2422"}}},"pull_request":{"url":"https://api.github.com/repos/gocd/gocd/pulls/2422","id":77057731,"html_url":"https://github.com/gocd/gocd/pull/2422","diff_url":"https://github.com/gocd/gocd/pull/2422.diff","patch_url":"https://github.com/gocd/gocd/pull/2422.patch","issue_url":"https://api.github.com/repos/gocd/gocd/issues/2422","number":2422,"state":"open","locked":false,"title":"Added partial representation for pluggable scm index api.","user":{"login":"varshavaradarajan","id":4715748,"avatar_url":"https://avatars.githubusercontent.com/u/4715748?v=3","gravatar_id":"","url":"https://api.github.com/users/varshavaradarajan","html_url":"https://github.com/varshavaradarajan","followers_url":"https://api.github.com/users/varshavaradarajan/followers","following_url":"https://api.github.com/users/varshavaradarajan/following{/other_user}","gists_url":"https://api.github.com/users/varshavaradarajan/gists{/gist_id}","starred_url":"https://api.github.com/users/varshavaradarajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varshavaradarajan/subscriptions","organizations_url":"https://api.github.com/users/varshavaradarajan/orgs","repos_url":"https://api.github.com/users/varshavaradarajan/repos","events_url":"https://api.github.com/users/varshavaradarajan/events{/privacy}","received_events_url":"https://api.github.com/users/varshavaradarajan/received_events","type":"User","site_admin":false},"body":"This is done keeping the config SPA in mind. An index call need not have the full SCM object, but just the details necessary to make a Get SCM API call and subsequently the update SCM call. \r\n\r\nThe index call now returns the following for all SCMs:\r\n1. id\r\n2. name\r\n3. plugin_metadata\r\n\r\nThe show action returns the above along with ```auto_update``` and ```configuration``` \r\n\r\n@maheshp, Please review the changes","created_at":"2016-07-12T03:50:07Z","updated_at":"2016-07-12T05:00:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4dec5976123d896ac2b104a7197f3d7c3d9ade1e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gocd/gocd/pulls/2422/commits","review_comments_url":"https://api.github.com/repos/gocd/gocd/pulls/2422/comments","review_comment_url":"https://api.github.com/repos/gocd/gocd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gocd/gocd/issues/2422/comments","statuses_url":"https://api.github.com/repos/gocd/gocd/statuses/b613cc4c0730cdeb7e653e3a934da2c39f17ddd6","head":{"label":"varshavaradarajan:partial_representation_for_index_call","ref":"partial_representation_for_index_call","sha":"b613cc4c0730cdeb7e653e3a934da2c39f17ddd6","user":{"login":"varshavaradarajan","id":4715748,"avatar_url":"https://avatars.githubusercontent.com/u/4715748?v=3","gravatar_id":"","url":"https://api.github.com/users/varshavaradarajan","html_url":"https://github.com/varshavaradarajan","followers_url":"https://api.github.com/users/varshavaradarajan/followers","following_url":"https://api.github.com/users/varshavaradarajan/following{/other_user}","gists_url":"https://api.github.com/users/varshavaradarajan/gists{/gist_id}","starred_url":"https://api.github.com/users/varshavaradarajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varshavaradarajan/subscriptions","organizations_url":"https://api.github.com/users/varshavaradarajan/orgs","repos_url":"https://api.github.com/users/varshavaradarajan/repos","events_url":"https://api.github.com/users/varshavaradarajan/events{/privacy}","received_events_url":"https://api.github.com/users/varshavaradarajan/received_events","type":"User","site_admin":false},"repo":{"id":48975000,"name":"gocd","full_name":"varshavaradarajan/gocd","owner":{"login":"varshavaradarajan","id":4715748,"avatar_url":"https://avatars.githubusercontent.com/u/4715748?v=3","gravatar_id":"","url":"https://api.github.com/users/varshavaradarajan","html_url":"https://github.com/varshavaradarajan","followers_url":"https://api.github.com/users/varshavaradarajan/followers","following_url":"https://api.github.com/users/varshavaradarajan/following{/other_user}","gists_url":"https://api.github.com/users/varshavaradarajan/gists{/gist_id}","starred_url":"https://api.github.com/users/varshavaradarajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varshavaradarajan/subscriptions","organizations_url":"https://api.github.com/users/varshavaradarajan/orgs","repos_url":"https://api.github.com/users/varshavaradarajan/repos","events_url":"https://api.github.com/users/varshavaradarajan/events{/privacy}","received_events_url":"https://api.github.com/users/varshavaradarajan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/varshavaradarajan/gocd","description":"Main repository for Go Continuous Delivery","fork":true,"url":"https://api.github.com/repos/varshavaradarajan/gocd","forks_url":"https://api.github.com/repos/varshavaradarajan/gocd/forks","keys_url":"https://api.github.com/repos/varshavaradarajan/gocd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/varshavaradarajan/gocd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/varshavaradarajan/gocd/teams","hooks_url":"https://api.github.com/repos/varshavaradarajan/gocd/hooks","issue_events_url":"https://api.github.com/repos/varshavaradarajan/gocd/issues/events{/number}","events_url":"https://api.github.com/repos/varshavaradarajan/gocd/events","assignees_url":"https://api.github.com/repos/varshavaradarajan/gocd/assignees{/user}","branches_url":"https://api.github.com/repos/varshavaradarajan/gocd/branches{/branch}","tags_url":"https://api.github.com/repos/varshavaradarajan/gocd/tags","blobs_url":"https://api.github.com/repos/varshavaradarajan/gocd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/varshavaradarajan/gocd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/varshavaradarajan/gocd/git/refs{/sha}","trees_url":"https://api.github.com/repos/varshavaradarajan/gocd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/varshavaradarajan/gocd/statuses/{sha}","languages_url":"https://api.github.com/repos/varshavaradarajan/gocd/languages","stargazers_url":"https://api.github.com/repos/varshavaradarajan/gocd/stargazers","contributors_url":"https://api.github.com/repos/varshavaradarajan/gocd/contributors","subscribers_url":"https://api.github.com/repos/varshavaradarajan/gocd/subscribers","subscription_url":"https://api.github.com/repos/varshavaradarajan/gocd/subscription","commits_url":"https://api.github.com/repos/varshavaradarajan/gocd/commits{/sha}","git_commits_url":"https://api.github.com/repos/varshavaradarajan/gocd/git/commits{/sha}","comments_url":"https://api.github.com/repos/varshavaradarajan/gocd/comments{/number}","issue_comment_url":"https://api.github.com/repos/varshavaradarajan/gocd/issues/comments{/number}","contents_url":"https://api.github.com/repos/varshavaradarajan/gocd/contents/{+path}","compare_url":"https://api.github.com/repos/varshavaradarajan/gocd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/varshavaradarajan/gocd/merges","archive_url":"https://api.github.com/repos/varshavaradarajan/gocd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/varshavaradarajan/gocd/downloads","issues_url":"https://api.github.com/repos/varshavaradarajan/gocd/issues{/number}","pulls_url":"https://api.github.com/repos/varshavaradarajan/gocd/pulls{/number}","milestones_url":"https://api.github.com/repos/varshavaradarajan/gocd/milestones{/number}","notifications_url":"https://api.github.com/repos/varshavaradarajan/gocd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/varshavaradarajan/gocd/labels{/name}","releases_url":"https://api.github.com/repos/varshavaradarajan/gocd/releases{/id}","deployments_url":"https://api.github.com/repos/varshavaradarajan/gocd/deployments","created_at":"2016-01-04T04:38:44Z","updated_at":"2016-01-11T03:40:26Z","pushed_at":"2016-07-12T04:29:51Z","git_url":"git://github.com/varshavaradarajan/gocd.git","ssh_url":"git@github.com:varshavaradarajan/gocd.git","clone_url":"https://github.com/varshavaradarajan/gocd.git","svn_url":"https://github.com/varshavaradarajan/gocd","homepage":"https://go.cd","size":239238,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gocd:master","ref":"master","sha":"8713be376373275c63bbc94e59cef78306c8cfa9","user":{"login":"gocd","id":6099846,"avatar_url":"https://avatars.githubusercontent.com/u/6099846?v=3","gravatar_id":"","url":"https://api.github.com/users/gocd","html_url":"https://github.com/gocd","followers_url":"https://api.github.com/users/gocd/followers","following_url":"https://api.github.com/users/gocd/following{/other_user}","gists_url":"https://api.github.com/users/gocd/gists{/gist_id}","starred_url":"https://api.github.com/users/gocd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocd/subscriptions","organizations_url":"https://api.github.com/users/gocd/orgs","repos_url":"https://api.github.com/users/gocd/repos","events_url":"https://api.github.com/users/gocd/events{/privacy}","received_events_url":"https://api.github.com/users/gocd/received_events","type":"Organization","site_admin":false},"repo":{"id":15155534,"name":"gocd","full_name":"gocd/gocd","owner":{"login":"gocd","id":6099846,"avatar_url":"https://avatars.githubusercontent.com/u/6099846?v=3","gravatar_id":"","url":"https://api.github.com/users/gocd","html_url":"https://github.com/gocd","followers_url":"https://api.github.com/users/gocd/followers","following_url":"https://api.github.com/users/gocd/following{/other_user}","gists_url":"https://api.github.com/users/gocd/gists{/gist_id}","starred_url":"https://api.github.com/users/gocd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gocd/subscriptions","organizations_url":"https://api.github.com/users/gocd/orgs","repos_url":"https://api.github.com/users/gocd/repos","events_url":"https://api.github.com/users/gocd/events{/privacy}","received_events_url":"https://api.github.com/users/gocd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gocd/gocd","description":"Main repository for GoCD - Continuous Delivery server","fork":false,"url":"https://api.github.com/repos/gocd/gocd","forks_url":"https://api.github.com/repos/gocd/gocd/forks","keys_url":"https://api.github.com/repos/gocd/gocd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gocd/gocd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gocd/gocd/teams","hooks_url":"https://api.github.com/repos/gocd/gocd/hooks","issue_events_url":"https://api.github.com/repos/gocd/gocd/issues/events{/number}","events_url":"https://api.github.com/repos/gocd/gocd/events","assignees_url":"https://api.github.com/repos/gocd/gocd/assignees{/user}","branches_url":"https://api.github.com/repos/gocd/gocd/branches{/branch}","tags_url":"https://api.github.com/repos/gocd/gocd/tags","blobs_url":"https://api.github.com/repos/gocd/gocd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gocd/gocd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gocd/gocd/git/refs{/sha}","trees_url":"https://api.github.com/repos/gocd/gocd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gocd/gocd/statuses/{sha}","languages_url":"https://api.github.com/repos/gocd/gocd/languages","stargazers_url":"https://api.github.com/repos/gocd/gocd/stargazers","contributors_url":"https://api.github.com/repos/gocd/gocd/contributors","subscribers_url":"https://api.github.com/repos/gocd/gocd/subscribers","subscription_url":"https://api.github.com/repos/gocd/gocd/subscription","commits_url":"https://api.github.com/repos/gocd/gocd/commits{/sha}","git_commits_url":"https://api.github.com/repos/gocd/gocd/git/commits{/sha}","comments_url":"https://api.github.com/repos/gocd/gocd/comments{/number}","issue_comment_url":"https://api.github.com/repos/gocd/gocd/issues/comments{/number}","contents_url":"https://api.github.com/repos/gocd/gocd/contents/{+path}","compare_url":"https://api.github.com/repos/gocd/gocd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gocd/gocd/merges","archive_url":"https://api.github.com/repos/gocd/gocd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gocd/gocd/downloads","issues_url":"https://api.github.com/repos/gocd/gocd/issues{/number}","pulls_url":"https://api.github.com/repos/gocd/gocd/pulls{/number}","milestones_url":"https://api.github.com/repos/gocd/gocd/milestones{/number}","notifications_url":"https://api.github.com/repos/gocd/gocd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gocd/gocd/labels{/name}","releases_url":"https://api.github.com/repos/gocd/gocd/releases{/id}","deployments_url":"https://api.github.com/repos/gocd/gocd/deployments","created_at":"2013-12-13T05:26:16Z","updated_at":"2016-07-11T19:37:10Z","pushed_at":"2016-07-12T04:29:52Z","git_url":"git://github.com/gocd/gocd.git","ssh_url":"git@github.com:gocd/gocd.git","clone_url":"https://github.com/gocd/gocd.git","svn_url":"https://github.com/gocd/gocd","homepage":"https://go.cd","size":310159,"stargazers_count":2469,"watchers_count":2469,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":451,"mirror_url":null,"open_issues_count":626,"forks":451,"open_issues":626,"watchers":2469,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gocd/gocd/pulls/2422"},"html":{"href":"https://github.com/gocd/gocd/pull/2422"},"issue":{"href":"https://api.github.com/repos/gocd/gocd/issues/2422"},"comments":{"href":"https://api.github.com/repos/gocd/gocd/issues/2422/comments"},"review_comments":{"href":"https://api.github.com/repos/gocd/gocd/pulls/2422/comments"},"review_comment":{"href":"https://api.github.com/repos/gocd/gocd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gocd/gocd/pulls/2422/commits"},"statuses":{"href":"https://api.github.com/repos/gocd/gocd/statuses/b613cc4c0730cdeb7e653e3a934da2c39f17ddd6"}}}}
{"actor":{"display_login":"zabil"}}