gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit6b0227986b022798gitoria#46: tests/status.mjs in GATESmre6b022798/missions/002-code-order.md

1.5 KB

  1. # Mission 002 — gitoria: code order cleanup (no behaviour change)
  2. Rules: /CONTAINERS/projects/antcolony/docs/code-order.md on Byrodin (the creator's own wording — read it fully).
  3. Repo loreana:/media/STORAGE/projects/gitoria.worldapi.org (main at HEAD, deployed). Kill by PID only, never read .env;
  4. git: commit on main only, never push. Ports 8750–8759 (gate env vars as in README; GITORIA_GATE_PORT=8750 …
  5. ; also push.mjs and ssh.mjs gates).
  6. 1. Baseline on a real-data copy (signed in as az5b2): HTML of /, a repo page incl. the tracker README, a file view, /pulls, a clone + push over ssh, /api responses used by
  7. tools (projects list, ticket get, events) — saved for diffing. Counts: root .hl, project.hl lines, let total/never
  8. reassigned.
  9. 2. One lib/ file per topic with its central logic (repos, git, pulls, users, markdown…);
  10. noise + cross-topic helpers to lib/util.hl; api.hl/faces/page handlers = thin wrappers calling the topic functions;
  11. project.hl = map (config, routes, index comment). `let` only where reassigned. No new concepts, no layers.
  12. 3. Gates green (browser, push, ssh); outputs identical to the baseline. README (file map) + STATUS + LOG. Small commits.
  13. ## Report — loreana …/gitoria.worldapi.org/reports/002-code-order.md (+ copy /CONTAINERS/projects/antcolony/reports/latest-w082.md)
  14. Note: tickets did this first — read loreana tickets.worldapi.org/reports/010-code-order.md (lessons: pass request/session by & through extra function calls; 83 loop-body lets must stay until hybriel#128).

Branches

Latest commits

  • 6b022798gitoria#46: tests/status.mjs in GATESmre
  • c6162f00gitoria#46: status badges on /pulls, Required before merge in Settingsmre
  • e5a0b64egitoria#46: PUT statuses/<sha>, required contexts block the merge on the servermre
  • 49533a50gitoria#43: signed events to connected apps (merge w43-events)mre
  • 1a1e87d5gitoria#43: the sender never writes the apps row; Settings shows the newest deliverymre
  • cd442066gitoria#43: app-auth unit test reads the apps table from its new filemre
  • 5dccbe38gitoria#43: in-flight rows are left alone by the other process; gate in deploy.sh; READMEmre
  • 8c8805f3merge main (gitoria#42), delivery log and redelivery routes, sweep fixmre
  • 5a996ea8gitoria#42: short-lived app tokens, read-only git fetch with them (merge w42-app-token)mre
  • afdb0cbfgitoria#43: rename the moved helper (name clash in the browser build)mre
  • 15e01e94gitoria#43: tests/events.mjs and its probemre
  • 77829b73gitoria#43: signed events to connected apps (deliveries table, sender timer, pull_request events, ping)mre
  • b5d696fegitoria#42: app tokens (gat_, one hour), appOfRequest, app token as the git read passwordmre
  • 1997e77dgitoria#40: stable PR numbers, refs/pull/N/head, ssh pushes reach the app (merge w40-pr-number)mre
  • 9364fb16gitoria#40: ssh pushes call /__git/pushed before and after (ensurePulls, notifyPush, syncPulls); gate over the sshd imagemre
  • fdb9ed28gitoria#41: repo owners can connect an app (merge w41-apps-connect)mre
  • 2ef23df0gitoria#40: the browser gate reads the title without the #Nmre
  • 9af07ecegitoria#41: connect an app to a repo (apps table, connect flow, manual add, allow-list, settings)mre
  • b9137ff0gitoria#40: pull requests are stored with a number, refs/pull/N/head, syncPulls and pullObject; /pulls shows #Nmre
  • 06d622daown image tag gitoria-runtime:debian12 for gitoria and standby (shared tag lost git)mre