Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Answer whoami --role from the repository's rules

eec0e60344bf5686fc278ba5a8415dc0777ba9e2 · Keenan Nemetz · 6d ago · parent f422c24f

Answer whoami --role from the repository's rules

A role is per repository, so whoami cannot print one truth without knowing which repository is meant. Keep the default answer name-only, for the scripts that call it, and make the role an explicit query on the remote's repository.

The server's vole-whoami verb now accepts a repository path and returns the effective role after the same private-repository rule as a fetch. A run credential may ask only about its own repository. Update the CLI help and the contributor and account docs to point at the new query.

CONTRIBUTING.md +2

@@ -23,6 +23,8 @@ git remote -v
23 23 - `vole whoami` must print the account your SSH key resolves to. If it fails,
24 24 do not fall back to a name from `git config`; ask for credentials or the
25 25 correct instance.
26 - `vole whoami --role` prints your effective role on the repository named by
27 `origin`; use it before choosing a branch.
26 28 - Private repositories return `404` to anonymous web visitors. The CLI is the
27 29 write surface; the browser may have passkey login disabled.
28 30