IvyHttpRepoResolveIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Annotate integ tests failing with instant execution in :dependencyManagement

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +5
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 93 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +5
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 93 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +5
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 93 more files in changeset.
Adjust tests and samples to new metadata sources defaults

    • -1
    • +0
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 95 more files in changeset.
Adjust tests and samples to new metadata sources defaults

    • -1
    • +0
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 15 more files in changeset.
Adjust tests and samples to new metadata sources defaults

    • -1
    • +0
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 15 more files in changeset.
Adjust tests and samples to new metadata sources defaults

    • -1
    • +0
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 15 more files in changeset.
Finalize the value of any task `@Input` property whose getter returns a property instance, at the start of execution of the task.

This means that the property value will not change once the task has started execution, so that the same value is always used during fingerprinting, cache key calculation, validation, when queried by a task action, and so on.

This behaviour only applies to `@Input` properties in this commit. This was just a place to start. Other properties will be added in later commits.

Changes to the property are ignored once the value is finalized implicitly in this way and generate a deprecation warning instead of failing, as would happen after `finalizeValue()` is called. This allows a migration path for task types that can add a new property to represent some input and keep their existing lenient (but now deprecated) behaviour for an existing property backed by the new property. It might prove better to flip this around, let's see.

    • -1
    • +2
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 61 more files in changeset.
Change int tests to use relevant fixture methods to express their expectations about the build log output.

    • -7
    • +7
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 30 more files in changeset.
Avoid repository lookups for unsupported notations in Maven and Ivy (#3459)

This pulls up the check that was first added for Maven only in #3431.

    • -0
    • +45
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 9 more files in changeset.
Only abort repository lookups on critical resolution failure

Gradle 4.3 introduced an improvement where an error in resolving a module from

one repository would prevent Gradle from searching for that same module in

subsequent repositories (see #2853).

However, the change to abort searching repositories on _all_ unrecognised errors

proved to be too aggressive. With this change, only repository timeout errors

will prevent Gradle from searching for a module in a subsequent repository.

These timeout errors are considered 'critical' and will blacklist the repository

and abort resolution for that module.

In a future release of Gradle, it is likely that we will expand the set of resolution

failures that we consider 'critical' to include server errors (HTTP 500) and the

like. This commit keeps the set small to miminize impact on the 4.3.1 release.

    • -0
    • +56
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 9 more files in changeset.
Treat various kinds of dependency resolution failures in more consistent ways.

- When a non-lenient view is used as a task input, then propagate any failure to select a configuration in the dependency graph during task graph calculation, rather than suppressing these kinds of failures and propagating later when the files happen to be queried. This now happens consistently whether fluid dependencies are used or not. The only difference between these is how much of the graph is traversed at task graph calculation time.

- When a lenient view is used as a task input, suppress configuration selection failures during task graph calculation and instead present them in `ArtifactCollection.failures`. Do this consistently regardless of whether fluid dependencies are used or not. Previously this kind of failure was propagated during task graph calculation for lenient views.

Also changed the error message on resolution failure to include what kind of query was being performed at the time to trigger the failure.

From an implementation point of view, separated the handling of selection failures from the code that produces the legacy resolution result so that this handling can be reused when the legacy result is not required (such as, say, when calculating the task graph).

    • -4
    • +3
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 34 more files in changeset.
Fix expected error messages

+review REVIEW-6478

    • -1
    • +2
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 1 more file in changeset.
Use doLast instead of left shift operator

Made this change in preparation for deprecating the left shift operator.

+review REVIEW-6236

    • -2
    • +4
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 163 more files in changeset.
Handle missing 'publicationDate' attribute in resolved ivy files

    • -0
    • +43
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 1 more file in changeset.
Fixes after making tests not implement TestDirectoryProvider.

+review REVIEW-5602

    • -2
    • +3
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 5 more files in changeset.
add test coverage for attempting to use AwsCredentials with non-S3 repository

+review REVIEW-5361

    • -0
    • +33
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 1 more file in changeset.
Renamed subprojects/core-impl to subprojects/dependency-management.

    • -0
    • +30
    ./IvyHttpRepoResolveIntegrationTest.groovy
  1. … 1384 more files in changeset.