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 contributor docs out of the published site
34a6094aa42dfc5760bf3b3d737887b7b093082e · Keenan Nemetz · 20d ago · parent 348a43c3
Keep contributor docs out of the published site Move load testing into DEVELOPMENT, release engineering into RELEASING, and architecture internals into a root-level design guide. Keep the operator-facing storage inventory in the configuration reference. Move workflow, image, and runner references into Reference, place LFS with collaboration, and limit Packages and upgrades to instance administration. Refs: 01M7B6X6RDYBAP3JVA5SYSA1K8
docs/architecture.md → ARCHITECTURE.md +10−22
| @@ -57,24 +57,11 @@ auditable record on the instance. | |||
| 57 | 57 | ||
| 58 | 58 | ## Where data lives | |
| 59 | 59 | ||
| 60 | | Data | Where it lives | Rebuildable? | | ||
| 61 | |---|---|---| | ||
| 62 | | Repositories | `data/repos/<name>.git` | It is the source | | ||
| 63 | | Issues, requests, approvals, release pointers | The `vole` branch in each repository | It is the source | | ||
| 64 | | CI records: finished attempts, steps, artifact pointers, and who reported them | `data/runs.db` | It is the source; back it up | | ||
| 65 | | Accounts, instance roles, SSH keys, passkeys, enrollment links, sessions, access rules, locks, page-view counters | `data/users.db` | No; back it up | | ||
| 66 | | Web/search index: issues, change requests, comments, state changes, activity events, default-branch summaries (head, languages, commits, authors), tags, release artifacts, and the `#42` alias numbering | `data/index.db` | Yes, with `vole admin index rebuild` | | ||
| 67 | | CI queue, in-progress runs, contributor CI approvals | `data/runs.db` | Partly; in-progress work and approvals are lost | | ||
| 68 | | CI logs | `data/logs/` | No; one file per attempt, back it up | | ||
| 69 | | LFS files, build artifacts | `data/lfs/` | No; stored by content | | ||
| 70 | | Privileged-action history | `data/audit.log` | It is the record; a privileged change that cannot be written there is refused | | ||
| 71 | | Repository secrets | `data/secrets.db`, sealed under the key in `data/secrets.key` | No; back up both, and keep the key apart from the database | | ||
| 72 | | SSH host key | `data/ssh_host_ed25519_key` | No; it is the secret | | ||
| 73 | |||
| 74 | 60 | Git holds the repository history. SQLite holds the account database, the CI queue | |
| 75 | and records, and generated indexes. Anything that can be rebuilt comes from Git or | ||
| 76 | stored files. Anything that cannot be rebuilt has an explicit backup procedure | ||
| 77 | in [Operations](operations.md#back-up-an-instance). | ||
| 61 | and records, and generated indexes. The user-facing | ||
| 62 | [instance data reference](docs/reference/configuration.md#instance-data) | ||
| 63 | inventories each path and its backup requirements; | ||
| 64 | [Operations](docs/operations.md#back-up-an-instance) provides the procedure. | ||
| 78 | 65 | ||
| 79 | 66 | The web index is derived from each repository's `vole` branch. Post-receive applies | |
| 80 | 67 | a push's delta as the push lands, so a page does not pay for the work the push | |
| @@ -182,8 +169,9 @@ runtime; the server only pins the image and definition and records what ran. | |||
| 182 | 169 | ||
| 183 | 170 | ## Next | |
| 184 | 171 | ||
| 185 | - [Operations](operations.md) — protect the authoritative state described above. | ||
| 186 | - [Accounts and access](accounts-and-access.md) — apply the credential and role | ||
| 187 | model. | ||
| 188 | - [Terminology and conventions](conventions.md) — use the same names as the CLI | ||
| 189 | and interface. | ||
| 172 | - [Operations](docs/operations.md) — protect the authoritative state described | ||
| 173 | above. | ||
| 174 | - [Accounts and access](docs/accounts-and-access.md) — apply the credential and | ||
| 175 | role model. | ||
| 176 | - [Terminology and conventions](docs/conventions.md) — use the same names as the | ||
| 177 | CLI and interface. | ||