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

A backup card for branches whose commits are missing links each branch to its delete, so the repository's owner settles it in one confirmed tap #12612

shipped production is serving it opened this has it

Landed in pull #12618 · run

opened this

Replaces #12608, which only a person with access can finish. Today leftOutNeeds (src/snapshot/outcome.ts) writes one sentence naming the branches and nothing to act on.

Done:

Files: src/snapshot/outcome.ts, src/kernel/vitals.ts, test for outcome. Risks: branch names reach HTML; escape them and encode them in the URL. Brief: mason.

commented

Reviewed pull #12618 at its head: ticked The backup-refs:<repo> need names each branch as a link to that repository's branches page (src/web/pages/branches.ts), where the existing delete applies, and says in one line: re-push it from a clone that still has its commits, or delete it.; The line says who can act (the repository's owner or a writer), and says plainly when the viewer is not one of them.; A test on leftOutNeeds fails without the links: two broken refs give two links with escaped names.; Nothing is deleted automatically; the delete stays the existing confirmed action..

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs