gitoria
All repositories: gitoria
889 B
// tests/pulls-seed.hl — the gate's seed (tests/pull-numbers.mjs): a user, an empty repo and a push token in a TEST storage.// GITORIA_STORAGE=<abs table dir> GITORIA_GIT=<abs git root> bin/hybriel tests/pulls-seed.hl <slug> [ssh public key line] → prints USER <id> and TOKENimport { args } from 'hl:proc'import { ensureUser, setUserName } from '../lib/users.hl'import { createRepo } from '../lib/repos.hl'import { addKey } from '../lib/sshkeys.hl'import { createToken } from '../lib/tokens.hl'a = args()u = ensureUser('gate-ident-w40')setUserName(u.id, 'Gate Pusher')r = createRepo(u.id, a[0], '')if (r.error != null) { hlError(r.error) }t = createToken(u.id, 'gate')if (t.error != null) { hlError(t.error) }if (a.length > 1) {k = addKey(u.id, 'gate', a[1])if (k.error != null) { hlError(k.error) }}console.log('USER ' + u.id)console.log('TOKEN ' + t.token)
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
- 4d1a4cf4log: #25 numbersmre
- 1af0a60ddocs: H25 run() correctionmre
- 8c8ba2f1log: PR flow announcedmre
- fa00cd35log: Kunibert pings provenmre
- 3a68cfaclog: components decisionmre
- 87de8e31log: Kunibert connected to 9 app reposmre
- c22aff69log: PR-only rollout startedmre
- 25309981log: STOP and paused workers 2026-11-08mre
- 5286803alog: worker briefs and reports of 2026-11-08mre
- 85c86605log: 2026-11-08 Arachne on list shapemre
- cb634512log: 2026-11-08 keyed lists livemre
- 07c98d4aLists: keyed rows with @id, remove(id) and one whole-list assignment instead of hand-rebuilt loopsmre
- 0db0d81elog: 2026-11-08 day52 live, W30 startedmre
- b05f6d92tests/status: the gate's 3 s app token expired during the restart; it lives 60 s like status-keyedmre
- 1e8f4f0avendor: Hybriel set-day52 (fault-path leak fix #335, keyed rows #331)mre
- f5f0fb7blog: 2026-11-08 day50/#29 live, H25 correction, V52 startedmre
- dc77fb95main: offline note from __hlOnline, tick removed (#29)mre
- 37a86d93tests/reviews: seeded fake hook's DNS failures are not server errors (flaky gate)mre
- 07ab845bvendor: Hybriel set-day50 (run() leak fix #335)mre
- 71b2fa4blog: hybriel#335mre