TL;DR. overpressure's app for apt and dnf: signed repositories with a stable and a beta channel, built from the .deb and .rpm each release carries and deployed to GitHub Pages by the Pages workflow. An app installed from them leaves its updates to the package manager. How to add the repository: packages.overpressure.org.
- The channels are the app's.
stabletakes the newest stable release with packages (none until there is one),betathe newest release with packages, a beta or a stable one. Each holds that one version; older ones stay on the releases, which keeps the site small. - apt. One pool, and per channel a suite (
dists/stable,dists/beta, componentmain,amd64) with itsPackagesand itsRelease, signed inline (InRelease) and apart (Release.gpg), byapt-ftparchiveand gpg. - dnf. Per channel a folder with its .rpm signed by
rpmsignandcreaterepo_c's repodata,repomd.xmlsigned apart;overpressure.repoandoverpressure-beta.repoadd them withgpgcheckandrepo_gpgcheck. - The key is one OpenPGP key, keys/overpressure.asc, fingerprint
B4D0 5A53 AF93 FDE6 F366 5D63 6704 58DA 457B 1E73. Its secret half is the environmentpackages' secretPACKAGES_SIGNING_KEY, which only main's builds see; the build stops when that secret is another key than this file's. The page serves it asoverpressure.ascandoverpressure.gpg. - Deploying. A change on main builds and deploys. Every hour the workflow asks which releases the channels take
(
python -m pkgrepo plan) and builds only when one of them moved since the livestate.json. - Tests. A pull request builds the whole site from stand-in packages with a key made for the run, then reads it
the way the owners' systems do:
apt-get updatewith the key,gpgvon every signature,rpm --checksigon the packages.
On Debian or Ubuntu with apt-utils dpkg-dev createrepo-c rpm gnupg and uv:
uv run python -m pkgrepo plan # which releases the channels take now
uv run python -m pkgrepo build --test-key # the site in _site/, signed with a key made for it
PACKAGES_SIGNING_KEY="$(cat key.asc)" uv run python -m pkgrepo build # with the repository's key
uv run python -m unittest # the tests; the repository tests need the tools above
uv run ruff format --check . && uv run ruff check . && uv run ty checkThe page is page/: its text, the app's colours and its Inter (under the SIL Open Font License); the logo is a copy from overpressure/brand.
When the key has to change: make the new one, put its public half in keys/overpressure.asc and its secret half in
PACKAGES_SIGNING_KEY in the same change, and say so in overpressure's release notes, since every owner has to fetch
the new key once (the apt and dnf lines on the page).
The code is in the public domain (the Unlicense). The logo is CC BY-SA 4.0, from overpressure/brand.