Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add tests for read-only dependency cache

    • -1
    • +8
    ./artifacts/TwoStageModuleArtifactCache.java
  1. … 13 more files in changeset.
Add tests for read-only dependency cache

    • -1
    • +8
    ./artifacts/TwoStageModuleArtifactCache.java
  1. … 13 more files in changeset.
Add tests for read-only dependency cache

    • -1
    • +8
    ./artifacts/TwoStageModuleArtifactCache.java
  1. … 13 more files in changeset.
Initial steps towards a 2-stage dependency cache

This commit introduces the infrastructure required to get a 2-stage

dependency cache, consisting of a read-only, shareable cache and

a read-write local mutable cache.

The read-only cache would typically be mounted on Docker images.

Only infrastructure, no tests yet.

    • -0
    • +55
    ./artifacts/ReadOnlyModuleArtifactCache.java
    • -0
    • +46
    ./artifacts/ReadOnlyModuleArtifactsCache.java
    • -0
    • +43
    ./artifacts/TwoStageArtifactsCache.java
    • -0
    • +57
    ./artifacts/TwoStageModuleArtifactCache.java
    • -0
    • +45
    ./dynamicversions/ReadOnlyModuleVersionsCache.java
    • -0
    • +45
    ./dynamicversions/TwoStageModuleVersionsCache.java
  1. … 72 more files in changeset.
Initial steps towards a 2-stage dependency cache

This commit introduces the infrastructure required to get a 2-stage

dependency cache, consisting of a read-only, shareable cache and

a read-write local mutable cache.

The read-only cache would typically be mounted on Docker images.

Only infrastructure, no tests yet.

    • -0
    • +55
    ./artifacts/ReadOnlyModuleArtifactCache.java
    • -0
    • +46
    ./artifacts/ReadOnlyModuleArtifactsCache.java
    • -0
    • +43
    ./artifacts/TwoStageArtifactsCache.java
    • -0
    • +57
    ./artifacts/TwoStageModuleArtifactCache.java
    • -0
    • +45
    ./dynamicversions/ReadOnlyModuleVersionsCache.java
    • -0
    • +45
    ./dynamicversions/TwoStageModuleVersionsCache.java
  1. … 72 more files in changeset.
Initial steps towards a 2-stage dependency cache

This commit introduces the infrastructure required to get a 2-stage

dependency cache, consisting of a read-only, shareable cache and

a read-write local mutable cache.

The read-only cache would typically be mounted on Docker images.

Only infrastructure, no tests yet.

    • -0
    • +55
    ./artifacts/ReadOnlyModuleArtifactCache.java
    • -0
    • +46
    ./artifacts/ReadOnlyModuleArtifactsCache.java
    • -0
    • +43
    ./artifacts/TwoStageArtifactsCache.java
    • -0
    • +57
    ./artifacts/TwoStageModuleArtifactCache.java
    • -0
    • +45
    ./dynamicversions/ReadOnlyModuleVersionsCache.java
    • -0
    • +45
    ./dynamicversions/TwoStageModuleVersionsCache.java
  1. … 72 more files in changeset.
Initial steps towards a 2-stage dependency cache

This commit introduces the infrastructure required to get a 2-stage

dependency cache, consisting of a read-only, shareable cache and

a read-write local mutable cache.

The read-only cache would typically be mounted on Docker images.

Only infrastructure, no tests yet.

    • -0
    • +55
    ./artifacts/ReadOnlyModuleArtifactCache.java
    • -0
    • +46
    ./artifacts/ReadOnlyModuleArtifactsCache.java
    • -0
    • +43
    ./artifacts/TwoStageArtifactsCache.java
    • -0
    • +57
    ./artifacts/TwoStageModuleArtifactCache.java
    • -0
    • +45
    ./dynamicversions/ReadOnlyModuleVersionsCache.java
    • -0
    • +45
    ./dynamicversions/TwoStageModuleVersionsCache.java
  1. … 72 more files in changeset.
