vole
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software:2222/vole.git
A free and open-source forge that lives in your Git repo.
Name branches after the account, and labels after the display
474a812d199a109ba894124cd6f26be12c73285d · Keenan Nemetz · 16d ago · parent ade6107e
Name branches after the account, and labels after the display
A contributor's folder was `refs/heads/contrib/<account-id>/`, which told a
reader nothing without decoding a ULID. It is now the account name,
refs/heads/contrib/<name>/<branch>
and the name is therefore fixed at creation: renaming an account would strand
every ref under its old folder, so `vole admin user rename` is gone and the
users row itself — kept after retirement — is what stops a name being reissued.
What people see is now a separate, mutable display name, validated by the same
rules wherever it is set (CLI, remote admin, registration, `/account`) and shown
on pages, approvals, listings and refusals. Nothing is authorized by it and
nothing on disk is keyed by it: metadata authors stay account names because the
push boundary resolves them for ownership, and approvals stay account ids.
`user_names`, `Snapshot.Reserved` and `Account.Former` are dropped: with a fixed
name there are no former names to remember, and the UNIQUE column already does
the reserving. Opening an older roster adds the `display` column and drops the
alias table in place; contributor refs written under the old id namespace are
left where they are, readable, and landable by a maintainer.
metadata/issues.go +4
| @@ -66,6 +66,10 @@ var ( | |||
| 66 | 66 | blobRE = regexp.MustCompile(`^[0-9a-f]{40}$`) | |
| 67 | 67 | ) | |
| 68 | 68 | ||
| 69 | // Issue is one file on the metadata branch. Author is the account name at the | ||
| 70 | // time of writing: it is load-bearing, because the push boundary resolves it to | ||
| 71 | // decide who may edit a comment. Display labels are resolved for rendering and | ||
| 72 | // never written here. | ||
| 69 | 73 | type Issue struct { | |
| 70 | 74 | ID string | |
| 71 | 75 | Title string | |