{"action":"created","comment":{"url":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls/comments/57510130","id":57510130,"diff_hunk":"@@ -0,0 +1,47 @@\n+package github;\n+\n+import org.apache.logging.log4j.Logger;\n+import org.eclipse.egit.github.core.IRepositoryIdProvider;\n+import org.eclipse.egit.github.core.User;\n+import org.eclipse.egit.github.core.client.GitHubClient;\n+import org.eclipse.egit.github.core.service.CollaboratorService;\n+import org.eclipse.egit.github.core.service.UserService;\n+import util.HTLog;\n+\n+import java.io.IOException;\n+import java.util.List;\n+import java.util.stream.Collectors;\n+\n+public class CollaboratorServiceEx extends CollaboratorService {","path":"src/main/java/github/CollaboratorServiceEx.java","position":15,"original_position":15,"commit_id":"9a22a16924485761a541ec4d1a6c73df12b43141","original_commit_id":"9a22a16924485761a541ec4d1a6c73df12b43141","user":{"login":"ndt93","id":5065989,"avatar_url":"https://avatars.githubusercontent.com/u/5065989?v=3","gravatar_id":"","url":"https://api.github.com/users/ndt93","html_url":"https://github.com/ndt93","followers_url":"https://api.github.com/users/ndt93/followers","following_url":"https://api.github.com/users/ndt93/following{/other_user}","gists_url":"https://api.github.com/users/ndt93/gists{/gist_id}","starred_url":"https://api.github.com/users/ndt93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndt93/subscriptions","organizations_url":"https://api.github.com/users/ndt93/orgs","repos_url":"https://api.github.com/users/ndt93/repos","events_url":"https://api.github.com/users/ndt93/events{/privacy}","received_events_url":"https://api.github.com/users/ndt93/received_events","type":"User","site_admin":false},"body":"I think so. All the services that we extend from existing services in `egit.github` have a `Ex` suffix.","created_at":"2016-03-26T06:29:00Z","updated_at":"2016-03-26T06:29:00Z","html_url":"https://github.com/HubTurbo/HubTurbo/pull/1422#discussion_r57510130","pull_request_url":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls/1422","_links":{"self":{"href":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls/comments/57510130"},"html":{"href":"https://github.com/HubTurbo/HubTurbo/pull/1422#discussion_r57510130"},"pull_request":{"href":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls/1422"}}},"pull_request":{"url":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls/1422","id":64184183,"html_url":"https://github.com/HubTurbo/HubTurbo/pull/1422","diff_url":"https://github.com/HubTurbo/HubTurbo/pull/1422.diff","patch_url":"https://github.com/HubTurbo/HubTurbo/pull/1422.patch","issue_url":"https://api.github.com/repos/HubTurbo/HubTurbo/issues/1422","number":1422,"state":"open","locked":false,"title":"TurboUser's getRealName always return an empty string. #1384","user":{"login":"garbanzos","id":12397473,"avatar_url":"https://avatars.githubusercontent.com/u/12397473?v=3","gravatar_id":"","url":"https://api.github.com/users/garbanzos","html_url":"https://github.com/garbanzos","followers_url":"https://api.github.com/users/garbanzos/followers","following_url":"https://api.github.com/users/garbanzos/following{/other_user}","gists_url":"https://api.github.com/users/garbanzos/gists{/gist_id}","starred_url":"https://api.github.com/users/garbanzos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbanzos/subscriptions","organizations_url":"https://api.github.com/users/garbanzos/orgs","repos_url":"https://api.github.com/users/garbanzos/repos","events_url":"https://api.github.com/users/garbanzos/events{/privacy}","received_events_url":"https://api.github.com/users/garbanzos/received_events","type":"User","site_admin":false},"body":"Fixes #1384. \r\n\r\n**Problem**\r\nThe response for `GET /repos/:owner/:repo/collaborators` does not contain real names of users.\r\n\r\n![untitled](https://cloud.githubusercontent.com/assets/12397473/14049723/0a7ce878-f2f2-11e5-8c05-5860558e3e06.png)\r\n\r\n**Solution**\r\nObtained the list of collaborators using `getCollaborators` from `CollaboratorService` \r\nThen iterate through the list and get each collaborator's full details using `getUser` from `UserService`. ","created_at":"2016-03-25T17:13:28Z","updated_at":"2016-03-26T06:29:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c20a97802b2029d670dc27d09e4ef80ba958a18d","assignee":{"login":"dariusf","id":4328341,"avatar_url":"https://avatars.githubusercontent.com/u/4328341?v=3","gravatar_id":"","url":"https://api.github.com/users/dariusf","html_url":"https://github.com/dariusf","followers_url":"https://api.github.com/users/dariusf/followers","following_url":"https://api.github.com/users/dariusf/following{/other_user}","gists_url":"https://api.github.com/users/dariusf/gists{/gist_id}","starred_url":"https://api.github.com/users/dariusf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dariusf/subscriptions","organizations_url":"https://api.github.com/users/dariusf/orgs","repos_url":"https://api.github.com/users/dariusf/repos","events_url":"https://api.github.com/users/dariusf/events{/privacy}","received_events_url":"https://api.github.com/users/dariusf/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls/1422/commits","review_comments_url":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls/1422/comments","review_comment_url":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HubTurbo/HubTurbo/issues/1422/comments","statuses_url":"https://api.github.com/repos/HubTurbo/HubTurbo/statuses/9a22a16924485761a541ec4d1a6c73df12b43141","head":{"label":"garbanzos:1384-TurboUser-getRealName","ref":"1384-TurboUser-getRealName","sha":"9a22a16924485761a541ec4d1a6c73df12b43141","user":{"login":"garbanzos","id":12397473,"avatar_url":"https://avatars.githubusercontent.com/u/12397473?v=3","gravatar_id":"","url":"https://api.github.com/users/garbanzos","html_url":"https://github.com/garbanzos","followers_url":"https://api.github.com/users/garbanzos/followers","following_url":"https://api.github.com/users/garbanzos/following{/other_user}","gists_url":"https://api.github.com/users/garbanzos/gists{/gist_id}","starred_url":"https://api.github.com/users/garbanzos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbanzos/subscriptions","organizations_url":"https://api.github.com/users/garbanzos/orgs","repos_url":"https://api.github.com/users/garbanzos/repos","events_url":"https://api.github.com/users/garbanzos/events{/privacy}","received_events_url":"https://api.github.com/users/garbanzos/received_events","type":"User","site_admin":false},"repo":{"id":49624980,"name":"HubTurbo","full_name":"garbanzos/HubTurbo","owner":{"login":"garbanzos","id":12397473,"avatar_url":"https://avatars.githubusercontent.com/u/12397473?v=3","gravatar_id":"","url":"https://api.github.com/users/garbanzos","html_url":"https://github.com/garbanzos","followers_url":"https://api.github.com/users/garbanzos/followers","following_url":"https://api.github.com/users/garbanzos/following{/other_user}","gists_url":"https://api.github.com/users/garbanzos/gists{/gist_id}","starred_url":"https://api.github.com/users/garbanzos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbanzos/subscriptions","organizations_url":"https://api.github.com/users/garbanzos/orgs","repos_url":"https://api.github.com/users/garbanzos/repos","events_url":"https://api.github.com/users/garbanzos/events{/privacy}","received_events_url":"https://api.github.com/users/garbanzos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/garbanzos/HubTurbo","description":"A companion to GitHub for your desktop","fork":true,"url":"https://api.github.com/repos/garbanzos/HubTurbo","forks_url":"https://api.github.com/repos/garbanzos/HubTurbo/forks","keys_url":"https://api.github.com/repos/garbanzos/HubTurbo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garbanzos/HubTurbo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garbanzos/HubTurbo/teams","hooks_url":"https://api.github.com/repos/garbanzos/HubTurbo/hooks","issue_events_url":"https://api.github.com/repos/garbanzos/HubTurbo/issues/events{/number}","events_url":"https://api.github.com/repos/garbanzos/HubTurbo/events","assignees_url":"https://api.github.com/repos/garbanzos/HubTurbo/assignees{/user}","branches_url":"https://api.github.com/repos/garbanzos/HubTurbo/branches{/branch}","tags_url":"https://api.github.com/repos/garbanzos/HubTurbo/tags","blobs_url":"https://api.github.com/repos/garbanzos/HubTurbo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garbanzos/HubTurbo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garbanzos/HubTurbo/git/refs{/sha}","trees_url":"https://api.github.com/repos/garbanzos/HubTurbo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garbanzos/HubTurbo/statuses/{sha}","languages_url":"https://api.github.com/repos/garbanzos/HubTurbo/languages","stargazers_url":"https://api.github.com/repos/garbanzos/HubTurbo/stargazers","contributors_url":"https://api.github.com/repos/garbanzos/HubTurbo/contributors","subscribers_url":"https://api.github.com/repos/garbanzos/HubTurbo/subscribers","subscription_url":"https://api.github.com/repos/garbanzos/HubTurbo/subscription","commits_url":"https://api.github.com/repos/garbanzos/HubTurbo/commits{/sha}","git_commits_url":"https://api.github.com/repos/garbanzos/HubTurbo/git/commits{/sha}","comments_url":"https://api.github.com/repos/garbanzos/HubTurbo/comments{/number}","issue_comment_url":"https://api.github.com/repos/garbanzos/HubTurbo/issues/comments{/number}","contents_url":"https://api.github.com/repos/garbanzos/HubTurbo/contents/{+path}","compare_url":"https://api.github.com/repos/garbanzos/HubTurbo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garbanzos/HubTurbo/merges","archive_url":"https://api.github.com/repos/garbanzos/HubTurbo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garbanzos/HubTurbo/downloads","issues_url":"https://api.github.com/repos/garbanzos/HubTurbo/issues{/number}","pulls_url":"https://api.github.com/repos/garbanzos/HubTurbo/pulls{/number}","milestones_url":"https://api.github.com/repos/garbanzos/HubTurbo/milestones{/number}","notifications_url":"https://api.github.com/repos/garbanzos/HubTurbo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garbanzos/HubTurbo/labels{/name}","releases_url":"https://api.github.com/repos/garbanzos/HubTurbo/releases{/id}","deployments_url":"https://api.github.com/repos/garbanzos/HubTurbo/deployments","created_at":"2016-01-14T05:30:06Z","updated_at":"2016-01-14T05:30:10Z","pushed_at":"2016-03-26T04:58:41Z","git_url":"git://github.com/garbanzos/HubTurbo.git","ssh_url":"git@github.com:garbanzos/HubTurbo.git","clone_url":"https://github.com/garbanzos/HubTurbo.git","svn_url":"https://github.com/garbanzos/HubTurbo","homepage":"http://hubturbo.info","size":133882,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"HubTurbo:master","ref":"master","sha":"790fa7e7b1efc8846193aa799576a94167fab14d","user":{"login":"HubTurbo","id":7955871,"avatar_url":"https://avatars.githubusercontent.com/u/7955871?v=3","gravatar_id":"","url":"https://api.github.com/users/HubTurbo","html_url":"https://github.com/HubTurbo","followers_url":"https://api.github.com/users/HubTurbo/followers","following_url":"https://api.github.com/users/HubTurbo/following{/other_user}","gists_url":"https://api.github.com/users/HubTurbo/gists{/gist_id}","starred_url":"https://api.github.com/users/HubTurbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubTurbo/subscriptions","organizations_url":"https://api.github.com/users/HubTurbo/orgs","repos_url":"https://api.github.com/users/HubTurbo/repos","events_url":"https://api.github.com/users/HubTurbo/events{/privacy}","received_events_url":"https://api.github.com/users/HubTurbo/received_events","type":"Organization","site_admin":false},"repo":{"id":20919534,"name":"HubTurbo","full_name":"HubTurbo/HubTurbo","owner":{"login":"HubTurbo","id":7955871,"avatar_url":"https://avatars.githubusercontent.com/u/7955871?v=3","gravatar_id":"","url":"https://api.github.com/users/HubTurbo","html_url":"https://github.com/HubTurbo","followers_url":"https://api.github.com/users/HubTurbo/followers","following_url":"https://api.github.com/users/HubTurbo/following{/other_user}","gists_url":"https://api.github.com/users/HubTurbo/gists{/gist_id}","starred_url":"https://api.github.com/users/HubTurbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HubTurbo/subscriptions","organizations_url":"https://api.github.com/users/HubTurbo/orgs","repos_url":"https://api.github.com/users/HubTurbo/repos","events_url":"https://api.github.com/users/HubTurbo/events{/privacy}","received_events_url":"https://api.github.com/users/HubTurbo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HubTurbo/HubTurbo","description":"A companion to GitHub for your desktop","fork":false,"url":"https://api.github.com/repos/HubTurbo/HubTurbo","forks_url":"https://api.github.com/repos/HubTurbo/HubTurbo/forks","keys_url":"https://api.github.com/repos/HubTurbo/HubTurbo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HubTurbo/HubTurbo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HubTurbo/HubTurbo/teams","hooks_url":"https://api.github.com/repos/HubTurbo/HubTurbo/hooks","issue_events_url":"https://api.github.com/repos/HubTurbo/HubTurbo/issues/events{/number}","events_url":"https://api.github.com/repos/HubTurbo/HubTurbo/events","assignees_url":"https://api.github.com/repos/HubTurbo/HubTurbo/assignees{/user}","branches_url":"https://api.github.com/repos/HubTurbo/HubTurbo/branches{/branch}","tags_url":"https://api.github.com/repos/HubTurbo/HubTurbo/tags","blobs_url":"https://api.github.com/repos/HubTurbo/HubTurbo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HubTurbo/HubTurbo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HubTurbo/HubTurbo/git/refs{/sha}","trees_url":"https://api.github.com/repos/HubTurbo/HubTurbo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HubTurbo/HubTurbo/statuses/{sha}","languages_url":"https://api.github.com/repos/HubTurbo/HubTurbo/languages","stargazers_url":"https://api.github.com/repos/HubTurbo/HubTurbo/stargazers","contributors_url":"https://api.github.com/repos/HubTurbo/HubTurbo/contributors","subscribers_url":"https://api.github.com/repos/HubTurbo/HubTurbo/subscribers","subscription_url":"https://api.github.com/repos/HubTurbo/HubTurbo/subscription","commits_url":"https://api.github.com/repos/HubTurbo/HubTurbo/commits{/sha}","git_commits_url":"https://api.github.com/repos/HubTurbo/HubTurbo/git/commits{/sha}","comments_url":"https://api.github.com/repos/HubTurbo/HubTurbo/comments{/number}","issue_comment_url":"https://api.github.com/repos/HubTurbo/HubTurbo/issues/comments{/number}","contents_url":"https://api.github.com/repos/HubTurbo/HubTurbo/contents/{+path}","compare_url":"https://api.github.com/repos/HubTurbo/HubTurbo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HubTurbo/HubTurbo/merges","archive_url":"https://api.github.com/repos/HubTurbo/HubTurbo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HubTurbo/HubTurbo/downloads","issues_url":"https://api.github.com/repos/HubTurbo/HubTurbo/issues{/number}","pulls_url":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls{/number}","milestones_url":"https://api.github.com/repos/HubTurbo/HubTurbo/milestones{/number}","notifications_url":"https://api.github.com/repos/HubTurbo/HubTurbo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HubTurbo/HubTurbo/labels{/name}","releases_url":"https://api.github.com/repos/HubTurbo/HubTurbo/releases{/id}","deployments_url":"https://api.github.com/repos/HubTurbo/HubTurbo/deployments","created_at":"2014-06-17T10:35:39Z","updated_at":"2016-03-24T07:36:39Z","pushed_at":"2016-03-26T06:25:19Z","git_url":"git://github.com/HubTurbo/HubTurbo.git","ssh_url":"git@github.com:HubTurbo/HubTurbo.git","clone_url":"https://github.com/HubTurbo/HubTurbo.git","svn_url":"https://github.com/HubTurbo/HubTurbo","homepage":"http://hubturbo.info","size":135690,"stargazers_count":17,"watchers_count":17,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":196,"forks":36,"open_issues":196,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls/1422"},"html":{"href":"https://github.com/HubTurbo/HubTurbo/pull/1422"},"issue":{"href":"https://api.github.com/repos/HubTurbo/HubTurbo/issues/1422"},"comments":{"href":"https://api.github.com/repos/HubTurbo/HubTurbo/issues/1422/comments"},"review_comments":{"href":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls/1422/comments"},"review_comment":{"href":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HubTurbo/HubTurbo/pulls/1422/commits"},"statuses":{"href":"https://api.github.com/repos/HubTurbo/HubTurbo/statuses/9a22a16924485761a541ec4d1a6c73df12b43141"}}}}