multi-gitter
multi-gitter copied to clipboard
Add Azure DevOps VersionController
What does this change
This adds a new VersionController implementation for Azure DevOps
For example if it introduces a new flag or modifies a commands output, give an example of you running the command and showing real output here.
Redacted Command
multi-gitter run ./examples/general/replace.sh --conflict-strategy replace --git-type cmd -m "test message" --token <faketoken> -g https://dev.azure.com/<my-org> -p azuredevops -R <ProjectName>/<RepoName> reviewers [email protected]
Redacted Output
INFO[0001] Running on 1 repositories
INFO[0001] Cloning and running script repo=<MyProject>/<MyRepo>
INFO[0003] Pushing changes to remote repo=<MyProject>/<MyRepo>
INFO[0004] Creating pull request repo=<MyProject>/<MyRepo>
What issue does it fix
Closes #475
If there is not an existing issue, please make sure we have context on why this change is needed. .
Notes for the reviewer
go is not my main language, but hopefully this is pretty close to what you would be looking for in a new VersionController for AzureDevops. I tried my best to follow existing implementations, but I'm happy to make any changes!
Checklist
- [x ] Made sure the PR follows the CONTRIBUTING.md guidelines
- [ x] Tests if something new is added