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
- 4639caf7Report W61 theme startup blocker and day39 Style probemre
- 4a3f557eImport layouts theme ebd00b6 for W61 (startup blocked)mre
- 53ca42b2log: W60 merged, W61 W62 startedmre
- 80870a33mission W61: style passmre
- 560fd208Merge W60: helpers, bound forms, login in topics, two form fixes (gitoria#28 #32 #33)mre
- ac5ba6a4log: W60, #25 measuredmre
- 220f6342W60: record corrected form proof, full AE and remaining gapsmre
- 7e31cac5gitoria#28: restrict reply form layout to reply formsmre
- ae373cfdgitoria#28: keep each reply draft in its thread componentmre
- eeeebd5agitoria: insert a newly created organization oncemre
- 34d2d5cagitoria: clear the bound public-key textarea after creationmre
- 119e54c0W60: restore conductor-owned tracking filesmre
- 24b479e7W60: record final gates, Chrome failures and AE evidencemre
- 5e11184cW60: record partial validation, framework gaps and cleanupmre
- 20fe13fagitoria#33: centralize login and tickets connection statemre
- 859754c0gitoria#29: retain the offline note and record the framework gapmre
- d140bc04gitoria#30: reproduce the upsert ordering constraintmre
- 6960e8f8gitoria#28: keep form values in bound component membersmre
- 0db27200gitoria#32: share character checks and environment lookupmre
- 452f6a1amission W60: logic clean-upsmre