PROJECT · ZPKG

zpkg 0.6.2

2026-11-30

zpkg 0.6.2 is in the recipe tree.It can be built from the stable, testing and unstable channels. Usage and the safety model are documented inVersion bumps (zpkg bump).

Every recipe is a bump target

zpkg 0.6.1 monitored only the eight pilot recipes that carried anupdate.conf. In 0.6.2, a recipe without that file also gets its detector inferred from version and sources. Every recipe in stable, testing and unstable now participates inzpkg bump --check.

What inference understands

  • GitHub archives — github.com/<owner>/<repo>/archive/refs/tags/<tag>...
  • GitHub releases — github.com/<owner>/<repo>/releases/download/<tag>/<asset>
  • Listing URLs — a version in the filename, or a version directory such as .../6.8.3/ (the parent listing is read)

Only upstreams that cannot be inferred — meta packages, multiple sources, commit pins, unusual tag formats — show up asmanual. Adding update.conf opts a recipe into detection, and TYPE=manual opts out explicitly. The escape hatch stays available, while most recipes need no metadata at all.

A clear way for anyone to contribute

Recipe authors and maintainers use the same command to review update candidates. --check is read-only, so you can inspect the diff first and then move on to build verification and a pull request.

This is a clear, understandable way for anyone to contribute to development. There is no special setup and no per-upstream tool to learn.

# Review update candidates in every channel (read-only)
zpkg bump --check --all-channels

# Detect, apply and build-verify one recipe
zpkg bump mesa --channel testing --apply --build

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

A full --check reports an unreachable upstream aserror and continues with the other recipes. When you name a specific package, its detection error stops the command.

The safety model is unchanged

  • --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 for validation
  • Every file is restored from a backup on failure; a failed --build also rolls back
  • --pr requires --build and --yes, and never merges automatically

Links