feed: measure downloads at origin; drop OP3 prefix (ADR-0017) #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "adr-0017-origin-download-log"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stacked on
catalog-feed-generation. Supersedes the OP3 decision (ADR-0008) with ADR-0017: we control our own origin, so routing every download through a third-party prefix is redundant — and the prefix was emitted with a malformed double-scheme URL (https://op3.dev/e/https://…, instead of stripping the scheme for https targets per op3.dev/setup).This is the OP3-removal half. Enclosure URLs now point straight at our origin; downloads will be measured there from an append-only raw request log. That capture middleware + digestor is a deliberate follow-up (see ADR-0017).
feed.BuildEnclosureURL: drop theop3param/branch; emit the plain origin URLweb.Server/NewServer: dropop3Prefix;main.godropsKOKOS_OP3(+ now-unused import)Build, vet, and
go test ./...all green.🤖 Generated with Claude Code
a8e5b1dc1ctoe6bc890a7c