Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make paths/names of included builds immutable (#10998)

Changes the “build path” for included builds to be determined at inclusion time based on the directory name, or a user supplied override. Previously, we tried to use the root project name defined in the included build. This caused a lot of complexity due to it not being known until part way through building the included build.

This change also disallows use of `buildSrc` as a project name, as it collides with the `buildSrc` nested build.

    • -1
    • +1
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 72 more files in changeset.
Fix tests

    • -1
    • +1
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 1 more file in changeset.
Attach node selection failures to constraint edges

When a constraint edge cannot find target nodes, we check if a selection

failure needs to be attached.

Issue #9692

    • -0
    • +23
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 1 more file in changeset.
Attach node selection failures to constraint edges

When a constraint edge cannot find target nodes, we check if a selection

failure needs to be attached.

Issue #9692

    • -0
    • +23
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix corner cases in graph resolution

The deferred selection still had a couple corner cases where the graph

was not in the right state. It was possible to leak selectors and/or

unattached dependencies.

Fixes #9641

    • -0
    • +70
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 2 more files in changeset.
Sort module selectors

This commit reworks module selectors so that they are sorted

in an order which reduces the cost of module selection. We

make sure to put local (project) selectors first, then we

use selectors from locks (if any).

The next selectors are "latest" version selectors because

even if they are dynamic, they are likely to "win" selection.

Then, exact version selectors are sorted by version descending

, and last we add dynamic version selectors.

    • -1
    • +1
    ./DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy
    • -5
    • +5
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 18 more files in changeset.
Sort module selectors

This commit reworks module selectors so that they are sorted

in an order which reduces the cost of module selection. We

make sure to put local (project) selectors first, then we

use selectors from locks (if any).

The next selectors are "latest" version selectors because

even if they are dynamic, they are likely to "win" selection.

Then, exact version selectors are sorted by version descending

, and last we add dynamic version selectors.

    • -1
    • +1
    ./DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy
    • -5
    • +5
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 18 more files in changeset.
Sort module selectors

This commit reworks module selectors so that they are sorted

in an order which reduces the cost of module selection. We

make sure to put local (project) selectors first, then we

use selectors from locks (if any).

The next selectors are "latest" version selectors because

even if they are dynamic, they are likely to "win" selection.

Then, exact version selectors are sorted by version descending

, and last we add dynamic version selectors.

    • -1
    • +1
    ./DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy
    • -5
    • +5
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 18 more files in changeset.
Sort module selectors

This commit reworks module selectors so that they are sorted

in an order which reduces the cost of module selection. We

make sure to put local (project) selectors first, then we

use selectors from locks (if any).

The next selectors are "latest" version selectors because

even if they are dynamic, they are likely to "win" selection.

Then, exact version selectors are sorted by version descending

, and last we add dynamic version selectors.

    • -1
    • +1
    ./DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy
    • -5
    • +5
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 18 more files in changeset.
Sort module selectors

This commit reworks module selectors so that they are sorted

in an order which reduces the cost of module selection. We

make sure to put local (project) selectors first, then we

use selectors from locks (if any).

The next selectors are "latest" version selectors because

even if they are dynamic, they are likely to "win" selection.

Then, exact version selectors are sorted by version descending

, and last we add dynamic version selectors.

    • -1
    • +1
    ./DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy
    • -5
    • +5
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 18 more files in changeset.
Update failOnVersionConflict error message

The message now leverages the description found on the selection reason.

It will enable to report on all conflicts, like capabilites, and not

just version ones.

Issue #8428

    • -3
    • +2
    ./DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy
  1. … 6 more files in changeset.
Provide special display message for 'reject all'

    • -1
    • +1
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 4 more files in changeset.
Remove custom rendering when building failure message

For consistency, we now use `ComponentSelector.displayName` when

rendering a failure message, instead of custom display logic.

    • -1
    • +1
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 6 more files in changeset.
Differentiate between dependency and constraint edges in `ResolveTestFixture`

    • -26
    • +11
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 8 more files in changeset.
Simplify verification of constraints in `ResolveTestFixture`

    • -3
    • +3
    ./DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy
    • -4
    • +3
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 2 more files in changeset.
Add 'constraint' property to dependencies in ResolutionResult

It's important to be able to differentiate between hard dependencies and

dependency constraints when analysing the resolution result. This was done

by adding a simple boolean property to `DependencyResult`, indicating if

the source of the edge was a dependency or a constraint.

The new API is not yet used in any dependency reporting.

    • -0
    • +16
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 16 more files in changeset.
Reshuffle some tests into subpackages

This is just a refactoring of tests, to make it clearer: the base

package started to grow significantly.

    • -0
    • +188
    ./DependencyConstraintsAndResolutionStrategiesIntegrationTest.groovy
    • -0
    • +575
    ./DependencyConstraintsIntegrationTest.groovy
  1. … 78 more files in changeset.