Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Annotate PathKeyStores with nullability annotations

Speed up moving to file store, no 2

Speed up moving to file store

  1. … 3 more files in changeset.
Some changes to caching of external resources:

- Moved the file store to live under `caches/modules-2` as the file store is protected by the lock on this directory. The external resource metadata is cached under this directory as well.

- Use a hash of the _content_ of the external resource to calculate the resource's location in the file store, so that entries never need to be overwritten. Previously a hash of the _location_ of the external resource was used. Also include the base name from the URL to allow a human to get some idea of what each file contains.

- Use custom serialization rather than Java serialization for the external resource metadata cache.

- Renamed a couple of metadata caches to better reflect their purpose.

  1. … 15 more files in changeset.
Move PathKeyFileStore to `:resources`

+review REVIEW-6562

    • -0
    • +237
    ./DefaultPathKeyFileStore.java
  1. … 13 more files in changeset.
Move GFileUtils to base-services

+review REVIEW-6562

  1. … 31 more files in changeset.
Consolidated ExternalResourceUriResolver and ExternalResourceRepositoryAccessor

- ExternalResourceAccessor takes care of downloading and caching URI resources

- Only cache HTTP and HTTPS URI resources

- Use a shared FileStore<String>

    • -83
    • +0
    ./DefaultGroupedAndNamedUniqueFileStore.java
    • -0
    • +83
    ./GroupedAndNamedUniqueFileStore.java
  1. … 13 more files in changeset.
Revert "Reverted changes from PR#1900"

This reverts commit 3769869c339a2d4b753f92617641055adb3e4b16.

    • -0
    • +83
    ./DefaultGroupedAndNamedUniqueFileStore.java
    • -83
    • +0
    ./GroupedAndNamedUniqueFileStore.java
  1. … 12 more files in changeset.
Reverted changes from PR#1900

    • -83
    • +0
    ./DefaultGroupedAndNamedUniqueFileStore.java
    • -0
    • +83
    ./GroupedAndNamedUniqueFileStore.java
  1. … 24 more files in changeset.
Made settings.gradle apply works (and added test)

    • -0
    • +83
    ./DefaultGroupedAndNamedUniqueFileStore.java
    • -83
    • +0
    ./GroupedAndNamedUniqueFileStore.java
  1. … 14 more files in changeset.
Avoid computing relative path when we already know it (because it implies file canonicalization)

  1. … 1 more file in changeset.
Clean up cached artifact transform outputs on failure or crash.

  1. … 8 more files in changeset.
Added support for adding directories to `FileStore` instances.

  1. … 1 more file in changeset.
Javadocs.

  1. … 1 more file in changeset.
Renamed src/main/groovy to src/main/java in core

    • -0
    • +80
    ./GroupedAndNamedUniqueFileStore.java
    • -0
    • +202
    ./PathKeyFileStore.java
    • -0
    • +63
    ./PathNormalisingKeyFileStore.java
    • -0
    • +51
    ./UniquePathKeyFileStore.java
  1. … 2542 more files in changeset.