You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR introduces full support for Azure DevOps On-Premises (Server) in the azuredevops_go plugin, allowing enterprise users with self-hosted Azure DevOps instances to ingest DevOps data and compute DORA metrics.
Key Changes:
Connection & Auth Model (backend/plugins/azuredevops_go/models/connection.go):
Added Endpoint and Username fields to support custom On-Premises base URLs and HTTP Basic Authentication.
Updated base URL normalization to handle custom domains/IPs with subpaths (e.g. http://<IP>/DefaultCollection).
Injected -c http.extraHeader="Authorization: Basic <base64>" during git clone execution. This transmits the Basic Auth header on the initial request, bypassing IIS 401 NTLM challenges on Azure DevOps Server when authenticating via PATs.
Abstracted DiffLine model to remove non-CGO libgit2 build dependencies on Windows environments.
Rebased on latest main, all conflicts resolved
Reduced PR scope from ~40 files to 25 (removed unrelated changes like yarn.lock, docker-compose rename, Windows stubs, static plugin registration)
Translated all comments to English, removed debug code
Added 12 unit tests covering Cloud and On-Premises scenarios (all passing)
Fixed a bug where remote scopes used a hardcoded VSSPS URL that doesn't work for On-Premises
Could someone please approve the CI workflows? Happy to address any review feedback. Thank you!
Rebased on latest main, all conflicts resolved Reduced PR scope from ~40 files to 25 (removed unrelated changes like yarn.lock, docker-compose rename, Windows stubs, static plugin registration) Translated all comments to English, removed debug code Added 12 unit tests covering Cloud and On-Premises scenarios (all passing) Fixed a bug where remote scopes used a hardcoded VSSPS URL that doesn't work for On-Premises Could someone please approve the CI workflows? Happy to address any review feedback. Thank you!
Good work. Please fix the golint error and i will take look.
Hi @klesh 👋
I've cleaned up this PR significantly:
Rebased on latest main, all conflicts resolved Reduced PR scope from ~40 files to 25 (removed unrelated changes like yarn.lock, docker-compose rename, Windows stubs, static plugin registration) Translated all comments to English, removed debug code Added 12 unit tests covering Cloud and On-Premises scenarios (all passing) Fixed a bug where remote scopes used a hardcoded VSSPS URL that doesn't work for On-Premises Could someone please approve the CI workflows? Happy to address any review feedback. Thank you!
Good work. Please fix the golint error and i will take look.
Hi @klesh 👋
I've cleaned up this PR significantly:
Rebased on latest main, all conflicts resolved Reduced PR scope from ~40 files to 25 (removed unrelated changes like yarn.lock, docker-compose rename, Windows stubs, static plugin registration) Translated all comments to English, removed debug code Added 12 unit tests covering Cloud and On-Premises scenarios (all passing) Fixed a bug where remote scopes used a hardcoded VSSPS URL that doesn't work for On-Premises Could someone please approve the CI workflows? Happy to address any review feedback. Thank you!
Good work. Please fix the golint error and i will take look.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces full support for Azure DevOps On-Premises (Server) in the
azuredevops_goplugin, allowing enterprise users with self-hosted Azure DevOps instances to ingest DevOps data and compute DORA metrics.Key Changes:
backend/plugins/azuredevops_go/models/connection.go):EndpointandUsernamefields to support custom On-Premises base URLs and HTTP Basic Authentication.http://<IP>/DefaultCollection).backend/plugins/azuredevops_go/models/migrationscripts/):20260726_add_username_to_azuredevops.goto addusernameandendpointcolumns totool_azuredevops_go_connections.backend/plugins/gitextractor/parser/clone_gitcli.go):-c http.extraHeader="Authorization: Basic <base64>"duringgit cloneexecution. This transmits the Basic Auth header on the initial request, bypassing IIS401 NTLMchallenges on Azure DevOps Server when authenticating via PATs.DiffLinemodel to remove non-CGO libgit2 build dependencies on Windows environments.config-ui/src/plugins/register/azure/config.tsx&utils/request.ts):EndpointandUsernamefields in the Azure DevOps Go connection form.Does this close any open issues?
Closes 8985
Screenshots
Include any relevant screenshots here.
Other Information
dev.azure.com) connections.