gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2ed094412ed09441Use layouts theme 17e0f03 for W61 compatibilitymre2ed09441/tests/pulls-seed.hl

889 B

  1. // 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.
  2. // 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 TOKEN
  3. import { args } from 'hl:proc'
  4. import { ensureUser, setUserName } from '../lib/users.hl'
  5. import { createRepo } from '../lib/repos.hl'
  6. import { addKey } from '../lib/sshkeys.hl'
  7. import { createToken } from '../lib/tokens.hl'
  8. a = args()
  9. u = ensureUser('gate-ident-w40')
  10. setUserName(u.id, 'Gate Pusher')
  11. r = createRepo(u.id, a[0], '')
  12. if (r.error != null) { hlError(r.error) }
  13. t = createToken(u.id, 'gate')
  14. if (t.error != null) { hlError(t.error) }
  15. if (a.length > 1) {
  16. k = addKey(u.id, 'gate', a[1])
  17. if (k.error != null) { hlError(k.error) }
  18. }
  19. console.log('USER ' + u.id)
  20. console.log('TOKEN ' + t.token)

Branches

Latest commits

  • 2ed09441Use layouts theme 17e0f03 for W61 compatibilitymre
  • b8609a91Merge branch 'main' into w61-stylemre
  • 4639caf7Report W61 theme startup blocker and day39 Style probemre
  • 81f0a0bbREADME: two caches were restored by 90b4f72; log W62mre
  • 4a3f557eImport layouts theme ebd00b6 for W61 (startup blocked)mre
  • ab12a257Merge W62: #25 commit page measurements and proc repromre
  • 41323e49gitoria#25: measure commit request costs and reproduce blocking process waitsmre
  • 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