Farrow 0.5.0: explicit disposal, explicit repositories, reproducible images
This version shipped as Farrow. Its download assets have been retired. See the original tagged release notes or install the current Barn release. Official mirror failover arrived in 0.7.0. Version 0.9.0 removed the rm alias.
Farrow 0.5.0 adds an explicit command to dispose of an entire lab at once, lets operators choose between the global and China Mainland image repositories, and introduces a reproducible build pipeline for normalized official guest images while keeping the Pigsty inventory contract, deployment state format, and embedded catalog revision 2026082903.
What changed
farrow purge(farrow rmin 0.5.0–0.8.0) removes the entire Linux deployment—including persistent data disks, deployment keys, state files, and the default SSH config fragment—without interactive confirmation, while preserving the shared image cache and host-global network. Runningpurgewhen no deployment exists succeeds as a no-op; if residual node directories cannot be verified as Farrow-owned,purgestops rather than deleting unknown files.- Explicit repository selection. Released binaries default to
https://repo.pigsty.io/farrow, while--mirrorselects the China Mainland mirrorhttps://repo.pigsty.cc/farrow. Precedence follows--repo,--mirror,FARROW_REPO, and the compiled default, and both official roots verify against the same signed catalog. - Strict repository pulls. Upstream URLs recorded in the image catalog document image provenance and are no longer used as implicit download fallbacks. The selected repository must serve the exact catalog-named
.qcow2artifact, or the pull fails with instructions to switch repositories or import a local file. - Digest-pinned offline image builder. The source repository includes an offline normalization pipeline for Debian 12/13 and Rocky Linux 8/9 across
amd64andarm64, recording the exact package closure, SBOM, provenance, andtestingmanifest so candidate repositories can be assembled for native boot tests and signing. - Toolchain updates. Source and release pins move to Go 1.27.1, GoReleaser 2.18.0, golangci-lint 2.13.2, and updated Go modules.
Image normalization pipeline
The eight-target build matrix prepares normalized guest candidates:
- Debian 12/13: installs offline XFS userspace tools for
xfsdata disks. - Rocky Linux 8: provides
/usr/bin/python3, fixessshd_config.ddrop-in inclusion, and cleans legacy network interface state. - Rocky Linux 9: cleans legacy network interface state to match Rocky Linux 8.
Candidate builds remain unsigned and marked testing until they pass native boot/readiness smoke tests, two-build reproducibility checks, production signing, and catalog publication (published in 0.6.0).
Upgrade and disposal
Upgrading from 0.4.0 requires no state, inventory, or catalog migration, and existing cached images remain valid. Use farrow purge only when you want to discard all deployment disks and keys without a prompt; continue to use farrow destroy when preserving persistent data disks or removing specific nodes.
Validation
Release commit fc85b65ff6a24b0933b56ae1179be9ada2ba91b1 passed the full local source gate—including module and shell checks, unit and race tests, go vet, Staticcheck, deadcode, errcheck, govulncheck, four-target cross-builds, image-pipeline and installer tests, dependency-license checks, and GoReleaser 2.18.0 validation—and the tag workflow verified all archives, DEB/RPM packages, SBOMs, Homebrew formula, installer script, release metadata, and SHA-256 checksums.
Upgrades and historical packages
The release shipped the Homebrew formula and amd64/arm64 DEB and RPM packages.
