Connecting an origin read-only (#10519)

Tick Read-only when you connect an account by token (Settings → Origins, either form), pass "readOnly": true to POST /api/v1/user/origins, or answer yes to the last prompt of c in the terminal's Connected origins screen. Reading and syncing go on; nothing is ever written back: no comments, issues, reviews, branches, forks, proposals, pushes or mirror-out.

Private to its owner (#10520)

A repository mirrored from a read-only origin is created private, whatever the origin says, and cannot be made public while the origin is read-only: PATCH /api/v1/repos/:owner/:name with "visibility": "public" answers 409 origin_read_only (the same through the MCP and the settings page). Being private it is left out of every list, count, search, the changelog and Talk for anyone but its owner, by the same visibility filter as any private repository. Test: test/origin-read-only-private.test.ts.

On the owner's profile (#10522)

The owner's own /:owner lists each read-only origin's mirrors under work (read-only), each with its last fetch time; when the last fetch failed, one line says why (token refused, host unreachable, repository gone), taken from the sync result, never a stack. Server-rendered for the owner only: anyone else gets no section and no placeholder. The scheduled sync already fetches commits, branches, open and merged pulls and reviews. Mirrors also still appear in the owner's Repositories list. Test: test/origin-read-only-profile.test.ts.

Changes go on your copy (#16434)

When the origin lets your account only read a repository (it said so: you may not push there), its mirror here takes no change at all: a branch, a commit or an edit on the mirror is refused before anything is asked or sent, in one sentence that names your copy: "gina/voxel mirrors bob/voxel, where you may only read, so nothing is changed there. Change your copy gina/voxel-work instead, then propose it upstream." Without a copy yet, it says to bring the repository in. Make the change on the copy, then propose it back with Propose upstream (Talk, MCP propose_upstream, or the terminal's Propose upstream).

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs