On this page

0244. VCS host derives the registry index from tags

Context

ADR-0206 proposed per-repository VC stores plus a separate registry store on the host, and the v1 hosting plan's H6 adds signed publication routes. Maintainer wants the hosted VCS to act as a registry by building its index from repo tags. VC remotes and hosting are planned, not built (vc-remote plan, hosting plan).

Decision

The host serves the static layout of 0238 for each repository, derived from its v<x.y.z> tags: one index line per tag and one pack per tagged tree (0241), generated by the same code as harness registry build. There is no second registry store and no separate publish step: publishing is pushing a tag once VC remotes exist. Release tags are immutable on the host; yank is a host-recorded flag. Derived index files and packs are a rebuildable cache of repo state.

The host appends every first-seen (path, version, hash) to an append-only checksum log with a signed head. Clients check non-private packages against it (0243 v2). Lock sources use index+https://… (0240).

0206's per-repository stores, isolation and backup decisions are unaffected. 0204, 0205 and 0207 are unchanged for the hosted service.

Alternatives considered

Consequences

Goal 3 is a rendering of existing data. The checksum log and yank flags are the only new durable registry state, and the log must be backed up with repos. Hosting H6 would need remapping by maintainer; this ADR does not edit the hosting plan.