Initial steps towards a 2-stage dependency cache

This commit introduces the infrastructure required to get a 2-stage

dependency cache, consisting of a read-only, shareable cache and

a read-write local mutable cache.

The read-only cache would typically be mounted on Docker images.

Only infrastructure, no tests yet.

    • -0
    • +55
    ./artifacts/ReadOnlyModuleArtifactCache.java
    • -0
    • +46
    ./artifacts/ReadOnlyModuleArtifactsCache.java
    • -0
    • +43
    ./artifacts/TwoStageArtifactsCache.java
    • -0
    • +57
    ./artifacts/TwoStageModuleArtifactCache.java
    • -0
    • +45
    ./dynamicversions/ReadOnlyModuleVersionsCache.java
    • -0
    • +45
    ./dynamicversions/TwoStageModuleVersionsCache.java
  1. … 72 more files in changeset.
Initial steps towards a 2-stage dependency cache

This commit introduces the infrastructure required to get a 2-stage

dependency cache, consisting of a read-only, shareable cache and

a read-write local mutable cache.

The read-only cache would typically be mounted on Docker images.

Only infrastructure, no tests yet.

    • -0
    • +55
    ./artifacts/ReadOnlyModuleArtifactCache.java
    • -0
    • +46
    ./artifacts/ReadOnlyModuleArtifactsCache.java
    • -0
    • +43
    ./artifacts/TwoStageArtifactsCache.java
    • -0
    • +57
    ./artifacts/TwoStageModuleArtifactCache.java
    • -0
    • +45
    ./dynamicversions/ReadOnlyModuleVersionsCache.java
    • -0
    • +45
    ./dynamicversions/TwoStageModuleVersionsCache.java
  1. … 72 more files in changeset.
Initial steps towards a 2-stage dependency cache

This commit introduces the infrastructure required to get a 2-stage

dependency cache, consisting of a read-only, shareable cache and

a read-write local mutable cache.

The read-only cache would typically be mounted on Docker images.

Only infrastructure, no tests yet.

    • -0
    • +55
    ./artifacts/ReadOnlyModuleArtifactCache.java
    • -0
    • +46
    ./artifacts/ReadOnlyModuleArtifactsCache.java
    • -0
    • +43
    ./artifacts/TwoStageArtifactsCache.java
    • -0
    • +57
    ./artifacts/TwoStageModuleArtifactCache.java
    • -0
    • +45
    ./dynamicversions/ReadOnlyModuleVersionsCache.java
    • -0
    • +45
    ./dynamicversions/TwoStageModuleVersionsCache.java
  1. … 72 more files in changeset.
Initial steps towards a 2-stage dependency cache

This commit introduces the infrastructure required to get a 2-stage

dependency cache, consisting of a read-only, shareable cache and

a read-write local mutable cache.

The read-only cache would typically be mounted on Docker images.

Only infrastructure, no tests yet.

    • -0
    • +55
    ./artifacts/ReadOnlyModuleArtifactCache.java
    • -0
    • +46
    ./artifacts/ReadOnlyModuleArtifactsCache.java
    • -0
    • +43
    ./artifacts/TwoStageArtifactsCache.java
    • -0
    • +57
    ./artifacts/TwoStageModuleArtifactCache.java
    • -0
    • +45
    ./dynamicversions/ReadOnlyModuleVersionsCache.java
    • -0
    • +45
    ./dynamicversions/TwoStageModuleVersionsCache.java
  1. … 72 more files in changeset.
Initial steps towards a 2-stage dependency cache

This commit introduces the infrastructure required to get a 2-stage

dependency cache, consisting of a read-only, shareable cache and

a read-write local mutable cache.

The read-only cache would typically be mounted on Docker images.

