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

rather than silently followed. → forge/index/index.go +1−11

@@ -247,20 +247,7 @@ CREATE TABLE IF NOT EXISTS artifacts (
247 247 PRIMARY KEY (repo_id, tag, name)
248 248 );
249 249
250 CREATE TABLE IF NOT EXISTS release_channels (
251 repo_id TEXT NOT NULL,
252 name TEXT NOT NULL,
253 tag TEXT NOT NULL,
254 tag_object TEXT NOT NULL,
255 updated_by TEXT NOT NULL DEFAULT '',
256 updated_at INTEGER NOT NULL DEFAULT 0,
257 description TEXT NOT NULL DEFAULT '',
258 PRIMARY KEY (repo_id, name)
259 );
260 CREATE INDEX IF NOT EXISTS release_channels_tag ON release_channels(repo_id, tag);
250
261 251
262 252 -- state_changes is the closed/reopened/merged history the activity feed shows.
263 253 -- It is derived from the metadata commit subjects, and keyed by the commit so a