Commit Graph

4 Commits

Author SHA1 Message Date
AJ ONeal
b8f5a61121 fix(webicached): use full gittag fetch for first-time supplementary clones
When a package has a git_url but uses a non-gittag source, the
supplementary git clone was always shallow. For packages never cloned
before, a shallow clone may miss older tags that clients need.

Now: check whether the _gittag raw cache is already populated. If it is,
reuse the shallow flag (fast refresh). If it is not, force a full clone
so all tags are available from the first fetch.

The --shallow flag (global) still overrides this so operators can cap
fetch depth when needed.
2026-05-14 18:01:17 -06:00
AJ ONeal
2390afa006 feat(webicached): prioritize new packages by rescanning mid-batch and breaking immediately 2026-05-14 18:00:46 -06:00
AJ ONeal
b197ca4a2a feat(webicached): rescan conf dir each batch to pick up new releases.conf without restart 2026-05-14 18:00:46 -06:00
AJ ONeal
f73755e7d7 feat: add Go release cache daemon (webicached) and HTTP API server (webid)
Rewrites the Node.js release classification pipeline in Go. webicached
fetches upstream releases, classifies assets, and writes legacy-format
JSON caches. webid serves the HTTP API (releases, resolve, bootstrap
scripts). Git-clone packages emit git_tag and git_commit_hash from
real repo clones — no fabricated refs.
2026-05-14 17:57:20 -06:00