Skip to content

dist

10 pages
  • System Model

    By Vonng In Design 497 words 3 min

    VonngDesignrepositorydistpoolgeneration

    System Model

    SOW uses configuration for repository settings, SQLite for managed state, and a public directory for client access. The model separates the packages you select from the files that have been built and published. Objects Workspace ├── Repository │ ├── …

    SOW uses configuration for repository settings, SQLite for managed state, and a public directory for client access. The model separates the packages you select from the files that have been built and published. Objects Workspace ├── Repository │ ├── …

  • sow export

    In Commands

    Commandclirpmdist

    sow export rpm-leaf creates a standalone RPM repository for one Dist and architecture. It copies the packages into an external directory and rewrites metadata to use local pool/... paths. Synopsis sow export rpm-leaf DIST ARCH DIR [--hardlink] …

    sow export rpm-leaf creates a standalone RPM repository for one Dist and architecture. It copies the packages into an external directory and rewrites metadata to use local pool/... paths. Synopsis sow export rpm-leaf DIST ARCH DIR [--hardlink] …

  • sow dist

    In Commands

    Commandclidistmanaged

    sow dist manages the distributions that clients use. Each Dist contains either RPM or DEB packages. Dists in one Repository share pool/ and have separate indexes under dists/. Synopsis sow dist ls [-C DIR] [-r NAME] [--json] sow dist new NAME …

    sow dist manages the distributions that clients use. Each Dist contains either RPM or DEB packages. Dists in one Repository share pool/ and have separate indexes under dists/. Synopsis sow dist ls [-C DIR] [-r NAME] [--json] sow dist new NAME …

  • Pool & Metadata Views

    In Features

    Featurepooldistrpmdeb

    A Managed repository stores each package object once under pool/. Its Dists and architecture views contain indexes that refer to those package bytes. <repo>/pool/ package files <repo>/dists/<rpm-dist>/<arch>/repodata/ RPM metadata …

    A Managed repository stores each package object once under pool/. Its Dists and architecture views contain indexes that refer to those package bytes. <repo>/pool/ package files <repo>/dists/<rpm-dist>/<arch>/repodata/ RPM metadata …

  • Repository Layout

    In Reference

    Referencerepositorypooldist

    Serve the complete Managed repository directory: pool/ plus dists/. Keep workspace configuration and .sow/ state outside the web server’s document root. Plain directory /srv/offline/ ├── example-1.0-1.x86_64.rpm ├── example_1.0-1_amd64.deb ├── …

    Serve the complete Managed repository directory: pool/ plus dists/. Keep workspace configuration and .sow/ state outside the web server’s document root. Plain directory /srv/offline/ ├── example-1.0-1.x86_64.rpm ├── example_1.0-1_amd64.deb ├── …

  • Core Concepts

    In Get Started

    Startplainmanagedrepositorydist

    Choose a mode Need Plain Managed Build indexes from a package directory sow create DIR Import packages with sow add Keep configuration and package membership Directory contents are the state sow.yml and private SQLite databases Organize packages One …

    Choose a mode Need Plain Managed Build indexes from a package directory sow create DIR Import packages with sow add Keep configuration and package membership Directory contents are the state sow.yml and private SQLite databases Organize packages One …

  • Managed Workspaces

    In Features

    Featuremanagedrepositorydistgeneration

    Use Managed mode for repositories that receive regular updates. SOW records package membership, applies Dist policy, builds metadata, and keeps operation history. Workspace, repository, and Dist Workspace └── Repository └── Dist └── Architecture view …

    Use Managed mode for repositories that receive regular updates. SOW records package membership, applies Dist policy, builds metadata, and keeps operation history. Workspace, repository, and Dist Workspace └── Repository └── Dist └── Architecture view …

  • Your First Workspace

    In Get Started

    Startmanagedrepositorydistgeneration

    This example creates a Managed repository with two named package sets, called Dists: el9 for RPMs and bookworm for DEBs. Use an empty, writable /srv/sow directory, or substitute another path. Initialize the workspace sow init /srv/sow cd /srv/sow …

    This example creates a Managed repository with two named package sets, called Dists: el9 for RPMs and bookworm for DEBs. Use an empty, writable /srv/sow directory, or substitute another path. Initialize the workspace sow init /srv/sow cd /srv/sow …

  • Build an APT Repository

    In Tutorials

    Tutorialaptdebmanageddist

    This tutorial creates a new Managed DEB repository. Install SOW and Python 3, and prepare DEB files built for your clients. Use an empty /srv/sow directory that your user can create and write to, or substitute another writable path. 1. Create the …

    This tutorial creates a new Managed DEB repository. Install SOW and Python 3, and prepare DEB files built for your clients. Use an empty /srv/sow directory that your user can create and write to, or substitute another writable path. 1. Create the …

  • Build a YUM Repository

    In Tutorials

    Tutorialyumrpmmanageddist

    This tutorial creates a new Managed RPM repository. Install SOW and Python 3, and prepare RPM files built for your clients. Use an empty /srv/sow directory that your user can create and write to, or substitute another writable path. 1. Create the …

    This tutorial creates a new Managed RPM repository. Install SOW and Python 3, and prepare RPM files built for your clients. Use an empty /srv/sow directory that your user can create and write to, or substitute another writable path. 1. Create the …