Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

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

ARCHITECTURE.md +2−2

@@ -58,7 +58,7 @@ auditable record on the instance.
58 58 ## Where data lives
59 59
60 60 Git holds the repository history. SQLite holds the account database, the CI queue
61 and records, and generated indexes. The user-facing
61 and records, release channels, and generated indexes. The user-facing
62 62 [instance data reference](docs/reference/configuration.md#instance-data)
63 63 inventories each path and its backup requirements;
64 64 [Operations](docs/operations.md#back-up-an-instance) provides the procedure.
@@ -130,7 +130,7 @@ and the clone URL share a name.
130 130 | Use the Git command-line tool | Full push behavior and hooks without reimplementing Git |
131 131 | SSH for Git writes, passkeys for the browser | Each transport gets the credential it can actually use, and both resolve to one account |
132 132 | Check everything before accepting a change | The push boundary and the narrow web writers share the same metadata validation |
133 | Store metadata in Git, rules in SQLite | Repository content travels with clones; local settings stay local |
133 | Store metadata in Git, rules in SQLite | Repository content travels with clones; local settings stay local. Release channels are the deliberate server-side exception: they are consumed from the public URL, so they live in `data/channels.db` rather than a clone. |
134 134 | Passkeys, not passwords | No shared secret to phish, reset, or store; recovery is an instance-admin-issued enrollment link |
135 135 | One program with separate serve and runner modes | Easy to deploy anywhere |
136 136 | Two long-term secrets: the host key, and the key that seals repository secrets | A deploy key has to live somewhere, and a value in Git is a value in every clone |