Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

    • -4
    • +18
    ./LocallyAvailableResourceFinderFactory.java
  1. … 82 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.

    • -4
    • +18
    ./LocallyAvailableResourceFinderFactory.java
  1. … 82 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.

    • -4
    • +18
    ./LocallyAvailableResourceFinderFactory.java
  1. … 82 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.

    • -4
    • +18
    ./LocallyAvailableResourceFinderFactory.java
  1. … 82 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.

    • -4
    • +18
    ./LocallyAvailableResourceFinderFactory.java
  1. … 82 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.

    • -4
    • +18
    ./LocallyAvailableResourceFinderFactory.java
  1. … 82 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.

    • -4
    • +18
    ./LocallyAvailableResourceFinderFactory.java
  1. … 82 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.

    • -4
    • +18
    ./LocallyAvailableResourceFinderFactory.java
  1. … 82 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.

    • -4
    • +18
    ./LocallyAvailableResourceFinderFactory.java
  1. … 82 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.

    • -4
    • +18
    ./LocallyAvailableResourceFinderFactory.java
  1. … 82 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.

    • -4
    • +18
    ./LocallyAvailableResourceFinderFactory.java
  1. … 82 more files in changeset.
Lambda-ification of the dependency management project

This makes the code base easier to read.

    • -8
    • +1
    ./LocallyAvailableResourceFinderFactory.java
    • -13
    • +10
    ./PatternBasedLocallyAvailableResourceFinder.java
  1. … 64 more files in changeset.
Lambda-ification of the dependency management project

This makes the code base easier to read.

    • -8
    • +1
    ./LocallyAvailableResourceFinderFactory.java
    • -13
    • +10
    ./PatternBasedLocallyAvailableResourceFinder.java
  1. … 64 more files in changeset.
Lambda-ification of the dependency management project

This makes the code base easier to read.

    • -8
    • +1
    ./LocallyAvailableResourceFinderFactory.java
    • -13
    • +10
    ./PatternBasedLocallyAvailableResourceFinder.java
  1. … 64 more files in changeset.
Lambda-ification of the dependency management project

This makes the code base easier to read.

    • -8
    • +1
    ./LocallyAvailableResourceFinderFactory.java
    • -13
    • +10
    ./PatternBasedLocallyAvailableResourceFinder.java
  1. … 64 more files in changeset.
Merge remote-tracking branch 'upstream/master'

    • -0
    • +1
    ./LocallyAvailableResourceFinderFactory.java
  1. … 1 more file 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.

    • -5
    • +8
    ./LocallyAvailableResourceFinderFactory.java
    • -2
    • +3
    ./PatternBasedLocallyAvailableResourceFinder.java
  1. … 101 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.

    • -5
    • +8
    ./LocallyAvailableResourceFinderFactory.java
    • -2
    • +3
    ./PatternBasedLocallyAvailableResourceFinder.java
  1. … 101 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.

    • -5
    • +8
    ./LocallyAvailableResourceFinderFactory.java
    • -2
    • +3
    ./PatternBasedLocallyAvailableResourceFinder.java
  1. … 101 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.

    • -5
    • +8
    ./LocallyAvailableResourceFinderFactory.java
    • -2
    • +3
    ./PatternBasedLocallyAvailableResourceFinder.java
  1. … 102 more files in changeset.
Optimize how to locate metadata file in cache

This commit avoids the use of `search` on the file store

which is quite expensive (18% regression on exclude rule

merging perf test).

Instead we add a method on the filestore to give us the

path to the file given its coordinates.

    • -0
    • +1
    ./LocallyAvailableResourceFinderFactory.java
  1. … 2 more files in changeset.
Optimize how to locate metadata file in cache

This commit avoids the use of `search` on the file store

which is quite expensive (18% regression on exclude rule

merging perf test).

Instead we add a method on the filestore to give us the

path to the file given its coordinates.

    • -0
    • +1
    ./LocallyAvailableResourceFinderFactory.java
  1. … 2 more files in changeset.
Optimize how to locate metadata file in cache

This commit avoids the use of `search` on the file store

which is quite expensive (18% regression on exclude rule

merging perf test).

Instead we add a method on the filestore to give us the

path to the file given its coordinates.

    • -0
    • +1
    ./LocallyAvailableResourceFinderFactory.java
  1. … 2 more files in changeset.
make inner classes static where possible

Signed-off-by: Steven Crockett <crockett.j.steven@gmail.com>

    • -1
    • +1
    ./LocallyAvailableResourceFinderFactory.java
  1. … 42 more files in changeset.
Apply `Inner class may be 'static'` inspection the whole project

    • -1
    • +1
    ./LocallyAvailableResourceFinderFactory.java
  1. … 41 more files in changeset.
Apply `Anonymous type can be replaced with lambda` inspection the whole project

    • -15
    • +12
    ./PatternBasedLocallyAvailableResourceFinder.java
  1. … 666 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

    • -3
    • +3
    ./LocallyAvailableResourceFinderFactory.java
    • -3
    • +3
    ./PatternBasedLocallyAvailableResourceFinder.java
  1. … 908 more files in changeset.
Organize imports

    • -1
    • +0
    ./LocallyAvailableResourceFinderFactory.java
  1. … 339 more files in changeset.
Replace anonymous classes with lambdas

    • -7
    • +1
    ./LocallyAvailableResourceFinderFactory.java
    • -13
    • +10
    ./PatternBasedLocallyAvailableResourceFinder.java
  1. … 710 more files in changeset.
Replace anonymous classes with lambdas

    • -6
    • +1
    ./LocallyAvailableResourceFinderFactory.java
    • -13
    • +10
    ./PatternBasedLocallyAvailableResourceFinder.java
  1. … 694 more files in changeset.