Azure DevOps backend: skeleton #57

Merged
dario merged 1 commit from dario/azure-skeleton into main 2026-11-23 13:08:33 +01:00
Owner
  • forge.type "azuredevops" with base_url https://dev.azure.com/;
    factory config check refuses other base URLs and warns when the
    tracker is the forge (Azure DevOps has no issues).
  • internal/forge/azuredevops: Whoami (connectionData, or bot_login),
    GetRepo, and GitAuthorization sending the stored Basic credential
    unchanged. A 203 sign-in page counts as unauthorized.
  • forge.ErrUnsupported (code "unsupported"): GetIssue, ListIssues,
    SetLabels and GetPermission return it. Pull request operations return
    it as "not implemented yet" until the next changes.
  • forgetest.RunWith with Capabilities (NoIssues, NoCI, NoPermissions,
    Pending); the suite checks that missing operations are unsupported.
    Policy/RepoScope now uses GetRepo.
  • Docs: Azure DevOps in tokens.md (PAT, encoding, branch policies, kit
    credential), configuration.md, setup.md, forge-tools.md and README.

GetPermission is unsupported rather than implemented, as the issue
asked: Azure DevOps has no call for a user's permission on a repository,
and only the maintainer CLI uses it (ADR 0018). The example config is
unchanged; the Azure configuration is shown in tokens.md instead.

Closes #49

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

- forge.type "azuredevops" with base_url https://dev.azure.com/<org>; factory config check refuses other base URLs and warns when the tracker is the forge (Azure DevOps has no issues). - internal/forge/azuredevops: Whoami (connectionData, or bot_login), GetRepo, and GitAuthorization sending the stored Basic credential unchanged. A 203 sign-in page counts as unauthorized. - forge.ErrUnsupported (code "unsupported"): GetIssue, ListIssues, SetLabels and GetPermission return it. Pull request operations return it as "not implemented yet" until the next changes. - forgetest.RunWith with Capabilities (NoIssues, NoCI, NoPermissions, Pending); the suite checks that missing operations are unsupported. Policy/RepoScope now uses GetRepo. - Docs: Azure DevOps in tokens.md (PAT, encoding, branch policies, kit credential), configuration.md, setup.md, forge-tools.md and README. GetPermission is unsupported rather than implemented, as the issue asked: Azure DevOps has no call for a user's permission on a repository, and only the maintainer CLI uses it (ADR 0018). The example config is unchanged; the Azure configuration is shown in tokens.md instead. Closes #49 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- forge.type "azuredevops" with base_url https://dev.azure.com/<org>;
  factory config check refuses other base URLs and warns when the
  tracker is the forge (Azure DevOps has no issues).
- internal/forge/azuredevops: Whoami (connectionData, or bot_login),
  GetRepo, and GitAuthorization sending the stored Basic credential
  unchanged. A 203 sign-in page counts as unauthorized.
- forge.ErrUnsupported (code "unsupported"): GetIssue, ListIssues,
  SetLabels and GetPermission return it. Pull request operations return
  it as "not implemented yet" until the next changes.
- forgetest.RunWith with Capabilities (NoIssues, NoCI, NoPermissions,
  Pending); the suite checks that missing operations are unsupported.
  Policy/RepoScope now uses GetRepo.
- Docs: Azure DevOps in tokens.md (PAT, encoding, branch policies, kit
  credential), configuration.md, setup.md, forge-tools.md and README.

GetPermission is unsupported rather than implemented, as the issue
asked: Azure DevOps has no call for a user's permission on a repository,
and only the maintainer CLI uses it (ADR 0018). The example config is
unchanged; the Azure configuration is shown in tokens.md instead.

Closes #49

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dario merged commit 2e1216dac4 into main 2026-11-23 13:08:33 +01:00
dario deleted branch dario/azure-skeleton 2026-11-23 13:08:33 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dario/factory!57
No description provided.