Only infrastructure, no tests yet.

    • -0
    • +55
    ./artifacts/ReadOnlyModuleArtifactCache.java
    • -0
    • +46
    ./artifacts/ReadOnlyModuleArtifactsCache.java
    • -0
    • +43
    ./artifacts/TwoStageArtifactsCache.java
    • -0
    • +57
    ./artifacts/TwoStageModuleArtifactCache.java
    • -0
    • +45
    ./dynamicversions/ReadOnlyModuleVersionsCache.java
    • -0
    • +45
    ./dynamicversions/TwoStageModuleVersionsCache.java
  1. … 72 more files in changeset.
Initial steps towards a 2-stage dependency cache

This commit introduces the infrastructure required to get a 2-stage

dependency cache, consisting of a read-only, shareable cache and

a read-write local mutable cache.

The read-only cache would typically be mounted on Docker images.

Only infrastructure, no tests yet.

    • -0
    • +44
    ./FileStoreAndIndexProvider.java
    • -0
    • +54
    ./ReadOnlyModuleMetadataCache.java
    • -0
    • +43
    ./TwoStageModuleMetadataCache.java
    • -0
    • +55
    ./artifacts/ReadOnlyModuleArtifactCache.java
    • -0
    • +46
    ./artifacts/ReadOnlyModuleArtifactsCache.java
    • -0
    • +43
    ./artifacts/TwoStageArtifactsCache.java
    • -0
    • +57
    ./artifacts/TwoStageModuleArtifactCache.java
    • -0
    • +45
    ./dynamicversions/ReadOnlyModuleVersionsCache.java
    • -0
    • +45
    ./dynamicversions/TwoStageModuleVersionsCache.java
  1. … 72 more files in changeset.
Initial steps towards a 2-stage dependency cache

This commit introduces the infrastructure required to get a 2-stage

dependency cache, consisting of a read-only, shareable cache and

a read-write local mutable cache.

The read-only cache would typically be mounted on Docker images.

Only infrastructure, no tests yet.

    • -0
    • +44
    ./FileStoreAndIndexProvider.java
    • -0
    • +54
    ./ReadOnlyModuleMetadataCache.java
    • -0
    • +43
    ./TwoStageModuleMetadataCache.java
    • -0
    • +55
    ./artifacts/ReadOnlyModuleArtifactCache.java
    • -0
    • +46
    ./artifacts/ReadOnlyModuleArtifactsCache.java
    • -0
    • +43
    ./artifacts/TwoStageArtifactsCache.java
    • -0
    • +57
    ./artifacts/TwoStageModuleArtifactCache.java
    • -0
    • +45
    ./dynamicversions/ReadOnlyModuleVersionsCache.java
    • -0
    • +45
    ./dynamicversions/TwoStageModuleVersionsCache.java
  1. … 72 more files in changeset.
Lambda-ification of the dependency management project

This makes the code base easier to read.

    • -25
    • +18
    ./PersistentModuleMetadataCache.java
  1. … 64 more files in changeset.
Lambda-ification of the dependency management project

This makes the code base easier to read.

    • -25
    • +18
    ./PersistentModuleMetadataCache.java
  1. … 64 more files in changeset.
Lambda-ification of the dependency management project

This makes the code base easier to read.

    • -25
    • +18
    ./PersistentModuleMetadataCache.java
  1. … 64 more files in changeset.
Lambda-ification of the dependency management project

This makes the code base easier to read.

    • -25
    • +18
    ./PersistentModuleMetadataCache.java
  1. … 64 more files in changeset.
