1.5 KiB
1.5 KiB
AGENTS.md — Repo hygiene
Scope: this file covers repo hygiene — branching, remotes, CI, cleanup. It is not project documentation.
Branch model
- Single-trunk:
mainonly. Nodevorbetabranch. Land small changes directly, or use short-livedfeature/x/fix/xbranches for anything non-trivial and merge back tomain. - This replaced an earlier three-branch (
dev/beta/main) model aftermainsilently rotted across the ecosystem. Don't recreate those branches.
Channel
- Pacman-only, permanently. There is no
bakery.tomlon purpose: breadlock installs a root-owned/etc/pam.d/breadlockPAM service (andbreadgreetis a greetd greeter). Bakery has no privileged-install path. Do not addbakery.toml. - Releases are
v*tags..forgejo/workflows/package.ymlbuilds the[breadway]pacman package. There are no bakery tracks (dev/beta/stableindexes) for this repo.
Remotes
origin— Forgejo (git.breadway.devvia Hestia, SSH) — authoritative. Push here.github— GitHub mirror (push-mirror; do not push to it by hand).
CI
.forgejo/workflows/package.ymltriggers only onpush: tags: ['v*']— regular pushes tomainrun nothing. Tag a release to trigger packaging.- No build/lint/test CI runs on ordinary commits or PRs — test locally before merging.
Cleanup
- Delete feature/fix branches (local + remote) once merged. Check with
git branch --merged main.
Don't
- Don't add
bakery.toml. - Don't embed credentials in remote URLs — SSH or a credential helper only.