standard-repository
21 pages-
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 …
-
Membership Policy
Upstream build output usually contains packages you do not want to ship: -debuginfo and -debugsource RPMs, PostgreSQL -llvmjit subpackages, Debian -dbgsym packages. And a repository you keep adding to keeps every version it ever received, so the …
Upstream build output usually contains packages you do not want to ship: -debuginfo and -debugsource RPMs, PostgreSQL -llvmjit subpackages, Debian -dbgsym packages. And a repository you keep adding to keeps every version it ever received, so the …
-
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 …
-
Build the pigsty-infra Repository
pgsty/infra-pkg builds the Pigsty Infra packages as RPMs and DEBs for x86-64 and ARM64. Users of those packages want three kinds of channel: a rolling latest that gets every new version, a stable channel that moves only when you promote a release, …
pgsty/infra-pkg builds the Pigsty Infra packages as RPMs and DEBs for x86-64 and ARM64. Users of those packages want three kinds of channel: a rolling latest that gets every new version, a stable channel that moves only when you promote a release, …
-
Serve and Publish Repositories
Putting a repository on a web server is more than copying a directory. While an update is in flight, a client can read the new index before its packages arrive, or keep using a cached index after you deleted the packages it names. Both show up as 404 …
Putting a repository on a web server is more than copying a directory. While an update is in flight, a client can read the new index before its packages arrive, or keep using a cached index after you deleted the packages it names. Both show up as 404 …
-
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, …
-
Core Concepts
SOW builds two kinds of repository and uses a handful of concepts. The first section is enough to choose between them; the rest explains how a standard repository is put together, and why. Simple or standard repository The two kinds differ in where …
SOW builds two kinds of repository and uses a handful of concepts. The first section is enough to choose between them; the rest explains how a standard repository is put together, and why. Simple or standard repository The two kinds differ in where …
-
Standard Repositories
In a simple repository, whatever files are present is the only truth. That works while something else decides what belongs there, but it cannot express intent. You cannot say “el9 gets these packages and keeps the two newest versions.” You cannot …
In a simple repository, whatever files are present is the only truth. That works while something else decides what belongs there, but it cannot express intent. You cannot say “el9 gets these packages and keeps the two newest versions.” You cannot …
-
Your First Standard Repository
This walkthrough builds one standard repository that serves two kinds of clients: EL9 hosts through a YUM index and Debian hosts through an APT index. Along the way you will meet what a standard repository adds over a simple one: named package sets …
This walkthrough builds one standard repository that serves two kinds of clients: EL9 hosts through a YUM index and Debian hosts through an APT index. Along the way you will meet what a standard repository adds over a simple one: named package sets …
-
Features
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 …
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 …
-
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.yml Reference
sow.yml is the configuration file of a workspace, the directory that holds your standard repositories. It declares which repositories exist, which Dists each one serves and with what package policy, how indexes and packages are signed, and where …
sow.yml is the configuration file of a workspace, the directory that holds your standard repositories. It declares which repositories exist, which Dists each one serves and with what package policy, how indexes and packages are signed, and where …
-
Build an APT Repository
You have DEBs for Debian or Ubuntu hosts and want apt install to work against your own repository, with the same update behavior clients expect from a public archive. This tutorial builds an APT standard repository, which SOW maintains in a …
You have DEBs for Debian or Ubuntu hosts and want apt install to work against your own repository, with the same update behavior clients expect from a public archive. This tutorial builds an APT standard repository, which SOW maintains in a …
-
Get Started
This section takes you from nothing to a repository that dnf and apt can install from. SOW is a single executable with no service to run, so installation takes a minute. After that, pick the path that matches what you have: You have a directory of …
This section takes you from nothing to a repository that dnf and apt can install from. SOW is a single executable with no service to run, so installation takes a minute. After that, pick the path that matches what you have: You have a directory of …
-
Build a YUM Repository
You build or collect RPMs for EL hosts and want dnf install to work against your own repository, today and after every later update. This tutorial builds a YUM standard repository, which SOW maintains in a workspace: one package set, el9, with x86_64 …
You build or collect RPMs for EL hosts and want dnf install to work against your own repository, today and after every later update. This tutorial builds a YUM standard repository, which SOW maintains in a workspace: one package set, el9, with x86_64 …