| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
There was a problem hiding this comment.
Adds first-class Azure DevOps support to Updatecli by introducing an Azure DevOps SCM implementation, an azuredevopssearch SCM for repository/branch discovery, and an Azure DevOps pull request action, then wires them into the pipeline engine, JSON schema generation, scaffolding templates, and e2e configs.
Changes:
Copilot reviewed 28 out of 29 changed files in this pull request and generated 10 comments.
Show a summary per file| File | Description |
|---|---|
| pkg/plugins/scms/azuredevopssearch/main.go | New azuredevopssearch SCM constructor and client wiring |
| pkg/plugins/scms/azuredevopssearch/spec.go | azuredevopssearch spec definition + validation/sanitization |
| pkg/plugins/scms/azuredevopssearch/specGenerator.go | Project/repo/branch discovery and spec generation |
| pkg/plugins/scms/azuredevopssearch/description.go | Summary output for azuredevopssearch |
| pkg/plugins/scms/azuredevopssearch/main_test.go | Tests for defaults/sanitization and invalid regex |
| pkg/plugins/scms/azuredevopssearch/specGenerator_test.go | Tests for discovery behavior and limits |
| pkg/plugins/scms/azuredevops/main.go | Azure DevOps SCM implementation (clone/checkout/commit/push/etc.) |
| pkg/plugins/scms/azuredevops/summary.go | Summary formatting for Azure DevOps SCM |
| pkg/plugins/scms/azuredevops/summary_test.go | Tests for summary formatting (incl. URL credentials stripping) |
| pkg/plugins/resources/azuredevops/client/main.go | Azure DevOps API client (PAT connection + core/git clients) |
| pkg/plugins/resources/azuredevops/client/spec.go | Azure DevOps client spec + URL helpers (GitURL / PullRequestURL) |
| pkg/plugins/resources/azuredevops/pullrequest/main.go | Azure DevOps pull request action constructor + SCM inheritance |
| pkg/plugins/resources/azuredevops/pullrequest/spec.go | Pull request action spec definition |
| pkg/plugins/resources/azuredevops/pullrequest/utils.go | PR/branch helper logic (find PR, ref lookup, iteration checks) |
| pkg/plugins/resources/azuredevops/pullrequest/exist.go | Action “exist” check implementation |
| pkg/plugins/resources/azuredevops/pullrequest/create.go | PR create/update implementation and body generation |
| pkg/plugins/resources/azuredevops/pullrequest/clean.go | Cleanup logic (close empty PRs) |
| pkg/plugins/resources/azuredevops/pullrequest/main_test.go | Tests for action constructor + refName helper |
| pkg/plugins/resources/azuredevops/pullrequest/create_test.go | Tests for PR body generation/merge behavior |
| pkg/plugins/resources/azuredevops/pullrequest/clean_test.go | Tests for PR cleanup helpers (iterations/refs/head-match retry) |
| pkg/core/pipeline/scm/main.go | Register azuredevops SCM and azuredevopssearch kind handling |
| pkg/core/pipeline/scm/config.go | Include Azure DevOps kinds in SCM JSON schema “oneOf” |
| pkg/core/engine/configuration.go | Expand azuredevopssearch into multiple concrete SCM pipelines |
| pkg/core/pipeline/action/main.go | Register azuredevops/pullrequest action handler + JSON schema |
| pkg/core/pipeline/action/main_test.go | Add validation test case for azuredevops action kind normalization |
| pkg/core/scaffold/assets/updatecli.d/_scm.azuredevops.yaml | Add scaffold partial for Azure DevOps SCM + PR action |
| e2e/updatecli.d/success.d/azuredevops/scm.yaml | Add e2e pipeline manifest for Azure DevOps SCM + PR action |
| go.mod | Add Azure DevOps Go SDK dependencies |
| go.sum | Dependency checksum updates |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
Signed-off-by: Olblak <me@olblak.com>
Don't make project and repository required on the client creation Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
There was a problem hiding this comment.
Copilot reviewed 28 out of 29 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
| Back | FazBrowse Home | New Git URL |
Fix #7090
This pull request introduces support for Azure DevOps.
When a scm is specified then Updatecli clone the repository in a temporary location and run all git operation from there.
Credentials
Credentials can be specified either using the spec parameter username and token, or using the environment variable
UPDATECLI_AZURE_DEVOPS_USERNAME and UPDATECLI_AZURE_DEVOPS_TOKEN. The token must be a Personal Access Token (PAT) with the appropriate permissions to access the repositories and create pull requests.
If the environment variable is specified, then it overrides the credentials specified in the spec parameters.
Examples
Azure DevOps repository
Azure DevOps Search
Test
To test this pull request, you can run the following commands:
Additional Information
Checklist
Tradeoff
Potential improvement