gitoria
All repositories: gitoria
2.7 KB
# GO34 — gitoria: private repos and organizations (BUILD only, branch go34, not pushed, not deployed)Done: private repos (per repo) and private organizations (every repo of it, also new ones), one member list (lib/members.hl), org addresses <org>.gitoria…/<repo>/…, move tool tools/move-repo.hl <from> <to> <public|private> (renames the same bare repo, keeps members, leaves a forward), gate tests/private.mjs (154 checks).Gates: private 154/0 (on main: creation, members, orgs, move all red), security 70/0, browser 265/0 (before my last fixes 263/2), check-theme 0 problems. push.mjs and ssh.mjs fail on main too (waitFor #loginbutton, old selector) — not caused by this change.Anonymous git on a private repo gets 401 (the same as a name nobody made) because git sends no credentials before a challenge; a token without access gets 404. Private clone/push therefore needs the token in the URL.Not done: 390/1280 screenshots of the new Settings/org/create forms were not taken or looked at; seppy-phone create script; org create/visibility UI wording unreviewed; README/CONCEPT/DECISIONS entries; the old-address redirect is a "moved" page (hl:web gap, .scratch/repro-redirect.md); /api/repos/:slug has no org form; styles for the new elements reuse existing classes (no new Style blocks).Deploy needs: no migration of existing rows (org/priv absent = public top level); new tables orgs.db, members.db, forwards.db are created on start; rebuild the sshd image (docker/sshd/gitoria-shell takes org/name and the 'ok <real name>' answer); *.gitoria wildcard DNS covers <org>.gitoria (verify); run tools/move-repo.hl with the app stopped (routger -> <org>/hyper-conductor, visibility open with him); create a private organisation after he answers.## GO34b (follow-up)Shots looked at (390 + 1280, in /media/STORAGE/claude-scratch/atlas/GO34/shots1 before, shots3 after): org page, private repo page (owner) and signed out (the 404 "Page not found" page), repo Settings visibility + members, create forms. Fixed: org create form had no card, org list ran together, member list had bullets, buttons stretched. New elements have nested Style{} blocks in list.hl, orglist.hl, settings.hl.Redirect for the old address: tried a function route for `/`; it works but makes the Readme tab a full page load (browser gate red), so reverted; "Moved" page stays; repro .scratch/repro-redirect.md.tools/create-repo.hl (<org>/seppy-phone private + member Daedalus; run: see its header), tested in tests/private.mjs on a copy. push.mjs/ssh.mjs: the TEST was stale (the sign-in button #loginbutton is gone since the selector); they now sign in through the selector: 46/0 and 44/0.Gates: private 158/0, security 70/0, push 46/0, ssh 44/0, browser 265/0, check-theme 0 problems.
Branches
- f1-broken-json
- f2-api-bugs
- gp-gate-ports
- heap-revert
- hl25-records
- ident-chooser-selector
- mainmain branch
- p51-public-pr-reads
- records-1112
- s25-no-session-on-login-error
- v59
- w52-person-approval
- w52b-approval-followup
- w52c-header-phone
- w53-pulls-speed-pr
- w54-repo-rename-pr
- w55-rename-org
- w56-owner-members
- w62-pr-close
- w63-force-push
- w64-org-slash
Latest commits
- 0f39e181Merge branch 'w64-org-slash' into mainGitoria
- 9c72d0bf|||PR org repo addresses work with a trailing slashmre
- a4a33081Merge branch 'w63-force-push' into mainGitoria
- 52576cb0force push: defer on a failed scan, one-to-one pairs, docs (#56)mre
- 5a7b3e68|||PR a force push keeps the same pull request (#56)mre
- cc1be2d6Merge branch 'w62-pr-close' into mainGitoria
- 6e03be0apull state: keep the resync marker until the sync ran (#56)mre
- 93bdd26cpull state: wait for a claimed row, resync when it stays busy (#56)mre
- e53d284bpull state: stop on a failed branch scan, claim the row on writes (#56)mre
- d8608224close and reopen: keep a manual close against sync (#56)mre
- ffb60746|||PR close and reopen pull requests (#56)mre
- fe209ffeMerge branch 'w56-owner-members' into mainGitoria
- fa0754c8|||PR repository owner transfer and members API (#55)mre
- 8862e537Merge branch 'w55-rename-org' into mainGitoria
- 014d2b7fOne immutable readers snapshot per move for the left-organization event (#53)mre
- 1859d506Decide who hears a repo left its organization by its readers before the move (#53)mre
- 499f25f2Review fixes for the Settings organization move (#53)mre
- ed3b922b|||PR move a repository into an organization in Settings (#53)mre
- 74ec2af8Merge branch 'w54-repo-rename-pr' into mainGitoria
- 9f7ce8d8Preserve rename compatibility and live page titlesmre