Remove extra serialized boolean and use real cache layout version

    • -2
    • +0
    ./ModuleComponentResolveMetadataSerializer.java
  1. … 2 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.

    • -4
    • +4
    ./artifacts/AbstractArtifactsCache.java
    • -5
    • +6
    ./artifacts/DefaultCachedArtifact.java
    • -4
    • +4
    ./artifacts/DefaultCachedArtifacts.java
    • -6
    • +6
    ./artifacts/DefaultModuleArtifactCache.java
    • -2
    • +2
    ./artifacts/DefaultModuleArtifactsCache.java
    • -3
    • +3
    ./artifacts/InMemoryModuleArtifactCache.java
  1. … 92 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.

    • -4
    • +4
    ./artifacts/AbstractArtifactsCache.java
    • -5
    • +6
    ./artifacts/DefaultCachedArtifact.java
    • -4
    • +4
    ./artifacts/DefaultCachedArtifacts.java
    • -6
    • +6
    ./artifacts/DefaultModuleArtifactCache.java
    • -2
    • +2
    ./artifacts/DefaultModuleArtifactsCache.java
    • -3
    • +3
    ./artifacts/InMemoryModuleArtifactCache.java
  1. … 92 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.

    • -4
    • +4
    ./artifacts/AbstractArtifactsCache.java
    • -5
    • +6
    ./artifacts/DefaultCachedArtifact.java
    • -4
    • +4
    ./artifacts/DefaultCachedArtifacts.java
    • -6
    • +6
    ./artifacts/DefaultModuleArtifactCache.java
    • -2
    • +2
    ./artifacts/DefaultModuleArtifactsCache.java
    • -3
    • +3
    ./artifacts/InMemoryModuleArtifactCache.java
  1. … 92 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.

    • -4
    • +4
    ./artifacts/AbstractArtifactsCache.java
    • -5
    • +6
    ./artifacts/DefaultCachedArtifact.java
    • -4
    • +4
    ./artifacts/DefaultCachedArtifacts.java
    • -6
    • +6
    ./artifacts/DefaultModuleArtifactCache.java
    • -2
    • +2
    ./artifacts/DefaultModuleArtifactsCache.java
    • -3
    • +3
    ./artifacts/InMemoryModuleArtifactCache.java
  1. … 93 more files in changeset.
Add some debug logging

  1. … 2 more files in changeset.
Serialize module sources when realizing component metadata

    • -45
    • +8
    ./ModuleMetadataCacheEntrySerializer.java
    • -14
    • +5
    ./PersistentModuleMetadataCache.java
  1. … 5 more files in changeset.
Serialize module sources when realizing component metadata

    • -45
    • +8
    ./ModuleMetadataCacheEntrySerializer.java
    • -0
    • +69
    ./ModuleSourcesSerializer.java
    • -14
    • +5
    ./PersistentModuleMetadataCache.java
  1. … 2 more files in changeset.
Serialize module sources when realizing component metadata

    • -45
    • +8
    ./ModuleMetadataCacheEntrySerializer.java
    • -14
    • +5
    ./PersistentModuleMetadataCache.java
  1. … 4 more files in changeset.
Always serialize module sources

Module sources were only serialized in the cache metadata entry.

In practice, they belong to the module metadata, so they are now

properly serialized as part of it. This fixes the "force realize"

tests.

    • -47
    • +3
    ./ModuleMetadataCacheEntrySerializer.java
    • -0
    • +69
    ./ModuleSourcesSerializer.java
    • -20
    • +3
    ./PersistentModuleMetadataCache.java
  1. … 12 more files in changeset.
Always serialize module sources

Module sources were only serialized in the cache metadata entry.

In practice, they belong to the module metadata, so they are now

properly serialized as part of it. This fixes the "force realize"

tests.

    • -47
    • +3
    ./ModuleMetadataCacheEntrySerializer.java
    • -20
    • +3
    ./PersistentModuleMetadataCache.java
  1. … 12 more files in changeset.
Always serialize module sources

Module sources were only serialized in the cache metadata entry.

In practice, they belong to the module metadata, so they are now

properly serialized as part of it. This fixes the "force realize"

tests.

    • -47
    • +3
    ./ModuleMetadataCacheEntrySerializer.java
    • -20
    • +3
    ./PersistentModuleMetadataCache.java
  1. … 12 more files in changeset.