SOW 0.9.0 makes flat create and prune resilient to bad packages by default, adds full RPM format v6 and native OPENPGP signature verification, accepts both sow.yml and sow.yaml, and aligns target GC grace periods directly with max_cache_ttl. The database stays at schema v13.
Fault-tolerant flat repositories
Plain sow create and sow prune now skip corrupt, unreadable, source (src/nosrc), and coordinate-conflicting packages (including Debian version-equivalent conflicts such as 1.0-1 vs 1.00-1), as well as unmatched --protect names, with warnings so valid packages still publish. Pass --strict to fail before writing on any skipped package or conflict.
- Per-format isolation: If every candidate of one format fails, SOW preserves that format’s previous index, history, and completion state while still publishing valid packages of the other format (including in fresh
--pigstydirectories). - Mixed-directory prune:
sow pruneupdates the RPM index, leaves the DEB index intact, and carries forward existingrepo_completedigests for still-present DEBs without prematurely hashing newly arrived unindexed DEBs. - Structured warnings: Human output prints warnings to
stderr. Successful--jsonoutput includeswarningsandskippedin thestdoutenvelope and leavesstderrempty. - Safe single-pass checks: SOW retains file-identity, size, and modification-time checks across scan, publication, signed RPM installation, and deletion without repeating full decompression read-backs.
RPM v6, package parsing, and signing
- RPM format v6 and native OPENPGP signatures: SOW supports RPM format v6 packages (lead major versions 3 through 6,
PAYLOADSHA256withoutPAYLOADSHA256ALGO, and nativeRPMSIGTAG_OPENPGPtag278OpenPGP v4 and v6 signature arrays) across flatcreate,prune,--sign-with, and Managedadd,build, andcheck, including dual- and multi-signed RPMs. When tag278is present, it is authoritative over legacy signature tags. - Real-world RPM and DEB compatibility: RPM indexing accepts identical duplicate main-header tags (such as the duplicate
SOURCERPMfound in EL10 packages) while still rejecting conflicting main tags and duplicate signature-header tags. Binary.debcontrolfiles with legacy Latin-1 bytes (>= 0x80) are normalized to UTF-8, and.ascOpenPGP keyrings tolerate comment headers outside armor fences. - Broader signing keys and passfiles: Metadata signing accepts ECDSA and DSA keys alongside RSA and EdDSA (Ed25519/Ed448).
--passfile,SOW_GPG_PASSFILE, andpassfilesupport regular files, symlinks (including Kubernetes Secret mounts), and named pipes (FIFOs with a 2-second deadline), strip an optional UTF-8 BOM and final LF/CRLF, and surface bounded helperstderrdiagnostics on failure.
Managed workspaces, publication, and CLI
- Direct
max_cache_ttlgrace: New target GC grace records use the configuredmax_cache_ttldirectly instead of enforcing a hardcoded 30-day floor and 24-hour padding. Existing recordedNotBeforedeadlines remain effective, and backward NTP clock steps keep the time-witness high-water mark. - Target ergonomics and safety:
authoritative_workspace,single_writer, andexclusive_write_authoritydefault totruewhen omitted (explicitfalseremains rejected). R2regiondefaults toauto, dotted bucket names and shorthand durations such as24hor0are accepted and normalized, and overlapping R2 targets on the same(endpoint, bucket, prefix)are rejected across region spellings such asautovsus-east-1. - Hardened HTTP verification: Public HTTP checks follow CDN redirects, block hop-by-hop HTTPS-to-HTTP downgrades, validate connected dial IPs against private loopback and link-local ranges, and refuse cross-origin redirects through an HTTP proxy. Harmless foreign files outside
pool/anddists/at the target root are ignored. - Workspace config, SQLite, and recovery: Workspaces accept either
sow.ymlorsow.yaml(preserving support for a legacy repository directory namedsow.yamlbesidesow.yml), and explicit-C/--workdirnever falls back toCWDorSOW_DIR. SQLite resolves the physical database path before probing-wal/-shm/-journalsidecars and enforcing single-hardlink invariants, eliminating Darwin-specific C ABI code. Missing.sow/workspace.lockin a populated workspace requires explicit offline recovery, whilesow initrepairs missing per-repository locks underworkspace.lock. - Managed ergonomics:
sow checkreportssow.ymllimit/excludedrift asdirtyinstead of an integrity error, verifies APTby-hashfiles by content digest when hard links are broken, and tolerates.DS_Storeunder.sow/.sow rm --checkstays strictly read-only without touching.sow/<repo>/stage,sow add -Rignores unreadable non-package files, legacy schema v12 migration-required errors consistently exit6, and interrupted v0.7.1 local GC plans containing an emptymanifestarray now resume directly. - CLI and packaging: Duplicate flags use last-wins semantics, boolean flags accept
=true/=false,--timeout 0sis accepted,sow log export FILEresolves symlinked parent directories (such as macOS/tmp), and release archives and Linux packages ship thesowbinary andLICENSEdirectly.
Upgrade and downloads
Review any publication target configured with max_cache_ttl: 0s before upgrading. New target GC grace records now follow max_cache_ttl without a 30-day floor, so superseded objects with 0s TTL can become eligible at the next target GC. Previously recorded later NotBefore deadlines remain effective.
Workspaces on 0.5.0 through 0.8.0 stay on schema v13 and need no database migration. Stop workspace writers, back up the complete workspace with hard links preserved, install SOW 0.9.0, and run sow build and sow check for each repository. Interrupted 0.7.1 local GC plans with an empty manifest array now resume directly under 0.9.0 without needing the 0.7.1 binary first. 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.9.0-1PGSTY.aarch64.rpm Linuxarm64SHA-256 | 0da15045…07a8 |
|
| sow-0.9.0-1PGSTY.x86_64.rpm Linuxamd64SHA-256 | d1473958…3006 |
.deb
| File | Checksum | |
|---|---|---|
| sow_0.9.0-1PGSTY_amd64.deb Linuxamd64SHA-256 | 324de319…c8a6 |
|
| sow_0.9.0-1PGSTY_arm64.deb Linuxarm64SHA-256 | e44285d9…3467 |
.tar.gz
| File | Checksum | |
|---|---|---|
| sow_0.9.0_darwin_amd64.tar.gz macOSamd64SHA-256 | 3dc63c79…bbd7 |
|
| sow_0.9.0_darwin_arm64.tar.gz macOSarm64SHA-256 | 1d001159…3fd2 |
|
| sow_0.9.0_linux_amd64.tar.gz Linuxamd64SHA-256 | 2e5210cf…acdc |
|
| sow_0.9.0_linux_arm64.tar.gz Linuxarm64SHA-256 | 15cca2d9…7443 |
