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
- fefaedd2log: tracker PR-only, HL25 startedmre
- 21aa57calog: parkmre
- e9f950a8reports: G25c soakmre
- a7783686log: deploy 9f41ffcmre
- 9f41ffc1log: W30b mergedmre
- bef635c1Merge branch 'w30b'mre
- 15b996a5Org list: keyed rows by @id, newest first, concat instead of hand loopmre
- c4f6d9e3reports: G25c growth huntmre
- b88e39f1log: privacy cleanup donemre
- bfd7826ddocs: neutral example organisation namemre
- 01b71c2edocs: neutral wording in missions, reports and logmre
- 3eeea733log: 2026-11-09 PR flow plan and membersmre
- e7c2ff1fdocs: neutral name for the apps-api reviewmre
- 120b7abdlog: step 3 queuedmre
- 358474bflog: P50 livemre
- 477d7bdcMerge branch 'p50'mre
- 00efc06fP50 reportmre
- e3f85afblog: commit mention slipmre
- 4d1a4cf4log: #25 numbersmre
- 1af0a60ddocs: H25 run() correctionmre