Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Inline org.gradle.testing.internal.util.Specification

  1. … 53 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

  1. … 53 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

  1. … 52 more files in changeset.
Inline org.gradle.testing.internal.util.Specification

  1. … 53 more files in changeset.
Flesh out the simplified source dependency model so that the root directory and injected plugins for a Git repository can be specified.

Rewired the source dependency model types to move plugin resolution into the VCS resolver, to simplify the model types and their construction.

    • -2
    • +3
    ./vcs/internal/DefaultVersionControlRepositoryTest.groovy
  1. … 21 more files in changeset.
Use a `NotationParser` in the source dependencies API to convert from module id expressed as a string into a `ModuleIdentifier` used for matching, so that the conversion logic can be shared rather than having multiple inconsistent implementations of this conversion. This change also removes the creation of many temporary strings during dependency resolution when source dependency mappings are defined.

    • -1
    • +7
    ./vcs/internal/DefaultVersionControlRepositoryTest.groovy
  1. … 9 more files in changeset.
Introduce a simplified API/DSL for defining source dependencies that allows simple mappings from module id to git repo to be defined. The intent is to keep the rule API for backwards compatibility and for those cases where more complex mappings are needed.

    • -0
    • +57
    ./vcs/internal/DefaultSourceControlTest.groovy
    • -0
    • +62
    ./vcs/internal/DefaultVersionControlRepositoryTest.groovy
  1. … 24 more files in changeset.
Fix some concurrency issues in source dependency resolution, so that a dependency on a particular Git repository can be resolved in parallel by multiple threads or by multiple build processes.

  1. … 9 more files in changeset.
Reset Git working dir to the Git revision selected for the requested version, rather than whatever revision happens to be the HEAD of the local clone.

  1. … 7 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.

  1. … 16 more files in changeset.
Some tweaks to source dependency error messages.

  1. … 5 more files in changeset.
Introduced a service that determines the VCS to use to locate matches for a particular component selector, to allow this logic to be reused by the things that need this information rather than duplicating it in several places, and to decouple these consumers from the details of how the decision is made.

    • -0
    • +82
    ./vcs/internal/DefaultVcsMappingStoreTest.groovy
  1. … 10 more files in changeset.
Changed source dependency resolution to map `latest.integration` to the `master` branch rather than the target Git repo's HEAD.

  1. … 7 more files in changeset.
Fix unit tests

  1. … 4 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.

  1. … 14 more files in changeset.
Changed source dependency resolution to match only tags, rather than all references such as branches, when selecting a version.

This removes the accidental support for declaring a dependency on a branch, pending an actual implementation.

  1. … 3 more files in changeset.
Added some support for dynamic version selectors to source dependency resolution.

This change duplicates the logic that implements the same feature for binary dependencies. This duplicate implementation is incomplete and behaves differently to the implementation for binary dependencies. This is intended to be a place holder and a later change will move the source dependency resolver to a location where both source and binary dependency resolution can share the same implementation of the selection logic (plus a bunch of other missing capabilities).

  1. … 8 more files in changeset.
Moved a couple of version control interfaces out of the public API and into internal API. These were not reachable from any other public API and we're not planning to make the VCS integration extensible at this point (certainly something we want to do in the future I think, once source dependencies work well with Git).

  1. … 11 more files in changeset.
Add coverage for recursive submodules in source dependencies

  1. … 3 more files in changeset.
Add support for cloning/updating submodules in source dependencies

  1. … 3 more files in changeset.
Fix @Rule clean-up ordering

Simplify uses of GitRepository.commit()

The different File-taking overloads weren't that useful. You almost

always want to commit everything.

  1. … 1 more file in changeset.
Simplify uses of GitRepository.commit()

The different File-taking overloads weren't that useful. You almost

always want to commit everything.

  1. … 8 more files in changeset.
Add coverage for checking out Git repos with submodules

  1. … 2 more files in changeset.
Fix the GitVersionControlSystemSpec

Another change added the `latest.integration` version to the version

map, so this test needed to change as well.

Part of gradle/gradle-native#185

Update test

The error messages were changed in the previous commit.

Part of gradle/gradle-native#213

Change to an invalid address

This makes it more clear that we are not hoping to find a real

repository at the URL in question.

Part of gradle/gradle-native#213

Add a test for non-repo error message

Fixes #213

  1. … 1 more file in changeset.
Revert "Remove jgit as a dependency for now"

This reverts commit 44153103683c94bd30d0ace6f7aa9584b40e5149.

  1. … 6 more files in changeset.
Remove jgit as a dependency for now

  1. … 6 more files in changeset.