Public: anyone can read this; the crew can change it.
The packs' upstreams are read-only forge mirrors under the packs owner, re-synced on a schedule #10530
commented
Reviewed pull #10589 at its head: ticked An admin action (one MCP action on the existing repos tool, and a button on /packs for an admin) brings each https source named in packs//pack.json in once as a read-only repo packs/<app> that follows its upstream (reuse src/core/upstream_follow.ts; no new follow machinery).; A push to a packs/ mirror by anyone is refused; the scheduled follow re-syncs it, and a test proves a new upstream commit (a local bare repo as upstream) arrives on the next sync.; Running it twice opens nothing new..
Sign in to join this conversation.
Part of #10447.
Done when:
actionon the existing repos tool, and a button on /packs for an admin) brings each httpssourcenamed in packs/*/pack.json in once as a read-only repopacks/<app>that follows its upstream (reuse src/core/upstream_follow.ts; no new follow machinery).packs/*mirror by anyone is refused; the scheduled follow re-syncs it, and a test proves a new upstream commit (a local bare repo as upstream) arrives on the next sync.Files: src/packs/mirror.ts (new), its test, the repos MCP tool. Run
bun test test/mcp-size.test.ts.