Repository navigation
SOW 0.9.0 makes flat create and prune fault-tolerant by default with a --strict opt-in, adds full RPM format v6 and native OPENPGP multi-signature verification, accepts both sow.yml and sow.yaml, and aligns target GC grace directly with max_cache_ttl.
Highlights
- Fault-tolerant flat repositories: Plain
sow createandsow pruneskip corrupt, unreadable, source (src/nosrc), and coordinate-conflicting packages (including Debian version-equivalent conflicts such as1.0-1vs1.00-1), as well as unmatched--protectnames, with warnings so remaining valid packages still publish. Pass--strictto restore fail-fast rejection. When all candidates of one format fail, SOW preserves that format's previous index while publishing valid packages of the other format. In mixed RPM + DEB directories,sow pruneupdates the RPM index, preserves the DEB index, and carries forward existingrepo_completeDEB digests without prematurely hashing newly arrived DEBs. Successful--jsonoutput includeswarningsandskippedinstdoutand leavesstderrempty. - RPM format v6 and real-world package compatibility: Full RPM v6 support (lead major versions 3..6,
PAYLOADSHA256withoutPAYLOADSHA256ALGO, and nativeRPMSIGTAG_OPENPGPtag278OpenPGP v4/v6 signature arrays) across flatcreate/prune/--sign-withand Managedadd/build/check, including dual- and multi-signed RPMs. RPM indexing accepts identical duplicate main-header tags (such as EL10 duplicateSOURCERPM), binary.debcontrolfiles normalize legacy Latin-1 bytes (>= 0x80) to UTF-8, and.ascOpenPGP keyrings tolerate header comments 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, SQLite, and target publication: Workspaces accept either
sow.ymlorsow.yaml(preserving support for a legacysow.yaml/repository directory besidesow.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, removing Darwin-specific C ABI code. Target authority booleans default totrue, R2regiondefaults toauto, shorthand durations and dotted bucket names are accepted, cross-region R2 overlaps are rejected, and public HTTP verification follows CDN redirects with connected-IP checks and HTTPS downgrade blocking. - Operational ergonomics and CLI:
sow checkreportslimit/excludepolicy drift asdirtyinstead of integrity failure and verifies APTby-hashfiles by content digest if hard links are broken;sow rm --checkis strictly read-only without touching.sow/<repo>/stage; schema v12 migration-required errors consistently exit6; duplicate CLI flags use last-wins semantics;sow log export FILEresolves symlinked parent directories (such as macOS/tmp); and release archives and Linux packages ship thesowbinary andLICENSEdirectly.
Upgrading
Important: Review any publication target configured with
max_cache_ttl: 0sbefore upgrading. New target GC grace records now use the configuredmax_cache_ttldirectly instead of enforcing a 30-day floor and 24-hour padding, so superseded objects with0sTTL may become eligible at the next target GC. Existing recorded laterNotBeforedeadlines remain effective.
Workspaces on 0.5.0 through 0.8.0 stay on schema v13 and need no database migration. Stop 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 containing an empty manifest array now resume directly under 0.9.0 without needing the 0.7.1 binary first.
Downloads
Choose a Linux or macOS archive for amd64 or arm64, or a Linux RPM or DEB package. Verify the downloaded file against SHA256SUMS.