DependencyDownloadBuildOperationsIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Align implementations of artifact identifier display names

DefaultModuleComponentArtifactIdentifier now behaves similar as

ComponentFileArtifactIdentifier (showing the full actual file name).

This means that the artifact name used during reporting now

contains the version at the usual position in the file name.

This way it shows the actual file name for artifacts originating

from pom-only maven repositories (except snapshots, which show the

SNAPSHOT placeholder) and ivy repositories with default pattern.

The motivation for this alignment is to get the same representation for

the same file, independent of whether it was sourced from traditional

or Gradle module metadata.

    • -8
    • +8
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 32 more files in changeset.
Adjust tests and samples to new metadata sources defaults

    • -3
    • +21
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 95 more files in changeset.
Don't attempt to resolve asynchronously an artifact that has already been resolved in the current build invocation and whose result is already known in memory.

This avoids unnecessary synchronization overhead to run a build operation that effectively is a no-op, generates much less garbage, and delivers a more useful stream of build events to the build user.

    • -12
    • +139
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 3 more files in changeset.
Wrap calls to list the children of a resource during dependency resolution in a build operation of type `ExternalResourceListBuildOperationType`.

    • -1
    • +141
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 2 more files in changeset.
Wrap calls to get the meta-data of a resource during dependency resolution in a build operation of type `ExternalResourceReadMetadataBuildOperationType`.

    • -6
    • +19
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 2 more files in changeset.
Rework “network” build operations to model resource operations instead.

    • -3
    • +3
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 10 more files in changeset.
Rename network request build operation and drop unused attributes.

    • -10
    • +4
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 7 more files in changeset.
Identify the target of scripts/plugins to build scans.

    • -1
    • +1
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 26 more files in changeset.
Introduce -Dorg.gradle.operations.trace=«path» mechanism for logging operations of any build.

    • -5
    • +3
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 14 more files in changeset.
Reorganise the rich build operation details/results type to further decouple from producer side semantics.

    • -4
    • +4
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 82 more files in changeset.
Spike of decoupled build operation listening.

    • -9
    • +5
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 7 more files in changeset.
Use BuildOperationsFixture in DependencyDownloadBuildOperationsIntegrationTest

see https://github.com/gradle/gradle/pull/1907

    • -22
    • +15
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix test after merge

    • -2
    • +2
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
Fix test

    • -2
    • +3
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
Obtain the expected size from the actual file.

    • -2
    • +2
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
Adapt DownloadBuildOperationDetails to latest BuildOperationDetails refactorings

    • -5
    • +5
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 4 more files in changeset.
Convey the number of content bytes read in the download build operation result.

This provides a more (but not absolutely) reliable indicator of bytes transferred than the advertised content length pre transfer.

    • -0
    • +85
    ./DependencyDownloadBuildOperationsIntegrationTest.groovy
  1. … 12 more files in changeset.