<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>CLI on Barn</title>
    <link>https://barn.pgsty.com/zh/tags/cli/</link>
    <description>Recent content in CLI on Barn</description>
    <generator>Hugo</generator>
    <language>zh-CN</language>
    
    
    
      <lastBuildDate>Thu, 12 Nov 2026 00:00:00 +0800</lastBuildDate>
    
    
      <atom:link href="https://barn.pgsty.com/zh/tags/cli/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
        <title>Barn 1.2.0 发布准备与最终验收</title>
        <link>https://barn.pgsty.com/zh/blog/design/release-1-2-0-readiness/</link>
        <pubDate>Thu, 12 Nov 2026 00:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/zh/blog/design/release-1-2-0-readiness/</guid>
        <description>&lt;p&gt;&lt;strong&gt;状态，2026-11-12&lt;/strong&gt;：&lt;a href=&#34;https://github.com/pgsty/barn/releases/tag/v1.2.0&#34;&gt;Barn 1.2.0&lt;/a&gt; 已作为 stable/latest 发布。下方记录最终验收结果，候选版本章节保留早期审查及其原始范围。&lt;/p&gt;&#xA;&lt;h2 id=&#34;final-release&#34;&gt;最终发布&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;标签 &lt;code&gt;v1.2.0&lt;/code&gt; 指向 &lt;code&gt;90f615804b823b4eb491101e642073dcd37a9700&lt;/code&gt;。&lt;a href=&#34;https://github.com/pgsty/barn/actions/runs/43121333312&#34;&gt;源码/Mac CI&lt;/a&gt;与&lt;a href=&#34;https://github.com/pgsty/barn/actions/runs/43121333418&#34;&gt;完整打包 CI&lt;/a&gt;在打标签前通过同一提交。437 个已审查构建输入均与候选摘要清单一致；正式打包前再次通过签名镜像目录门禁。&lt;/p&gt;</description>
      </item>
    <item>
        <title>Barn 1.2.0：资源规格、根盘扩容与宿主域名</title>
        <link>https://barn.pgsty.com/zh/blog/release/1.2.0/</link>
        <pubDate>Thu, 12 Nov 2026 00:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/zh/blog/release/1.2.0/</guid>
        <description>&lt;p&gt;&lt;a href=&#34;https://github.com/pgsty/barn/releases/tag/v1.2.0&#34;&gt;Barn 1.2.0&lt;/a&gt; 于 &lt;strong&gt;2026-11-12&lt;/strong&gt; 发布，对应提交 &lt;a href=&#34;https://github.com/pgsty/barn/commit/90f615804b823b4eb491101e642073dcd37a9700&#34;&gt;&lt;code&gt;90f6158&lt;/code&gt;&lt;/a&gt;。本版本新增资源覆盖、可恢复的根盘扩容、可配置生命周期并发和清单 hosts 发布。双语&lt;a href=&#34;https://barn.pgsty.com/zh/docs/reference/commands/&#34;&gt;命令参考&lt;/a&gt;覆盖全部 57 个操作命令及其选项。&lt;/p&gt;&#xA;&lt;h2 id=&#34;upgrade-from-110&#34;&gt;从 1.1.0 升级&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;Linux 清单未指定 CPU/内存时，默认值由 2 vCPU / 4 GiB 改为 &lt;strong&gt;1 vCPU / 2 GiB&lt;/strong&gt;，已有清单也受此影响。如需保留旧默认值，请在 &lt;code&gt;all.vars&lt;/code&gt; 中显式设置 &lt;code&gt;vm_cpu: 2&lt;/code&gt;、&lt;code&gt;vm_mem: 4GiB&lt;/code&gt;，保留各节点覆盖值，并在应用变更前检查 &lt;code&gt;barn plan&lt;/code&gt;。已应用 VM 的资源会保留到显式执行资源变更操作为止。根盘与数据盘默认值仍为 64 GiB 和 128 GiB。&lt;/p&gt;</description>
      </item>
    <item>
        <title>根盘原地扩容：恢复协议与真机验收</title>
        <link>https://barn.pgsty.com/zh/blog/design/root-disk-growth/</link>
        <pubDate>Wed, 11 Nov 2026 00:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/zh/blog/design/root-disk-growth/</guid>
        <description>&lt;p&gt;&lt;strong&gt;状态（2026-11-11）&lt;/strong&gt;：未发布开发版本已实现 &lt;code&gt;barn resize -D&lt;/code&gt;，并在 macOS/arm64 的 QEMU/HVF 客机上完成 ext4 与 XFS 验收。已发布 1.1.0 的 resize 仍只修改 CPU/内存。参数优先级见 &lt;a href=&#34;../vm-resource-overrides/&#34;&gt;VM 规格设计&lt;/a&gt;，命令契约见 &lt;a href=&#34;https://barn.pgsty.com/zh/docs/reference/cli/#root-disk-growth&#34;&gt;根盘扩容&lt;/a&gt;。&lt;/p&gt;</description>
      </item>
    <item>
        <title>VM 规格参数统一设计：命令、短参数、环境变量与根盘</title>
        <link>https://barn.pgsty.com/zh/blog/design/vm-resource-overrides/</link>
        <pubDate>Wed, 11 Nov 2026 00:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/zh/blog/design/vm-resource-overrides/</guid>
        <description>&lt;p&gt;镜像、架构、CPU、内存、倍数和根盘组成同一组 &lt;strong&gt;VM 规格输入&lt;/strong&gt;，统一名称、取值规则与来源追踪。命令声明自己接收哪些规格，以及允许应用哪些变更；解析过程只实现一份。&lt;/p&gt;</description>
      </item>
    <item>
        <title>Main 与命令参考核对记录</title>
        <link>https://barn.pgsty.com/zh/blog/design/main-reference-review/</link>
        <pubDate>Wed, 11 Nov 2026 00:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/zh/blog/design/main-reference-review/</guid>
        <description>&lt;p&gt;&lt;strong&gt;核对日期：2026-11-11。&lt;/strong&gt; 两个仓库都在 &lt;code&gt;main&lt;/code&gt;，但工作区均不干净，也未与拉取后的远端分支一致。源码检查在本次工作区上通过；文档已补齐&lt;a href=&#34;https://barn.pgsty.com/zh/docs/reference/commands/&#34;&gt;完整命令参考&lt;/a&gt;，逐项区分稳定版、本地 main 和未提交功能。&lt;/p&gt;</description>
      </item>
    <item>
        <title>Barn 1.1.0：镜像选择与实时进度</title>
        <link>https://barn.pgsty.com/zh/blog/release/1.1.0/</link>
        <pubDate>Mon, 09 Nov 2026 00:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/zh/blog/release/1.1.0/</guid>
        <description>&lt;p&gt;&lt;strong&gt;发布于 2026-11-09。&lt;/strong&gt; Barn 1.1.0 新增镜像与客机架构覆盖参数，统一实时进度表，并改进 CPU 与内存调整的恢复能力。内置签名镜像目录仍为 &lt;code&gt;2026110502&lt;/code&gt;，涵盖 9 个发行版系列、17 个架构制品；默认镜像仍是宿主原生架构的 Ubuntu 24.04。&lt;/p&gt;</description>
      </item>
    <item>
        <title>Barn 1.0.0：首个稳定版</title>
        <link>https://barn.pgsty.com/zh/blog/release/1.0.0/</link>
        <pubDate>Thu, 05 Nov 2026 00:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/zh/blog/release/1.0.0/</guid>
        <description>&lt;p&gt;&lt;strong&gt;发布日期：2026-11-05。&lt;/strong&gt; Barn 1.0.0 是首个稳定版。最新稳定版请参见 &lt;strong&gt;&lt;a href=&#34;../1.1.0/&#34;&gt;Barn 1.1.0&lt;/a&gt;&lt;/strong&gt;。&lt;/p&gt;&#xA;&lt;p&gt;Barn 1.0.0 完成了发布前对破坏性操作、数据盘恢复、目录完整性与进程取消的审计。本版内置签名镜像目录 revision &lt;code&gt;2026110502&lt;/code&gt;，其中 Debian 13 的 amd64 与 arm64 镜像均更新为 &lt;code&gt;20261103.2651.1&lt;/code&gt;。&lt;/p&gt;</description>
      </item>
    <item>
        <title>保留契约，演进 CLI</title>
        <link>https://barn.pgsty.com/zh/blog/design/cli-contracts/</link>
        <pubDate>Wed, 04 Nov 2026 10:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/zh/blog/design/cli-contracts/</guid>
        <description>&lt;p&gt;Barn 已经使用 Cobra。2026-11-04 CLI 提案最值得保留的部分，是对命令语法、应用编排与外部行为的拆分。本文结合 2026-11-09 发布的 &lt;code&gt;v1.1.0&lt;/code&gt; 源码整理这些设计；包结构拆分与较大范围的命令重组仍是提案，当前用法见 &lt;a href=&#34;https://barn.pgsty.com/zh/docs/reference/cli/&#34;&gt;CLI 参考&lt;/a&gt;。&lt;/p&gt;</description>
      </item>
    <item>
        <title>Barn 0.9.3：安全扩容、按节点应用与中断恢复</title>
        <link>https://barn.pgsty.com/zh/blog/release/0.9.3/</link>
        <pubDate>Sat, 31 Oct 2026 00:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/zh/blog/release/0.9.3/</guid>
        <description>&lt;p&gt;&lt;strong&gt;发布日期：2026-10-31。&lt;/strong&gt; Barn 0.x 版本继续使用 GitHub 预发布频道。最新版本请参见 &lt;strong&gt;&lt;a href=&#34;../1.1.0/&#34;&gt;Barn 1.1.0&lt;/a&gt;&lt;/strong&gt;。&lt;/p&gt;&#xA;&lt;p&gt;Barn 0.9.3 聚焦于更安全的本地实验环境变更：新增只调整资源的虚拟机扩容，支持按节点独立收敛，接受清单与共享目录的普通用户路径形式，并让中断的生命周期操作可以安全恢复。&lt;/p&gt;</description>
      </item>
    <item>
        <title>Barn 0.9.2：签名公证的 Barn.app 与 SSH/exec 参数规范</title>
        <link>https://barn.pgsty.com/zh/blog/release/0.9.2/</link>
        <pubDate>Fri, 30 Oct 2026 00:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/zh/blog/release/0.9.2/</guid>
        <description>&lt;p&gt;&lt;strong&gt;发布日期：2026-10-30。&lt;/strong&gt; Barn 0.x 版本通过 GitHub 预发布渠道分发。&lt;/p&gt;&#xA;&lt;p&gt;Barn 0.9.2 将完整的 macOS 原生客机组件纳入 Apple Silicon 下载包与 Homebrew 安装。安装一个软件包即可创建 Linux 和 macOS 虚拟机，无需安装 Go 或 Xcode。&lt;/p&gt;</description>
      </item>
    <item>
        <title>Barn 0.4.0：一条命令、能用的数据盘、统一的输出</title>
        <link>https://barn.pgsty.com/zh/blog/release/0.4.0/</link>
        <pubDate>Wed, 02 Sep 2026 18:00:00 +0800</pubDate>
        
        <guid>https://barn.pgsty.com/zh/blog/release/0.4.0/</guid>
        <description>&lt;div class=&#34;td-callout td-callout--note&#34; role=&#34;note&#34;&gt;&#xA;  &lt;div class=&#34;td-callout__title&#34;&gt;&lt;i class=&#34;td-callout__icon fa-solid fa-circle-info&#34; aria-hidden=&#34;true&#34;&gt;&lt;/i&gt;&lt;span class=&#34;td-callout__label&#34;&gt;说明&lt;/span&gt;&lt;/div&gt;&#xA;  &lt;div class=&#34;td-callout__body&#34;&gt;&#xA;&lt;p&gt;本文为 &lt;code&gt;0.4.0&lt;/code&gt; 历史发布记录。旧版发行附件已下线，安装当前版本请参见&lt;a href=&#34;https://barn.pgsty.com/zh/docs/start/installation/&#34;&gt;安装指南&lt;/a&gt;。&lt;/p&gt;&#xA;  &lt;/div&gt;&#xA;&lt;/div&gt;&lt;p&gt;Barn 0.4.0 将首次使用收敛为一条命令，修复了 Debian 与 Ubuntu 镜像上默认数据盘因缺少 &lt;code&gt;xfsprogs&lt;/code&gt; 无法格式化的问题，并统一了全套 CLI 的输出风格；Pigsty 清单格式、固定 IP 部署模型、状态目录结构与内置镜像目录修订版 &lt;code&gt;2026082903&lt;/code&gt; 保持不变。&lt;/p&gt;</description>
      </item>
    
  </channel>
</rss>
