gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitfe209ffefe209ffeMerge branch 'w56-owner-members' into mainGitoriafe209ffe/CONCEPT.md

4.7 KB

  1. # gitoria.worldapi.org — concept
  2. Git hosting for all projects, built in Hybriel (hl:webex), login via ident. Source of truth = the creator's words below.
  3. ## The creator's first thoughts (ticket gitoria.worldapi.org#1, 2026-09-24, verbatim)
  4. > Wildcard url: *.gitoria.worldapi.org
  5. > a new repo needs a slug for that thats unique in the hole system.
  6. > a repos / shows the README.md parsed to html, if there is a $docs folder it renders all md files inside that folder as a homepage
  7. >
  8. > /code shows the current state of their main branch (can be switched in settings)
  9. > /branch/xy shows entire branch at last comit
  10. > /commit/xy shows entire project at that commit
  11. > /tickets implements the ticketlist view of tickets.worldapi.org, the moment one ticket is created the project is created in tickets.worldapi.org - when a user loggs in to tickets.worldapi.org they see all tickets of a gitoria project like its a tickets project.
  12. > /pulls commits starting with `|||PR ` create a pull request using the branch title the main target for PRS can be configured in settings and is main by default `|||PR|name-of-branch] ` at the beginning of a commit sets a target branch
  13. > /releases a commit starting with `|||RL ` creates a semver release by default it counts up the last one 0.0.1 `|||RL|med ` counts up the middle number 0.1.0 and `|||RL|mj ` the major version 1.0.1 with `|||RL|1.1.1a ` the version can be set manually
  14. Earlier (chat, 2026-09-23/24): "i use ident login to login to ticktes and gitoria. i host the code in gitoria and use tickets
  15. to manage their tasks." · "deploy.sh yes, until gitoria does it automatically".
  16. ## Structure (architect's reading of the above — the quotes count)
  17. - **A repo** = a unique slug (unique in the whole system) → reachable at `https://<slug>.gitoria.worldapi.org`.
  18. - **`/`** = the repo's README.md rendered as HTML; if the repo has a `$docs` folder, all its Markdown files form the homepage.
  19. - **`/code`** = the main branch now (which branch is "main" is a repo setting). **`/branch/<name>`** = a branch at its last
  20. commit. **`/commit/<id>`** = the whole project at that commit.
  21. - **`/tickets`** = the tickets list of tickets.worldapi.org for this repo; the tickets project is created with the first
  22. ticket; in tickets.worldapi.org a gitoria project appears like any tickets project.
  23. - **`/pulls`**: a commit message starting `|||PR ` opens a pull request (title = branch title) into the default target
  24. (repo setting, default `main`); `|||PR|<branch>] ` sets the target.
  25. - **`/releases`**: a commit message starting `|||RL ` creates a semver release, patch +1 by default; `|||RL|med ` minor +1,
  26. `|||RL|mj ` major +1, `|||RL|<version> ` sets it explicitly.
  27. - Existing research: `docs/differ-from-custom-ide.md` (the diff logic is reusable) — shared components live in
  28. layouts.worldapi.org (creator).
  29. ## Open — not decided by the creator yet (a worker must not invent these)
  30. - ~~How code gets in and out~~ — decided (gitoria#5): "the dev can use ssh keys or the git http credentials if thats not deprecated by git itself". How to do it in Hybriel: research ticket gitoria#5.
  31. - Who may create repos; who may push beyond the owner and the members (public / private repos and organizations: see "Private repos and organizations" below).
  32. - Merging pull requests: where and by whom.
  33. - What a release contains besides the version (tag only? downloadable archive?).
  34. - The 4 old repos rescued from the previous gitoria (byrodin `/CONTAINERS/projects/gitoria.worldapi.org/repos-rescued-2026-09-24/`):
  35. import them or not.
  36. ## Old gitoria (Byrodin, hybrilior) — 2026-09-24
  37. The old container is removed. It hosted 4 bare repos (hybrilior, misant, mpackdb, bsondb); rescued to
  38. byrodin:/CONTAINERS/projects/gitoria.worldapi.org/repos-rescued-2026-09-24/.
  39. ## Private repos and organizations (ticket gitoria#34, GO34 — built, not deployed)
  40. - A repo is public or private (one repo at a time); an **organization** (`<org>.gitoria.worldapi.org`) can be private too, then all its repos are, new ones included. Its repos live at `<org>.gitoria.worldapi.org/<repo>/…` and look like a repo page on `<repo>.gitoria.worldapi.org` (links stay inside `/<repo>`). Clone: `https://<org>.gitoria…/<repo>.git`, ssh `<org>/<repo>.git`.
  41. - **Members** (one list per repo and per organization, later also the list for ident#27): see a private repo and may push to it. Owners add them by display name (Settings / the org page).
  42. - Whoever may not see a repo gets the answer for a name that does not exist (page, API, git, ssh access). Names of organizations and top-level repos share one namespace.
  43. - `tools/move-repo.hl` moves a repo (same bare repo, members go along, the old name forwards: `/` answers 302, git on the old path keeps working). `tools/create-repo.hl` makes an empty repo in an organization with a member. Both run with the app stopped.

Branches

Latest commits

  • 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
  • c3d95b6e|||PR separate names and addresses, rename repositories in Settings (#53)mre
  • ce08920dMerge branch 'w52c-header-phone' into mainGitoria
  • 0bab9e46|||PR header: ident status wraps on phones instead of clippingmre
  • e7af3eceMerge branch 'w52b-approval-followup' into mainGitoria
  • c01e66c6|||PR approvals follow-up: live Merge after status writes, helpers (#52)mre
  • 841da497Merge branch 'w53-pulls-speed-pr' into mainGitoria
  • 80307ae2|||PR pulls page cache: live PR numbers, complete scans onlymre
  • 69141f65|||PR pulls page: cache the git part per repo by branch tipsmre
  • 155861f6Merge branch 'w52-person-approval' into mainGitoria
  • b5435de8|||PR person approvals: second Kunibert round (#52)mre
  • 3a8b2fb8|||PR person approvals: Kunibert review fixes (#52)mre