Skip to content

feat(claude-code-settings): allow git marketplace URLs without .git suffix#5874

Open
esp0 wants to merge 1 commit into
SchemaStore:masterfrom
esp0:claude-code-settings-azure-devops-git-url
Open

feat(claude-code-settings): allow git marketplace URLs without .git suffix#5874
esp0 wants to merge 1 commit into
SchemaStore:masterfrom
esp0:claude-code-settings-azure-devops-git-url

Conversation

@esp0

@esp0 esp0 commented Jul 1, 2026

Copy link
Copy Markdown

Summary

extraKnownMarketplaces and blockedMarketplaces constrain the git source's url field with a \.git$ pattern. This rejects valid marketplace URLs from git hosts that don't use a .git suffix, such as Azure DevOps (https://dev.azure.com/org/project/_git/repo) and AWS CodeCommit.

Per the official docs (Create and distribute a plugin marketplace):

Full git repository URL (https:// or git@). The .git suffix is optional, so Azure DevOps and AWS CodeCommit URLs without the suffix work

  • Removed the \.git$ pattern from both extraKnownMarketplaces and blockedMarketplaces's git source url field. This also brings them in line with strictKnownMarketplaces, which already has no such pattern on its equivalent field.
  • Added the documentation anchor link to both url field descriptions, per CONTRIBUTING.md's convention of using <description>\n<url>.
  • Added positive test coverage (Azure DevOps URLs) to marketplace-host-pattern.json and managed-settings.json.
  • Removed two negative test fixtures that asserted "missing .git suffix is invalid" — that assumption no longer holds per the docs, and keeping them would fail Ajv's negative-test validation now that the pattern is gone.

Test plan

  • node ./cli.js check --schema-name=claude-code-settings.json passes
  • node ./cli.js coverage --schema-name=claude-code-settings.json passes (8/8, strict mode)

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @domdomegg, @bogini, @sarahdeaton, and @ant-kurt - if they write a comment saying "LGTM" then it will be merged.

…uffix

Azure DevOps repo URLs (https://dev.azure.com/org/project/_git/repo) and
AWS CodeCommit URLs never end in .git, but Claude Code's docs confirm the
suffix is optional for the git marketplace source. Drop the overconstrained
\.git$ pattern from extraKnownMarketplaces and blockedMarketplaces so these
hosts validate, matching strictKnownMarketplaces which already has no such
restriction.
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.

1 participant