From 0acc6b06aa1ffd85fdb2162b0589f477b6005c76 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sun, 8 Mar 2026 21:28:50 -0600 Subject: [PATCH] docs(GO_WEBI): webid checks storage per-request, no package registry Looks up releases by name in filesystem and/or Postgres on each request. If releases exist for that name, it's valid. No fsnotify, no scanning. --- GO_WEBI.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/GO_WEBI.md b/GO_WEBI.md index 079377a..e78f8a2 100644 --- a/GO_WEBI.md +++ b/GO_WEBI.md @@ -107,10 +107,11 @@ download \t name \t comment` ### Two Servers -- **`webid`** — the HTTP API server. Reads from storage, renders templates, - serves responses. Stateless (apart from in-memory caches of template files). - Discovers available packages from storage — no restart needed when packages - are added or updated. +- **`webid`** — the HTTP API server. Renders templates and serves responses. + On each request, looks up releases by package name in storage (filesystem + and/or Postgres, configurable). No package registry — if releases exist in + storage for that name, it's a valid package. No restart needed when packages + are added. - **`webicached`** — the cache daemon. Built with its package set compiled in. Periodically fetches releases from upstream sources, classifies builds, and writes to both Postgres and the filesystem. Adding a new package means