PROJECT · ZPKG

zpkg 0.6.1

2026-11-29

Updated 2026-11-30: zpkg 0.6.2 covers every recipe. See version bumps for every recipe for the current explanation.
zpkg 0.6.1 is available.It ships in the stable, testing and unstable channels. Usage and theupdate.conf format are documented inVersion bumps (zpkg bump). In 0.6.1, --pr also pushes the branch and prints a compare URL when gh is not installed (install it with thegithub-cli recipe).

Less manual recipe work

Following a new upstream release used to mean editingversion, sources, checksums andrevision by hand for every recipe. zpkg bumpin zpkg 0.6.1 automates this by separating detection from application.

Opt-in detection

Only recipes with an update.conf file participate in automatic detection. Everything else keeps the manual workflow.

  • github — detects through the Releases API and tags
  • kernel — kernel.org releases.json; LTS series or mainline
  • url — scans a listing page with a regular expression
  • self — self-hosted archive; needs an explicit version and --source
  • manual — never auto-detected

SERIES pins an upstream release branch. Mesa's stable channel follows 26.2, while testing and unstable follow26.3, so only patches within the maintained branch are picked up.

Safety model

  • --check is read-only; files are written only with an explicit --apply
  • The new source is downloaded and hashed with SHA-256, and the rewritten recipe is reloaded in a temporary directory
  • Multiple recipes run as prepare → write → build; every file is restored from a backup on failure
  • A failed --build rolls everything back. --pr requires --build and --yes, and never merges automatically
  • Downgrades are rejected by default, as are candidates outside SERIES
  • Old version strings in build scripts are replaced with boundaries; hardcoded paths that cannot be rewritten stop the run

Pilots

Eight representative recipes are monitored in every channel.

RecipeTYPENotes
core/linuxkernelstable 6.18 / testing 7.3 / unstable mainline; COMPANION=linux-headers
core/linux-headersmanualupdated together with linux
core/zpkgselfzpkg updating itself
desktop/mesaurlstable 26.2 / testing and unstable 26.3
desktop/hwdatagithubtags such as v0.413
desktop/tessagithubtags such as v0.2.5
main/curlurlfollows the latest 8.x
main/github-cligithubtags such as v2.106.0 from cli/cli
0.6.1zpkg
24monitored recipes (8 × 3 channels)
3updates found initially

The first detection found stable hwdata 0.394 → 0.413, stable Mesa 26.2.7 → 26.2.8 and unstable Linux 7.4-rc3 → 7.4-rc4.

Usage

# Detection only (read-only)
zpkg bump --check --all-channels

# Detect upstream and verify with a build
zpkg bump mesa --channel testing --apply --build

# Open a review PR (requires --build and --yes)
zpkg bump mesa --channel testing --apply --build --pr --yes

--pr pushes the branch and opens the PR when ghis installed. gh is now packaged as thegithub-cli recipe in stable, testing and unstable. Without it, the command prints a compare URL so the PR can be opened in a browser.

--check --json --exit-code exits with status 2 when an update is available. The recipe repository now runsbump --check daily and records the result in the job summary and an artifact through bump-check.yml. GitHub-hosted runners do not build packages.

Caveats

  • Run --build and real applications on a build host
  • Upstream signatures are not verified; the SHA-256 of the downloaded source is recorded
  • Dependency changes (soname bumps and similar) are not detected; use --build and testing

Links