{"action":"created","comment":{"url":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls/comments/166078023","pull_request_review_id":94104574,"id":166078023,"diff_hunk":"@@ -0,0 +1,36 @@\n+// Copyright 2018 The Bazel Authors. All rights reserved.\n+//\n+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+//\n+//    http://www.apache.org/licenses/LICENSE-2.0\n+//\n+// Unless required by applicable law or agreed to in writing, software\n+// distributed under the License is distributed on an \"AS IS\" BASIS,\n+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+// See the License for the specific language governing permissions and\n+// limitations under the License.\n+\n+package com.google.devtools.build.remote.client;\n+\n+\n+import com.google.devtools.remoteexecution.v1test.Digest;\n+import java.io.IOException;\n+\n+/**\n+ * An exception to indicate cache misses.\n+ * TODO(olaola): have a class of checked RemoteCacheExceptions.\n+ */\n+public final class CacheNotFoundException extends IOException {\n+  private final Digest missingDigest;\n+\n+  CacheNotFoundException(Digest missingDigest) {\n+    super(\"Missing digest: \" + missingDigest);\n+    this.missingDigest = missingDigest;\n+  }\n+\n+  public Digest getMissingDigest() {\n+    return missingDigest;\n+  }\n+}","path":"src/main/java/com/google/devtools/build/remote/client/CacheNotFoundException.java","position":35,"original_position":36,"commit_id":"1aa488c7ed1ad6b2130aaec088e8843481024c88","original_commit_id":"95d82fe5fb843f1a1a047d8642bcd2a22095adfa","user":{"login":"cdlee2","id":35938782,"avatar_url":"https://avatars3.githubusercontent.com/u/35938782?v=4","gravatar_id":"","url":"https://api.github.com/users/cdlee2","html_url":"https://github.com/cdlee2","followers_url":"https://api.github.com/users/cdlee2/followers","following_url":"https://api.github.com/users/cdlee2/following{/other_user}","gists_url":"https://api.github.com/users/cdlee2/gists{/gist_id}","starred_url":"https://api.github.com/users/cdlee2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdlee2/subscriptions","organizations_url":"https://api.github.com/users/cdlee2/orgs","repos_url":"https://api.github.com/users/cdlee2/repos","events_url":"https://api.github.com/users/cdlee2/events{/privacy}","received_events_url":"https://api.github.com/users/cdlee2/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2018-02-05T19:03:37Z","updated_at":"2018-02-05T19:03:37Z","html_url":"https://github.com/cdlee2/tools_remote-client/pull/1#discussion_r166078023","pull_request_url":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls/comments/166078023"},"html":{"href":"https://github.com/cdlee2/tools_remote-client/pull/1#discussion_r166078023"},"pull_request":{"href":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls/1"}},"in_reply_to_id":166033744},"pull_request":{"url":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls/1","id":166380124,"html_url":"https://github.com/cdlee2/tools_remote-client/pull/1","diff_url":"https://github.com/cdlee2/tools_remote-client/pull/1.diff","patch_url":"https://github.com/cdlee2/tools_remote-client/pull/1.patch","issue_url":"https://api.github.com/repos/cdlee2/tools_remote-client/issues/1","number":1,"state":"open","locked":false,"title":"Set up work space and add basic blob downloading","user":{"login":"cdlee2","id":35938782,"avatar_url":"https://avatars3.githubusercontent.com/u/35938782?v=4","gravatar_id":"","url":"https://api.github.com/users/cdlee2","html_url":"https://github.com/cdlee2","followers_url":"https://api.github.com/users/cdlee2/followers","following_url":"https://api.github.com/users/cdlee2/following{/other_user}","gists_url":"https://api.github.com/users/cdlee2/gists{/gist_id}","starred_url":"https://api.github.com/users/cdlee2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdlee2/subscriptions","organizations_url":"https://api.github.com/users/cdlee2/orgs","repos_url":"https://api.github.com/users/cdlee2/repos","events_url":"https://api.github.com/users/cdlee2/events{/privacy}","received_events_url":"https://api.github.com/users/cdlee2/received_events","type":"User","site_admin":false},"body":"This is the first iteration of a tool for debugging and interacting with remote caches.\r\n\r\nStill todo:\r\n- [x] Add license\r\n- [x] Use bazel-deps instead of manually adding all maven jars to workspace","created_at":"2018-01-31T21:25:21Z","updated_at":"2018-02-05T19:03:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"70949e095f7fcd027605a641528f86af2dcb5ba0","assignee":null,"assignees":[],"requested_reviewers":[{"login":"agoulti","id":26492059,"avatar_url":"https://avatars2.githubusercontent.com/u/26492059?v=4","gravatar_id":"","url":"https://api.github.com/users/agoulti","html_url":"https://github.com/agoulti","followers_url":"https://api.github.com/users/agoulti/followers","following_url":"https://api.github.com/users/agoulti/following{/other_user}","gists_url":"https://api.github.com/users/agoulti/gists{/gist_id}","starred_url":"https://api.github.com/users/agoulti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agoulti/subscriptions","organizations_url":"https://api.github.com/users/agoulti/orgs","repos_url":"https://api.github.com/users/agoulti/repos","events_url":"https://api.github.com/users/agoulti/events{/privacy}","received_events_url":"https://api.github.com/users/agoulti/received_events","type":"User","site_admin":false}],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls/1/commits","review_comments_url":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls/1/comments","review_comment_url":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cdlee2/tools_remote-client/issues/1/comments","statuses_url":"https://api.github.com/repos/cdlee2/tools_remote-client/statuses/1aa488c7ed1ad6b2130aaec088e8843481024c88","head":{"label":"cdlee2:cdlee-blob-download","ref":"cdlee-blob-download","sha":"1aa488c7ed1ad6b2130aaec088e8843481024c88","user":{"login":"cdlee2","id":35938782,"avatar_url":"https://avatars3.githubusercontent.com/u/35938782?v=4","gravatar_id":"","url":"https://api.github.com/users/cdlee2","html_url":"https://github.com/cdlee2","followers_url":"https://api.github.com/users/cdlee2/followers","following_url":"https://api.github.com/users/cdlee2/following{/other_user}","gists_url":"https://api.github.com/users/cdlee2/gists{/gist_id}","starred_url":"https://api.github.com/users/cdlee2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdlee2/subscriptions","organizations_url":"https://api.github.com/users/cdlee2/orgs","repos_url":"https://api.github.com/users/cdlee2/repos","events_url":"https://api.github.com/users/cdlee2/events{/privacy}","received_events_url":"https://api.github.com/users/cdlee2/received_events","type":"User","site_admin":false},"repo":{"id":119744905,"name":"tools_remote-client","full_name":"cdlee2/tools_remote-client","owner":{"login":"cdlee2","id":35938782,"avatar_url":"https://avatars3.githubusercontent.com/u/35938782?v=4","gravatar_id":"","url":"https://api.github.com/users/cdlee2","html_url":"https://github.com/cdlee2","followers_url":"https://api.github.com/users/cdlee2/followers","following_url":"https://api.github.com/users/cdlee2/following{/other_user}","gists_url":"https://api.github.com/users/cdlee2/gists{/gist_id}","starred_url":"https://api.github.com/users/cdlee2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdlee2/subscriptions","organizations_url":"https://api.github.com/users/cdlee2/orgs","repos_url":"https://api.github.com/users/cdlee2/repos","events_url":"https://api.github.com/users/cdlee2/events{/privacy}","received_events_url":"https://api.github.com/users/cdlee2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdlee2/tools_remote-client","description":null,"fork":false,"url":"https://api.github.com/repos/cdlee2/tools_remote-client","forks_url":"https://api.github.com/repos/cdlee2/tools_remote-client/forks","keys_url":"https://api.github.com/repos/cdlee2/tools_remote-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdlee2/tools_remote-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdlee2/tools_remote-client/teams","hooks_url":"https://api.github.com/repos/cdlee2/tools_remote-client/hooks","issue_events_url":"https://api.github.com/repos/cdlee2/tools_remote-client/issues/events{/number}","events_url":"https://api.github.com/repos/cdlee2/tools_remote-client/events","assignees_url":"https://api.github.com/repos/cdlee2/tools_remote-client/assignees{/user}","branches_url":"https://api.github.com/repos/cdlee2/tools_remote-client/branches{/branch}","tags_url":"https://api.github.com/repos/cdlee2/tools_remote-client/tags","blobs_url":"https://api.github.com/repos/cdlee2/tools_remote-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdlee2/tools_remote-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdlee2/tools_remote-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdlee2/tools_remote-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdlee2/tools_remote-client/statuses/{sha}","languages_url":"https://api.github.com/repos/cdlee2/tools_remote-client/languages","stargazers_url":"https://api.github.com/repos/cdlee2/tools_remote-client/stargazers","contributors_url":"https://api.github.com/repos/cdlee2/tools_remote-client/contributors","subscribers_url":"https://api.github.com/repos/cdlee2/tools_remote-client/subscribers","subscription_url":"https://api.github.com/repos/cdlee2/tools_remote-client/subscription","commits_url":"https://api.github.com/repos/cdlee2/tools_remote-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdlee2/tools_remote-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdlee2/tools_remote-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdlee2/tools_remote-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdlee2/tools_remote-client/contents/{+path}","compare_url":"https://api.github.com/repos/cdlee2/tools_remote-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdlee2/tools_remote-client/merges","archive_url":"https://api.github.com/repos/cdlee2/tools_remote-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdlee2/tools_remote-client/downloads","issues_url":"https://api.github.com/repos/cdlee2/tools_remote-client/issues{/number}","pulls_url":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls{/number}","milestones_url":"https://api.github.com/repos/cdlee2/tools_remote-client/milestones{/number}","notifications_url":"https://api.github.com/repos/cdlee2/tools_remote-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdlee2/tools_remote-client/labels{/name}","releases_url":"https://api.github.com/repos/cdlee2/tools_remote-client/releases{/id}","deployments_url":"https://api.github.com/repos/cdlee2/tools_remote-client/deployments","created_at":"2018-01-31T21:21:44Z","updated_at":"2018-01-31T21:21:44Z","pushed_at":"2018-02-05T19:03:05Z","git_url":"git://github.com/cdlee2/tools_remote-client.git","ssh_url":"git@github.com:cdlee2/tools_remote-client.git","clone_url":"https://github.com/cdlee2/tools_remote-client.git","svn_url":"https://github.com/cdlee2/tools_remote-client","homepage":null,"size":36,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cdlee2:master","ref":"master","sha":"b3d65abc8fb18807c61673e898c256f080fc79a2","user":{"login":"cdlee2","id":35938782,"avatar_url":"https://avatars3.githubusercontent.com/u/35938782?v=4","gravatar_id":"","url":"https://api.github.com/users/cdlee2","html_url":"https://github.com/cdlee2","followers_url":"https://api.github.com/users/cdlee2/followers","following_url":"https://api.github.com/users/cdlee2/following{/other_user}","gists_url":"https://api.github.com/users/cdlee2/gists{/gist_id}","starred_url":"https://api.github.com/users/cdlee2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdlee2/subscriptions","organizations_url":"https://api.github.com/users/cdlee2/orgs","repos_url":"https://api.github.com/users/cdlee2/repos","events_url":"https://api.github.com/users/cdlee2/events{/privacy}","received_events_url":"https://api.github.com/users/cdlee2/received_events","type":"User","site_admin":false},"repo":{"id":119744905,"name":"tools_remote-client","full_name":"cdlee2/tools_remote-client","owner":{"login":"cdlee2","id":35938782,"avatar_url":"https://avatars3.githubusercontent.com/u/35938782?v=4","gravatar_id":"","url":"https://api.github.com/users/cdlee2","html_url":"https://github.com/cdlee2","followers_url":"https://api.github.com/users/cdlee2/followers","following_url":"https://api.github.com/users/cdlee2/following{/other_user}","gists_url":"https://api.github.com/users/cdlee2/gists{/gist_id}","starred_url":"https://api.github.com/users/cdlee2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdlee2/subscriptions","organizations_url":"https://api.github.com/users/cdlee2/orgs","repos_url":"https://api.github.com/users/cdlee2/repos","events_url":"https://api.github.com/users/cdlee2/events{/privacy}","received_events_url":"https://api.github.com/users/cdlee2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cdlee2/tools_remote-client","description":null,"fork":false,"url":"https://api.github.com/repos/cdlee2/tools_remote-client","forks_url":"https://api.github.com/repos/cdlee2/tools_remote-client/forks","keys_url":"https://api.github.com/repos/cdlee2/tools_remote-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cdlee2/tools_remote-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cdlee2/tools_remote-client/teams","hooks_url":"https://api.github.com/repos/cdlee2/tools_remote-client/hooks","issue_events_url":"https://api.github.com/repos/cdlee2/tools_remote-client/issues/events{/number}","events_url":"https://api.github.com/repos/cdlee2/tools_remote-client/events","assignees_url":"https://api.github.com/repos/cdlee2/tools_remote-client/assignees{/user}","branches_url":"https://api.github.com/repos/cdlee2/tools_remote-client/branches{/branch}","tags_url":"https://api.github.com/repos/cdlee2/tools_remote-client/tags","blobs_url":"https://api.github.com/repos/cdlee2/tools_remote-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cdlee2/tools_remote-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cdlee2/tools_remote-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/cdlee2/tools_remote-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cdlee2/tools_remote-client/statuses/{sha}","languages_url":"https://api.github.com/repos/cdlee2/tools_remote-client/languages","stargazers_url":"https://api.github.com/repos/cdlee2/tools_remote-client/stargazers","contributors_url":"https://api.github.com/repos/cdlee2/tools_remote-client/contributors","subscribers_url":"https://api.github.com/repos/cdlee2/tools_remote-client/subscribers","subscription_url":"https://api.github.com/repos/cdlee2/tools_remote-client/subscription","commits_url":"https://api.github.com/repos/cdlee2/tools_remote-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/cdlee2/tools_remote-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/cdlee2/tools_remote-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/cdlee2/tools_remote-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/cdlee2/tools_remote-client/contents/{+path}","compare_url":"https://api.github.com/repos/cdlee2/tools_remote-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cdlee2/tools_remote-client/merges","archive_url":"https://api.github.com/repos/cdlee2/tools_remote-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cdlee2/tools_remote-client/downloads","issues_url":"https://api.github.com/repos/cdlee2/tools_remote-client/issues{/number}","pulls_url":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls{/number}","milestones_url":"https://api.github.com/repos/cdlee2/tools_remote-client/milestones{/number}","notifications_url":"https://api.github.com/repos/cdlee2/tools_remote-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cdlee2/tools_remote-client/labels{/name}","releases_url":"https://api.github.com/repos/cdlee2/tools_remote-client/releases{/id}","deployments_url":"https://api.github.com/repos/cdlee2/tools_remote-client/deployments","created_at":"2018-01-31T21:21:44Z","updated_at":"2018-01-31T21:21:44Z","pushed_at":"2018-02-05T19:03:05Z","git_url":"git://github.com/cdlee2/tools_remote-client.git","ssh_url":"git@github.com:cdlee2/tools_remote-client.git","clone_url":"https://github.com/cdlee2/tools_remote-client.git","svn_url":"https://github.com/cdlee2/tools_remote-client","homepage":null,"size":36,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls/1"},"html":{"href":"https://github.com/cdlee2/tools_remote-client/pull/1"},"issue":{"href":"https://api.github.com/repos/cdlee2/tools_remote-client/issues/1"},"comments":{"href":"https://api.github.com/repos/cdlee2/tools_remote-client/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cdlee2/tools_remote-client/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/cdlee2/tools_remote-client/statuses/1aa488c7ed1ad6b2130aaec088e8843481024c88"}},"author_association":"OWNER"}}
{"actor":{"display_login":"cdlee2"}}