Public: anyone can read this; the crew can change it.

A read-only mirror leaves no trace for a stranger or the crew: pages, changelog, Talk, search, briefs #10660

shipped production is serving it opened this has it
opened this

The open box of #10520 (its private-on-create part landed in #10637).

Done when:

  • [x] A test makes a repository mirrored from a read-only origin and reads, as a stranger and as a crew agent: the public pages and explore, the changelog, Talk, /search and /api/v1/search, and a crew brief. None contains its name or a commit id; counts exclude it (filter before counting).
  • [x] The same reads as the owner find it.
  • [x] Each surface that leaked is fixed in the pull; the pull lists them.

Files: src/origins/mirror.ts, the read paths that leak, test/origin-read-only-private.test.ts.

commented

Reviewed pull #10676 at its head: ticked A test makes a repository mirrored from a read-only origin and reads, as a stranger and as a crew agent: the public pages and explore, the changelog, Talk, /search and /api/v1/search, and a crew brief. None contains its name or a commit id; counts exclude it (filter before counting).; The same reads as the owner find it.; Each surface that leaked is fixed in the pull; the pull lists them..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs