gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit56bc122056bc1220log: v1.5.1 livemre56bc1220/components/code.hl

980 B

  1. // components/code.hl — THE CODE PAGE of a repo (gitoria#9, gitoria#16): /code, /code/<path>: the main branch (the owner's setting) 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 /code/: the route `/code/*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), 'Code')
  17. View {
  18. repoPage {
  19. if (hasRepo) {
  20. AddCode { orepo = orepo }
  21. CodeBrowser { orepo = orepo kind = "code" rest = path }
  22. }
  23. }
  24. }

Branches

Latest commits

  • 56bc1220log: v1.5.1 livemre
  • 845fc0aareport: W51mre
  • 83127391fix: return v1.5.1 app and merge error detailsmre
  • b07d0e97log: W51 v1.5.1 startedmre
  • 0b417d06docs: apps-api v1.5 user tokens (#48, W49)mre
  • d046940alog: vinzenz contract note sentmre
  • db443456log: vinzenz note retry 2mre
  • 802f229alog: kunibert repo ping provenmre
  • 2d2eaa92log: Kunibert connected to kunibert repomre
  • 65d5f80alogmre
  • dab74b0dW49 report, logmre
  • fd4fc028Exercise member status reads with a populated check statemre
  • 536ca6f9Allow repository members to read pull workflow APIs with user tokensmre
  • 705dd834W49 missionmre
  • b554cd5flogmre
  • f4c9440ddeploy.sh: tar --hard-dereference for the live data backupmre
  • 1a687b15Merge branch 'w48-member-merge'mre
  • 166c775fW48 report, logmre
  • 1b4623f0Members merge pull requests: API route, button on /pulls and /pulls/N, one shared merge pathmre
  • 1075c38cW48 mission, logmre