Skip to content

add the efr-code-git aur package and run the package tests with nextest - #33

Merged
eggfriedrice24 merged 3 commits into
mainfrom
aur-git-package
Oct 31, 2026
Merged

eggfriedrice24 merged 3 commits into
mainfrom
aur-git-package

Conversation

@eggfriedrice24

Copy link
Copy Markdown
Owner

Adds efr-code-git, a third AUR package that builds the newest commit of main.

  • packaging/efr-code-git/PKGBUILD: pkgver is the Cargo.toml version, the commit count and the short commit (git describe cannot work while the v0.0.6 tag is outside main's history). prepare() reads the ghostty commit and the Zig version from docs/ghostty-pin.md of the checkout, so a pin move needs no change here. It fetches ghostty by commit and checks the official Zig build with the minisign key of the Zig project.
  • .github/workflows/aur-git.yml: a test build (makepkg + namcap in archlinux:base-devel) of the checked-out commit on pull requests that touch the package, each Monday on main, and on a push to main; after a push to main it publishes to the AUR when the PKGBUILD, the install file or the LICENSE differ. It reuses AUR_SSH_PRIVATE_KEY. A new commit of main alone changes nothing on the AUR.
  • Fix: the check() of the source PKGBUILDs ran cargo test, which runs the tests of a binary as threads of one process. efr-proxy's proxy_logs_call_bytes installs a log subscriber for its thread only and failed 14 times out of 15 on a 32-thread machine (the 4-core runner hid it). Both PKGBUILDs now run cargo nextest run, as the conventions expect, with cargo-nextest in checkdepends.
  • Docs: the install page, the README and the release guide name the new package.

Local: makepkg of the package against the Zig 0.17 pin (prepare, build, check with 4884 tests, package), and all gates of AGENTS.md. The merge publishes efr-code-git to the AUR (the name is free).

@eggfriedrice24
eggfriedrice24 merged commit 8bb1c16 into main Oct 31, 2026
17 checks passed
@eggfriedrice24
eggfriedrice24 deleted the aur-git-package branch October 31, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant