Skip to content

SOW v0.8.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 16:35
· 5 commits to main since this release

SOW 0.8.0 adds opt-in garbage collection for R2 publication targets, supports signing with externally mounted secrets, and reduces storage and database work for large repositories.

Highlights

  • sow gc TARGET records R2 candidates by default. Use sow gc TARGET --delete to reclaim eligible objects, directly or after reviewing a report. SOW rechecks active publications, grace periods, size, SHA-256 metadata and ETag. It verifies storage absence and HTTP 404 before recording the deletion. Keep the prefix under one workspace's exclusive control. Resume an interrupted deletion with --delete.
  • External key files, trusted keyrings, and password files can use symlinks, including Kubernetes Secret mounts. Each hop must stay outside the workspace. Inside the workspace, SOW checks every path component. Plain RPM signing applies the policy at the flat repository root.
  • Plain create and prune release the parent lock before waiting on a busy sibling. Plain RPM signing verifies the resulting package signature. APT and RPM handling includes stricter metadata and signature validation.
  • Managed repositories recover interrupted mutations with consistent lock ordering. R2 reuses verified immutable object identities, local GC handles large backlogs in batches, and SQLite batches membership and checkpoint writes.
  • Source builds use Go 1.27.4. Dependency updates include S3 v1.116.0, the SQLite driver v1.63.0, libc v1.82.12, x/crypto v0.59.0 and GoReleaser v2.20.3.

Upgrading

Workspaces on 0.5.0 through 0.7.1 already use schema v13. Stop writers and back up the complete workspace with hard links preserved. If local GC was interrupted under 0.7.1, run sow gc -r REPOSITORY -C WORKSPACE with the 0.7.1 binary before upgrading. Then install 0.8.0 and run sow build and sow check for each repository.

SOW reads control.tar, .gz, .bz2, .xz, and .zst control archives in binary DEBs. Repack DEBs using control.tar.lzma before importing them.

Downloads

Choose a Linux or macOS archive for amd64 or arm64, or a Linux RPM or DEB package. Verify the downloaded file against SHA256SUMS.

Full changelog · Compare with v0.7.1