Detect forge source from parsed remote host #662
Labels
No labels
bug
documentation
duplicate
enhancement
fugitive
good first issue
help wanted
invalid
question
v0.1.0
v0.2.0
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/forge.nvim#662
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Forge detection parses the remote host but then matches configured host aliases against the full remote URL:
lua/forge/detect.lua:52lua/forge/detect.lua:124With broad defaults like
github,gitlab, andforgejo, a username or repo path containing another forge name can select the wrong backend.Expected
Match source host patterns against the parsed remote host, not arbitrary substrings in the full remote URL. Preserve configured host override behavior for actual hosts.
Non-goals
Do not add support for new forge APIs or change the configured source shape.
Context
Found during release-preview readiness audit. Remote Forgejo CI cannot currently be awaited because the Spark runner is down; use local verification for the fix.