cake-build / cake-build/cake

GitVersionRunner: Url should not be required when specifying Branch and Commit arguments

Open
#1,429 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.2k
Forks
778
Avg merge
1h 15m
Merged PRs (30d)
19

Description

Currently the runner requires that the url be specified before the branch and commit arguments are accepted. The following is supported via the GitVersion command line:

```
gitversion /nofetch /output buildserver /b %BRANCH_NAME%
```

https://github.com/cake-build/cake/blob/08907d1a5d97b66f58c01ae82506280882dcfacc/src/Cake.Common/Tools/GitVersion/GitVersionRunner.cs#L128

Contributor guide

Open the contributing guide

Research direction

Open src/Cake.Common/Tools/GitVersion/GitVersionRunner.cs at the linked code around line 128 and inspect how Url, Branch, and Commit arguments are validated. Done means the runner accepts Branch and Commit without Url, while preserving the documented GitVersion command-line behavior shown in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.