Skip to content

Allow usernames in AzDO URIs#6391

Merged
premun merged 1 commit into
mainfrom
premun-patch-1
Jun 11, 2026
Merged

Allow usernames in AzDO URIs#6391
premun merged 1 commit into
mainfrom
premun-patch-1

Conversation

@premun

@premun premun commented Jun 11, 2026

Copy link
Copy Markdown
Member

There has been a case where a submodule would have dnceng@dev.azure.com/dnceng/internal

Copilot AI review requested due to automatic review settings June 11, 2026 09:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Azure DevOps repository URL parsing in Maestro’s AzureDevOpsTokenProvider so it can extract the organization/account name from AzDO URIs that include a username (userinfo) segment (e.g. https://dnceng@dev.azure.com/...), which commonly appears in Git remotes and some AzDO URLs.

Changes:

  • Extend the AzDO account-extraction regex to allow an optional userinfo@ prefix before dev.azure.com.
  • Keep the extracted account source as the first path segment after dev.azure.com/ (unchanged behavior for non-userinfo URLs).

@premun premun enabled auto-merge (squash) June 11, 2026 10:53
@premun premun merged commit 4b7ba58 into main Jun 11, 2026
11 of 12 checks passed
@premun premun deleted the premun-patch-1 branch June 11, 2026 11:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants