vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Keep the authoritative instance in one database
1a9b383890c40885709804293cd3a75e775f06a0 · Keenan Nemetz · 3d ago · parent 12221a79
Keep the authoritative instance in one database Move the CI queue and the sealed secret rows into instance.db, leaving index.db as the one derived database. Backups now copy the single authoritative file, and the index stays disposable. Hooks and the SSH front door use the instance database for run credentials and required checks. The admin db commands and documentation now describe one authoritative database plus the derived index. This was migrated once by hand on the rodent.software instance; there is no migration command and no legacy-layout check in the shipped code.
forge/identity/identity.go +4−3
| @@ -1,8 +1,9 @@ | |||
| 1 | 1 | // Package identity stores the user roster in SQLite. | |
| 2 | 2 | // | |
| 3 | // It is the one authoritative database next to the derived index (index.db) and | ||
| 4 | // the CI queue (runs.db). A roster is small and written by a handful of operator | ||
| 5 | // commands, so the whole thing is a handful of rows: | ||
| 3 | // It is the one authoritative database next to the derived index (index.db). The | ||
| 4 | // CI queue and the sealed secret store live in the same file, so a backup of the | ||
| 5 | // instance is one database plus the key. A roster is small and written by a handful | ||
| 6 | // of operator commands, so the whole thing is a handful of rows: | ||
| 6 | 7 | // | |
| 7 | 8 | // users one row per account: fixed name, status, instance role, created | |
| 8 | 9 | // user_keys one row per authorized SSH key, unique by fingerprint | |