fingerprint

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rename DefaultFileMetadata{ -> Snapshot}

so it is consistent with the interface.

    • -3
    • +3
    ./impl/FileSystemSnapshotBuilderTest.groovy
  1. … 9 more files in changeset.
Determine isSymlink in stat

We switch to using the native stat on all OSes,

since it should be much faster for missing files

compared to catching the exception in Java

NIO.

    • -1
    • +1
    ./impl/FileSystemSnapshotBuilderTest.groovy
  1. … 8 more files in changeset.
Determine isSymlink in stat

We switch to using the native stat on all OSes,

since it should be much faster for missing files

compared to catching the exception in Java

NIO.

    • -1
    • +1
    ./impl/FileSystemSnapshotBuilderTest.groovy
  1. … 8 more files in changeset.
Force AbstractTestDirectoryProvider to use Class (#12431)

Closes https://github.com/gradle/gradle-private/issues/2988

This PR adds `className` to `AbstractTestDirectoryProvider` so there'll be no more `unknown-test-class`.

    • -1
    • +1
    ./classpath/impl/DefaultClasspathFingerprinterTest.groovy
    • -1
    • +1
    ./impl/AbsolutePathFileCollectionFingerprinterTest.groovy
    • -1
    • +1
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 405 more files in changeset.
Fix tests

    • -1
    • +1
    ./classpath/impl/DefaultClasspathFingerprinterTest.groovy
    • -1
    • +1
    ./impl/AbsolutePathFileCollectionFingerprinterTest.groovy
    • -1
    • +1
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 370 more files in changeset.
Fixes.

    • -2
    • +1
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 6 more files in changeset.
Fixes.

    • -2
    • +1
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 6 more files in changeset.
Fix for previous commit.

    • -1
    • +1
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
Fix for previous commit.

    • -1
    • +1
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
Fix for previous commit.

    • -1
    • +1
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
Simplify the implementation of `GeneratedSingletonFileTree`.

    • -3
    • +2
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 25 more files in changeset.
Simplify the implementation of `GeneratedSingletonFileTree`.

    • -3
    • +2
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 25 more files in changeset.
Simplify the implementation of `GeneratedSingletonFileTree`.

    • -3
    • +2
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 25 more files in changeset.
Replace several usages of direct `FileCollection` implementation instantiation with a factory method.

Remove a couple of `FileCollection` implementations, as these can now be replaced with public API factory methods instead.

    • -2
    • +1
    ./classpath/impl/DefaultClasspathFingerprinterTest.groovy
    • -2
    • +1
    ./impl/AbsolutePathFileCollectionFingerprinterTest.groovy
  1. … 33 more files in changeset.
Replace several usages of direct `FileCollection` implementation instantiation with a factory method.

Remove a couple of `FileCollection` implementations, as these can now be replaced with public API factory methods instead.

    • -2
    • +1
    ./classpath/impl/DefaultClasspathFingerprinterTest.groovy
    • -2
    • +1
    ./impl/AbsolutePathFileCollectionFingerprinterTest.groovy
  1. … 33 more files in changeset.
Replace several usages of direct `FileCollection` implementation instantiation with a factory method.

Remove a couple of `FileCollection` implementations, as these can now be replaced with public API factory methods instead.

    • -2
    • +1
    ./classpath/impl/DefaultClasspathFingerprinterTest.groovy
    • -2
    • +1
    ./impl/AbsolutePathFileCollectionFingerprinterTest.groovy
  1. … 33 more files in changeset.
Replace several more usages of direct `FileCollection` implementation instantiation with a factory method.

Remove/deprecate a couple of `FileCollection` implementations, as these can now be replaced with public API factory methods instead.

The deprecation is intended to be tempory, until the play plugin can be updated to use public APIs instead, then the implementation will be removed.

    • -2
    • +1
    ./classpath/impl/DefaultClasspathFingerprinterTest.groovy
    • -2
    • +1
    ./impl/AbsolutePathFileCollectionFingerprinterTest.groovy
  1. … 44 more files in changeset.
Replace several more usages of direct `FileCollection` implementation instantiation with a factory method.

Remove/deprecate a couple of `FileCollection` implementations, as these can now be replaced with public API factory methods instead.

The deprecation is intended to be tempory, until the play plugin can be updated to use public APIs instead, then the implementation will be removed.

    • -2
    • +1
    ./classpath/impl/DefaultClasspathFingerprinterTest.groovy
    • -2
    • +1
    ./impl/AbsolutePathFileCollectionFingerprinterTest.groovy
  1. … 44 more files in changeset.
Tests for previous commit.

    • -4
    • +2
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 5 more files in changeset.
Tests for previous commit.

    • -4
    • +2
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 5 more files in changeset.
Fix the `jar` task with instant execution when the classes output directory does not exist when writing the instant execution cache.

More generally, do not ignore input directories for archive tasks which did not exist when the instant execution cache was written.

    • -4
    • +2
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 9 more files in changeset.
Fix the `jar` task with instant execution when the classes output directory does not exist when writing the instant execution cache.

More generally, do not ignore input directories for archive tasks which did not exist when the instant execution cache was written.

    • -4
    • +2
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 9 more files in changeset.
Normalize metaInf entries

Jar file manifests can't be normalized via the current normalization method due to their potential impact on runtime behaviour, so this makes their normalization a feature. In addition to allowing attributes to be ignored by key, for changing attributes such as Created-By (typically includes the exact JDK version) attributes are sorted before they're filtered and hashed ensuring a stable result.

This also normalizes property files with in META-INF/ and optionally allows values to be ignored by key.

Signed-off-by: Danny Thomas <dannyt@netflix.com>

    • -2
    • +2
    ./classpath/impl/DefaultClasspathFingerprinterTest.groovy
  1. … 22 more files in changeset.
Use own listener type for GeneratedSingletonFileTree

    • -3
    • +2
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 1 more file in changeset.
Notify VFS when manifest is written

by GeneratedSingletonFileTree.

    • -1
    • +3
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 6 more files in changeset.
Notify VFS when manifest is written

by GeneratedSingletonFileTree.

    • -1
    • +3
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 6 more files in changeset.
Notify VFS when manifest is written

by GeneratedSingletonFileTree.

    • -1
    • +3
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 6 more files in changeset.
Notify VFS when manifest is written

by GeneratedSingletonFileTree.

    • -1
    • +3
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 7 more files in changeset.
Notify VFS when manifest is written

by GeneratedSingletonFileTree.

    • -1
    • +3
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 6 more files in changeset.
Notify VFS when manifest is written

by GeneratedSingletonFileTree.

    • -1
    • +3
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 6 more files in changeset.