Skip to content

Fix remove to accept the same repo formats as fetch#39

Merged
ctate merged 1 commit intomainfrom
ctate/fix-22
Apr 9, 2026
Merged

Fix remove to accept the same repo formats as fetch#39
ctate merged 1 commit intomainfrom
ctate/fix-22

Conversation

@ctate
Copy link
Copy Markdown
Collaborator

@ctate ctate commented Apr 9, 2026

Summary

  • Replaces the manual heuristic in remove with parse_repo_spec(), the same parser fetch and path use
  • Fixes formats like github:owner/repo, gitlab:owner/repo, and full URLs that previously failed to match stored entries

Fixes #22, fixes #21

Use parse_repo_spec() instead of manual heuristic to normalize repo
inputs, so formats like github:owner/repo and full URLs work correctly.

Fixes #22, fixes #21
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
opensrc Ready Ready Preview, Comment Apr 9, 2026 7:23am

@ctate ctate merged commit 869314f into main Apr 9, 2026
8 checks passed
@ctate ctate mentioned this pull request Apr 9, 2026
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.

opensrc remove fails with full repo URLs that work fine with fetch

1 participant