Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove synthetic accessors for internal private symbol references

  1. … 889 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 896 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 901 more files in changeset.
Remove synthetic accessors for internal private symbol references

  1. … 901 more files in changeset.
Fix classcycle

  1. … 7 more files in changeset.
Use SLF4J Logger in more places

Use only an SLF4J Logger instead of the Gradle Logger in places where it is enough. This is going to make this code more easy to reuse as it doesn't depend on `:logging` anymore.

  1. … 29 more files in changeset.
Clean local state in CacheStep

    • -42
    • +24
    ./internal/command/BuildCacheCommandFactory.java
  1. … 6 more files in changeset.
Clean local state in CacheStep

    • -42
    • +24
    ./internal/command/BuildCacheCommandFactory.java
  1. … 5 more files in changeset.
Force non-incremental execution after cache load failure

Previously when handling a failed load we did clean the outputs of the work, but ended up allowing incremental execution nevertheless. This is now fixed.

    • -40
    • +7
    ./internal/command/BuildCacheCommandFactory.java
    • -32
    • +0
    ./internal/packaging/UnrecoverableUnpackingException.java
  1. … 21 more files in changeset.
Force non-incremental execution after cache load failure

    • -14
    • +23
    ./internal/command/BuildCacheCommandFactory.java
  1. … 21 more files in changeset.
Force non-incremental execution after cache load failure

    • -14
    • +23
    ./internal/command/BuildCacheCommandFactory.java
  1. … 21 more files in changeset.
Force non-incremental execution after cache load failure

    • -14
    • +23
    ./internal/command/BuildCacheCommandFactory.java
  1. … 21 more files in changeset.
Notify about changing outputs early

We can do this as soon as we've decided that the outputs will change, i.e. when we already know that we can't entirely skip executing the work. This removes some duplicate code, too.

  1. … 8 more files in changeset.
Notify about changing outputs early

We can do this as soon as we've decided that the outputs will change, i.e. when we already know that we can't entirely skip executing the work. This removes some duplicate code, too.

  1. … 8 more files in changeset.
Fix overcounting of unpacked directories

The tar unpacker was counting every root directory except the

first one twice, because it was incrementing its counter before

checking whether it has left the current root.

The increment is now done after this check and a test case for this

condition was added.

  1. … 1 more file in changeset.
spelling: interned

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Execution engine shouldn't be concerned about null outputs

These should be filtered out already.

  1. … 3 more files in changeset.
Visit local state for CacheableEntity only and other name polish

    • -10
    • +9
    ./internal/command/BuildCacheCommandFactory.java
  1. … 10 more files in changeset.
More review feedback

  1. … 1 more file in changeset.
Use a more direct visitor

This avoids having to create a bunch of object instances when we are caching and stuff.

    • -28
    • +19
    ./internal/command/BuildCacheCommandFactory.java
    • -34
    • +0
    ./internal/packaging/CacheableTree.java
  1. … 20 more files in changeset.
Do caching in the new executer

    • -14
    • +14
    ./internal/command/BuildCacheCommandFactory.java
  1. … 15 more files in changeset.
Simplify how we snapshot outputs after loading from cache

I'm sure I did something to make this simpler, but I can't really say what. It does compile and some tests pass at least. Onwards!

    • -19
    • +31
    ./internal/command/BuildCacheCommandFactory.java
  1. … 7 more files in changeset.
Better error message

Revert unnecessary date change

Fix tests

  1. … 3 more files in changeset.
Remove remaining task-related utils class

    • -0
    • +54
    ./internal/packaging/impl/PackerDirectoryUtil.java
  1. … 3 more files in changeset.
Rename property -> tree and avoid using output in names

    • -57
    • +53
    ./internal/command/BuildCacheCommandFactory.java
  1. … 10 more files in changeset.
Remove last references to tasks

  1. … 1 more file in changeset.
Move build cache packaging and execution to build-cache-packaging

With this change the build cache becomes independent of tasks, so that in future it can be used to cache things like artifact transforms and Kotlin build scripts via a unified interface.

    • -0
    • +247
    ./internal/command/BuildCacheCommandFactory.java
    • -0
    • +27
    ./internal/command/BuildCacheLoadListener.java
    • -0
    • +71
    ./internal/packaging/BuildCacheEntryPacker.java
    • -0
    • +34
    ./internal/packaging/CacheableTree.java
    • -0
    • +32
    ./internal/packaging/UnrecoverableUnpackingException.java
    • -0
    • +53
    ./internal/packaging/impl/GZipBuildCacheEntryPacker.java
    • -0
    • +72
    ./internal/packaging/impl/RelativePathParser.java
    • -0
    • +490
    ./internal/packaging/impl/TarBuildCacheEntryPacker.java
    • -0
    • +19
    ./internal/packaging/impl/package-info.java
    • -0
    • +19
    ./internal/packaging/package-info.java
  1. … 62 more files in changeset.