Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduce a checksum file cache service

This service is responsible for caching the checksums computed from

local file system. Because it's also used for dependency verification

writing and checking, this cache uses the existing infrastructure which

makes sure that if a file is updated locally, we expire the entry in

the cache.

This is done because there are lots of places in the code where we

used the legacy `HashUtil` class, which has no caching whatsoever.

It's, however, quite common to have a build which generates sha1

checksums multiple times for the same file. For example, during

publication.

    • -1
    • +2
    ./local/internal/DirectoryBuildCacheServiceTest.groovy
  1. … 102 more files in changeset.
Introduce a checksum file cache service

This service is responsible for caching the checksums computed from

local file system. Because it's also used for dependency verification

writing and checking, this cache uses the existing infrastructure which

makes sure that if a file is updated locally, we expire the entry in

the cache.

This is done because there are lots of places in the code where we

used the legacy `HashUtil` class, which has no caching whatsoever.

It's, however, quite common to have a build which generates sha1

checksums multiple times for the same file. For example, during

publication.

    • -1
    • +2
    ./local/internal/DirectoryBuildCacheServiceTest.groovy
  1. … 102 more files in changeset.
Introduce a checksum file cache service

This service is responsible for caching the checksums computed from

local file system. Because it's also used for dependency verification

writing and checking, this cache uses the existing infrastructure which

makes sure that if a file is updated locally, we expire the entry in

the cache.

This is done because there are lots of places in the code where we

used the legacy `HashUtil` class, which has no caching whatsoever.

It's, however, quite common to have a build which generates sha1

checksums multiple times for the same file. For example, during

publication.

    • -1
    • +2
    ./local/internal/DirectoryBuildCacheServiceTest.groovy
  1. … 102 more files in changeset.
Introduce a checksum file cache service

This service is responsible for caching the checksums computed from

local file system. Because it's also used for dependency verification

writing and checking, this cache uses the existing infrastructure which

makes sure that if a file is updated locally, we expire the entry in

the cache.

This is done because there are lots of places in the code where we

used the legacy `HashUtil` class, which has no caching whatsoever.

It's, however, quite common to have a build which generates sha1

checksums multiple times for the same file. For example, during

publication.

    • -1
    • +2
    ./local/internal/DirectoryBuildCacheServiceTest.groovy
  1. … 103 more files in changeset.
Inject hostname to OriginMetadataFactory

    • -2
    • +9
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 4 more files in changeset.
Inject hostname to OriginMetadataFactory

    • -2
    • +9
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 4 more files in changeset.
Fix test

    • -1
    • +1
    ./internal/origin/OriginMetadataFactoryTest.groovy
Move InetAddressFactory to :base-services and work around JDK bug

See https://bugs.openjdk.java.net/browse/JDK-8143378

    • -1
    • +2
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 26 more files in changeset.
Move InetAddressFactory to :base-services and work around JDK bug

See https://bugs.openjdk.java.net/browse/JDK-8143378

    • -1
    • +2
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 26 more files in changeset.
Move InetAddressFactory to :base-services and work around JDK bug

See https://bugs.openjdk.java.net/browse/JDK-8143378

    • -1
    • +2
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 26 more files in changeset.
Remove legacy local cache option

    • -97
    • +9
    ./internal/controller/DefaultBuildCacheControllerTest.groovy
  1. … 9 more files in changeset.
Move FileAccessTimeJournal to :pineapple

    • -1
    • +1
    ./local/internal/DirectoryBuildCacheServiceFactoryTest.groovy
  1. … 20 more files in changeset.
Remove messaging dependency in :build-cache

It's fine if we can't detect the hostname in problematic cases.

    • -5
    • +2
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 3 more files in changeset.
Move org.gradle.caching.configuration.internal to :core

    • -115
    • +0
    ./configuration/internal/DefaultBuildCacheConfigurationTest.groovy
  1. … 17 more files in changeset.
Move org.gradle.caching.configuration.internal to :core

    • -115
    • +0
    ./configuration/internal/DefaultBuildCacheConfigurationTest.groovy
  1. … 17 more files in changeset.
Move BuildCacheControllerFactory to :core

    • -275
    • +0
    ./internal/controller/BuildCacheControllerFactoryTest.groovy
  1. … 4 more files in changeset.
Move BuildCacheControllerFactory to :core

    • -275
    • +0
    ./internal/controller/BuildCacheControllerFactoryTest.groovy
  1. … 4 more files in changeset.
Make Gradle version in OriginMetadataFactory pluggable

    • -2
    • +1
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 2 more files in changeset.
Make Gradle version in OriginMetadataFactory pluggable

    • -2
    • +1
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 2 more files in changeset.
Do not rely on Clock to determine execution time

    • -5
    • +2
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 2 more files in changeset.
Do not rely on Clock to determine execution time

    • -5
    • +2
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 2 more files in changeset.
Do not depend on UniqueId in build cache

Use a String instead to identify builds.

    • -3
    • +2
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 17 more files in changeset.
Do not depend on UniqueId in build cache

Use a String instead to identify builds.

    • -3
    • +2
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 17 more files in changeset.
Do not depend on UniqueId in build cache

Use a String instead to identify builds.

    • -3
    • +2
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 17 more files in changeset.
Do not depend on UniqueId in build cache

Use a String instead to identify builds.

    • -3
    • +2
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 15 more files in changeset.
Do not depend on UniqueId in build cache

Use a String instead to identify builds.

    • -3
    • +2
    ./internal/origin/OriginMetadataFactoryTest.groovy
  1. … 15 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

    • -1
    • +1
    ./internal/controller/BuildCacheControllerFactoryTest.groovy
    • -1
    • +1
    ./internal/controller/DefaultBuildCacheControllerTest.groovy
  1. … 50 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

    • -1
    • +1
    ./internal/controller/BuildCacheControllerFactoryTest.groovy
    • -1
    • +1
    ./internal/controller/DefaultBuildCacheControllerTest.groovy
  1. … 50 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

    • -1
    • +1
    ./internal/controller/BuildCacheControllerFactoryTest.groovy
    • -1
    • +1
    ./internal/controller/DefaultBuildCacheControllerTest.groovy
  1. … 49 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

    • -4
    • +4
    ./internal/controller/BuildCacheControllerFactoryTest.groovy
    • -1
    • +1
    ./internal/controller/DefaultBuildCacheControllerTest.groovy
  1. … 50 more files in changeset.