{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleContainerTools/jib/pulls/comments/216466685","pull_request_review_id":153955475,"id":216466685,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjQ2NjY4NQ==","diff_hunk":"@@ -0,0 +1,236 @@\n+/*\n+ * Copyright 2018 Google LLC. All rights reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\n+ * use this file except in compliance with the License. You may obtain a copy of\n+ * 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, WITHOUT\n+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the\n+ * License for the specific language governing permissions and limitations under\n+ * the License.\n+ */\n+\n+package com.google.cloud.tools.jib.ncache;\n+\n+import com.google.cloud.tools.jib.blob.Blob;\n+import com.google.cloud.tools.jib.blob.BlobDescriptor;\n+import com.google.cloud.tools.jib.blob.Blobs;\n+import com.google.cloud.tools.jib.filesystem.FileOperations;\n+import com.google.cloud.tools.jib.filesystem.TemporaryDirectory;\n+import com.google.cloud.tools.jib.hash.CountingDigestOutputStream;\n+import com.google.cloud.tools.jib.image.DescriptorDigest;\n+import java.io.BufferedOutputStream;\n+import java.io.IOException;\n+import java.nio.file.AtomicMoveNotSupportedException;\n+import java.nio.file.FileAlreadyExistsException;\n+import java.nio.file.Files;\n+import java.nio.file.Path;\n+import java.nio.file.StandardCopyOption;\n+import java.util.zip.GZIPOutputStream;\n+\n+/** Writes to the default cache storage engine. */\n+class DefaultCacheStorageWriter {\n+\n+  /** Holds information about a layer that was written. */\n+  private static class WrittenLayer {\n+\n+    private final DescriptorDigest layerDigest;\n+    private final DescriptorDigest layerDiffId;\n+    private final long layerSize;\n+\n+    private WrittenLayer(\n+        DescriptorDigest layerDigest, DescriptorDigest layerDiffId, long layerSize) {\n+      this.layerDigest = layerDigest;\n+      this.layerDiffId = layerDiffId;\n+      this.layerSize = layerSize;\n+    }\n+  }\n+\n+  /**\n+   * Attempts to move {@code source} to {@code destination}. If {@code destination} already exists,\n+   * this does nothing. Attempts an atomic move first, and falls back to non-atomic if the\n+   * filesystem does not support atomic moves.\n+   *\n+   * @param source the source path\n+   * @param destination the destination path\n+   * @throws IOException if an I/O exception occurs\n+   */\n+  private static void moveIfDoesNotExist(Path source, Path destination) throws IOException {\n+    try {\n+      Files.move(source, destination, StandardCopyOption.ATOMIC_MOVE);\n+\n+    } catch (FileAlreadyExistsException ignored) {\n+      // If the file already exists, we skip renaming and use the existing file. This happens if a\n+      // new layer happens to have the same content as a previously-cached layer.\n+      //\n+      // Do not attempt to remove the try-catch block with the idea of checking file existence\n+      // before moving; there can be concurrent file moves.\n+\n+    } catch (AtomicMoveNotSupportedException ignored) {\n+      try {\n+        Files.move(source, destination);\n+\n+      } catch (FileAlreadyExistsException alsoIgnored) {\n+        // Same reasoning\n+      }\n+    }\n+  }\n+\n+  private final DefaultCacheStorageFiles defaultCacheStorageFiles;\n+\n+  DefaultCacheStorageWriter(DefaultCacheStorageFiles defaultCacheStorageFiles) {\n+    this.defaultCacheStorageFiles = defaultCacheStorageFiles;\n+  }\n+\n+  /**\n+   * Writes the {@link CacheWrite}.\n+   *\n+   * <p>The {@link CacheWrite} is written out to the cache directory in the form:\n+   *\n+   * <ul>\n+   *   <li>The {@link CacheWrite#getLayerBlob} and {@link CacheWrite#getMetadataBlob} are written to\n+   *       the layer directory under the layers directory corresponding to the layer blob.\n+   *   <li>The {@link CacheWrite#getSelector} is written to the selector file under the selectors\n+   *       directory.\n+   * </ul>\n+   *\n+   * Note that writes that fail to clean up unfinished temporary directories could result in stray\n+   * directories in the layers directory. Cache reads should ignore these stray directories.\n+   *\n+   * @param cacheWrite the {@link CacheWrite} to write out\n+   * @return the {@link CacheEntry} representing the written entry\n+   * @throws IOException if an I/O exception occurs\n+   */\n+  CacheEntry write(CacheWrite cacheWrite) throws IOException {\n+    // Creates the layers directory if it doesn't exist.\n+    Files.createDirectories(defaultCacheStorageFiles.getLayersDirectory());\n+\n+    // Creates the temporary directory.\n+    try (TemporaryDirectory temporaryDirectory = new TemporaryDirectory()) {\n+      Path temporaryLayerDirectory = temporaryDirectory.getDirectory();\n+\n+      // Writes the layer file to the temporary directory.\n+      WrittenLayer writtenLayer =\n+          writeLayerBlobToDirectory(cacheWrite.getLayerBlob(), temporaryLayerDirectory);\n+\n+      // Writes the metadata to the temporary directory.\n+      if (cacheWrite.getMetadataBlob().isPresent()) {\n+        writeMetadataBlobToDirectory(cacheWrite.getMetadataBlob().get(), temporaryLayerDirectory);\n+      }\n+\n+      // Moves the temporary directory to the final location.\n+      moveIfDoesNotExist(\n+          temporaryLayerDirectory,\n+          defaultCacheStorageFiles.getLayerDirectory(writtenLayer.layerDigest));\n+\n+      // Updates cacheEntry with the blob information.\n+      Path layerFile =\n+          defaultCacheStorageFiles.getLayerFile(writtenLayer.layerDigest, writtenLayer.layerDiffId);\n+      DefaultCacheEntry.Builder cacheEntryBuilder =\n+          DefaultCacheEntry.builder()\n+              .setLayerDigest(writtenLayer.layerDigest)\n+              .setLayerDiffId(writtenLayer.layerDiffId)\n+              .setLayerSize(writtenLayer.layerSize)\n+              .setLayerBlob(Blobs.from(layerFile));\n+      if (cacheWrite.getMetadataBlob().isPresent()) {\n+        Path metadataFile = defaultCacheStorageFiles.getMetadataFile(writtenLayer.layerDigest);\n+        cacheEntryBuilder.setMetadataBlob(Blobs.from(metadataFile)).build();\n+      }\n+\n+      // Write the selector file.\n+      if (cacheWrite.getSelector().isPresent()) {\n+        writeSelector(cacheWrite.getSelector().get(), writtenLayer.layerDigest);\n+      }\n+\n+      return cacheEntryBuilder.build();\n+    }\n+  }\n+\n+  /**\n+   * Writes the {@code layerBlob} to the {@code layerDirectory}.\n+   *\n+   * @param layerBlob the layer {@link Blob}\n+   * @param layerDirectory the directory for the layer\n+   * @return a {@link WrittenLayer} with the written layer information\n+   * @throws IOException if an I/O exception occurs\n+   */\n+  private WrittenLayer writeLayerBlobToDirectory(Blob layerBlob, Path layerDirectory)\n+      throws IOException {\n+    Path temporaryLayerFile = Files.createTempFile(layerDirectory, null, null);\n+    temporaryLayerFile.toFile().deleteOnExit();\n+\n+    try (CountingDigestOutputStream compressedDigestOutputStream =\n+        new CountingDigestOutputStream(\n+            new BufferedOutputStream(FileOperations.newLockingOutputStream(temporaryLayerFile)))) {","path":"jib-core/src/main/java/com/google/cloud/tools/jib/ncache/DefaultCacheStorageWriter.java","position":168,"original_position":168,"commit_id":"a894882e093f050aae3521c163d682b1d371841c","original_commit_id":"a894882e093f050aae3521c163d682b1d371841c","user":{"login":"loosebazooka","id":1304826,"node_id":"MDQ6VXNlcjEzMDQ4MjY=","avatar_url":"https://avatars2.githubusercontent.com/u/1304826?v=4","gravatar_id":"","url":"https://api.github.com/users/loosebazooka","html_url":"https://github.com/loosebazooka","followers_url":"https://api.github.com/users/loosebazooka/followers","following_url":"https://api.github.com/users/loosebazooka/following{/other_user}","gists_url":"https://api.github.com/users/loosebazooka/gists{/gist_id}","starred_url":"https://api.github.com/users/loosebazooka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loosebazooka/subscriptions","organizations_url":"https://api.github.com/users/loosebazooka/orgs","repos_url":"https://api.github.com/users/loosebazooka/repos","events_url":"https://api.github.com/users/loosebazooka/events{/privacy}","received_events_url":"https://api.github.com/users/loosebazooka/received_events","type":"User","site_admin":false},"body":"Sorry I missed this, but it doesn't seem necessary to use locking outputstream on temporary files. Shouldn't their uniqueness be provided by guava?","created_at":"2018-09-10T20:46:09Z","updated_at":"2018-09-10T20:46:09Z","html_url":"https://github.com/GoogleContainerTools/jib/pull/879#discussion_r216466685","pull_request_url":"https://api.github.com/repos/GoogleContainerTools/jib/pulls/879","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/GoogleContainerTools/jib/pulls/comments/216466685"},"html":{"href":"https://github.com/GoogleContainerTools/jib/pull/879#discussion_r216466685"},"pull_request":{"href":"https://api.github.com/repos/GoogleContainerTools/jib/pulls/879"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleContainerTools/jib/pulls/879","id":210823295,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwODIzMjk1","html_url":"https://github.com/GoogleContainerTools/jib/pull/879","diff_url":"https://github.com/GoogleContainerTools/jib/pull/879.diff","patch_url":"https://github.com/GoogleContainerTools/jib/pull/879.patch","issue_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/879","number":879,"state":"closed","locked":false,"title":" Adds DefaultCacheStorage#write.","user":{"login":"coollog","id":4852522,"node_id":"MDQ6VXNlcjQ4NTI1MjI=","avatar_url":"https://avatars3.githubusercontent.com/u/4852522?v=4","gravatar_id":"","url":"https://api.github.com/users/coollog","html_url":"https://github.com/coollog","followers_url":"https://api.github.com/users/coollog/followers","following_url":"https://api.github.com/users/coollog/following{/other_user}","gists_url":"https://api.github.com/users/coollog/gists{/gist_id}","starred_url":"https://api.github.com/users/coollog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coollog/subscriptions","organizations_url":"https://api.github.com/users/coollog/orgs","repos_url":"https://api.github.com/users/coollog/repos","events_url":"https://api.github.com/users/coollog/events{/privacy}","received_events_url":"https://api.github.com/users/coollog/received_events","type":"User","site_admin":false},"body":"Part of #637 \r\n\r\n`DefaultCacheStorage` - storage engine implementation with just `write` implemented so far\r\n`DefaultCacheStorageFiles` - resolves files used in the cache storage directory\r\n`DefaultCacheStorageWriter` - the logic behind `DefaultCacheStorage#write`","created_at":"2018-08-24T19:03:07Z","updated_at":"2018-09-10T20:46:09Z","closed_at":"2018-09-10T20:17:22Z","merged_at":"2018-09-10T20:17:22Z","merge_commit_sha":"411da83bf9ef735e9aa0731a8d041498273b404b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1016518109,"node_id":"MDU6TGFiZWwxMDE2NTE4MTA5","url":"https://api.github.com/repos/GoogleContainerTools/jib/labels/cla:%20yes","name":"cla: yes","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/GoogleContainerTools/jib/pulls/879/commits","review_comments_url":"https://api.github.com/repos/GoogleContainerTools/jib/pulls/879/comments","review_comment_url":"https://api.github.com/repos/GoogleContainerTools/jib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/879/comments","statuses_url":"https://api.github.com/repos/GoogleContainerTools/jib/statuses/a894882e093f050aae3521c163d682b1d371841c","head":{"label":"GoogleContainerTools:ncache-3-defaultcachestorage","ref":"ncache-3-defaultcachestorage","sha":"a894882e093f050aae3521c163d682b1d371841c","user":{"login":"GoogleContainerTools","id":38444003,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDQ0MDAz","avatar_url":"https://avatars1.githubusercontent.com/u/38444003?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleContainerTools","html_url":"https://github.com/GoogleContainerTools","followers_url":"https://api.github.com/users/GoogleContainerTools/followers","following_url":"https://api.github.com/users/GoogleContainerTools/following{/other_user}","gists_url":"https://api.github.com/users/GoogleContainerTools/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleContainerTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleContainerTools/subscriptions","organizations_url":"https://api.github.com/users/GoogleContainerTools/orgs","repos_url":"https://api.github.com/users/GoogleContainerTools/repos","events_url":"https://api.github.com/users/GoogleContainerTools/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleContainerTools/received_events","type":"Organization","site_admin":false},"repo":{"id":118497841,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg0OTc4NDE=","name":"jib","full_name":"GoogleContainerTools/jib","owner":{"login":"GoogleContainerTools","id":38444003,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDQ0MDAz","avatar_url":"https://avatars1.githubusercontent.com/u/38444003?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleContainerTools","html_url":"https://github.com/GoogleContainerTools","followers_url":"https://api.github.com/users/GoogleContainerTools/followers","following_url":"https://api.github.com/users/GoogleContainerTools/following{/other_user}","gists_url":"https://api.github.com/users/GoogleContainerTools/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleContainerTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleContainerTools/subscriptions","organizations_url":"https://api.github.com/users/GoogleContainerTools/orgs","repos_url":"https://api.github.com/users/GoogleContainerTools/repos","events_url":"https://api.github.com/users/GoogleContainerTools/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleContainerTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleContainerTools/jib","description":":sailboat: Build container images for your Java applications.","fork":false,"url":"https://api.github.com/repos/GoogleContainerTools/jib","forks_url":"https://api.github.com/repos/GoogleContainerTools/jib/forks","keys_url":"https://api.github.com/repos/GoogleContainerTools/jib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleContainerTools/jib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleContainerTools/jib/teams","hooks_url":"https://api.github.com/repos/GoogleContainerTools/jib/hooks","issue_events_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleContainerTools/jib/events","assignees_url":"https://api.github.com/repos/GoogleContainerTools/jib/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleContainerTools/jib/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleContainerTools/jib/tags","blobs_url":"https://api.github.com/repos/GoogleContainerTools/jib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleContainerTools/jib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleContainerTools/jib/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleContainerTools/jib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleContainerTools/jib/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleContainerTools/jib/languages","stargazers_url":"https://api.github.com/repos/GoogleContainerTools/jib/stargazers","contributors_url":"https://api.github.com/repos/GoogleContainerTools/jib/contributors","subscribers_url":"https://api.github.com/repos/GoogleContainerTools/jib/subscribers","subscription_url":"https://api.github.com/repos/GoogleContainerTools/jib/subscription","commits_url":"https://api.github.com/repos/GoogleContainerTools/jib/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleContainerTools/jib/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleContainerTools/jib/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleContainerTools/jib/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleContainerTools/jib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleContainerTools/jib/merges","archive_url":"https://api.github.com/repos/GoogleContainerTools/jib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleContainerTools/jib/downloads","issues_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleContainerTools/jib/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleContainerTools/jib/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleContainerTools/jib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleContainerTools/jib/labels{/name}","releases_url":"https://api.github.com/repos/GoogleContainerTools/jib/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleContainerTools/jib/deployments","created_at":"2018-01-22T18:30:43Z","updated_at":"2018-09-10T20:30:01Z","pushed_at":"2018-09-10T20:42:15Z","git_url":"git://github.com/GoogleContainerTools/jib.git","ssh_url":"git@github.com:GoogleContainerTools/jib.git","clone_url":"https://github.com/GoogleContainerTools/jib.git","svn_url":"https://github.com/GoogleContainerTools/jib","homepage":"","size":5174,"stargazers_count":4444,"watchers_count":4444,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":311,"mirror_url":null,"archived":false,"open_issues_count":93,"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":311,"open_issues":93,"watchers":4444,"default_branch":"master"}},"base":{"label":"GoogleContainerTools:master","ref":"master","sha":"8b9e3a7d53f725b3f622adc5c74a641b8e6cbd31","user":{"login":"GoogleContainerTools","id":38444003,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDQ0MDAz","avatar_url":"https://avatars1.githubusercontent.com/u/38444003?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleContainerTools","html_url":"https://github.com/GoogleContainerTools","followers_url":"https://api.github.com/users/GoogleContainerTools/followers","following_url":"https://api.github.com/users/GoogleContainerTools/following{/other_user}","gists_url":"https://api.github.com/users/GoogleContainerTools/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleContainerTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleContainerTools/subscriptions","organizations_url":"https://api.github.com/users/GoogleContainerTools/orgs","repos_url":"https://api.github.com/users/GoogleContainerTools/repos","events_url":"https://api.github.com/users/GoogleContainerTools/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleContainerTools/received_events","type":"Organization","site_admin":false},"repo":{"id":118497841,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg0OTc4NDE=","name":"jib","full_name":"GoogleContainerTools/jib","owner":{"login":"GoogleContainerTools","id":38444003,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDQ0MDAz","avatar_url":"https://avatars1.githubusercontent.com/u/38444003?v=4","gravatar_id":"","url":"https://api.github.com/users/GoogleContainerTools","html_url":"https://github.com/GoogleContainerTools","followers_url":"https://api.github.com/users/GoogleContainerTools/followers","following_url":"https://api.github.com/users/GoogleContainerTools/following{/other_user}","gists_url":"https://api.github.com/users/GoogleContainerTools/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleContainerTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleContainerTools/subscriptions","organizations_url":"https://api.github.com/users/GoogleContainerTools/orgs","repos_url":"https://api.github.com/users/GoogleContainerTools/repos","events_url":"https://api.github.com/users/GoogleContainerTools/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleContainerTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleContainerTools/jib","description":":sailboat: Build container images for your Java applications.","fork":false,"url":"https://api.github.com/repos/GoogleContainerTools/jib","forks_url":"https://api.github.com/repos/GoogleContainerTools/jib/forks","keys_url":"https://api.github.com/repos/GoogleContainerTools/jib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleContainerTools/jib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleContainerTools/jib/teams","hooks_url":"https://api.github.com/repos/GoogleContainerTools/jib/hooks","issue_events_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleContainerTools/jib/events","assignees_url":"https://api.github.com/repos/GoogleContainerTools/jib/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleContainerTools/jib/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleContainerTools/jib/tags","blobs_url":"https://api.github.com/repos/GoogleContainerTools/jib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleContainerTools/jib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleContainerTools/jib/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleContainerTools/jib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleContainerTools/jib/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleContainerTools/jib/languages","stargazers_url":"https://api.github.com/repos/GoogleContainerTools/jib/stargazers","contributors_url":"https://api.github.com/repos/GoogleContainerTools/jib/contributors","subscribers_url":"https://api.github.com/repos/GoogleContainerTools/jib/subscribers","subscription_url":"https://api.github.com/repos/GoogleContainerTools/jib/subscription","commits_url":"https://api.github.com/repos/GoogleContainerTools/jib/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleContainerTools/jib/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleContainerTools/jib/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleContainerTools/jib/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleContainerTools/jib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleContainerTools/jib/merges","archive_url":"https://api.github.com/repos/GoogleContainerTools/jib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleContainerTools/jib/downloads","issues_url":"https://api.github.com/repos/GoogleContainerTools/jib/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleContainerTools/jib/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleContainerTools/jib/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleContainerTools/jib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleContainerTools/jib/labels{/name}","releases_url":"https://api.github.com/repos/GoogleContainerTools/jib/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleContainerTools/jib/deployments","created_at":"2018-01-22T18:30:43Z","updated_at":"2018-09-10T20:30:01Z","pushed_at":"2018-09-10T20:42:15Z","git_url":"git://github.com/GoogleContainerTools/jib.git","ssh_url":"git@github.com:GoogleContainerTools/jib.git","clone_url":"https://github.com/GoogleContainerTools/jib.git","svn_url":"https://github.com/GoogleContainerTools/jib","homepage":"","size":5174,"stargazers_count":4444,"watchers_count":4444,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":311,"mirror_url":null,"archived":false,"open_issues_count":93,"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":311,"open_issues":93,"watchers":4444,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleContainerTools/jib/pulls/879"},"html":{"href":"https://github.com/GoogleContainerTools/jib/pull/879"},"issue":{"href":"https://api.github.com/repos/GoogleContainerTools/jib/issues/879"},"comments":{"href":"https://api.github.com/repos/GoogleContainerTools/jib/issues/879/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleContainerTools/jib/pulls/879/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleContainerTools/jib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleContainerTools/jib/pulls/879/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleContainerTools/jib/statuses/a894882e093f050aae3521c163d682b1d371841c"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"loosebazooka"}}