SOW 0.8.0 lets operators reclaim expired objects on R2 and use mounted secrets for signing. Large Managed repositories need fewer storage requests during publication and can reclaim local packages in batches. The database stays at schema v13.
Reclaiming R2 objects
sow gc TARGET still writes a candidate report by default. Add --delete to act on an earlier report or run deletion directly. Before removing an object, SOW rechecks active publications, cache grace, object size, SHA-256 metadata, and ETag. It then verifies storage absence and a public HTTP 404 or 410 and records a causal-epoch deletion receipt.
Keep the target prefix under one workspace’s exclusive control. If deletion is interrupted, rerun with --delete; running without --delete rejects an unfinished conditional-delete report. A package republished after an earlier report receives the protection of its new publication, and republishing identical bytes stays idempotent. See target GC.
Signing and package formats
- External password files, key files, and trusted keyrings can use symlinks, including Kubernetes Secret mounts. Every hop must stay outside the workspace. Plain
createapplies the same rule at the flat repository root. Temporary RPM passfile scratch files are zero-overwritten before removal, andGNUPGHOMEis forwarded torpmsignwhen set. - Plain
create --sign-withcryptographically verifies the resulting OpenPGP package signature. New Managed RPM metadata publications (repomd.xml.asc) now enforce SHA-256+ digests alongside APT metadata. RPM and APT readers also enforce stricter signature framing and header validation. - DEB control archives support uncompressed tar, gzip, bzip2, xz, and zstd. SOW drops
control.tar.lzmadecompression and removes the unmaintainedkjk/lzmaandpault.ag/go/debian/debdependencies; repack any binary DEB that usescontrol.tar.lzmabefore importing it.
Publication, recovery, and CLI
- R2 reuses the recorded SHA-256 of an unchanged immutable
pool/object when the listed path, size, and ETag match. Filesystem publication reuses verified hashes within a session and prunes emptypool/anddists/parent directories after conditional deletes. - Local GC processes large backlogs in bounded batches and automatically replays interrupted
retain-remove-*tombstones (sow checksurfaces unfinished ones). SQLite batches membership and publication updates, and reopened writer connections retain WAL persistence and immediate transactions. - Plain
createandprunerelease the parent directory lock after binding so sibling directories run concurrently.createrejects running inside a managed.sowworkspace ancestor or over an interrupted.sow-prune-repo-completemarker without--pigsty. Managed recovery unifiesworkspace.lock->repo.lockordering fordist new,dist rm, andrepo migrate. - Read-only inspection commands (
config check,repo ls,repo show,dist ls,dist show) work on frozensow/v2workspaces.log prune --jsonpopulates top-leveloperation,where -r NAME --jsonpopulates top-levelrepository, and workspace discovery surfaces a hint whensow.yamlis present withoutsow.yml.
Toolchain and dependencies
Source builds require Go 1.27.4 or newer. CI adds macOS contract tests and signed Managed APT/DNF container tests alongside the pinned Silo 20261112 publication suite.
| Component | 0.7.1 | 0.8.0 |
|---|---|---|
| Go | 1.27.4 | 1.27.4 |
| AWS SDK S3 | 1.114.10 | 1.116.0 |
| modernc/sqlite | 1.62.0 | 1.63.0 |
| modernc/libc | 1.81.0 | 1.82.12 |
| klauspost/compress | 1.20.4 | 1.20.5 |
| golang.org/x/crypto | 0.58.0 | 0.59.0 |
| pault.ag/go/debian | 0.21.3 | 0.21.4 |
| GoReleaser | 2.20.1 | 2.20.3 |
Upgrade and downloads
Stop workspace writers and back up the complete workspace with hard links preserved. If local GC was interrupted on 0.7.1, complete sow gc -r REPOSITORY -C WORKSPACE with the 0.7.1 binary before replacing it. Its recovery plan may contain an empty manifest array that needs the old reader. Then install 0.8.0 and run sow build and sow check for each repository. Workspaces on 0.5.0 through 0.7.1 already use schema v13. See the upgrade guide.
Linux and macOS archives, Linux RPM and DEB packages, and their checksums are on the download page. See the full changelog.
.rpm
| File | Checksum | |
|---|---|---|
| sow-0.8.0-1PGSTY.aarch64.rpm Linuxarm64SHA-256 | b371f2a7…2ed7 |
|
| sow-0.8.0-1PGSTY.x86_64.rpm Linuxamd64SHA-256 | 2417e1e4…f269 |
.deb
| File | Checksum | |
|---|---|---|
| sow_0.8.0-1PGSTY_amd64.deb Linuxamd64SHA-256 | 9ea46405…76f9 |
|
| sow_0.8.0-1PGSTY_arm64.deb Linuxarm64SHA-256 | f569512c…a10a |
.tar.gz
| File | Checksum | |
|---|---|---|
| sow_0.8.0_darwin_amd64.tar.gz macOSamd64SHA-256 | e4af9e9f…5a6c |
|
| sow_0.8.0_darwin_arm64.tar.gz macOSarm64SHA-256 | 4f56903f…2c51 |
|
| sow_0.8.0_linux_amd64.tar.gz Linuxamd64SHA-256 | d2de5489…58b1 |
|
| sow_0.8.0_linux_arm64.tar.gz Linuxarm64SHA-256 | 483403ea…ba07 |
