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

server/web/web.go +11−9

@@ -24,6 +24,7 @@ import (
24 24 "rodent.software/vole/ci/runs"
25 25 "rodent.software/vole/core/lfs"
26 26 "rodent.software/vole/forge/access"
27 "rodent.software/vole/forge/channel"
27 28 "rodent.software/vole/forge/config"
28 29 "rodent.software/vole/forge/identity"
29 30 "rodent.software/vole/forge/index"
@@ -35,15 +36,16 @@ import (
35 36 )
36 37
37 38 type Web struct {
38 Repos *repo.Store
39 Index *index.Store
40 Ident *identity.Store
41 Sessions *session.Store
42 Runs *runs.Store
43 Logs *logs.Store
44 LFS *lfs.Store
45 Locks *lfs.LockStore
46 PageViews *pageview.Store
39 Repos *repo.Store
40 Index *index.Store
41 ChannelStore *channel.Store
42 Ident *identity.Store
43 Sessions *session.Store
44 Runs *runs.Store
45 Logs *logs.Store
46 LFS *lfs.Store
47 Locks *lfs.LockStore
48 PageViews *pageview.Store
47 49 // InstanceRepo is the repository whose tree supplies the landing page
48 50 // introduction, CSS, favicon, and assets. Nil keeps the built-in presentation.
49 51 InstanceRepo *instancerepo.Store