gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit03b5bb0803b5bb08W39 report to reports/, drop scratch repro, mission + logmre03b5bb08/tests/reviews-probe.hl

641 B

  1. // tests/reviews-probe.hl — run by tests/reviews.mjs on the gate's finished storage: currentVerdict (lib/reviews.hl) for the app and PR given.
  2. // bin/hybriel tests/reviews-probe.hl <repo id> <pr number> <app name> → `verdict <v>` / `verdict none`
  3. import { args } from 'hl:proc'
  4. import { appsTable } from '../lib/apps-table.hl'
  5. import { currentVerdict } from '../lib/reviews.hl'
  6. a = args()
  7. let found = null
  8. for (x of appsTable.find('repo', a[0])) { if (x.name == a[2]) { found = x } }
  9. v = found == null ? null : currentVerdict(a[0], toNumber(a[1]), found.id)
  10. console.log('verdict ' + (v == null ? 'none' : v.verdict + ' ' + v.head))

Branches

Latest commits

  • 03b5bb08W39 report to reports/, drop scratch repro, mission + logmre
  • 154d333fMerge w39-create-api: POST /api/repos with a user token (#39)mre
  • 149dd512Rewrite W39 reportmre
  • e5385075Expect 401 for POST /api/repos without a tokenmre
  • 1a76055cDocument repository creation APImre
  • 4d779b3bAdd create-api gatemre
  • 88563122Add POST /api/repos for user tokensmre
  • b00860e3Create repositories with member checks in createRepoInmre
  • 0a38f236Report repository creation API blockermre
  • b5f72187Record malformed JSON blocker for repository creationmre
  • a2ae8302logmre
  • 6947cd58logmre
  • 2175e48clogmre
  • 40eb3ca1gitoria#38: review package, logmre
  • 06a5a50egitoria#38: deploy b8252ca, logmre
  • b8252ca0gitoria#46: W46b report, logmre
  • 50093aafgitoria#46: statuses keyed by app + context (merge w46b-keyed)mre
  • dd0267edgitoria#46: fix a label in the keyed gatemre
  • b1dcb580gitoria#46: statuses keyed by app + context, required = app + context, old rows still readmre
  • 2287363egitoria#47: W47 report, logmre