Releasing¶
TL;DR. CI builds every package once per key, on the pull request that changes it. A release, started by hand on
main, publishes those builds under the next calendar version (YYYY.M.PATCH): every layer's packages and
database, the copyleft packages' sources and SHA256SUMS, in a download folder that is a pacman server. A headset
uses a release by pinning it.
How CI builds¶
Every pull request and push to main builds each package in its own job on an arm64 runner
(packages.yml); one job then writes each layer's database. A package's
key (build/plan.py) hashes everything its bytes depend on: its recipe folder,
build/packages.sh, the build image's digest and what the build environment takes from the headset's
definition: pacman.conf, packages.lock and the packages packages.txt takes from the Frame's
repository. Adding one of the project's packages to packages.txt moves no other key. Each key is built once:
a key built before comes from main's cache or from the artifact an earlier run of this repository left under
it (a pull request's, never a fork's), so a change builds only the packages it touches, once, on its pull
request. The pull request's last job, ci, passes only when every job before it passed; it is the check main
requires.
Versions¶
A release publishes those builds under a calendar version, as overpressure's releases
(versions across the project):
YYYY.M.PATCH, this month's next free patch (2026.11.20; the releases before it were named by their day,
2026.11.19, 2026.11.19.1, and sort before it). A recipe changed since the newest release raises its version
(pkgrel, or pkgver for a new upstream version; the project's own packages without an upstream take the date of
their change, pkgver=2026.11.22), which CI checks (build/versions.py check).
What a release holds¶
A release holds every layer's packages and database, the copyleft packages' sources and SHA256SUMS. main
changes only by pull request, only a release started by hand releases (a date tag pushed by hand releases nothing,
and the next release skips its name), and released tags never move or disappear (rulesets). The release's download
folder is a pacman server for every layer:
A release's notes open with its tag's message, then list the commits and the packages added, removed or at another version since the previous release, and its commit.
A release¶
- Merge the pull request; its CI built every package it changed.
- Start the release: Actions, Packages, Run workflow on
main, with one line on what it brings (in a terminal:gh workflow run packages.yml --ref main -f release="..."). Anyone with write access may start one. The run builds as a push does (reusing what the pull request built), then tagsmain's commit with the next calendar version (this month's next free patch) and that line and who started it as its message, and publishes the release. Ifmainmoved while it ran, it stops before tagging: start it again. - A consumer pins the release's tag, its commit and the SHA-256 of its
SHA256SUMS(the PICO 4's:userspace/packages.jsonin overpressure/phoenix). A release changes no headset by itself: each moves its pin when it wants what the release brings.
Previews¶
Releases are exact pins, so there are no preview or beta channels. A preview is a CI run's packages artifact
(of main or a pull request), or a checkout of this repository built into an image (the PICO 4's
build-userspace.sh --packages DIR).