TestFileHasher.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reproduced 'unreadable files/directories that were not produced by task should be ignored' via test

> Caused by: java.io.FileNotFoundException: /Users/paplorinc/gradle/subprojects/core/build/tmp/test files/CopyPermissionsIntegrationTest/unreadable_excluded...s_ignored/oyc6j/targetFolder/unreadableFile (Permission denied)

at org.gradle.internal.hash.DefaultFileHasher.hash(DefaultFileHasher.java:36)

... 53 more

  1. … 4 more files in changeset.
Reproduced 'unreadable files/directories that were not produced by task should be ignored' via test

> Caused by: java.io.FileNotFoundException: /Users/paplorinc/gradle/subprojects/core/build/tmp/test files/CopyPermissionsIntegrationTest/unreadable_excluded...s_ignored/oyc6j/targetFolder/unreadableFile (Permission denied)

at org.gradle.internal.hash.DefaultFileHasher.hash(DefaultFileHasher.java:36)

... 53 more

  1. … 4 more files in changeset.
Reproduced 'unreadable files/directories that were not produced by task should be ignored' via test

> Caused by: java.io.FileNotFoundException: /Users/paplorinc/gradle/subprojects/core/build/tmp/test files/CopyPermissionsIntegrationTest/unreadable_excluded...s_ignored/oyc6j/targetFolder/unreadableFile (Permission denied)

at org.gradle.internal.hash.DefaultFileHasher.hash(DefaultFileHasher.java:36)

... 53 more

  1. … 4 more files in changeset.
Add UnavailableFileSnapshot to model inaccessible content

  1. … 6 more files in changeset.
Add UnavailableFileSnapshot to model inaccessible content

  1. … 4 more files in changeset.
Add UnavailableFileSnapshot to model inaccessible content

  1. … 4 more files in changeset.
Add UnavailableFileSnapshot to model inaccessible content

  1. … 6 more files in changeset.
Add UnavailableFileSnapshot to model inaccessible content

  1. … 4 more files in changeset.
Add UnavailableFileSnapshot to model inaccessible content

  1. … 4 more files in changeset.
Extend MissingFileSnapshot to be able to store FileType.Unavailable

  1. … 5 more files in changeset.
Extend MissingFileSnapshot to be able to store FileType.Unavailable

  1. … 4 more files in changeset.
Extend MissingFileSnapshot to be able to store FileType.Unavailable

  1. … 5 more files in changeset.
Move API classes back to :base-serivces

  1. … 32 more files in changeset.
Use MD5 as the default hashing function

  1. … 38 more files in changeset.
Use our own hashing architecture, take 2 (#2817)

This replaces Guava's hashing. We need this for two reasons:

- it allows the addition of custom hash functions, like BLAKE2b which would not be possible with Guava's closed design

- it fixes a few performance issues that Guava only fixes in version 20 (which we can't upgrade to right now, because we still need to support Java 5 in places)

  1. … 159 more files in changeset.
Update snapshots while unpacking task outputs (#2745)

Previously we were naively extracting task outputs, and then snapshot

them in a separate step, just as if the output was generated by some

unknown process. However, during unpacking we already know everything we

need to also do the snapshotting. This speeds up the unpacking process

substantially.

    • -0
    • +55
    ./TestFileHasher.groovy
  1. … 46 more files in changeset.