release: AUR packaging (hoverfly + hoverfly-bin) [draft — AUR regs closed] - #15
Draft
v1rtl wants to merge 1 commit into
Draft
release: AUR packaging (hoverfly + hoverfly-bin) [draft — AUR regs closed]#15v1rtl wants to merge 1 commit into
v1rtl wants to merge 1 commit into
Conversation
Add Arch User Repository packaging so Arch users can install via an AUR helper (e.g. `yay -S hoverfly-bin` for the prebuilt binary, or `hoverfly` to build from source). - packaging/aur/hoverfly-bin: installs the official release tarball (x86_64 + aarch64) verified by sha256 — no compilation. - packaging/aur/hoverfly: cargo build --frozen from the GitHub source tarball (native CLI, stable toolchain; nightly is wasm-only). Both provide/conflict 'hoverfly' so only one installs at a time. - release.yml: new publish-aur job (after build) templates the release version into each PKGBUILD and pushes via KSXGitHub/github-actions-deploy-aur with updpkgsums (computes checksums + .SRCINFO). Gated on AUR_SSH_PRIVATE_KEY so releases don't fail before the AUR account/secrets are set up. One-time setup still required (AUR registrations currently closed): create an AUR account, register an SSH key, do the initial submission of both packages, and add AUR_USERNAME / AUR_EMAIL / AUR_SSH_PRIVATE_KEY secrets.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds AUR packaging so Arch users can install hoverfly via an AUR helper. Ships the standard Arch dual-package setup:
hoverfly-bin— installs the official prebuilt release tarball (x86_64 + aarch64), verified by sha256. No compilation, instant install.hoverfly— builds from the GitHub source tarball withcargo build --frozen(native CLI, stable toolchain; nightly is wasm-only).Both declare
provides=('hoverfly')/conflictsso only one installs at a time.How it works
packaging/aur/{hoverfly,hoverfly-bin}/PKGBUILDare templates with a@PKGVER@marker andSKIPchecksums.publish-aurjob inrelease.yml(runs afterbuild) stamps the release version into each PKGBUILD and publishes viaKSXGitHub/github-actions-deploy-aur@v4.1.3withupdpkgsums: true— the action computes the real sha256 sums from the release/source tarballs, regenerates.SRCINFO, and pushes to the AUR.AUR_SSH_PRIVATE_KEY: if the secret isn't set it skips with a notice rather than failing the release. So merging this is safe even before the AUR account exists.Why draft
AUR registrations are currently closed, so the one-time setup below can't be completed yet. This PR is parked as a draft until registrations reopen. Nothing in it affects existing releases (the AUR job no-ops without the secret).
One-time setup required before this goes live
hoverfly,hoverfly-bin) to the AUR (first push must be done by the account owner).AUR_USERNAME,AUR_EMAIL,AUR_SSH_PRIVATE_KEY.Note: AUR auth uses an SSH key (not a GPG package-signing key) and there's no repo to host — so this avoids the GPG key-management work that
apt/dnfrepos would require.Notes
-binreuses the existingx86_64/aarch64Linux release tarballs.bash -n;release.ymlis valid YAML.