simple-repository
8 pages-
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 …
-
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 …
-
Simple Repositories
Often the packages already exist in a directory: the output of a CI job, an offline bundle for hosts without Internet access, or a repository that createrepo_c has maintained for years. What you need is for dnf and apt to install from it, without …
Often the packages already exist in a directory: the output of a CI job, an offline bundle for hosts without Internet access, or a repository that createrepo_c has maintained for years. What you need is for dnf and apt to install from it, without …
-
Quick Start
In about five minutes you will turn a directory of package files into a repository, serve it over HTTP, and install a package from it with dnf or apt. The result is a simple repository: no workspace, no configuration file, no database. The directory …
In about five minutes you will turn a directory of package files into a repository, serve it over HTTP, and install a package from it with dnf or apt. The result is a simple repository: no workspace, no configuration file, no database. The directory …
-
Migrate an Existing YUM Repository
Replacing the tool that writes repodata/ looks like a one-line change, but your clients already hold state from the old repository. They have cached its index, they may verify its signature, and they reach it through a fixed URL and repository ID. A …
Replacing the tool that writes repodata/ looks like a one-line change, but your clients already hold state from the old repository. They have cached its index, they may verify its signature, and they reach it through a fixed URL and repository ID. A …
-
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 …
-
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 …
-
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, …