GitVersionSelectionIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Catch up with master

    • -7
    • +7
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 415 more files in changeset.
Serialize the 'branch' detail of a version constraint

    • -7
    • +7
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 4 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -8
    • +8
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in various projects

removing most of @IgnoreWithInstantExecution annotations

after fixing the @FailsWithInstantExecution rule

and more ci feedback

also make @IgnoreWithInstantExecution require a reason from a fixed set

and add it to the remaining ignores

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

    • -2
    • +1
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 126 more files in changeset.
Annotate integ tests failing with instant execution in :versionControl

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

    • -0
    • +9
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 13 more files in changeset.
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.

    • -32
    • +32
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 72 more files in changeset.
Remove use of deprecated API

Remove use of deprecated APIs in PluginBuilder

Replace use of archiveName with archiveFileName

Avoid more deprecated APIs

    • -3
    • +3
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 64 more files in changeset.
Change ResolveTestFixture to default to 'runtimeClasspath'

    • -1
    • +1
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 1 more file in changeset.
Tweak the output produced by `TreeFormatter`.

    • -4
    • +8
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 36 more files in changeset.
Fix tests for change to constraint error reporting

    • -1
    • +1
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 1 more file in changeset.
Make AbstractArchiveTask.destinationDir mandatory

Prior to this commit the working directory was used when the

`destinationDir` was not set. Since this behavior does not play nice

with reproducible builds, it will now fail instead. However, it should

rarely happen because the `base` plugin provides a convention.

    • -0
    • +1
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 26 more files in changeset.
Make AbstractArchiveTask.destinationDir mandatory

Prior to this commit the working directory was used when the

`destinationDir` was not set. Since this behavior does not play nice

with reproducible builds, it will now fail instead. However, it should

rarely happen because the `base` plugin provides a convention.

    • -0
    • +1
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 26 more files in changeset.
Revert "Serialize the branch name of a component selection"

This reverts commit 41b3aea92137a89c7f89af02c7ede1a6b8c339c1.

    • -5
    • +5
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 1 more file in changeset.
Serialize the branch name of a component selection

    • -5
    • +5
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 1 more file in changeset.
Some test renames.

    • -3
    • +3
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 9 more files in changeset.
Run `git reset` instead of `git update` on the Git clone created for source dependencies, to avoid unnecessary remote operations. Also renamed the working dirs and metadata dirs used for source dependencies.

    • -7
    • +0
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 16 more files in changeset.
Some tweaks to source dependency error messages.

    • -4
    • +4
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 5 more files in changeset.
Introduce an in-memory cache to avoid duplicate Git operations during a build invocation when using source dependencies. In particular, list the versions of the repo once per build invocation and clone/update a given revision once per build.

    • -10
    • +5
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 6 more files in changeset.
Improve error reporting in case no matching dynamic version is found

This commit improves rendering of errors in case resolution fails because

all versions in a dynamic range are evicted, and that at least one of the

evicted versions was evicted because of attribute matching. The error will

now report the attributes on each tested version, as well as the requested

attributes.

For this, the module not found exception has been updated to carry more

context, and now makes use of the tree formatter for consistency with other

exceptions in the codebase.

    • -8
    • +4
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 37 more files in changeset.
Changed source dependency resolution to map `latest.integration` to the `master` branch rather than the target Git repo's HEAD.

    • -2
    • +2
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 7 more files in changeset.
Include the requested branch name in the 'version not found' error message, if specified, and do not include the requested version, if not specified.

    • -7
    • +6
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 6 more files in changeset.
Changed error message reported on failure to find a match for a dependency in a Git repo to be more consistent with that reported on failure to find a match for the dependency in any binary repo.

    • -9
    • +189
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 4 more files in changeset.
Added a placeholder API to allow a dependency to be declared on a particular branch of a component. This API is intended to be replaced as more/better support is added for selecting versions based on criteria other than matching on the 'version' attribute. It is only honored for source dependencies for now. Support for binary dependencies will be added at some point.

    • -0
    • +61
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 13 more files in changeset.
Move VCS source dependency related integ tests to versionControl

    • -0
    • +216
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 11 more files in changeset.
Added a `GitHttpRepository` fixture, which allows test to make assertion about the interactions with the Git server. This is important for performance reasons. Changed a test class to use this instead of a file repo.

    • -3
    • +36
    ./GitVersionSelectionIntegrationTest.groovy
  1. … 14 more files in changeset.