DefaultGitVersionControlSpecSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
GitVersionControlSystem.uniqueId return a string representing the git URL instead of a hash

    • -3
    • +3
    ./DefaultGitVersionControlSpecSpec.groovy
  1. … 1 more file in changeset.
Switch getUniquePath() to getUniqueId()

We cannot use the `Path` type as it is considered an `internal`

type.

Part of gradle/gradle-native#87

    • -4
    • +3
    ./DefaultGitVersionControlSpecSpec.groovy
  1. … 3 more files in changeset.
Address review feedback

    • -3
    • +4
    ./DefaultGitVersionControlSpecSpec.groovy
  1. … 11 more files in changeset.
Add tests and fix DefaultGitVersionControlSpec

There were a few cases which weren't being handled correctly:

* We had too many slashes in our `repositoryId`s

* We were not extracting the repo name if the repo eneded in `.git`

Part of gradle/gradle-native#88

    • -0
    • +56
    ./DefaultGitVersionControlSpecSpec.groovy
  1. … 1 more file in changeset.