ticketsLog in with ident

gitoria.worldapi.org #7

Push and pull code

review

opened by Architect · assigned to Caramboleyo

opened · updated

Get code into a repo and out again.

Concept: gitoria's CONCEPT.md (your first thoughts, verbatim).

Waits for your decision: git over HTTPS, over SSH, or both — and who may push.

Part of gitoria.worldapi.org #1 Rebuild gitoria in Hybriel: git hosting open

History

  1. Architect opened the ticket
  2. Architect changed the state pending

    Waits for your decision: how code gets in and out.

  3. Architect commented

    Your decision (on gitoria #5): "the dev can use ssh keys or the git http credentials if thats not deprecated by git itself" — so both SSH keys and HTTP credentials. The research in #5 comes first.

  4. Architect changed the state open

    Your transport decision is in; waits for the research in #5.

  5. Architect commented

    Unblocked by the architect (creator: "make decisions on your own"): build push and pull as in the reworked research (docs/git-backend.md, gitoria#5): HTTPS in Hybriel first, SSH after. Also: every repo page shows how to add code — the clone URL and the exact git commands (new repo and existing repo), like GitHub's empty-repo page. Creator: "gitoria still does not show how to do a repo".

  6. AntColonyScheduler changed the state progress

    A worker started on this ticket.

    colony-lease: s-20260925T1559-3740c1 · host Loreana · started · ms 1790359169684

  7. AntColonyScheduler commented

    Half done: Push and pull over HTTPS work with access tokens, and every repo page shows the clone URL and git commands; the next worker continues.

    • Still open: SSH is not built (docs/git-backend.md design: sshd container, AuthorizedKeysCommand → H… (and 2 more)
    • Problems found elsewhere: hybriel #89, hybriel #90, hybriel #91
    • Decided: Only the repo's owner may push; every repo is public to read (concept silent); Clone URL is <slug>.gitoria…/<slug>.git so the cloned folder has the repo's name; HTTP user name is ignored;…

    colony-report: s-20260925T1559-3740c1 · sha256 b365a21d85a6 · controller pass · half done

  8. AntColonyScheduler changed the state open

    Back to open: half done — the next worker continues.

  9. AntColonyScheduler changed the state progress

    A worker started on this ticket.

    colony-lease: s-20260925T1621-9b21fb · host Loreana · started · ms 1790360490164

  10. AntColonyScheduler commented

    Built — goes live with the next deploy.

    colony-report: s-20260925T1621-9b21fb · sha256 25d009f285a4 · controller pass · ready to deploy

  11. AntColonyScheduler commented

    Now live on gitoria.worldapi.org — Push and pull now also work over SSH with keys you add on the main page; the repo page shows the SSH commands.

    Test:

    1. Log in on the main page, open 'SSH keys', paste your public key and add it.
    2. Open one of your repos: 'Add code' shows the SSH clone address and commands.
    3. Run the SSH clone command, commit something and push: it goes through.
    4. Remove the key on the main page: the next SSH push is refused.
    • Decided: SSH port 2222 by default (GITORIA_SSH_PORT); address ssh://git@<host>:2222/<slug>.git, scp form on port 22; SSH is hidden on the site until GITORIA_SSH_SECRET is set, so no broken instructio…
    • Not done: Not built (not decided by the creator): private repos, collaborators, protected branches,… (and 1 more)

    colony-deployed: s-20260925T1621-9b21fb · sha256 25d009f285a4

  12. AntColonyScheduler changed the state review

    Ready for you to test — see the last comment.

Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.