<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>SOW Blog on SOW</title>
    <link>https://sow.pgsty.com/blog/</link>
    <description>Recent content in SOW Blog on SOW</description>
    <generator>Hugo</generator>
    <language>en</language>
    
    
    
      <lastBuildDate>Mon, 09 Nov 2026 09:40:24 +0800</lastBuildDate>
    
    
      <atom:link href="https://sow.pgsty.com/blog/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>SOW v0.7.0</title>
        <link>https://sow.pgsty.com/blog/release/sow-v0.7.0/</link>
        <pubDate>Mon, 09 Nov 2026 09:00:00 +0800</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/release/sow-v0.7.0/</guid>
        <description>&lt;p&gt;SOW 0.7.0 adds &lt;strong&gt;flat RPM pruning&lt;/strong&gt; and a shared &lt;strong&gt;password-file signing interface&lt;/strong&gt;. It also fixes defects in migration, recovery, publication, RPM signature verification, and version ordering found during the release review.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Availability:&lt;/strong&gt; this version is being prepared as a GitHub draft release. Public binary downloads remain at &lt;strong&gt;0.6.1&lt;/strong&gt; until the draft is published. The documentation describes 0.7.0; check &lt;code&gt;sow version&lt;/code&gt; before using its new options.&lt;/p&gt;&#xA;&lt;p&gt;These notes cover the changes since &lt;strong&gt;0.6.1&lt;/strong&gt;. Database schema &lt;strong&gt;v13&lt;/strong&gt;, configuration schema &lt;strong&gt;sow/v3&lt;/strong&gt;, and the public repository layout stay unchanged. Workspaces on 0.5.0 through 0.6.1 need no schema migration.&lt;/p&gt;</description>
      </item>
    <item>
        <title>SOW v0.6.1</title>
        <link>https://sow.pgsty.com/blog/release/sow-v0.6.1/</link>
        <pubDate>Thu, 22 Oct 2026 20:30:00 +0800</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/release/sow-v0.6.1/</guid>
        <description>&lt;p&gt;SOW 0.6.1 is a maintenance release with updated dependencies and clearer error messages.&#xA;It keeps the CLI, database schema &lt;strong&gt;v13&lt;/strong&gt;, configuration &lt;strong&gt;sow/v3&lt;/strong&gt;, and public repository layout.&#xA;Workspaces already on 0.5.0 or 0.6.0 need no schema migration.&lt;/p&gt;&#xA;&lt;p&gt;Get the packages and archives from the &lt;a href=&#34;https://sow.pgsty.com/download/&#34;&gt;download page&lt;/a&gt;, with checksums from the&#xA;&lt;a href=&#34;https://github.com/pgsty/sow/releases/tag/v0.6.1&#34;&gt;v0.6.1 release&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;toolchain-and-dependencies&#34;&gt;Toolchain and dependencies&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Source builds now require &lt;strong&gt;Go 1.27.3 or newer&lt;/strong&gt;. All release binaries were built with Go 1.27.3.&#xA;The release updates the libraries used for encryption, S3 access, compression, SQLite, and Debian package parsing.&lt;/p&gt;</description>
      </item>
    <item>
        <title>SOW v0.6.0</title>
        <link>https://sow.pgsty.com/blog/release/sow-v0.6.0/</link>
        <pubDate>Sat, 17 Oct 2026 00:00:00 +0800</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/release/sow-v0.6.0/</guid>
        <description>&lt;p&gt;SOW 0.6.0 improves repository updates, file verification, and recovery after an interruption.&#xA;It keeps the current command set, configuration format, and public repository layout.&#xA;A Managed workspace already on 0.5.0 needs no database migration.&lt;/p&gt;&#xA;&lt;p&gt;This note covers the changes since 0.5.0. Use the &lt;a href=&#34;https://sow.pgsty.com/docs/start/install/&#34;&gt;installation guide&lt;/a&gt; for upgrade steps&#xA;and the &lt;a href=&#34;https://sow.pgsty.com/download/&#34;&gt;download page&lt;/a&gt; for release availability.&lt;/p&gt;&#xA;&lt;h2 id=&#34;changes-for-repository-operators&#34;&gt;Changes for repository operators&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--static&#34;&gt;&#xA;&lt;table class=&#34;wide expand td-table--wide&#34;&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Area&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Change in 0.6.0&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Effect on your workflow&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Plain RPM updates&lt;/td&gt;&#xA;      &lt;td&gt;Keep current and immediately previous checksum-named metadata&lt;/td&gt;&#xA;      &lt;td&gt;Clients can finish fetching metadata referenced by the previous index&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Managed builds&lt;/td&gt;&#xA;      &lt;td&gt;Record one publication time for metadata and signatures&lt;/td&gt;&#xA;      &lt;td&gt;Recovery preserves the original time; unchanged builds keep their existing output&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;File verification&lt;/td&gt;&#xA;      &lt;td&gt;Check file identity throughout authenticated reads&lt;/td&gt;&#xA;      &lt;td&gt;Replaced or rewritten files are detected, including rewrites that restore the modification time&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Signing keys&lt;/td&gt;&#xA;      &lt;td&gt;Read complete OpenPGP key bundles&lt;/td&gt;&#xA;      &lt;td&gt;All supplied trusted keys are considered; malformed input is rejected&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;State and recovery&lt;/td&gt;&#xA;      &lt;td&gt;Preserve locks, consistent reads, and committed results&lt;/td&gt;&#xA;      &lt;td&gt;Maintenance errors do not make completed changes appear to have rolled back&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Large repositories&lt;/td&gt;&#xA;      &lt;td&gt;Reuse verified data and limit parallel work&lt;/td&gt;&#xA;      &lt;td&gt;Builds, imports, checks, and publication avoid repeated work&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;h2 id=&#34;plain-rpm-updates-keep-the-previous-indexes&#34;&gt;Plain RPM updates keep the previous indexes&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;A client first downloads &lt;code&gt;repomd.xml&lt;/code&gt;, then requests the metadata files named inside it.&#xA;An update between those requests could previously remove the old metadata files before the client fetched them.&lt;/p&gt;</description>
      </item>
    <item>
        <title>SOW v0.5.0</title>
        <link>https://sow.pgsty.com/blog/release/sow-v0.5.0/</link>
        <pubDate>Tue, 29 Sep 2026 00:00:00 +0800</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/release/sow-v0.5.0/</guid>
        <description>&lt;p&gt;SOW 0.5.0 adds publication timestamps for existing YUM repositories and fixes Managed&#xA;repository recovery, signing, and package-path handling. It also reduces repeated package&#xA;verification during builds.&lt;/p&gt;&#xA;&lt;p&gt;Install the release from &lt;a href=&#34;https://sow.pgsty.com/download/&#34;&gt;Download SOW&lt;/a&gt;. If you use a Managed workspace from&#xA;0.3 or 0.4, migrate each Repository before further writes.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;upgrade-and-developer-notes&#34; data-td-print-local&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;upgrade-a-managed-workspace&#34;&gt;Upgrade a Managed workspace&#xA;&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Stop commands that write to the workspace.&lt;/li&gt;&#xA;&lt;li&gt;Back up the complete workspace, including &lt;code&gt;sow.yml&lt;/code&gt;, &lt;code&gt;.sow/&lt;/code&gt;, and all Repository roots.&lt;/li&gt;&#xA;&lt;li&gt;Install SOW 0.5.0.&lt;/li&gt;&#xA;&lt;li&gt;Migrate, build, and check each Repository. Replace &lt;code&gt;pgsql&lt;/code&gt; and &lt;code&gt;/srv/sow&lt;/code&gt; with your names.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-cd56ea79-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;bash&#34; data-td-line-count=&#34;3&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-cd56ea79-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 repo migrate pgsql -C /srv/sow&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sow build -r pgsql -C /srv/sow&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;sow check -r pgsql -C /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;The migration updates the database to schema v13. Configuration remains &lt;code&gt;sow/v3&lt;/code&gt;, and the&#xA;public layout remains &lt;code&gt;pool/&lt;/code&gt; plus &lt;code&gt;dists/&lt;/code&gt;. The first build refreshes RPM authentication&#xA;and APT metadata records. Later builds reuse matching RPM verification records.&lt;/p&gt;</description>
      </item>
    <item>
        <title>SOW v0.4.0</title>
        <link>https://sow.pgsty.com/blog/release/sow-v0.4.0/</link>
        <pubDate>Mon, 24 Aug 2026 00:00:00 +0000</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/release/sow-v0.4.0/</guid>
        <description>&lt;p&gt;SOW 0.4.0 improved Managed repository verification and recovery. &lt;code&gt;check&lt;/code&gt; reads each physical package once for its content hash. RPM verification keeps separate trust decisions for separate key sets. Publication targets can change their public URL or cache lifetime through an audited rebind operation.&lt;/p&gt;&#xA;&lt;p&gt;Plain behavior and the public &lt;code&gt;pool/&lt;/code&gt; and &lt;code&gt;dists/&lt;/code&gt; layout stayed the same. This page describes version 0.4.0; use the &lt;a href=&#34;https://sow.pgsty.com/docs/start/install/&#34;&gt;installation guide&lt;/a&gt; to upgrade to the current release.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;upgrade-from-03&#34; data-td-print-local&gt;&lt;/span&gt;&lt;/p&gt;</description>
      </item>
    <item>
        <title>Coordinated Publication Decision</title>
        <link>https://sow.pgsty.com/blog/design/coordinated-publication/</link>
        <pubDate>Fri, 14 Aug 2026 00:00:00 +0000</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/design/coordinated-publication/</guid>
        <description>&lt;p&gt;&lt;span id=&#34;decision&#34; data-td-print-local&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;p&gt;SOW 0.4.0 kept the native &lt;code&gt;filesystem&lt;/code&gt; and &lt;code&gt;r2&lt;/code&gt; publication backends. An earlier proposal&#xA;used rclone and added remote audit and preview commands. The native design was selected&#xA;because SOW needs to track each conditional write and its result.&lt;/p&gt;&#xA;&lt;p&gt;Current command syntax is in &lt;a href=&#34;https://sow.pgsty.com/docs/command/publish/&#34;&gt;&lt;code&gt;sow publish&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;why-the-executor-proposal-was-not-adopted&#34; data-td-print-local&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;what-040-shipped&#34; data-td-print-local&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;why-keep-native-backends&#34;&gt;Why keep native backends&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;A publication plan binds each file to an expected SHA-256 and operation. The backend must&#xA;create immutable objects without overwriting existing content and update mutable pointers&#xA;conditionally. SOW records the result so it can resume after an interruption.&lt;/p&gt;</description>
      </item>
    <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>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/design/evolution/</guid>
        <description>&lt;p&gt;SOW moved from a Git-based distribution control plane in v0.1 to a repository engine in&#xA;v0.2. This article traces that change and the refinements through v0.6.0.&lt;/p&gt;&#xA;&lt;p&gt;The versions below refer to released Git tags, including &lt;a href=&#34;https://github.com/pgsty/sow/tree/v0.6.0&#34;&gt;v0.6.0&lt;/a&gt;.&#xA;Some archived plans used “v0.2” and&#xA;“v0.3” for development designs. In particular, the C2 layout with RPM hardlinks inside each&#xA;view was replaced before v0.2.0 shipped.&lt;/p&gt;&#xA;&lt;p&gt;Four articles cover the earlier work in detail:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://sow.pgsty.com/blog/design/v01-program/&#34;&gt;The Original v0.1 Program&lt;/a&gt; describes the initial scope and&#xA;why it became too broad.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://sow.pgsty.com/blog/design/v01-decisions/&#34;&gt;The v0.1 Decision Ledger&lt;/a&gt; records all 44 surviving ADRs&#xA;and how each decision changed.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://sow.pgsty.com/blog/design/v01-evidence/&#34;&gt;What v0.1 Actually Proved&lt;/a&gt; summarizes the 112 dated test&#xA;and review reports.&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://sow.pgsty.com/blog/design/v02-reset/&#34;&gt;The v0.2 Reset&lt;/a&gt; explains the Plain/Managed split and the&#xA;change from C2 to a single-payload layout.&lt;/li&gt;&#xA;&lt;/ul&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 class=&#34;wide expand td-table--wide&#34;&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Release&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Main changes&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Public layout&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 state, Routes, Edge authorization, cloud workflows, and Pigsty migration&lt;/td&gt;&#xA;      &lt;td&gt;Retired&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;v0.2&lt;/td&gt;&#xA;      &lt;td&gt;Plain/Managed modes, one package pool per Repository, metadata-only views, retained Generations, and target publication&lt;/td&gt;&#xA;      &lt;td&gt;Introduced the current &lt;code&gt;pool/ + dists/&lt;/code&gt; layout&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;v0.3&lt;/td&gt;&#xA;      &lt;td&gt;Removed V1, cached package facts, simplified Plain builds, and batched payload commits&lt;/td&gt;&#xA;      &lt;td&gt;Unchanged&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, target rebind, and migration/recovery fixes&lt;/td&gt;&#xA;      &lt;td&gt;Unchanged&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;v0.5&lt;/td&gt;&#xA;      &lt;td&gt;Package-path reservations, removal and recovery fixes, signing checks, and reproducible Plain timestamps&lt;/td&gt;&#xA;      &lt;td&gt;Unchanged&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;v0.6&lt;/td&gt;&#xA;      &lt;td&gt;Previous Plain RPM indexes, recorded Managed publication times, stronger file checks, consistent state reads, and less repeated I/O&lt;/td&gt;&#xA;      &lt;td&gt;Unchanged&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 source tags preserve the earlier implementations:&#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;,&#xA;&lt;a href=&#34;https://github.com/pgsty/sow/tree/v0.4.0&#34;&gt;v0.4.0&lt;/a&gt;, and&#xA;&lt;a href=&#34;https://github.com/pgsty/sow/tree/v0.5.0&#34;&gt;v0.5.0&lt;/a&gt;.&lt;/p&gt;</description>
      </item>
    <item>
        <title>SOW v0.3.0</title>
        <link>https://sow.pgsty.com/blog/release/sow-v0.3.0/</link>
        <pubDate>Mon, 10 Aug 2026 00:00:00 +0000</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/release/sow-v0.3.0/</guid>
        <description>&lt;p&gt;SOW 0.3.0 reduced repeated package reads and database queries. Plain generation uses one pass over package content. Managed builds cache parsed package data and commit new pool files in batches. This release also removed retired runtime and publication code.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;plain-one-package-content-pass&#34; data-td-print-local&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;plain-read-each-package-once&#34;&gt;Plain: read each package once&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;The default unsigned &lt;code&gt;sow create&lt;/code&gt; path hashes and parses each RPM or DEB once. &lt;code&gt;--jobs&lt;/code&gt; controls parallel work. SOW renders metadata from the parsed results, then checks that the package set and file attributes still match before writing the indexes.&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>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/design/principles/</guid>
        <description>&lt;p&gt;SOW separates package storage, repository builds, and publication. These principles explain&#xA;where each kind of state belongs and how operations use it.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;one-owner-for-every-durable-fact&#34; data-td-print-local&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;one-owner-for-each-record&#34;&gt;One owner for each record&#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;Record&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 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 membership 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;Generations and changesets&lt;/td&gt;&#xA;      &lt;td&gt;Repository&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Target bindings and revisions&lt;/td&gt;&#xA;      &lt;td&gt;Repository and target&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Publication attempts and checkpoints&lt;/td&gt;&#xA;      &lt;td&gt;Repository and target prefix&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Remote inventory and deletion records&lt;/td&gt;&#xA;      &lt;td&gt;Repository and 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;Each Repository stores its own copy of a package. Each publication target stores its own&#xA;copy too. This keeps package retention and deletion independent across repositories and targets.&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>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/design/model/</guid>
        <description>&lt;p&gt;SOW uses configuration for repository settings, SQLite for managed state, and a public&#xA;directory for client access. The model separates the packages you select from the files&#xA;that have been built and published.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;object-hierarchy&#34; data-td-print-local&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;objects&#34;&gt;Objects&#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;9&#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;│   ├── Pool: package objects&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;│   ├── Dists: package memberships and policies&#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 Generations&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;└── Publication targets&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    └── Repository + storage backend + 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 contains &lt;code&gt;sow.yml&lt;/code&gt;, the private &lt;code&gt;.sow/&lt;/code&gt; directory, and stable lock files.&#xA;It groups configuration and lets commands discover the selected Repository.&lt;/p&gt;</description>
      </item>
    <item>
        <title>Publication &amp; Recovery</title>
        <link>https://sow.pgsty.com/blog/design/publication/</link>
        <pubDate>Sat, 08 Aug 2026 00:00:00 +0000</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/design/publication/</guid>
        <description>&lt;p&gt;A build creates a local snapshot (Generation). Publication uploads its files to a target and records progress for recovery.&#xA;Each target keeps a checkpoint that identifies its last completed publication.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;ownership-split&#34; data-td-print-local&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;state-ownership&#34;&gt;State ownership&#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;Repository records&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Target records&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Packages, Desired state, and Built state&lt;/td&gt;&#xA;      &lt;td&gt;Publication attempts and checkpoints&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Generations and changesets&lt;/td&gt;&#xA;      &lt;td&gt;Remote inventory&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;Retained package and metadata references&lt;/td&gt;&#xA;      &lt;td&gt;Grace periods and deletion records&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;&lt;span id=&#34;publication-phases&#34; data-td-print-local&gt;&lt;/span&gt;&#xA;&lt;span id=&#34;pointer-order&#34; data-td-print-local&gt;&lt;/span&gt;&lt;/p&gt;</description>
      </item>
    <item>
        <title>SOW v0.2.0</title>
        <link>https://sow.pgsty.com/blog/release/sow-docs-launch/</link>
        <pubDate>Sat, 08 Aug 2026 00:00:00 +0000</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/release/sow-docs-launch/</guid>
        <description>&lt;p&gt;SOW 0.2.0 introduced Plain and Managed workflows for RPM and DEB repositories. It builds static package repositories with one Go executable on Linux or macOS.&lt;/p&gt;&#xA;&lt;p&gt;This page describes the 0.2.0 release. Use the &lt;a href=&#34;https://sow.pgsty.com/docs/&#34;&gt;current documentation&lt;/a&gt; for installation and operations today.&lt;/p&gt;&#xA;&lt;p&gt;&lt;span id=&#34;two-operating-modes&#34; data-td-print-local&gt;&lt;/span&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;build-a-flat-repository&#34;&gt;Build a flat repository&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Plain mode indexes RPM and DEB files at the top level of a directory:&lt;/p&gt;&#xA;&lt;div class=&#34;td-code td-code--untitled&#34; id=&#34;td-code-b4801182-fence-0&#34; data-td-code data-td-code-auto-id&#xA;     data-td-language=&#34;bash&#34; data-td-line-count=&#34;1&#34;&gt;&#xA;  &lt;div class=&#34;td-code__viewport&#34; id=&#34;td-code-b4801182-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 create /srv/repo&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;For RPMs, it writes &lt;code&gt;repodata/&lt;/code&gt;. For DEBs, it writes &lt;code&gt;Packages&lt;/code&gt; and &lt;code&gt;Packages.gz&lt;/code&gt;. A mixed directory gets both. Plain mode uses the directory contents as its state and needs no workspace or database.&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>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/design/single-payload/</guid>
        <description>&lt;p&gt;This decision was drafted on 2026-08-05 and shipped in SOW v0.2.0 on 2026-08-08.&#xA;SOW 0.6.0 still uses this layout. Each Repository stores one package tree and lets its&#xA;distribution views reference that tree.&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/                         # package files&#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;/           # RPM 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;The diagram shows an RPM view. APT indexes use &lt;code&gt;dists/&amp;lt;dist&amp;gt;/main/binary-&amp;lt;architecture&amp;gt;/&lt;/code&gt;;&#xA;its &lt;code&gt;Release&lt;/code&gt; files sit at &lt;code&gt;dists/&amp;lt;dist&amp;gt;/&lt;/code&gt;.&lt;/p&gt;</description>
      </item>
    <item>
        <title>What SOW v0.1 Actually Proved</title>
        <link>https://sow.pgsty.com/blog/design/v01-evidence/</link>
        <pubDate>Fri, 31 Jul 2026 00:00:00 +0000</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/design/v01-evidence/</guid>
        <description>&lt;p&gt;The v0.1 archive contains 112 dated reports from 2026-07-11 through July 31. They record&#xA;client tests, scale measurements, failure recovery, migration, and cloud-provider&#xA;experiments. This article summarizes the main results and links to representative reports.&lt;/p&gt;&#xA;&lt;p&gt;Each result belongs to the source revision, fixtures, clients, and environment recorded&#xA;in its report. Current compatibility is listed in the&#xA;&lt;a href=&#34;https://sow.pgsty.com/docs/reference/compatibility/&#34;&gt;compatibility reference&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;evidence-timeline&#34;&gt;Evidence timeline&#xA;&lt;/h2&gt;&#xA;&lt;div class=&#34;td-table-scroll td-table-scroll--static&#34;&gt;&#xA;&lt;table class=&#34;wide expand td-table--wide&#34;&gt;&#xA;  &lt;thead&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Window&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34; style=&#34;text-align: right&#34;&gt;Reports&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;What the work concentrated on&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;2026-07-11&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: right&#34;&gt;3&lt;/td&gt;&#xA;      &lt;td&gt;Real APT/DNF client baseline, 72,310-package manifest scan, 50k upstream streaming&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;2026-07-12&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: right&#34;&gt;35&lt;/td&gt;&#xA;      &lt;td&gt;APT/YUM protocol behavior, CAS/GC, publication ordering, recovery, MinIO, performance, migration, build/supply-chain gates, and cloud harness design&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;2026-07-13&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: right&#34;&gt;2&lt;/td&gt;&#xA;      &lt;td&gt;RPM trust closure and selected-set materialization recovery&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;2026-07-14–16&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: right&#34;&gt;14&lt;/td&gt;&#xA;      &lt;td&gt;Legacy topology, family migration, physical ownership, full-copy adoption, and package-signature inventory&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;2026-07-17–20&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: right&#34;&gt;39&lt;/td&gt;&#xA;      &lt;td&gt;Cloudflare/R2/COS/Edge safety, provider attestation, cutover receipts, configuration bounds, and checkpoint-fenced deletion&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;2026-07-22&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: right&#34;&gt;10&lt;/td&gt;&#xA;      &lt;td&gt;Descriptor/path identity across stage, apply, prune, rollback, and residue cleanup&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;2026-07-26–29&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: right&#34;&gt;7&lt;/td&gt;&#xA;      &lt;td&gt;Recursive durability, hostile-writer limits, replacement outcomes, preserved audits, and provider corrections&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;2026-07-30–31&lt;/td&gt;&#xA;      &lt;td style=&#34;text-align: right&#34;&gt;2&lt;/td&gt;&#xA;      &lt;td&gt;Clean-room APT/YUM/asset MVP and final legacy-source baseline&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;h2 id=&#34;what-had-strong-supporting-evidence&#34;&gt;What had strong supporting evidence&#xA;&lt;/h2&gt;&#xA;&lt;h3 id=&#34;real-package-clients-and-large-repositories&#34;&gt;Real package clients and large repositories&#xA;&lt;/h3&gt;&#xA;&lt;p&gt;The first evidence set used real APT and DNF clients rather than validating only generated&#xA;XML or text. It also measured scale explicitly:&lt;/p&gt;</description>
      </item>
    <item>
        <title>The v0.2 Reset: Plain and Managed Instead of a Universal Control Plane</title>
        <link>https://sow.pgsty.com/blog/design/v02-reset/</link>
        <pubDate>Fri, 31 Jul 2026 00:00:00 +0000</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/design/v02-reset/</guid>
        <description>&lt;p&gt;On 2026-07-31, after sealing the v0.1 source baseline, SOW began a product reset. The goal&#xA;was a small repository engine that could replace Pigsty&amp;rsquo;s daily package-build workflow.&#xA;It kept the earlier lessons about integrity and recovery while removing much of the&#xA;control plane.&lt;/p&gt;&#xA;&lt;p&gt;The result was the split still used today: &lt;strong&gt;Plain&lt;/strong&gt; rebuilds caller-owned directories;&#xA;&lt;strong&gt;Managed&lt;/strong&gt; maintains repositories and their history.&lt;/p&gt;&#xA;&lt;p&gt;The development design initially used C2 hardlinks inside RPM views. These were replaced&#xA;before the v0.2.0 release on August 8. Some archived plans called the C2 build “v0.2.0,” but&#xA;the released tag already had one canonical Pool and metadata-only views.&lt;/p&gt;</description>
      </item>
    <item>
        <title>SOW v0.1 Decision Ledger: What Survived and What Was Retired</title>
        <link>https://sow.pgsty.com/blog/design/v01-decisions/</link>
        <pubDate>Sun, 12 Jul 2026 00:00:00 +0000</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/design/v01-decisions/</guid>
        <description>&lt;p&gt;The v0.1.0 tag contains 44 architecture decision records (ADRs), numbered 0001 through&#xA;0045; 0006 is absent. Each ADR records a problem, the decision made at the time, and the&#xA;conditions that implementation had to meet. This table shows what happened to those&#xA;decisions after the repository model changed.&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;Fate&lt;/th&gt;&#xA;      &lt;th scope=&#34;col&#34;&gt;Meaning&lt;/th&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/thead&gt;&#xA;  &lt;tbody&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;strong&gt;Retained&lt;/strong&gt;&lt;/td&gt;&#xA;      &lt;td&gt;The principle remains in current SOW with substantially the same boundary.&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;strong&gt;Evolved&lt;/strong&gt;&lt;/td&gt;&#xA;      &lt;td&gt;The problem remains, but ownership or implementation changed.&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;strong&gt;Migration history&lt;/strong&gt;&lt;/td&gt;&#xA;      &lt;td&gt;The decision governed the Pigsty/V1 cutover.&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;    &lt;tr&gt;&#xA;      &lt;td&gt;&lt;strong&gt;Retired&lt;/strong&gt;&lt;/td&gt;&#xA;      &lt;td&gt;The decision belonged to the removed Git/CAS/Route/Edge model.&lt;/td&gt;&#xA;    &lt;/tr&gt;&#xA;  &lt;/tbody&gt;&#xA;&lt;/table&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;Decision dates run from 2026-07-11 through July 28. ADR-0035 also has amendments from&#xA;July 29 and July 31. Most early ADRs entered Git together on July 19, after implementation&#xA;had begun. ADR-0032 is summarized without a direct link because it names obsolete&#xA;infrastructure details.&lt;/p&gt;</description>
      </item>
    <item>
        <title>The Original SOW v0.1 Program: A Git for Package Repositories</title>
        <link>https://sow.pgsty.com/blog/design/v01-program/</link>
        <pubDate>Sat, 11 Jul 2026 00:00:00 +0000</pubDate>
        <dc:creator>Vonng</dc:creator>
        <guid>https://sow.pgsty.com/blog/design/v01-program/</guid>
        <description>&lt;p&gt;The v0.1 program began on 2026-07-11 and was sealed as v0.1.0 on July 31. It aimed to&#xA;replace Pigsty&amp;rsquo;s Makefile-and-rclone workflow with one Go control plane for APT, YUM, and&#xA;static assets. That control plane covered local state, package history, upstream sync,&#xA;channels, views, snapshots, two clouds, CDN behavior, commercial access control, and&#xA;migration.&lt;/p&gt;&#xA;&lt;p&gt;The guiding phrase was &lt;strong&gt;“Git for artifact repositories.”&lt;/strong&gt; Package distribution has&#xA;immutable content, mutable names, history, promotion, publication, and rollback. The&#xA;analogy helped describe those needs, but it also expanded the scope of the product.&#xA;The Git/CAS/Route/Edge model was later retired; the current model is described in&#xA;&lt;a href=&#34;https://sow.pgsty.com/blog/design/model/&#34;&gt;System Model&lt;/a&gt;.&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
