Skip to content

Plugin marketplace rejects Azure DevOps Git URLs that don't end in .git #299575

@digitarald

Description

@digitarald

parseMarketplaceReference in pluginMarketplaceService.ts requires full Git URLs to end in .git (enforced by normalizeGitRepoPath). This silently rejects Azure DevOps HTTPS clone URLs, which use the format:

https://dev.azure.com/org/project/_git/repo

without a .git suffix. The entry is ignored and the user sees no actionable feedback — the marketplace simply doesn't load.

Workaround: Manually appending .git to the URL works (https://dev.azure.com/org/project/_git/repo.git), but this isn't the canonical URL that Azure DevOps provides when copying the clone URL.

Suggested fix: Relax the .git suffix requirement for full URLs, or at minimum surface a clear diagnostic when a marketplace entry is rejected due to this validation.

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugchat-promptsPrompt and Instruction files related issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions