<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>repository on SOW</title>
    <link>https://sow.pgsty.com/tags/repository/</link>
    <description>Recent content in repository on SOW</description>
    <generator>Hugo</generator>
    <language>en</language>
    
    
    
      <lastBuildDate>Fri, 28 Aug 2026 18:32:04 +0800</lastBuildDate>
    
    
      <atom:link href="https://sow.pgsty.com/tags/repository/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>SOW Design Evolution: From Route Graphs to the Repository Core</title>
        <link>https://sow.pgsty.com/blog/design/evolution/</link>
        <pubDate>Mon, 10 Aug 2026 00:00:00 +0000</pubDate>
        
        <guid>https://sow.pgsty.com/blog/design/evolution/</guid>
        <description>&lt;p&gt;This record dates to the 2026-08-10 consolidation of SOW around its Repository core. It&#xA;distills the useful decisions from the earlier planning, ADR, review, migration, and&#xA;verification trees without turning every intermediate artifact into maintained product&#xA;documentation.&lt;/p&gt;&#xA;&lt;p&gt;Some sealed folders use “v0.2” and “v0.3” for consecutive pre-release design lines. The&#xA;version labels below refer only to released Git tags: the C2 hardlink line was replaced&#xA;before v0.2.0 was tagged.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-short-history&#34;&gt;The short history&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--static&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Line&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Design center&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Historical status&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;v0.1&lt;/td&gt;&#xA;      &lt;td&gt;Git/CAS ownership, route-aware materialization, edge authorization, provider workflows, and Pigsty migration&lt;/td&gt;&#xA;      &lt;td&gt;Released as v0.1.0; superseded&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;v0.2&lt;/td&gt;&#xA;      &lt;td&gt;Local Plain/Managed engine, Repository-scoped single-payload tree, metadata-only views, retained Generations, and target-scoped publication&lt;/td&gt;&#xA;      &lt;td&gt;Released as v0.2.0; public layout remains current&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;v0.3&lt;/td&gt;&#xA;      &lt;td&gt;V1 removal, package-facts caching, one-pass Plain builds, and bounded payload commits&lt;/td&gt;&#xA;      &lt;td&gt;Released as v0.3.0; same public layout&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;v0.4&lt;/td&gt;&#xA;      &lt;td&gt;Single-pass verification, independent RPM trust rings, explicit target rebind, and migration/recovery hardening&lt;/td&gt;&#xA;      &lt;td&gt;Current released baseline when this record was updated&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;The exact code and claims for each released line remain available in the&#xA;&lt;a href=&#34;https://github.com/pgsty/sow/tree/v0.1.0&#34;&gt;v0.1.0&lt;/a&gt;,&#xA;&lt;a href=&#34;https://github.com/pgsty/sow/tree/v0.2.0&#34;&gt;v0.2.0&lt;/a&gt;,&#xA;&lt;a href=&#34;https://github.com/pgsty/sow/tree/v0.3.0&#34;&gt;v0.3.0&lt;/a&gt;, and&#xA;&lt;a href=&#34;https://github.com/pgsty/sow/tree/v0.4.0&#34;&gt;v0.4.0&lt;/a&gt; source tags.&lt;/p&gt;</description>
      </item>
    <item>
        <title>System Model</title>
        <link>https://sow.pgsty.com/blog/design/model/</link>
        <pubDate>Sat, 08 Aug 2026 00:00:00 +0000</pubDate>
        
        <guid>https://sow.pgsty.com/blog/design/model/</guid>
        <description>&lt;p&gt;The model is deliberately layered. Configuration expresses intent, the database records&#xA;owned state, and the public tree is a deterministic projection. None of those layers may&#xA;quietly become a substitute for another.&lt;/p&gt;&#xA;&lt;h2 id=&#34;object-hierarchy&#34;&gt;Object hierarchy&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-4d6aec63-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;text&#34; data-td-line-count=&#34;10&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-4d6aec63-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Workspace&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;├── Repository&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;│   ├── Package Object&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;│   ├── Dist&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;│   │   └── Membership -&amp;gt; Package Object&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;│   ├── Desired state&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;│   ├── Built Generation&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;│   └── Retained Generation references&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;└── Publication Target&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    └── Repository + provider + prefix&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;h3 id=&#34;workspace&#34;&gt;Workspace&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;A Workspace supplies discovery, configuration, and coordination. It owns &lt;code&gt;sow.yml&lt;/code&gt;, the&#xA;private &lt;code&gt;.sow/&lt;/code&gt; directory, and stable lock paths. It is not a package deduplication domain.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Design Principles</title>
        <link>https://sow.pgsty.com/blog/design/principles/</link>
        <pubDate>Sat, 08 Aug 2026 00:00:00 +0000</pubDate>
        
        <guid>https://sow.pgsty.com/blog/design/principles/</guid>
        <description>&lt;p&gt;SOW is not primarily a metadata generator. It is an ownership and state-transition system&#xA;whose output happens to be APT and RPM repositories. The following principles keep that&#xA;system small enough to reason about.&lt;/p&gt;&#xA;&lt;h2 id=&#34;one-owner-for-every-durable-fact&#34;&gt;One owner for every durable fact&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Every durable fact has one scope and one authority:&lt;/p&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--static&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Fact&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Owner&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Package bytes and package identity&lt;/td&gt;&#xA;      &lt;td&gt;Repository&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Desired memberships and Built state&lt;/td&gt;&#xA;      &lt;td&gt;Repository&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Generation and Changeset&lt;/td&gt;&#xA;      &lt;td&gt;Repository&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Publication target binding and revisions&lt;/td&gt;&#xA;      &lt;td&gt;Repository + target storage/prefix&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Publication attempt and applied checkpoint&lt;/td&gt;&#xA;      &lt;td&gt;Repository + target prefix&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Remote inventory, grace, and delete evidence&lt;/td&gt;&#xA;      &lt;td&gt;Repository + target prefix&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;State is not silently shared across Repositories or publish prefixes. The same package may&#xA;therefore exist once in each Repository or target. That is intentional: local deduplication&#xA;must not create distributed ownership.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Why SOW Uses One Payload Tree per Repository</title>
        <link>https://sow.pgsty.com/blog/design/single-payload/</link>
        <pubDate>Wed, 05 Aug 2026 00:00:00 +0000</pubDate>
        
        <guid>https://sow.pgsty.com/blog/design/single-payload/</guid>
        <description>&lt;p&gt;This decision was drafted on 2026-08-05 during the pre-v0.2 release design consolidation&#xA;and shipped in SOW v0.2.0 on 2026-08-08. It remains the layout contract in v0.3 and v0.4.&#xA;It records an architecture choice, not a blanket compatibility claim: protocol closure,&#xA;ordinary package clients, mirror tools, static hosting, and object storage are verified as&#xA;separate evidence layers.&lt;/p&gt;&#xA;&lt;h2 id=&#34;decision&#34;&gt;Decision&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Each SOW Repository owns one public tree:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-d78f7449-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;text&#34; data-td-line-count=&#34;5&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-d78f7449-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&amp;lt;repository&amp;gt;/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  pool/                         # canonical package bytes&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  dists/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    &amp;lt;dist&amp;gt;/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;      &amp;lt;architecture&amp;gt;/           # protocol metadata only&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;A Package Object has one canonical payload path inside one Repository. Adding the same&#xA;object to several Dists or architecture views adds membership and metadata references; it&#xA;does not create another canonical package file.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Your First Workspace</title>
        <link>https://sow.pgsty.com/docs/start/workspace/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://sow.pgsty.com/docs/start/workspace/</guid>
        <description>&lt;p&gt;Managed mode keeps configuration, membership, generations, and audit state. This example&#xA;starts from an empty directory.&lt;/p&gt;&#xA;&lt;div class=&#34;td-steps td-max-width-on-larger-screens&#34;&gt;&#xA;&lt;h2 id=&#34;1-initialize-the-workspace&#34;&gt;Initialize the workspace&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-b6b3b1e6-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;bash&#34; data-td-line-count=&#34;2&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-b6b3b1e6-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sow init /srv/sow&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;nb&#34;&gt;cd&lt;/span&gt; /srv/sow&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;&lt;code&gt;init&lt;/code&gt; creates:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-b6b3b1e6-fence-1&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;text&#34; data-td-line-count=&#34;3&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-b6b3b1e6-fence-1-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;/srv/sow/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;├── sow.yml   # configuration; schema: sow/v3&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;└── .sow/     # SQLite state, locks, staging, recovery, journals&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;Do not edit or serve &lt;code&gt;.sow/&lt;/code&gt;. &lt;code&gt;init&lt;/code&gt; is idempotent: rerunning it validates and converges&#xA;declared repositories and Dists; it does not reset a valid workspace.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Managed Workspaces</title>
        <link>https://sow.pgsty.com/docs/feature/managed/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://sow.pgsty.com/docs/feature/managed/</guid>
        <description>&lt;p&gt;Managed mode is what you use when the same repository will be updated for months: packages arrive in batches, policy decides what stays, and you need to prove afterwards what changed and when. This page explains the three-tier model, the layout it produces, and how commands figure out which repository and which Dist you meant.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-three-tiers&#34;&gt;The three tiers&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-01e8acae-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;text&#34; data-td-line-count=&#34;4&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-01e8acae-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;Workspace                          discovery and configuration boundary&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;└── Repository                     ownership boundary: pool, dists, SQLite, lock, generations&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    └── Dist                       a named membership set in exactly one format&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;        └── Architecture View      a rendered projection — not a membership&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;Each tier has one job, and the boundaries are strict:&lt;/p&gt;</description>
      </item>
    <item>
        <title>Core Concepts</title>
        <link>https://sow.pgsty.com/docs/start/concepts/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://sow.pgsty.com/docs/start/concepts/</guid>
        <description>&lt;h2 id=&#34;plain-or-managed&#34;&gt;Plain or Managed&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;The two execution paths are separate.&lt;/p&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--static&#34;&gt;&#xA;&lt;table&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Plain&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Managed&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Entry point&lt;/td&gt;&#xA;      &lt;td&gt;&lt;code&gt;sow create DIR&lt;/code&gt;&lt;/td&gt;&#xA;      &lt;td&gt;&lt;code&gt;init&lt;/code&gt;, &lt;code&gt;repo&lt;/code&gt;, &lt;code&gt;dist&lt;/code&gt;, &lt;code&gt;add&lt;/code&gt;, &lt;code&gt;rm&lt;/code&gt;, &lt;code&gt;build&lt;/code&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;State&lt;/td&gt;&#xA;      &lt;td&gt;package directory&lt;/td&gt;&#xA;      &lt;td&gt;&lt;code&gt;sow.yml&lt;/code&gt; plus private SQLite/journals&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Public layout&lt;/td&gt;&#xA;      &lt;td&gt;flat RPM/DEB indexes&lt;/td&gt;&#xA;      &lt;td&gt;Repository &lt;code&gt;pool/ + dists/&lt;/code&gt;&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Formats&lt;/td&gt;&#xA;      &lt;td&gt;RPM and DEB may share one directory&lt;/td&gt;&#xA;      &lt;td&gt;one format per Dist&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Architecture views&lt;/td&gt;&#xA;      &lt;td&gt;no&lt;/td&gt;&#xA;      &lt;td&gt;yes&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Policy and audit&lt;/td&gt;&#xA;      &lt;td&gt;no&lt;/td&gt;&#xA;      &lt;td&gt;yes&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Metadata signing and publication targets&lt;/td&gt;&#xA;      &lt;td&gt;no&lt;/td&gt;&#xA;      &lt;td&gt;yes&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;Choose Plain when directory contents already equal the desired repository. Choose Managed&#xA;when SOW must own membership, policy, generations, signing, audit, or publication.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Repository Layout</title>
        <link>https://sow.pgsty.com/docs/reference/layout/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://sow.pgsty.com/docs/reference/layout/</guid>
        <description>&lt;p&gt;SOW has one fixed Managed layout: package payloads live once under &lt;code&gt;pool/&lt;/code&gt;, while&#xA;&lt;code&gt;dists/&lt;/code&gt; contains metadata-only client views. The complete repository directory is the&#xA;unit to serve, copy, or publish.&lt;/p&gt;&#xA;&lt;h2 id=&#34;plain-mode&#34;&gt;Plain mode&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;sow create&lt;/code&gt; writes indexes next to existing packages and leaves every unrelated file&#xA;unchanged:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-38ea1027-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;text&#34; data-td-line-count=&#34;11&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-38ea1027-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;/srv/offline/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;├── blackbox_exporter-0.28.0-1.x86_64.rpm&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;├── libpq5_18.3-1.pgdg12+1_amd64.deb&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;├── repodata/&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;│   ├── &amp;lt;sha256&amp;gt;-primary.xml.gz&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;│   ├── &amp;lt;sha256&amp;gt;-filelists.xml.gz&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;│   ├── &amp;lt;sha256&amp;gt;-other.xml.gz&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;│   └── repomd.xml&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;├── Packages&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;├── Packages.gz&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;└── repo_complete                         # only with --pigsty&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;p&gt;Flat RPM metadata uses a bare package basename; flat DEB metadata uses &lt;code&gt;./&amp;lt;filename&amp;gt;&lt;/code&gt;.&#xA;While a build is active, &lt;code&gt;.sow-plain-stage-*&lt;/code&gt; contains private generated output. Plain has no&#xA;durable journal or recovery state; a later create discards stale reserved temporary paths and&#xA;rebuilds. Never serve or copy those temporary paths.&lt;/p&gt;</description>
      </item>
    <item>
        <title>sow repo</title>
        <link>https://sow.pgsty.com/docs/command/repo/</link>
        <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
        
        <guid>https://sow.pgsty.com/docs/command/repo/</guid>
        <description>&lt;p&gt;A Repository owns one &lt;code&gt;pool/&lt;/code&gt;, one &lt;code&gt;dists/&lt;/code&gt;, one SQLite database and one private state directory. It&#xA;is the boundary of locking, transaction recovery, Generation numbering and Changesets — nothing is&#xA;deduplicated across Repositories and no cross-Repository commit is atomic. &lt;code&gt;sow repo&lt;/code&gt; manages that&#xA;boundary.&lt;/p&gt;&#xA;&lt;h2 id=&#34;synopsis&#34;&gt;Synopsis&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-d9b40e46-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;text&#34; data-td-line-count=&#34;5&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-d9b40e46-fence-0-viewport&#34; data-td-code-viewport&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sow repo ls [-C DIR] [--json]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sow repo new NAME [-C DIR] [-T DUR | -N] [--json]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sow repo show [NAME] [-C DIR] [-r NAME] [--json]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sow repo migrate [NAME] [--abort] [-j N] [-C DIR] [-r NAME] [-T DUR | -N] [--json]&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sow repo rm NAME [-f|--force] [-C DIR] [-T DUR | -N] [--json]&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&lt;h2 id=&#34;naming&#34;&gt;Naming&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;A Repository name must match &lt;code&gt;[a-z0-9][a-z0-9._-]*&lt;/code&gt; and may not be &lt;code&gt;.&lt;/code&gt;, &lt;code&gt;..&lt;/code&gt;, &lt;code&gt;.sow&lt;/code&gt;, &lt;code&gt;pool&lt;/code&gt;,&#xA;&lt;code&gt;dists&lt;/code&gt;, or collide with a Workspace reserved file.&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
