gitoria
All repositories: gitoria
1.5 KB
// W60 architectural controls: the browser walks separately establish unchanged behavior.// Negative control: git 452f6a1 (the mission's starting tree).import { readFileSync, readdirSync } from 'node:fs';import { resolve } from 'node:path';const root = resolve(process.argv[2] || '.');const read = p => readFileSync(root + '/' + p, 'utf8');let passed = 0, failed = 0;function check(name, ok) { console.log(`${ok ? 'ok' : 'FAIL'} ${name}`); ok ? passed++ : failed++; }const files = readdirSync(root + '/components').filter(f => f.endsWith('.hl'));check('#28: every component stores control values in members', files.every(f => !/target\.elements|\.value\s*=/.test(read('components/' + f))));const main = read('components/main.hl');check('#32: shared character helpers and env lookup', /static isBase64/.test(read('lib/util.hl')) && /static isDigits/.test(read('lib/util.hl')) && !/static isKeyBase64/.test(read('lib/sshkeys.hl')) && !/static isDigits/.test(read('lib/git-helpers.hl')) && /envOr\('GITORIA_GIT'/.test(read('lib/git.hl')));check('#33: both login carriers call the users topic', /x = login\(code, session, null\)/.test(main) && /x = login\(code, req.session, &sessions\)/.test(read('lib/api.hl')) && !/session\.user = \{ id = x\.user\.id/.test(main));check('#33: tickets connect state belongs to its topic', /static completeConnect/.test(read('lib/tickets.hl')) && !/data\.connectState\s*=|data\.connectNote\s*=/.test(read('lib/api.hl')));console.log(`${passed} passed, ${failed} failed`);process.exitCode = failed ? 1 : 0;
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
- 0f39e181Merge branch 'w64-org-slash' into mainGitoria
- 9c72d0bf|||PR org repo addresses work with a trailing slashmre
- a4a33081Merge branch 'w63-force-push' into mainGitoria
- 52576cb0force push: defer on a failed scan, one-to-one pairs, docs (#56)mre
- 5a7b3e68|||PR a force push keeps the same pull request (#56)mre
- cc1be2d6Merge branch 'w62-pr-close' into mainGitoria
- 6e03be0apull state: keep the resync marker until the sync ran (#56)mre
- 93bdd26cpull state: wait for a claimed row, resync when it stays busy (#56)mre
- e53d284bpull state: stop on a failed branch scan, claim the row on writes (#56)mre
- d8608224close and reopen: keep a manual close against sync (#56)mre
- ffb60746|||PR close and reopen pull requests (#56)mre
- fe209ffeMerge branch 'w56-owner-members' into mainGitoria
- fa0754c8|||PR repository owner transfer and members API (#55)mre
- 8862e537Merge branch 'w55-rename-org' into mainGitoria
- 014d2b7fOne immutable readers snapshot per move for the left-organization event (#53)mre
- 1859d506Decide who hears a repo left its organization by its readers before the move (#53)mre
- 499f25f2Review fixes for the Settings organization move (#53)mre
- ed3b922b|||PR move a repository into an organization in Settings (#53)mre
- 74ec2af8Merge branch 'w54-repo-rename-pr' into mainGitoria
- 9f7ce8d8Preserve rename compatibility and live page titlesmre