Skip to main content

REPO_VERB

Constant REPO_VERB 

Source
pub const REPO_VERB: &str = "gunnar-repo";
Expand description

A repository’s settings, over the forge’s door (owner, 2026-10-14): gunnar-repo show '<namespace>/<repository>', gunnar-repo visibility '<namespace>/<repository>' public|private, gunnar-repo default-branch '<namespace>/<repository>' '<refs/heads/…>'.

What the client gunnar repo show|visibility|default-branch asks. On an installed estate the forge’s SSH door (tcp/2222 through the front) is the one door a person’s key opens; the control plane is bound to the WireGuard overlay. The verb decides NOTHING itself: it hands the authenticated principal and the ask to RepoDoor, which gunnar-server answers with the SAME Repos.Get / Repos.SetVisibility / Repos.SetDefaultBranch handlers the control plane mounts — so the account-admin rule for visibility, the repository-Admin rule for the default branch, the audit event and the browse replica’s notice are the gRPC door’s, not a copy. Output is key value lines on stdout, exit 0; a refusal is error: <why> on stdout, exit EXIT_DENIED. An anonymous session is refused the channel. Not a git verb: it never enters Dispatch::authorise or the transfer path.