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.
Move release channels to an authoritative channels.db
262e516e838cfc4b16b5d00fd98d5e4ef135aa85 · Keenan Nemetz · 19d ago · parent 24019cb3
Move release channels to an authoritative channels.db Channels are consumed from the public URL and are server-side publication state, so they no longer live on the vole branch or in the derived index. - forge/channel: authoritative SQLite store with schema, validation, and CRUD - config: data/channels.db, opened and closed with the instance - CLI: release channel set|list|clear over a new vole-channel SSH verb - server: maintain for set/clear, read for list, annotated-tag validation, audit channel.set/channel.clear, JSON list - web: channel page and tree read the store; release badges query it - remove the metadata-branch channel parser/validator, the index-derived channel table, and the hook path rules - backup, instance-data, and architecture docs include channels.db Refs: 01M7BPHANWMSW5HK2GT0PY74QZ
docs/operations.md +7−4
| @@ -65,6 +65,7 @@ install -d -m 0700 backup key-backup | |||
| 65 | 65 | vole admin account backup backup/users.db | |
| 66 | 66 | sqlite3 data/runs.db ".backup 'backup/runs.db'" | |
| 67 | 67 | sqlite3 data/secrets.db ".backup 'backup/secrets.db'" | |
| 68 | sqlite3 data/channels.db ".backup 'backup/channels.db'" | ||
| 68 | 69 | ``` | |
| 69 | 70 | ||
| 70 | 71 | These commands preserve SQLite WAL contents. A plain file copy of a live database | |
| @@ -82,7 +83,8 @@ cp data/audit.log backup/ | |||
| 82 | 83 | ``` | |
| 83 | 84 | ||
| 84 | 85 | `data/index.db` is derived and does not need a backup. `data/runs.db` is | |
| 85 | authoritative CI history and queue state; do not omit it. | ||
| 86 | authoritative CI history and queue state; `data/channels.db` is authoritative | ||
| 87 | release-channel state. Do not omit either. | ||
| 86 | 88 | ||
| 87 | 89 | ### 4. Copy the secrets key to separate protected storage | |
| 88 | 90 | ||
| @@ -126,6 +128,7 @@ sudo systemctl stop vole | |||
| 126 | 128 | ```text | |
| 127 | 129 | data/users.db | |
| 128 | 130 | data/runs.db | |
| 131 | data/channels.db | ||
| 129 | 132 | data/secrets.db | |
| 130 | 133 | data/secrets.key | |
| 131 | 134 | data/repos/ | |
| @@ -177,7 +180,7 @@ admin commands, sessions, and pushes. Each tab-separated record has: | |||
| 177 | 180 | timestamp action actor subject detail | |
| 178 | 181 | ``` | |
| 179 | 182 | ||
| 180 | Actions use lower-case dotted names such as `acl.update`, `push.force`, and | ||
| 183 | Actions use lower-case dotted names such as `acl.update`, `push.force`, `channel.set`, and | ||
| 181 | 184 | `session.create`. Fields are escaped and capped at 4 KiB so user-controlled text | |
| 182 | 185 | cannot add rows or columns. The file is owner-only (`0600`), and Vole rejects | |
| 183 | 186 | unsafe file types and ownership. | |
| @@ -229,8 +232,8 @@ vole admin index rebuild | |||
| 229 | 232 | ``` | |
| 230 | 233 | ||
| 231 | 234 | This restores repository, issue, change, activity, and search indexes from Git | |
| 232 | and stored records. It does not restore `data/runs.db`, accounts, secrets, logs, | ||
| 233 | or artifacts. | ||
| 235 | and stored records. It does not restore `data/runs.db`, `data/channels.db`, | ||
| 236 | accounts, secrets, logs, or artifacts. | ||
| 234 | 237 | ||
| 235 | 238 | ## Security notes | |
| 236 | 239 | ||