gitoria
All repositories: gitoria
970 B
// components/commit.hl — THE COMMIT PAGE of a repo (gitoria#9, gitoria#16): /commit/<id>[/<path>]: the whole project at that commit.// Its own route, rendered on the server (repo from the request's host, content from git: codebrowser.hl).// THE PATH AFTER /commit/: the route `/commit/*path` binds the rest of the path to the member `path` (hybriel#81).parent './repo.hl'import { siteName } from '../project.hl'import AddCode from './addcode.hl'import CodeBrowser from './codebrowser.hl'import { pageTitle } from '../lib/repos-helpers.hl'import { slugOfRequest } from '../lib/orgs.hl'import { titleSlug, repoAt } from '../lib/repos.hl'host = nullorepo = ''session = nullpath = ''hasRepo = repoAt(slugOfRequest(host, orepo), session) != null__title = pageTitle(siteName, titleSlug(host, orepo, session), 'Commit')View {repoPage {if (hasRepo) {AddCode { orepo = orepo }CodeBrowser { orepo = orepo kind = "commit" rest = path }}}}
Branches
Latest commits
- e874e44dtests/status-keyed: app token lives 60 s so it outlives the gate's two restartsmre
- 270b8d61deploy.sh: DEPLOY_STOP_START=1 stops, waits for the old pid, then starts (mpackdb freeze, replaces the standby swap)mre
- 3f9235b8project.hl: drop the dummy /pulls/:n component route (hybriel#294 is fixed in day37)mre
- c90daf19Re-vendor gitoria to Hybriel set-day37 (f6b3d45b)mre
- 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