gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit21aa57ca21aa57calog: parkmre21aa57ca/components/commit.hl

970 B

  1. // components/commit.hl — THE COMMIT PAGE of a repo (gitoria#9, gitoria#16): /commit/<id>[/<path>]: the whole project at that commit.
  2. // Its own route, rendered on the server (repo from the request's host, content from git: codebrowser.hl).
  3. // THE PATH AFTER /commit/: the route `/commit/*path` binds the rest of the path to the member `path` (hybriel#81).
  4. parent './repo.hl'
  5. import { siteName } from '../project.hl'
  6. import AddCode from './addcode.hl'
  7. import CodeBrowser from './codebrowser.hl'
  8. import { pageTitle } from '../lib/repos-helpers.hl'
  9. import { slugOfRequest } from '../lib/orgs.hl'
  10. import { titleSlug, repoAt } from '../lib/repos.hl'
  11. host = null
  12. orepo = ''
  13. session = null
  14. path = ''
  15. hasRepo = repoAt(slugOfRequest(host, orepo), session) != null
  16. __title = pageTitle(siteName, titleSlug(host, orepo, session), 'Commit')
  17. View {
  18. repoPage {
  19. if (hasRepo) {
  20. AddCode { orepo = orepo }
  21. CodeBrowser { orepo = orepo kind = "commit" rest = path }
  22. }
  23. }
  24. }

Branches

Latest commits

  • 21aa57calog: parkmre
  • e9f950a8reports: G25c soakmre
  • a7783686log: deploy 9f41ffcmre
  • 9f41ffc1log: W30b mergedmre
  • bef635c1Merge branch 'w30b'mre
  • 15b996a5Org list: keyed rows by @id, newest first, concat instead of hand loopmre
  • c4f6d9e3reports: G25c growth huntmre
  • b88e39f1log: privacy cleanup donemre
  • bfd7826ddocs: neutral example organisation namemre
  • 01b71c2edocs: neutral wording in missions, reports and logmre
  • 3eeea733log: 2026-11-09 PR flow plan and membersmre
  • e7c2ff1fdocs: neutral name for the apps-api reviewmre
  • 120b7abdlog: step 3 queuedmre
  • 358474bflog: P50 livemre
  • 477d7bdcMerge branch 'p50'mre
  • 00efc06fP50 reportmre
  • e3f85afblog: commit mention slipmre
  • 4d1a4cf4log: #25 numbersmre
  • 1af0a60ddocs: H25 run() correctionmre
  • eefa2dbcRepo setting: refuse direct pushes to the main branch (pre-receive over HTTPS and ssh)mre