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.

AGENTS.md +3−1

@@ -11,10 +11,12 @@ This repository uses **Vole** as its forge, not GitHub. Read
11 11 ```sh
12 12 git remote -v
13 13 ./vole whoami
14 ./vole whoami --role
14 15 ```
15 16
16 17 If `vole` is unavailable or the key is not recognized, stop and ask. Do not
17 guess an author from `git config`.
18 guess an author from `git config`. The `--role` answer is the effective role on
19 the repository named by `origin`; use it before choosing a branch.
18 20 - Refer to issues and change requests by their `#42` number when reading and
19 21 quoting. Use the full 26-character ULID when durability matters (a script, a
20 22 commit message) and for `closes:`: numbers are derived from the creation order