<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Supply Chain on Barn</title><link>https://barn.pgsty.com/v1.5/tags/supply-chain/</link><description>Recent content in Supply Chain on Barn</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Thu, 03 Dec 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://barn.pgsty.com/v1.5/tags/supply-chain/index.xml" rel="self" type="application/rss+xml"/><item><title>Self-hosted image repositories: one command to build, usable unsigned</title><link>https://barn.pgsty.com/v1.5/blog/design/self-hosted-repository/</link><pubDate>Fri, 27 Nov 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/self-hosted-repository/</guid><description>&lt;p&gt;Self-hosted image repositories are one of Barn&amp;rsquo;s core workflows: a user puts customized &lt;code&gt;qcow2&lt;/code&gt; images into a static directory, and teammates or other hosts reference them directly. This design reduces building a repository to one command, reduces using one to a single inventory field, and lets any repository the user explicitly selects work without a signature, like &lt;code&gt;gpgcheck=0&lt;/code&gt; in yum or &lt;code&gt;[trusted=yes]&lt;/code&gt; in apt.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Status (2026-11-27)&lt;/strong&gt;: implemented in commit &lt;code&gt;57a46ed&lt;/code&gt; on branch &lt;code&gt;claude/user-repo-design-review-1ae7c1&lt;/code&gt;, passing &lt;code&gt;make check&lt;/code&gt; and the end-to-end acceptance below; not yet merged into &lt;code&gt;main&lt;/code&gt; and not released. &lt;a href="https://barn.pgsty.com/v1.5/blog/design/self-hosted-repository/#current-state"&gt;Current state before the change&lt;/a&gt; is based on Barn &lt;code&gt;1.3.0&lt;/code&gt; and the &lt;code&gt;main&lt;/code&gt; of that time (&lt;code&gt;39befbe&lt;/code&gt;); &lt;a href="https://barn.pgsty.com/v1.5/blog/design/self-hosted-repository/#future-work"&gt;future work&lt;/a&gt; lists what this change leaves out.&lt;/p&gt;</description></item><item><title>November 2026 Image Refresh</title><link>https://barn.pgsty.com/v1.5/blog/design/image-refresh-20261121/</link><pubDate>Sat, 21 Nov 2026 22:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/image-refresh-20261121/</guid><description>&lt;p&gt;This record follows the 2026-11-21 refresh of Barn&amp;rsquo;s Linux image repository. Published catalog &lt;code&gt;2026112101&lt;/code&gt; updates six families on both &lt;code&gt;amd64&lt;/code&gt; and &lt;code&gt;arm64&lt;/code&gt;; all twelve artifacts passed native acceptance. The embedded catalog on &lt;code&gt;main&lt;/code&gt; is synchronized. Barn 1.2.0 still embeds &lt;code&gt;2026110502&lt;/code&gt;; run &lt;code&gt;barn update&lt;/code&gt; to activate the new catalog.&lt;/p&gt;&#10;&lt;h2 id="upstream-comparison"&gt;Upstream comparison&#10;&lt;/h2&gt;&#10;&lt;p&gt;The comparison uses the same cloud image class and architecture as the existing catalog. The upstream directories and checksum files were checked on 2026-11-21; source downloads were verified before customization.&lt;/p&gt;</description></item><item><title>From Upstream Images to a Signed Catalog</title><link>https://barn.pgsty.com/v1.5/blog/design/image-update-evidence/</link><pubDate>Sun, 08 Nov 2026 10:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/image-update-evidence/</guid><description>&lt;p&gt;An image audit answers a narrower question than an image release. It can find a newer upstream file, but Barn may add that file to its signed catalog only after the artifact, runtime profile, and boot path have all been verified. The &lt;a href="https://barn.pgsty.com/v1.5/docs/reference/images/"&gt;image reference&lt;/a&gt; describes the user-facing catalog; this essay records the reasoning that keeps catalog updates reproducible.&lt;/p&gt;&#10;&lt;h2 id="four-meanings"&gt;Four meanings of “new”&#10;&lt;/h2&gt;&#10;&lt;p&gt;Image work becomes error-prone when four independent version values are treated as one:&lt;/p&gt;</description></item><item><title>Farrow 0.5.0: explicit disposal, explicit repositories, reproducible images</title><link>https://barn.pgsty.com/v1.5/release/0.5.0/</link><pubDate>Thu, 03 Sep 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/release/0.5.0/</guid><description>&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Note&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;This version shipped as Farrow. Its download assets have been retired. See the &lt;a href="https://github.com/pgsty/barn/blob/v0.5.0/.github/releases/0.5.0.md"&gt;original tagged release notes&lt;/a&gt; or &lt;a href="https://barn.pgsty.com/v1.5/docs/start/installation/"&gt;install the current Barn release&lt;/a&gt;. Official mirror failover arrived in 0.7.0. Version 0.9.0 removed the &lt;code&gt;rm&lt;/code&gt; alias.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;Farrow 0.5.0 adds an explicit command to dispose of an entire lab at once, lets operators choose between the global and China Mainland image repositories, and introduces a reproducible build pipeline for normalized official guest images while keeping the Pigsty inventory contract, deployment state format, and embedded catalog revision &lt;code&gt;2026082903&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Farrow 0.2.0: selected convergence and release integrity</title><link>https://barn.pgsty.com/v1.5/release/0.2.0/</link><pubDate>Tue, 01 Sep 2026 00:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/release/0.2.0/</guid><description>&lt;div class="td-callout td-callout--note" role="note"&gt;&#10; &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-circle-info" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Note&lt;/span&gt;&lt;/div&gt;&#10; &lt;div class="td-callout__body"&gt;&#10;&lt;p&gt;This version shipped as Farrow. Its download assets have been retired. See the &lt;a href="https://github.com/pgsty/barn/blob/v0.2.0/.github/releases/0.2.0.md"&gt;original tagged release notes&lt;/a&gt; or &lt;a href="https://barn.pgsty.com/v1.5/docs/start/installation/"&gt;install the current Barn release&lt;/a&gt;.&lt;/p&gt;&#10; &lt;/div&gt;&#10;&lt;/div&gt;&lt;p&gt;Farrow 0.2.0 keeps the Pigsty inventory and on-disk deployment format introduced in 0.1.0 while fixing VPN route preflight false positives and selected-node convergence issues uncovered during native host testing.&lt;/p&gt;&#10;&lt;h2 id="what-changed"&gt;What changed&#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;VPN-aware route preflight.&lt;/strong&gt; Broad VPN exclusion routes such as &lt;code&gt;10.0.0.0/8&lt;/code&gt; no longer block Farrow&amp;rsquo;s more specific &lt;code&gt;10.10.10.0/24&lt;/code&gt; lab subnet. Equal or more-specific foreign routes, overlapping interfaces, occupied IP addresses, or a missing Farrow route still fail preflight before any VM starts.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;True selected-node scale-out.&lt;/strong&gt; &lt;code&gt;farrow up &amp;lt;node&amp;gt;&lt;/code&gt; downloads images and prepares disks only for the targeted node. Uncreated inventory peers appear as &lt;code&gt;absent&lt;/code&gt;, and SSH config, &lt;code&gt;/etc/hosts&lt;/code&gt;, guest provisioning, UUID/port allocation, lifecycle commands, and persistent-disk checks operate strictly on the committed node set while leaving the full inventory intact for later expansion.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Updated &lt;code&gt;/etc/hosts&lt;/code&gt; ownership markers.&lt;/strong&gt; Newly provisioned guests write &lt;code&gt;# farrow-deployment-host&lt;/code&gt; and clean up both that marker and the 0.1.0 &lt;code&gt;# farrow-project-host&lt;/code&gt; marker when refreshing host entries.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Operational polish.&lt;/strong&gt; Includes graceful command cancellation, structured JSON/YAML output, interactive confirmations, &lt;code&gt;farrow reload&lt;/code&gt;, diagnostic redaction, and a trimmed Go dependency graph.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="native-and-release-evidence"&gt;Native and release evidence&#10;&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;macOS &lt;code&gt;arm64&lt;/code&gt;/HVF (with MonoProxy active)&lt;/strong&gt;: verified selected &lt;code&gt;u24-1&lt;/code&gt; creation, SSH, &lt;code&gt;stop&lt;/code&gt;/&lt;code&gt;start&lt;/code&gt;, incremental cached &lt;code&gt;el9-1&lt;/code&gt; scale-out, two-node lateral SSH alongside five &lt;code&gt;absent&lt;/code&gt; peers, and full deployment &lt;code&gt;destroy&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Ubuntu 26.04 &lt;code&gt;amd64&lt;/code&gt;/KVM&lt;/strong&gt;: verified read-only inspection and control-node SSH against an existing four-node deployment.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;CI and packaging&lt;/strong&gt;: passed local &lt;code&gt;make check&lt;/code&gt;, source CI, and the release packaging workflow, producing four platform archives, &lt;code&gt;amd64&lt;/code&gt;/&lt;code&gt;arm64&lt;/code&gt; DEB and RPM packages, SPDX SBOMs, a Homebrew formula, &lt;code&gt;install.sh&lt;/code&gt;, SHA-256 checksums, and release metadata.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Image catalog&lt;/strong&gt;: embeds signed catalog revision &lt;code&gt;2026082903&lt;/code&gt; (9 families, 27 architecture artifacts), with &lt;code&gt;https://repo.pigsty.cc/farrow&lt;/code&gt; as the default repository in 0.2.0 and &lt;code&gt;https://repo.pgsty.com/farrow&lt;/code&gt; verified as an alternate endpoint.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="install-or-upgrade"&gt;Upgrades and historical packages&#10;&lt;/h2&gt;&#10;&lt;p&gt;0.1.0 deployment state remains directly readable; running &lt;code&gt;farrow status&lt;/code&gt; while existing VMs are up records any missing process birth timestamps, and existing guests adopt the new &lt;code&gt;/etc/hosts&lt;/code&gt; marker the next time they are recreated.&lt;/p&gt;</description></item><item><title>repo.yaml Is Intent; catalog.json Is Evidence</title><link>https://barn.pgsty.com/v1.5/blog/design/repo-yaml-catalog-json/</link><pubDate>Sat, 29 Aug 2026 19:00:00 +0800</pubDate><guid>https://barn.pgsty.com/v1.5/blog/design/repo-yaml-catalog-json/</guid><description>&lt;p&gt;This essay explains the Linux image repository contract in Barn &lt;code&gt;1.1.0&lt;/code&gt; (&lt;a href="https://barn.pgsty.com/v1.5/docs/start/macos/"&gt;macOS guests&lt;/a&gt; manage Apple &lt;code&gt;.ipsw&lt;/code&gt; restore images and APFS base images separately via &lt;code&gt;barn mac&lt;/code&gt;).&lt;/p&gt;&#10;&lt;p&gt;A static VM image repository needs two kinds of metadata: human policy decisions (which version is &lt;code&gt;:stable&lt;/code&gt;, which old releases are &lt;code&gt;deprecated&lt;/code&gt;, what aliases map to each family) and physical file facts (exact byte size, SHA-256 digest, &lt;code&gt;qcow2&lt;/code&gt; virtual disk size). Maintaining both in a single hand-edited JSON file invites copy-paste checksum errors and buries policy changes inside noisy diffs.&lt;/p&gt;</description></item></channel></rss>