pulec.foo git

Help

What this site is

A set of pre-rendered pages for git repositories. Nothing here accepts input: no accounts, no web edits, no comment box. Every repository is fully cloneable, and its issue tracker travels inside the clone. If this site vanished, any clone could bring it back.

Clone

git clone https://git.pulec.foo/<name>.git
cd <name>
git fetch origin 'refs/bugs/*:refs/bugs/*' 'refs/identities/*:refs/identities/*' \
    'refs/zabagit/*:refs/zabagit/*'   # issues, identities, issue numbers
git-bug bug        # the issue tracker, offline, yours

The first line is enough for the code. The fetch line adds the issues; the git-bug command (package git-bug) reads them. An SSH address is listed on a repository's page when its owner publishes one.

With git-bug 0.12.0 or newer, git bug pull works against this site once the clone is told to use git for it: git config git-bug.git-transport git. Older versions cannot pull from here: use the git commands shown here, and if git-bug does not show issues you just fetched, delete .git/git-bug/cache in your clone and run it again.

Report an issue

There is no web form. Issues are git data, written by git-bug in a clone and pushed like code. Three ways, in order of directness:

  1. You have a key on this server. In your clone:
    git-bug user new -n "Your name" -e you@example --non-interactive
    git-bug bug new -t "short title" -m "what happened" --non-interactive
    git push origin 'refs/bugs/*' 'refs/identities/*'
  2. You do not. Push the same refs to any git remote you control (your own site, a hosted fork, anywhere the owner can fetch from) and tell the owner where. They pull it; git-bug merges your issue with your name on it.
  3. Any channel the owner lists on their repository or README: chat, a mailing list, a form elsewhere. Email addresses are never shown on these pages.

Send a change

A change travels as an issue, by any of the paths above. It has one of two shapes, both made with git on your computer:

  1. A patch, for one commit or a short series. In your clone, after committing:
    git format-patch --stdout origin/main.. > change.patch
    git-bug bug new -t "short title" -F change.patch --non-interactive
    then push the issue as above, or paste change.patch into the form where a repository has one.
  2. A branch, for longer work. Push it to a remote you control that the owner can fetch from, then write the request:
    git request-pull origin/main https://your.host/your-repo.git your-branch > request.txt
    and send request.txt as the issue text. It names the address, the branch, the commits and the files they touch; the owner fetches it and merges it in their own clone.

Before you send: a patch carries your git name and email (its From: line), and this site shows posted text as plain text, so anyone reading the issue sees that address. Set git config user.email to one you are fine publishing. A person reads every post: there is no estimate of when, and no email comes back. To see your issue appear and change, follow the repository's issue feed, issues-atom.xml in its directory: https://git.pulec.foo/<name>/issues-atom.xml.

Issue numbers and labels

Issues are #1, #2, ... in the order the site first saw them, and a number is never reused or shifted. #12 in a commit message or in an issue links both ways: the commit page lists the issue, the issue page lists the commit. Labels are free text; prio:1, milestone:v1, who:name are plain conventions. Every label has its own page, and the open tasks page groups every open issue on this site by label.

Line references

Every file page shows a reference stem such as src/a.py@0bca43d: the path and the version (a commit id). Add a line: src/a.py:L10@0bca43d. Written in an issue or a commit message, the reference becomes a link to exactly that line of exactly that version, which keeps working after the file moves or changes. Offline, in a clone: git show 0bca43d:src/a.py. On a file page, click a line number to select the line and shift-click another to select a range; with JavaScript on, a button next to the reference copies it with the selected lines, and the clone commands have one too.

Provenance badge

A repository may declare who wrote it, on two axes: the design and the code, each human or LLM (a language model). "design: human, code: human" is a fully hand-made project. "design: human, code: LLM" is a person's plan carried out by a model. "design: LLM, code: human" is the reverse: a model's plan, every line typed by a person. "design: LLM, code: LLM" means a person only directed. No badge means the owner said nothing.

Process

A repository may also say how it is run: the process standard it follows (a written set of rules for how changes are planned, recorded and checked), and what it does with changes written by an LLM: welcome, welcome if disclosed (say so in the issue or the patch), or not accepted. It is the owner's own statement: this site does not check it. No line means the owner said nothing.

Where is the fork button?

There is none, because none is needed. Clone, push to a remote of your own, diverge as you like. To send a change back, use any of the three issue paths above with your patch or your remote's address; the owner pulls what they trust.

What this site will never do

Web edits, pull request machinery, continuous integration, blame pages, accounts. Those belong to forges. Here the web is read-only by construction, and git is the write path.