project get prints a raw origin URL, so callers guess the owner instead of reading it #16
Loading…
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?
local-tools project get <name>reports the origin as a bare URL:Every forge call that follows needs that URL split into the
host/owner/repopair the Forgejo MCP tools take asrepo.local-tools repo platformalready does exactly that split, but only for a directory:So the parsed form is reachable for the repo you are standing in and not for a project you merely name.
What it cost
Filing an issue on
athena-filefrom insidetemplates, working from a bare repo name inADOPTERS.md. The owner was assumed to begravityfargo, matching the repo the work was happening in. It isModernLeft. The forge answered301redirecting to the real path and the MCP server refused to follow it, so nothing was created and the guess surfaced as an error rather than as a misfiled issue. The registry had the correct owner the whole time.Suggested fix
Have
project getemit the parsed pair beside the URL, reusing therepo platformparser:A
--project <name>option onrepo platformwould answer the same question.project getis the better home: it is already the "tell me about this project" verb, it does not require the project to be checked out atpath, and it keeps the answer to one call rather thanproject pathfollowed byrepo platform <path>.The
tool=forgejo (MCP)line shows the entry is already meant to route forge calls. It routes to the right server but not to the right repo.