-
Notifications
You must be signed in to change notification settings - Fork 156
feat: ADO marketplace support (marketplace.yml with Azure DevOps repos) #1010
Copy link
Copy link
Open
Labels
area/docs-sitedocs/src/content (Starlight), README, doc generation.docs/src/content (Starlight), README, doc generation.area/enterpriseAir-gapped/GHE configurability, registry proxy, rulesets, adoption playbook.Air-gapped/GHE configurability, registry proxy, rulesets, adoption playbook.area/marketplacemarketplace.json schema, federation, authoring suite, source parity.marketplace.json schema, federation, authoring suite, source parity.status/needs-designDirection approved, design discussion required before code.Direction approved, design discussion required before code.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).theme/governanceGoverned by policy. apm-policy, audit, enforcement, enterprise rollout.Governed by policy. apm-policy, audit, enforcement, enterprise rollout.type/featureNew capability, new flag, new primitive.New capability, new flag, new primitive.
Metadata
Metadata
Assignees
Labels
area/docs-sitedocs/src/content (Starlight), README, doc generation.docs/src/content (Starlight), README, doc generation.area/enterpriseAir-gapped/GHE configurability, registry proxy, rulesets, adoption playbook.Air-gapped/GHE configurability, registry proxy, rulesets, adoption playbook.area/marketplacemarketplace.json schema, federation, authoring suite, source parity.marketplace.json schema, federation, authoring suite, source parity.status/needs-designDirection approved, design discussion required before code.Direction approved, design discussion required before code.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).theme/governanceGoverned by policy. apm-policy, audit, enforcement, enterprise rollout.Governed by policy. apm-policy, audit, enforcement, enterprise rollout.type/featureNew capability, new flag, new primitive.New capability, new flag, new primitive.
Type
Projects
Status
Todo
Summary
apm marketplace buildcurrently assumesowner/repoas the package source format (enforced bySOURCE_REinyml_schema.py). Azure DevOps repositories use a 3-part path (org/project/_git/repo) which doesn't fit this schema.Context
This came up during the investigation for #1008 (GHE support). While
RefResolverandbuild_https_clone_url()now work for anyGITHUB_HOSTvalue, ADO has structural differences that require dedicated support:https://dev.azure.com/{org}/{project}/_git/{repo}-- the 3-part path doesn't fitowner/repoSOURCE_RE = r"^[^/]+/[^/]+$"inyml_schema.pyonly allows 2-segment paths/_apis/git/repositories/) than GitHubADO_APM_PATorazCLI, notGITHUB_APM_PATScope
SOURCE_REto accept ADO-style 3-part paths (or addhostfield tomarketplace.ymlpackage entries)git ls-remoteADO_APM_PAT/azCLI) into the marketplace builderRelated
src/apm_cli/utils/github_host.py--build_ado_https_clone_url()already existssrc/apm_cli/core/auth.py--AuthResolveralready supports ADO hosts