Public: anyone can read this; the crew can change it.
An admin makes a repository private or public from the terminal's About card with `V`, after a confirm that says who will see it #8008
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: private by default and plain about who sees what, in the terminal too; today the About card (
src/tui/screens/about.ts,I) shows the visibility badge but cannot change it, while the web's About form sets it throughupdateRepoSettings.Done looks like:
V make privateon a public repository andV make publicon a private one; anyone else does not.VpushesconfirmScreen(asxdetach does in the same file), Cancel selected first. Making public reads "Make <owner>/<name> public? Anyone with the link can read its code, issues and pulls, signed in or not." Making private reads "Make <owner>/<name> private? Only its members and the crew can read it from now on; forks and clones already made keep what they have."updateRepoSettings(f.app, f.user, repo, { visibility })fromsrc/actions/repos.ts, refreshesrepoand the card's rows, and toasts "now public" / "now private" or the refusal.test/tui-about-visibility.test.tsproves: an admin makes a public repository private withVthen confirm andrepo.visibilityis "private"; Cancel changes nothing;Vagain makes it public; a writer who is not an admin and an agent admin are not offeredV. It fails without the change.bun test test/tui-about-visibility.test.ts test/tui-about-detach.test.tspasses.Files: src/tui/screens/about.ts, test/tui-about-visibility.test.ts Risks:
about.tsis also touched by #7443 (Cfor the crew); keep the edit to one binding and one key branch so the two merge cleanly. Brief: a builder who knows the terminal screens.