Signed apt and yum repository for the apps in apps.txt, served
by GitHub Pages at https://ajdailey.github.io/packages/ from the gh-pages
branch. This branch, main, holds the publishing workflow, its scripts and
the repository files.
Debian and Ubuntu:
sudo curl -fsSLo /etc/apt/sources.list.d/ajdailey.sources https://ajdailey.github.io/packages/ajdailey.sources && sudo apt update && sudo apt install <package>Fedora and RHEL:
sudo curl -fsSLo /etc/yum.repos.d/ajdailey.repo https://ajdailey.github.io/packages/ajdailey.repo && sudo dnf install <package>Release candidates: the same commands with ajdailey-testing.sources or
ajdailey-testing.repo as the source URL, saved under the same local name.
The testing files enable both channels, so the package manager installs the
newest of the final releases and the release candidates. Repeat the stable
command to return to final releases only.
Removal: remove the package, then the file:
sudo rm /etc/apt/sources.list.d/ajdailey.sources or
sudo rm /etc/yum.repos.d/ajdailey.repo.
| Path on Pages | Holds |
|---|---|
ajdailey.sources, ajdailey-testing.sources |
deb822 sources, the signing key embedded in Signed-By; testing lists Suites: stable testing |
ajdailey.repo, ajdailey-testing.repo |
dnf repositories with gpgcheck=1 and repo_gpgcheck=1; testing adds [ajdailey-testing] |
ajdailey-packages.asc |
The public signing key, the gpgkey of the .repo files |
deb/dists/{stable,testing}/ |
Release, InRelease, Release.gpg, and main/binary-{amd64,arm64}/Packages and Packages.gz |
deb/pool/<channel>/<package>/ |
<package>_<version>_<arch>.deb |
rpm/{stable,testing}/ |
repodata/ with a signed repomd.xml.asc, and <package>/<package>-<version>.<arch>.rpm, each signed |
scripts/repo-files.sh writes the four repository files from
ajdailey-packages.asc; the workflow fails when they differ from the
committed copies.
.github/workflows/publish.yml runs on repository_dispatch of type
publish-packages with client_payload {"app": "ajdailey/<app>", "tag": "v0.2.0-rc1", "channel": "testing"}, and on workflow_dispatch with the same
inputs plus operation:
| Operation | Does |
|---|---|
publish |
Downloads the release's .deb and .rpm files, checks them against its SHA256SUMS, checks each file's package name against apps.txt and its architecture, signs each .rpm and adds them to the channel |
clear |
Removes every package of the app from the channel; tag is unused |
Both start from the tree gh-pages holds, so every other app's packages stay.
The publish job then prunes, regenerates both channels' apt and yum indexes,
signs them and force-pushes the tree to gh-pages as a single orphan commit,
so the branch carries no history. The install jobs wait until Pages serves
the new indexes, then run the channel's one-liner in Debian 13, Ubuntu 24.04
and Fedora 44 containers on amd64 and arm64, install the published version,
verify it and remove it.
An app whose repository the workflow cannot read (a private one) publishes
nothing and the run passes with a warning. All runs share one concurrency
group, so gh-pages takes one update at a time. GitHub keeps at most one
pending run per group: a third run queued behind a pending one cancels it. A
canceled publish is repeated with workflow_dispatch.
Each channel keeps, per package, format and architecture, the newest versions
by package-manager ordering: 1 in stable, 1 in testing, so an app holds
at most two versions. The first apps ship about 135 MB of packages per
version (measured 2026-11-28). A run fails before pushing when the tree
exceeds 950 MB; GitHub Pages publishes at most 1 GB.
Add a line <GitHub repository> <package name> to apps.txt. The app's
GitHub Release must carry .deb and .rpm files of that package name for
amd64 and arm64 (rpm x86_64 and aarch64) and a SHA256SUMS listing them,
and the app's release-published job sends the dispatch with a token that has
Contents and Actions write on this repository.
Indexing and signing run in a Debian 13 container pinned by digest, with
apt-utils, createrepo-c, gpg, rpm, curl and jq at fixed versions
from a snapshot.debian.org date (scripts/tools.sh). The install checks use
digest-pinned Debian, Ubuntu and Fedora images. Actions are pinned by commit
SHA.
RSA 4096 (sign and certify), fingerprint
CDFE1E1FA4D163623C3FDEAEF9EF0192786877D9, created 2026-11-29, expires
2036-11-26. The publish workflow signs with the key in the GPG_PRIVATE_KEY
secret.
Before expiry, extend the key (gpg --quick-set-expire <fingerprint> <period>)
or create a new one. Then replace ajdailey-packages.asc and the
secret, update the fingerprint in scripts/update-site.sh and this README, run
scripts/repo-files.sh, commit, and run the workflow once (clear on an empty
channel is enough) to re-sign every index.
An extended key keeps its fingerprint, so installed sources keep working once
apt or dnf reads the new public key: apt from a re-downloaded .sources file,
dnf after sudo rpm --import https://ajdailey.github.io/packages/ajdailey-packages.asc.
A new key requires every user to download the repository file again.