Skip to content

Platforms & Integrations

What SOW runs on, which packages and clients it supports, how that is tested, and what it does not support.

Check this page before you deploy SOW or point a new client at it. The first sections list what is supported: host platforms, workspace filesystems, package inputs, client formats, and publication providers. How it is tested lists the automated checks behind those claims, and Not supported lists the gaps with their workarounds.

Platforms

Operating system amd64 arm64 Release formats
Linux Yes Yes Archive, RPM, DEB
macOS Yes Yes Archive

Release binaries are built with CGO_ENABLED=0 and need no language runtime. An archive contains the sow binary and the Apache-2.0 LICENSE; the Linux packages install /usr/bin/sow and the license. Building from source requires Go 1.27.4 or later. sow version prints the binary’s version, platform, and Go toolchain.

Workspace filesystem

A workspace needs a local POSIX filesystem with advisory locks, fsync, and atomic rename within the filesystem, because every build and recovery depends on them. On macOS, use APFS: SOW refuses to build when the atomic directory exchange it needs is unavailable. Keep the public tree and private staging on the same filesystem.

Serve only <workspace>/<repo>/. That pool/ plus dists/ tree is complete on its own, so you can copy it to other storage without the private database or journal.

SOW rejects pool paths that differ only in case, and on a case-insensitive filesystem it also rejects source directories that differ only in case. A repository built on a case-sensitive volume can therefore contain source directories that a case-insensitive destination cannot hold; filesystem publication checks for this before it starts. See Repository layout.

Package inputs

RPM. SOW reads RPM format v4 and v6, including dual- and multi-signed packages, wherever it reads packages: create and prune for simple repositories, add, build, and check for standard repositories. For v6 that means lead major versions 3 through 6, PAYLOADSHA256 without PAYLOADSHA256ALGO, and native OpenPGP v4 and v6 signature arrays in RPMSIGTAG_OPENPGP (tag 278). SOW also verifies RSA, DSA, ECDSA, and EdDSA (Ed25519) signatures in RPMSIGTAG_DSA (tag 267) and the legacy PGP tags; when tag 278 is present, it is authoritative. Main-header tags that repeat with identical values, such as the duplicate SOURCERPM in some EL10 packages, are accepted; conflicting main-header tags and duplicate signature-header tags are rejected.

DEB. SOW reads binary packages whose control.tar is uncompressed or compressed with gzip, bzip2, xz, or zstd. Legacy Latin-1 bytes (>= 0x80) in the control file are normalized to UTF-8.

Architectures. Dists in a standard repository accept x86_64, aarch64, and neutral packages: RPM x86_64, aarch64, and noarch; DEB amd64, arm64, and all. sow create indexes whatever architectures a simple repository contains.

Metadata signing supports RSA, EdDSA (Ed25519, Ed448), ECDSA, and DSA keys; see Signing model.

Repository formats and clients

Repository Client entry point Package locations
Simple, RPM repodata/repomd.xml Beside repodata/
Simple, DEB Packages or Packages.gz Beside the indexes: a flat APT repository (deb URL ./)
Standard, RPM dists/<dist>/<arch>/repodata/repomd.xml Relative paths back to the root pool/
Standard, DEB dists/<dist>/Release, or InRelease when signed Root-relative pool/ paths

A standard repository’s APT indexes use the component main and SHA-256 by-hash files. Metadata signing adds repomd.xml.asc for RPM and InRelease plus Release.gpg for APT. RPM metadata is gzip-compressed primary, filelists, and other XML, which DNF and YUM read directly.

Publication times

In a standard repository, each operation that builds metadata records one publication time and uses it for the APT Release date, the RPM repomd.xml data timestamps, and the metadata signatures. Recovery reuses the recorded time, and an operation that changes nothing leaves it untouched; a journal written without a recorded time keeps its earlier timestamp behavior. The RPM revision stays the Generation number. sow repo migrate is the exception: it keeps its own timestamp behavior, described below.

Existing EL7 caches

EL7 YUM compares metadata data timestamps with the copy it has cached, so a repository whose timestamps go backwards can look stale to existing clients. For a simple repository, create --metadata-timestamp SECONDS and prune --metadata-timestamp SECONDS let you keep an existing publication time and move it forward; the default is 0.

