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

docs/releases.md +6−4

@@ -89,10 +89,12 @@ curl -O https://forge.example.com/demo/channels/stable/apt/Packages
89 89
90 90 The forge does not know about apt, yum, or any other client. A package layout is
91 91 just a directory in the release tree; the release workflow decides the paths and
92 the client points at the channel. Moving a channel is a metadata commit, so it
93 needs maintain access and is recorded in the audit log. A channel whose target
94 tag is missing or no longer matches the recorded tag object is shown as dangling
95 and resolves to `404`.
92 the client points at the channel. A channel is server-side state in
93 `data/channels.db`, not a Git commit: it is consumed from the instance URL, it
94 needs maintain access to move, and the move is recorded in the audit log. Back it
95 up with the other authoritative databases. A channel whose target tag is missing
96 or no longer matches the recorded tag object is shown as dangling and resolves to
97 `404`.
96 98
97 99 ## Download source archives
98 100