gitoriaLog in with ident

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitfd981932fd981932State of 2026-09-27; bin/ no longer tracked (Hybriel commit is in README)mrefd981932/components/branch.hl

748 B

  1. // components/branch.hl — THE BRANCH PAGE of a repo (gitoria#9, gitoria#16): /branch/<name>[/<path>]: that branch at its last commit.
  2. // Its own route, rendered on the server (repo from the request's host, content from git: codebrowser.hl).
  3. // THE PATH AFTER /branch/: the route `/branch/*path` binds the rest of the path to the member `path` (hybriel#81).
  4. parent './main.hl'
  5. import { siteName } from '../project.hl'
  6. import RepoHead from './repohead.hl'
  7. import CodeBrowser from './codebrowser.hl'
  8. import { pageTitle } from '../repos.hl'
  9. import { slugOfHost } from '../users.hl'
  10. host = null
  11. path = ''
  12. __title = pageTitle(siteName, slugOfHost(host), 'Branch')
  13. View {
  14. repoPage {
  15. RepoHead { }
  16. CodeBrowser { kind = "branch" rest = path }
  17. }
  18. }

Branches

Latest commits

  • fd981932State of 2026-09-27; bin/ no longer tracked (Hybriel commit is in README)mre
  • 4a2d7125initial commitmre