Exported RPM leaves and the RPM metadata that sow repo migrate writes use timestamp 0, with no override; later builds of a standard repository use their recorded publication time. If clients have cached a positive timestamp under their current repository ID, give these outputs a new repository ID or clear that ID’s metadata cache; changing only the base URL is not enough. To keep the old ID and cache, keep serving a simple repository and follow the timestamp procedure in Migrate an existing YUM repository.

Publication providers

Provider Publication Target GC
filesystem Writes below an existing canonical file:// endpoint Deletes conditionally after the cache grace period, then verifies the files are gone from the public endpoint
r2 Writes through S3-compatible storage operations Reports candidates by default; gc TARGET --delete rechecks eligible objects, deletes them, and verifies they are gone

Both providers publish the complete repository under the configured prefix. The HTTP service, DNS, credentials, access policy, and caching in front of that storage are yours to set up: public_endpoint tells SOW where to verify published content but does not create a service. R2 public endpoints must use HTTP(S); filesystem targets also accept file://. Field rules are in Publication targets.

How it is tested

The table covers the v0.9.0 test suite. Results are available for the CI run, integration tests, and release build.

Check Environment What it proves
Core contract tests Linux and macOS Repository manager, recovery, signing, and the patched RPM parser, as unit and contract suites
CLI clean-room workflow Linux The shipped binary: a mixed RPM and DEB simple repository, workspace initialization, RPM and DEB Dists, queries, build, and check
APT client, simple repository Ubuntu 22.04 apt updates, discovers, downloads, and installs from an explicitly trusted, unsigned flat APT repository
Clients of a signed standard repository Ubuntu 22.04, AlmaLinux 9 APT and DNF verify signed repository metadata and install a package
RPM signing with a password file AlmaLinux 8, 9, 10 Native rpm-sign and GnuPG sign with a protected key whose password comes from a password file
Detached signature transition AlmaLinux 8, 9, 10 How real DNF clients behave while repomd.xml and its detached signature are replaced
S3-compatible publication Pinned PGSTY Silo container Object transport, target GC deletion, republishing identical bytes, and a following no-op publish
Release packaging Linux Four archives, two RPMs, two DEBs, checksums, installed paths, and license files

The S3-compatible check does not run against Cloudflare R2 itself. Verify conditional multipart completion against the hosted R2 endpoint your deployment uses.

Before you switch production clients, run sow check, publish to the intended target, then refresh indexes and install a package with the real client configuration. See Serve and publish for client setup.

Not supported

Not supported Instead
Windows hosts Run SOW on Linux or macOS
A workspace on NFS or another network filesystem Keep the workspace on a local POSIX filesystem; copy or publish the public tree elsewhere
A macOS workspace on a volume without atomic directory exchange Use APFS
Packages for other CPU architectures, such as i686, in a standard repository (add rejects them) Index such a directory as a simple repository with sow create
DEB packages with control.tar.lzma Rebuild them with a gzip, bzip2, xz, zstd, or uncompressed control archive
SQLite (primary_db), zchunk, modulemd, and source-package RPM indexes See XML and SQLite RPM metadata
Default dnf reposync against a standard repository’s RPM view See dnf reposync

XML and SQLite RPM metadata

SOW writes gzip-compressed XML only, not the SQLite primary_db, filelists_db, or other_db. That does not stop YUM: when no suitable SQLite index exists, the upstream YUM metadata loader reads the XML and builds its own local cache. A tool that accepts only primary_db needs an XML input path or a separate conversion. Because the XML is gzip-compressed, zstd support is a separate question when you compare SOW’s output with other repositories.

SOW also writes no zchunk, modulemd, or source-package indexes. If clients need module profiles or dnf module install, keep a tool that provides module metadata. To install packages from modular builds as ordinary RPMs, set the client’s module_hotfixes policy; see Migrate an existing YUM repository.

dnf reposync

By default dnf reposync confines downloads to one repository directory, following its documented safe-write rule, so it rejects the parent-relative package locations in a standard repository’s RPM views. Use sow export rpm-leaf to produce a self-contained directory for that workflow.

Table reader