{"action":"created","comment":{"url":"https://api.github.com/repos/google/startup-os/pulls/comments/237007010","pull_request_review_id":179201481,"id":237007010,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNzAwNzAxMA==","diff_hunk":"@@ -5,55 +5,37 @@ package com.google.startupos.tools.reviewer.job.sync;\n option java_package = \"com.google.startupos.tools.reviewer.job.sync\";\n option java_outer_classname = \"GithubPullRequestProtos\";\n \n+// TODO: Remove unused fields\n message PullRequest {\n \n   int64 id = 1;\n   int64 number = 2;\n+  // valid values: `open`, `closed`","path":"tools/reviewer/job/sync/full_github_pr.proto","position":9,"original_position":9,"commit_id":"66e8d0a66b1c15427ece4478d3a45966e2c3b18d","original_commit_id":"66e8d0a66b1c15427ece4478d3a45966e2c3b18d","user":{"login":"val-fed","id":24932505,"node_id":"MDQ6VXNlcjI0OTMyNTA1","avatar_url":"https://avatars0.githubusercontent.com/u/24932505?v=4","gravatar_id":"","url":"https://api.github.com/users/val-fed","html_url":"https://github.com/val-fed","followers_url":"https://api.github.com/users/val-fed/followers","following_url":"https://api.github.com/users/val-fed/following{/other_user}","gists_url":"https://api.github.com/users/val-fed/gists{/gist_id}","starred_url":"https://api.github.com/users/val-fed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/val-fed/subscriptions","organizations_url":"https://api.github.com/users/val-fed/orgs","repos_url":"https://api.github.com/users/val-fed/repos","events_url":"https://api.github.com/users/val-fed/events{/privacy}","received_events_url":"https://api.github.com/users/val-fed/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2018-11-28T09:44:48Z","updated_at":"2018-11-28T09:44:49Z","html_url":"https://github.com/google/startup-os/pull/416#discussion_r237007010","pull_request_url":"https://api.github.com/repos/google/startup-os/pulls/416","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/google/startup-os/pulls/comments/237007010"},"html":{"href":"https://github.com/google/startup-os/pull/416#discussion_r237007010"},"pull_request":{"href":"https://api.github.com/repos/google/startup-os/pulls/416"}},"in_reply_to_id":236818608},"pull_request":{"url":"https://api.github.com/repos/google/startup-os/pulls/416","id":233262078,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMjYyMDc4","html_url":"https://github.com/google/startup-os/pull/416","diff_url":"https://github.com/google/startup-os/pull/416.diff","patch_url":"https://github.com/google/startup-os/pull/416.patch","issue_url":"https://api.github.com/repos/google/startup-os/issues/416","number":416,"state":"open","locked":false,"title":"GitHub Sync: Add: DiffConverter, update:  GithubReader, GithubWriter, GithubClient","user":{"login":"val-fed","id":24932505,"node_id":"MDQ6VXNlcjI0OTMyNTA1","avatar_url":"https://avatars0.githubusercontent.com/u/24932505?v=4","gravatar_id":"","url":"https://api.github.com/users/val-fed","html_url":"https://github.com/val-fed","followers_url":"https://api.github.com/users/val-fed/followers","following_url":"https://api.github.com/users/val-fed/following{/other_user}","gists_url":"https://api.github.com/users/val-fed/gists{/gist_id}","starred_url":"https://api.github.com/users/val-fed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/val-fed/subscriptions","organizations_url":"https://api.github.com/users/val-fed/orgs","repos_url":"https://api.github.com/users/val-fed/repos","events_url":"https://api.github.com/users/val-fed/events{/privacy}","received_events_url":"https://api.github.com/users/val-fed/received_events","type":"User","site_admin":false},"body":"**Added:**\r\n*DiffConverter:* converts `(Reviewer)Diff` to `List<(GitHub)PullRequest>` \r\n\r\n**Updated:** \r\n*GithubReader:* changed saving ReviewComments.  All ReviewComments is saved in the single list now. It allowed to simplify `(Reviewer)Diff` => `List<(GitHub)PullRequest>` conversion. In the previous version, the PullRequest had `List<Review>`, and each Review had `List<ReviewComment>`. \r\n\r\n*GithubWriter:* added methods for editing and deleting comments. The method for updating PullRequest was separated into several public methods for updating each comment separately, not whole PullRequest.\r\n\r\n*GithubClient:* added/updated methods for GithubReader and GithubWriter.","created_at":"2018-11-23T18:19:29Z","updated_at":"2018-11-28T09:44:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"871a5c0b81417ce7b99033d2e8395d3c69a540d7","assignee":{"login":"val-fed","id":24932505,"node_id":"MDQ6VXNlcjI0OTMyNTA1","avatar_url":"https://avatars0.githubusercontent.com/u/24932505?v=4","gravatar_id":"","url":"https://api.github.com/users/val-fed","html_url":"https://github.com/val-fed","followers_url":"https://api.github.com/users/val-fed/followers","following_url":"https://api.github.com/users/val-fed/following{/other_user}","gists_url":"https://api.github.com/users/val-fed/gists{/gist_id}","starred_url":"https://api.github.com/users/val-fed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/val-fed/subscriptions","organizations_url":"https://api.github.com/users/val-fed/orgs","repos_url":"https://api.github.com/users/val-fed/repos","events_url":"https://api.github.com/users/val-fed/events{/privacy}","received_events_url":"https://api.github.com/users/val-fed/received_events","type":"User","site_admin":false},"assignees":[{"login":"val-fed","id":24932505,"node_id":"MDQ6VXNlcjI0OTMyNTA1","avatar_url":"https://avatars0.githubusercontent.com/u/24932505?v=4","gravatar_id":"","url":"https://api.github.com/users/val-fed","html_url":"https://github.com/val-fed","followers_url":"https://api.github.com/users/val-fed/followers","following_url":"https://api.github.com/users/val-fed/following{/other_user}","gists_url":"https://api.github.com/users/val-fed/gists{/gist_id}","starred_url":"https://api.github.com/users/val-fed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/val-fed/subscriptions","organizations_url":"https://api.github.com/users/val-fed/orgs","repos_url":"https://api.github.com/users/val-fed/repos","events_url":"https://api.github.com/users/val-fed/events{/privacy}","received_events_url":"https://api.github.com/users/val-fed/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/startup-os/pulls/416/commits","review_comments_url":"https://api.github.com/repos/google/startup-os/pulls/416/comments","review_comment_url":"https://api.github.com/repos/google/startup-os/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/startup-os/issues/416/comments","statuses_url":"https://api.github.com/repos/google/startup-os/statuses/66e8d0a66b1c15427ece4478d3a45966e2c3b18d","head":{"label":"google:diff_converter","ref":"diff_converter","sha":"66e8d0a66b1c15427ece4478d3a45966e2c3b18d","user":{"login":"google","id":1342004,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":122602787,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI2MDI3ODc=","name":"startup-os","full_name":"google/startup-os","private":false,"owner":{"login":"google","id":1342004,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/google/startup-os","description":"Working examples of Google's Open Source stack and deployment to the cloud.","fork":false,"url":"https://api.github.com/repos/google/startup-os","forks_url":"https://api.github.com/repos/google/startup-os/forks","keys_url":"https://api.github.com/repos/google/startup-os/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/startup-os/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/startup-os/teams","hooks_url":"https://api.github.com/repos/google/startup-os/hooks","issue_events_url":"https://api.github.com/repos/google/startup-os/issues/events{/number}","events_url":"https://api.github.com/repos/google/startup-os/events","assignees_url":"https://api.github.com/repos/google/startup-os/assignees{/user}","branches_url":"https://api.github.com/repos/google/startup-os/branches{/branch}","tags_url":"https://api.github.com/repos/google/startup-os/tags","blobs_url":"https://api.github.com/repos/google/startup-os/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/startup-os/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/startup-os/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/startup-os/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/startup-os/statuses/{sha}","languages_url":"https://api.github.com/repos/google/startup-os/languages","stargazers_url":"https://api.github.com/repos/google/startup-os/stargazers","contributors_url":"https://api.github.com/repos/google/startup-os/contributors","subscribers_url":"https://api.github.com/repos/google/startup-os/subscribers","subscription_url":"https://api.github.com/repos/google/startup-os/subscription","commits_url":"https://api.github.com/repos/google/startup-os/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/startup-os/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/startup-os/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/startup-os/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/startup-os/contents/{+path}","compare_url":"https://api.github.com/repos/google/startup-os/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/startup-os/merges","archive_url":"https://api.github.com/repos/google/startup-os/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/startup-os/downloads","issues_url":"https://api.github.com/repos/google/startup-os/issues{/number}","pulls_url":"https://api.github.com/repos/google/startup-os/pulls{/number}","milestones_url":"https://api.github.com/repos/google/startup-os/milestones{/number}","notifications_url":"https://api.github.com/repos/google/startup-os/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/startup-os/labels{/name}","releases_url":"https://api.github.com/repos/google/startup-os/releases{/id}","deployments_url":"https://api.github.com/repos/google/startup-os/deployments","created_at":"2018-02-23T09:48:29Z","updated_at":"2018-11-27T18:22:58Z","pushed_at":"2018-11-27T18:34:56Z","git_url":"git://github.com/google/startup-os.git","ssh_url":"git@github.com:google/startup-os.git","clone_url":"https://github.com/google/startup-os.git","svn_url":"https://github.com/google/startup-os","homepage":"","size":2363,"stargazers_count":216,"watchers_count":216,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":50,"open_issues":47,"watchers":216,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"e9749bce02337a1d25cfa90a71a727bb79d66bb6","user":{"login":"google","id":1342004,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":122602787,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI2MDI3ODc=","name":"startup-os","full_name":"google/startup-os","private":false,"owner":{"login":"google","id":1342004,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzNDIwMDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1342004?v=4","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/google/startup-os","description":"Working examples of Google's Open Source stack and deployment to the cloud.","fork":false,"url":"https://api.github.com/repos/google/startup-os","forks_url":"https://api.github.com/repos/google/startup-os/forks","keys_url":"https://api.github.com/repos/google/startup-os/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/startup-os/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/startup-os/teams","hooks_url":"https://api.github.com/repos/google/startup-os/hooks","issue_events_url":"https://api.github.com/repos/google/startup-os/issues/events{/number}","events_url":"https://api.github.com/repos/google/startup-os/events","assignees_url":"https://api.github.com/repos/google/startup-os/assignees{/user}","branches_url":"https://api.github.com/repos/google/startup-os/branches{/branch}","tags_url":"https://api.github.com/repos/google/startup-os/tags","blobs_url":"https://api.github.com/repos/google/startup-os/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/startup-os/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/startup-os/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/startup-os/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/startup-os/statuses/{sha}","languages_url":"https://api.github.com/repos/google/startup-os/languages","stargazers_url":"https://api.github.com/repos/google/startup-os/stargazers","contributors_url":"https://api.github.com/repos/google/startup-os/contributors","subscribers_url":"https://api.github.com/repos/google/startup-os/subscribers","subscription_url":"https://api.github.com/repos/google/startup-os/subscription","commits_url":"https://api.github.com/repos/google/startup-os/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/startup-os/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/startup-os/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/startup-os/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/startup-os/contents/{+path}","compare_url":"https://api.github.com/repos/google/startup-os/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/startup-os/merges","archive_url":"https://api.github.com/repos/google/startup-os/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/startup-os/downloads","issues_url":"https://api.github.com/repos/google/startup-os/issues{/number}","pulls_url":"https://api.github.com/repos/google/startup-os/pulls{/number}","milestones_url":"https://api.github.com/repos/google/startup-os/milestones{/number}","notifications_url":"https://api.github.com/repos/google/startup-os/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/startup-os/labels{/name}","releases_url":"https://api.github.com/repos/google/startup-os/releases{/id}","deployments_url":"https://api.github.com/repos/google/startup-os/deployments","created_at":"2018-02-23T09:48:29Z","updated_at":"2018-11-27T18:22:58Z","pushed_at":"2018-11-27T18:34:56Z","git_url":"git://github.com/google/startup-os.git","ssh_url":"git@github.com:google/startup-os.git","clone_url":"https://github.com/google/startup-os.git","svn_url":"https://github.com/google/startup-os","homepage":"","size":2363,"stargazers_count":216,"watchers_count":216,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"archived":false,"open_issues_count":47,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":50,"open_issues":47,"watchers":216,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/startup-os/pulls/416"},"html":{"href":"https://github.com/google/startup-os/pull/416"},"issue":{"href":"https://api.github.com/repos/google/startup-os/issues/416"},"comments":{"href":"https://api.github.com/repos/google/startup-os/issues/416/comments"},"review_comments":{"href":"https://api.github.com/repos/google/startup-os/pulls/416/comments"},"review_comment":{"href":"https://api.github.com/repos/google/startup-os/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/startup-os/pulls/416/commits"},"statuses":{"href":"https://api.github.com/repos/google/startup-os/statuses/66e8d0a66b1c15427ece4478d3a45966e2c3b18d"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"val-fed"}}