fingerprint

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
Notify VFS when manifest is written

by GeneratedSingletonFileTree.

    • -1
    • +3
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 6 more files in changeset.
Add test for empty jar handling

    • -0
    • +17
    ./classpath/impl/DefaultClasspathFingerprinterTest.groovy
Rename types for better understanding

We distinguish between complete and incomplete snapshots.

    • -5
    • +5
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
    • -5
    • +5
    ./impl/FileSystemSnapshotBuilderTest.groovy
  1. … 67 more files in changeset.
Use Consumer<FileSystemLocationSnapshot> in VFS

This makes sure that the file system snapshot is consumed and all the

files are read with the VFS aware of it while simplifying the API

quite a bit.

    • -2
    • +1
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 25 more files in changeset.
Use Consumer<FileSystemLocationSnapshot> in VFS

This makes sure that the file system snapshot is consumed and all the

files are read with the VFS aware of it while simplifying the API

quite a bit.

    • -2
    • +1
    ./impl/DefaultFileCollectionSnapshotterTest.groovy
  1. … 25 more files in changeset.
Move FileSystemSnapshotBuilder to core

It isn't used in `snapshots` at all.

    • -0
    • +141
    ./impl/FileSystemSnapshotBuilderTest.groovy
  1. … 4 more files in changeset.
Move snapshotting generic file trees to own service

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

    • -6
    • +3
    ./classpath/impl/DefaultClasspathFingerprinterTest.groovy
    • -18
    • +15
    ./impl/AbsolutePathFileCollectionFingerprinterTest.groovy
  1. … 8 more files in changeset.