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.
Merge release channels into the account database and rename it instance.db
3047be84e9bce79372051c09854ce9b05f12a9bf · Keenan Nemetz · 17d ago · parent 262e516e
Merge release channels into the account database and rename it instance.db The instance keeps four SQLite files instead of five. Release channels were in a file of their own only because they were added beside the derived index; they are authoritative source state, like the roster, so they belong in the file an operator restores. Nothing has to be migrated: channels.db never shipped in a release, so only an instance tracking main can have one. The account database is now data/instance.db. The package comments already called it that; only the filename disagreed. Moving an existing instance is an operator step, by decision: a rename under a live server can lose the -wal file a hook subprocess still has open. Vole refuses to start while data/users.db is still in place, and says what to move, rather than creating an empty database beside it that would look like a successful upgrade. The list of databases now lives in Config.Databases, which TightenSecrets, the hook plumbing, and the admin commands read, so a missed -wal file is no longer a nine-file change. `vole admin account backup <path>` becomes `vole admin db backup <dir>` and covers every authoritative database; `db list` and `db check` answer what to back up and whether it is intact.
docs/conventions.md +4−3
| @@ -7,7 +7,8 @@ write documentation, an issue, or a command, use the same word. | |||
| 7 | 7 | ||
| 8 | 8 | - **account**: the identity that owns keys, passkeys, sessions, and roles. The CLI | |
| 9 | 9 | spells its commands `vole admin account ...`; `vole admin user ...` remains as | |
| 10 | an alias. The database file is `data/users.db`; in prose it is still an account. | ||
| 10 | an alias. The account's rows live in `data/instance.db` with the rest of the | ||
| 11 | instance's authoritative state; in prose it is still an account. | ||
| 11 | 12 | - **repository**: the Git repository and what belongs to it. The CLI uses `repo`, | |
| 12 | 13 | URLs use `/<name>`, and the forge's own pages live under `/-/`; do not call it a | |
| 13 | 14 | project. | |
| @@ -21,8 +22,8 @@ write documentation, an issue, or a command, use the same word. | |||
| 21 | 22 | - **sign in** / **sign out**: the browser action. `login` and `logout` remain in | |
| 22 | 23 | routes, setting names, and code. | |
| 23 | 24 | ||
| 24 | The `data/users.db` filename and the `user` command aliases keep their historical | ||
| 25 | spellings; everything the interface and documentation say uses the words above. | ||
| 25 | The `user` command aliases keep their historical spellings; everything the | ||
| 26 | interface and documentation say uses the words above. | ||
| 26 | 27 | ||
| 27 | 28 | ## Commands | |
| 28 | 29 | ||