Command
21 pages-
sow log
SOW records each repository write, such as add, rm, build, dist new, dist rm, local gc, or log prune, as an operation in the repository’s state database: what was asked for, each state it passed through, and the files it changed. sow log reads those …
SOW records each repository write, such as add, rm, build, dist new, dist rm, local gc, or log prune, as an operation in the repository’s state database: what was asked for, each state it passed through, and the files it changed. sow log reads those …
-
sow export
sow export rpm-leaf writes one RPM Dist and architecture of a standard repository to a directory of its own, with the packages copied under it and metadata rewritten to local pool/... paths. Inside the repository, an architecture view refers to …
sow export rpm-leaf writes one RPM Dist and architecture of a standard repository to a directory of its own, with the packages copied under it and metadata rewritten to local pool/... paths. Inside the repository, an architecture view refers to …
-
sow gc
SOW never deletes a file the moment it stops being current. Old packages stay in the local pool while a build, a retained Generation, a publication, or a recovery record still needs them, and superseded files stay on a target until client caches have …
SOW never deletes a file the moment it stops being current. Old packages stay in the local pool while a build, a retained Generation, a publication, or a recovery record still needs them, and superseded files stay on a target until client caches have …
-
sow retain
Each build replaces the current Generation, and once nothing else refers to them, sow gc may delete packages that only the old Generation used. sow retain marks a Generation to keep: it verifies the Generation, saves a frozen copy of its manifest and …
Each build replaces the current Generation, and once nothing else refers to them, sow gc may delete packages that only the old Generation used. sow retain marks a Generation to keep: it verifies the Generation, saves a frozen copy of its manifest and …
-
sow publish
sow publish delivers the current Generation to a target configured under targets: in sow.yml: a directory behind a web server, or an R2 bucket. It sends only what changed since the target’s last publication, in an order that never leaves an index …
sow publish delivers the current Generation to a target configured under targets: in sow.yml: a directory behind a web server, or an R2 bucket. It sends only what changed since the target’s last publication, in an order that never leaves an index …
-
sow changes
sow changes lists the files that differ between two Generations, grouped by phase in the order a safe update applies them: packages, then metadata, then entry points, then deletions. Use it to review what a build changed before you publish, to drive …
sow changes lists the files that differ between two Generations, grouped by phase in the order a safe update applies them: packages, then metadata, then entry points, then deletions. Use it to review what a build changed before you publish, to drive …
-
sow check
sow check is the gate before you copy or publish a standard repository. It hashes every package file again, verifies every declared signature, confirms that each index matches the membership it claims, and compares the current Generation’s manifest …
sow check is the gate before you copy or publish a standard repository. It hashes every package file again, verifies every declared signature, confirms that each index matches the membership it claims, and compares the current Generation’s manifest …
-
sow build
sow build reapplies the current limit and exclude policy and renders the indexes and configured signatures for each affected Dist. Once packages are in pool/, it atomically switches each Dist directory and records the repository Generation after the …
sow build reapplies the current limit and exclude policy and renders the indexes and configured signatures for each affected Dist. Once packages are in pool/, it atomically switches each Dist directory and records the repository Generation after the …
-
sow status
sow status tells you whether a repository needs a build, how much data waits in the pending area, and whether a writer holds the lock. It reads only recorded state and never hashes package files, so it is cheap enough to run before every build or …
sow status tells you whether a repository needs a build, how much data waits in the pending area, and whether a writer holds the lock. It reads only recorded state and never hashes package files, so it is cheap enough to run before every build or …
-
sow where
sow where answers “which repositories and Dists carry this package?” for the whole workspace. Use it before you remove or replace a package that several repositories share, or to confirm that an add landed where you expected. Unlike sow show, it …
sow where answers “which repositories and Dists carry this package?” for the whole workspace. Use it before you remove or replace a package that several repositories share, or to confirm that an add landed where you expected. Unlike sow show, it …
-
sow show
sow show prints what SOW knows about one package in a repository: its exact coordinate and SHA-256, where its file lives in the pool, and which Dists list it in desired state and in the current build. Use it to turn a name into an exact reference, or …
sow show prints what SOW knows about one package in a repository: its exact coordinate and SHA-256, where its file lives in the pool, and which Dists list it in desired state and in the current build. Use it to turn a name into an exact reference, or …
-
sow ls
sow ls lists the packages in the selected Dists’ desired membership and shows, for each one, which Dists want it and which already contain it in the current Generation. Use it to copy exact references for show or rm, or to spot packages that are …
sow ls lists the packages in the selected Dists’ desired membership and shows, for each one, which Dists want it and which already contain it in the current Generation. Use it to copy exact references for show or rm, or to spot packages that are …
-
sow rm
sow rm takes packages out of the selected Dists’ desired membership and rebuilds those Dists' local indexes. Use it to withdraw a broken or unwanted package; preview the result with --check, or stage several removals with --skip and build once. The …
sow rm takes packages out of the selected Dists’ desired membership and rebuilds those Dists' local indexes. Use it to withdraw a broken or unwanted package; preview the result with --check, or stage several removals with --skip and build once. The …
-
sow add
sow add is how packages enter a standard repository. It reads each file’s format and architecture from the package header, stores the file once in the repository’s pool, adds it to the selected Dists’ desired membership, applies each Dist’s exclude …
sow add is how packages enter a standard repository. It reads each file’s format and architecture from the package header, stores the file once in the repository’s pool, adds it to the selected Dists’ desired membership, applies each Dist’s exclude …
-
sow dist
A Dist is the package set that clients see as one distribution, such as el9 or trixie. It is either RPM or DEB, has its own architecture views, policy (limit, exclude), and indexes under dists/, and shares the pool/ of its standard repository with …
A Dist is the package set that clients see as one distribution, such as el9 or trixie. It is either RPM or DEB, has its own architecture views, policy (limit, exclude), and indexes under dists/, and shares the pool/ of its standard repository with …
-
Commands
SOW commands fall into two groups. Commands for simple repositories, create and prune, work on one directory of packages and keep nothing else: no configuration, no database, no history. Workspace commands are everything else. They work on standard …
SOW commands fall into two groups. Commands for simple repositories, create and prune, work on one directory of packages and keep nothing else: no configuration, no database, no history. Workspace commands are everything else. They work on standard …
-
sow repo
A standard repository is one directory tree in the workspace with its own package pool (pool/), indexes (dists/), database, and build history. Its Dists share the pool, so a package used by several Dists is stored once. sow repo creates, lists, …
A standard repository is one directory tree in the workspace with its own package pool (pool/), indexes (dists/), database, and build history. Its Dists share the pool, so a package used by several Dists is stored once. sow repo creates, lists, …
-
sow config
Run sow config check after every edit to sow.yml and before the next build: it catches typos, invalid names, unusable signing keys, and changes that existing repository state cannot accept, without touching anything. Run sow config show when you need …
Run sow config check after every edit to sow.yml and before the next build: it catches typos, invalid names, unusable signing keys, and changes that existing repository state cannot accept, without touching anything. Run sow config show when you need …
-
sow init
sow init turns a directory into a workspace, the home of one or more standard repositories: it creates the private .sow/ state directory, reads an existing sow.yml or sow.yaml, and writes a default sow.yml if neither configuration file exists. If the …
sow init turns a directory into a workspace, the home of one or more standard repositories: it creates the private .sow/ state directory, reads an existing sow.yml or sow.yaml, and writes a default sow.yml if neither configuration file exists. If the …
-
sow prune
sow prune keeps the newest RPM for each package name and architecture in a simple repository, rebuilds the index, and then deletes the older files. Use it on a directory that collects every release over time, such as a mirror or a Pigsty offline …
sow prune keeps the newest RPM for each package name and architecture in a simple repository, rebuilds the index, and then deletes the older files. Use it on a directory that collects every release over time, such as a mirror or a Pigsty offline …
-
sow create
sow create writes YUM and APT indexes next to the packages in one directory, which turns that directory into a simple repository that dnf and apt can install from directly. Reach for it when the directory itself is the repository: an offline bundle, …
sow create writes YUM and APT indexes next to the packages in one directory, which turns that directory into a simple repository that dnf and apt can install from directly. Reach for it when the directory itself is the repository: an offline bundle, …