Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove dependency between build-cache-packaging and native (#11856)

Part of: https://github.com/gradle/gradle-private/issues/2417

  1. … 6 more files in changeset.
Move BuildCacheCommandFactory to :build-cache

And its implementation to :core (though it should end up in some build-cache-related subproject eventually).

  1. … 13 more files in changeset.
Don't expose CurrentFileCollectionFingerprint when packing

Extract interface from BuildCacheCommandFactory

  1. … 3 more files in changeset.
Move FilePathUtil and DefaultFileHierarchySet to `:files`

  1. … 16 more files in changeset.
Do not depend on MutableLong

Use ARM instead of IoActions

Do not depend on GradleException

Use UncheckedIOException from JDK

Rename types for better understanding

We distinguish between complete and incomplete snapshots.

  1. … 66 more files in changeset.
Don't pass location of FSLS as it is included in the snapshot itself

  1. … 6 more files in changeset.
Parse path string for obtaining file name

Using new File(...).getName() or the Path API seems to be too costly.

  1. … 5 more files in changeset.
Invalidate partially when loading from cache

No user code is executed for loading from cache, so we don't need to

guard against anything.

  1. … 3 more files in changeset.
Use a virtual file system everywhere

  1. … 17 more files in changeset.
Allow adding snapshots to VFS

This is added used when unpacking from the build cache.

  1. … 5 more files in changeset.
Do not follow symlinks when removing work outputs

  1. … 17 more files in changeset.
Move Deleter interface out of impl package

  1. … 40 more files in changeset.
Introduce ensureEmptyDirectory() instead of cleanRecursively()

  1. … 9 more files in changeset.
Use Deleter to remove output before loading from cache

I split TarBuildCacheEntryPackerTest so that we can use the actual file system when we don't need to check file access modes, simplifying the tests significantly.

  1. … 5 more files in changeset.
Use FileSystem from nativeintegration package

  1. … 3 more files in changeset.
Polish TarBuildCacheEntryPacker

Move DefaultFileMetadata to impl package

  1. … 12 more files in changeset.
Polish code before changes

- fix nullability warnings

- use Java 8 syntax

    • -0
    • +19
    ./java/org/gradle/caching/internal/command/package-info.java
  1. … 9 more files in changeset.
Move constant around

Merge branch 'master' into lptr/build-cache/issue-9877

Address review feedback

  1. … 1 more file in changeset.
Polish CacheTaskArchiveErrorIntegrationTest

  1. … 1 more file in changeset.
Use absolute file in cache error

  1. … 1 more file in changeset.
Polish TarBuildCacheEntryPacker

Should throw if we're attempting to cache a non-root missing file