Skip to content

Features

The repository-maintenance problems SOW solves, what simple and standard repositories each provide, and which page explains each mechanism.

Generating an index once is easy. The work is in keeping a repository correct while it changes: new builds arrive every day, old versions and debug packages pile up, the same package is needed by several distributions, clients expect signatures, and an update must never leave dnf or apt reading an index whose packages are missing. Each page in this section takes one of those problems, explains how SOW handles it, and why it is built that way.

Find the page for your problem

Problem Read
You have a directory of packages and need dnf or apt to install from it, with no configuration or database Simple repositories
You need to decide what each distribution gets, remove packages safely, and know what clients currently see Standard repositories
The same package is needed by several Dists and architectures, and copies waste space and drift apart Pool and views
Old versions, debug packages, and unwanted builds accumulate Membership policy
Clients must verify packages and indexes, and keys change over time Signing
A command or an upload was interrupted halfway Transactions and recovery
You need to know what changed, prove the tree is intact, and read the history Observability and audit

Simple and standard repositories compared

SOW builds two kinds of repository. A simple repository is a directory of packages that sow create indexes in place, with no configuration or database. A standard repository is one SOW maintains inside a workspace, with named Dists, recorded builds, signing, and publication. Read the matrix by row: a dash means that kind of repository does not provide the capability at all, so if you need a row that has a dash under Simple repository, use a standard repository. Core concepts explains how to choose.

Capability Simple repository Standard repository
RPM and DEB indexes One directory, either or both formats One repository, separate Dists
Stored membership and Generations — Yes
Per-architecture views — Yes, including neutral packages
Package exclusions Fixed cleanup with --pigsty Configurable per Dist
Version limits sow prune removes superseded RPMs Configurable per Dist
Metadata signing — RPM and DEB
RPM package signing --sign-with never, fill, always
Recovery after interruption Rerun create or prune Recorded operations and publication attempts
Operation log and JSONL export — Yes
Publication targets — Filesystem and R2

SOW parses packages and writes the indexes itself, so it needs no createrepo_c, dpkg-scanpackages, or reprepro. Only signing uses host tools: RPM package signing runs the host rpm command with its GPG environment, and metadata signing calls gpg when a key reference resolves to a GPG key identifier.

Generated formats

The Simple repository column lists the index files sow create writes into the directory. A standard repository writes the same index files for every architecture view, plus the additions in the last column.

Format Simple repository Standard repository adds
RPM primary, filelists, other XML and repomd.xml Architecture views; optional repomd.xml.asc
DEB Packages, Packages.gz (flat APT repository) Release, by-hash indexes; optional InRelease and Release.gpg

RPM XML is gzip-compressed. SOW does not generate SQLite rpm-md, zchunk, modulemd, or source-package indexes; Platforms and integrations explains what that means for each client. SOW writes files only: serve them with your own HTTP server or object storage.

Simple Repositories

A simple repository is a directory of RPM and DEB files that sow create indexes in place, with no configuration or database: create it, keep it current by rerunning one command, and prune or sign RPMs.

Standard Repositories

A standard repository is one that SOW maintains inside a workspace: why it records what each Dist should contain separately from what clients see, how workspaces, repositories, and Dists fit together, and the add, rm, and build workflow.

Pool & Metadata Views

How a standard repository stores each package once and still gives every Dist and architecture its own index, and what that means for serving, copying, and dnf reposync.

Membership Policy

Keep debug and JIT subpackages out of your indexes and cap how many versions of each package a Dist keeps.

Signing Model

Sign repository metadata so clients catch a tampered mirror, sign RPM files so each package carries its own proof, and rotate keys safely.

Transactions & Recovery

Inspect an interrupted repository operation, resume it, and see how local builds switch each Dist.

Observability & Audit

Find out whether a repository is ready to ship, what changed between builds, and what happened when, and keep an old build’s packages from being collected.

Table reader