From 1b94f42fcee943d05678333ecf4ad6741ca7a837 Mon Sep 17 00:00:00 2001 From: Feng Ruohang Date: Sun, 18 Oct 2026 22:25:44 +0800 Subject: [PATCH 1/2] chore: align OINK v1.3.2 and Hugo 0.168 build policy Use the public theme pin and keep warnings visible. Preserve unrelated work. --- .github/workflows/pages.yaml | 2 +- AGENTS.md | 7 +++++++ Makefile | 2 +- README.md | 14 ++++++++------ go.mod | 2 +- go.sum | 2 ++ hugo.yaml | 2 +- 7 files changed, 21 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index 23da31a..97965ac 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -22,7 +22,7 @@ jobs: contents: read pages: read env: - HUGO_VERSION: 0.166.0 + HUGO_VERSION: "0.168.0" steps: - name: Checkout uses: actions/checkout@v7 diff --git a/AGENTS.md b/AGENTS.md index ed8ef5b..132c9e1 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,5 +1,12 @@ # 项目代理说明 +## OINK build baseline + +As of 2026-10-18, this site uses OINK v1.3.2 and Hugo Extended 0.168.0. +Keep CI and local builds on this baseline. Do not enable `--panicOnWarning` +or `HUGO_PANICONWARNING`; keep warnings visible and review them. The upstream +LibSass deprecation warning is accepted. No external Sass compiler is required. + ## Git 内容与大文件规则 用户于 2026-10-10 明确的通用仓库规则: diff --git a/Makefile b/Makefile index 62c0b42..676e032 100644 --- a/Makefile +++ b/Makefile @@ -29,5 +29,5 @@ build: check: python3 bin/check_markdown.py README.md archetypes content GOWORK=off go mod verify - HUGO_MODULE_WORKSPACE=off $(HUGO) build --gc --minify --cleanDestinationDir --printPathWarnings --printI18nWarnings --panicOnWarning + HUGO_MODULE_WORKSPACE=off $(HUGO) build --gc --minify --cleanDestinationDir --printPathWarnings --printI18nWarnings python3 bin/check_internal_links.py public diff --git a/README.md b/README.md index d99d0ce..1dd4c2a 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ OINK or Docsy templates into this repository. ## Theme dependency -OINK 1.3.0 is imported as a Hugo Module in `hugo.yaml` and pinned in `go.mod`. The homepage is +OINK 1.3.2 is imported as a Hugo Module in `hugo.yaml` and pinned in `go.mod`. The homepage is composed by OINK from bilingual data. Docs and blog pages also render through the theme; the site keeps only product-specific data and templates. @@ -62,7 +62,9 @@ make d ## Local development -Install Hugo Extended 0.166.0, Go 1.27.0 or newer, and Git for the strict local checks. +Install Hugo Extended 0.168.0, Go 1.27.0 or newer, and Git for the strict local checks. + + Start the local server with: ```bash @@ -75,14 +77,14 @@ Build the static site with: make b ``` -Run the module verification and warning-strict production build with: +Run the module verification and production build with: ```bash make c ``` -GitHub Actions pins Hugo Extended 0.166.0 for warning-strict checks. -OINK 1.3 uses LibSass. Hugo 0.168.0 still builds the site, but its LibSass warning fails `make check`. +GitHub Actions follows stable Go releases and pins Hugo Extended 0.168.0 +for production builds. SCSS uses Hugo’s built-in compiler. The corresponding long targets are `debug`, `serve`, `build`, and `check`; `make dev` uses the sibling OINK checkout while `make serve` retains the pinned-theme preview. Do not run `go mod tidy`: OINK is a Hugo @@ -93,7 +95,7 @@ runtimes with the theme, so this repository has no Node.js or CDN build dependen ## Cloudflare Pages -Set `HUGO_VERSION=0.168.0` in both the Production and Preview environments of +Set `HUGO_VERSION=0.166.0` in both the Production and Preview environments of the `sow-pgsty-com` Pages project. The build command is `hugo`, and the output directory is `public`. This build reports the LibSass warning described above. diff --git a/go.mod b/go.mod index c2c67d5..a3ed73c 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,4 @@ module github.com/pgsty/sow.pgsty.com go 1.27.0 -require github.com/pgsty/oink v1.3.0 +require github.com/pgsty/oink v1.3.2 diff --git a/go.sum b/go.sum index dc57453..a64a330 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,4 @@ github.com/pgsty/oink v1.3.0 h1:ad9iaKA5VKRDBDmBkZPkPIEvde9WaMdJSO7/YAKoY44= github.com/pgsty/oink v1.3.0/go.mod h1:pHvbUhJCfseB41n5RGwsF7abT3i32VSTpofLQoq4b7Y= +github.com/pgsty/oink v1.3.2 h1:o/PApIwNx4ZkDtyJfLGhhKKYKy/f8DzNDjSzZ0ckzdc= +github.com/pgsty/oink v1.3.2/go.mod h1:pHvbUhJCfseB41n5RGwsF7abT3i32VSTpofLQoq4b7Y= diff --git a/hugo.yaml b/hugo.yaml index 14a198a..834b66f 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -28,7 +28,7 @@ module: proxy: direct hugoVersion: extended: true - min: "0.166.0" + min: "0.168.0" imports: - path: github.com/pgsty/oink From d648146382b18863daa2b73d9710b30aeb1f9f4c Mon Sep 17 00:00:00 2001 From: Feng Ruohang Date: Thu, 22 Oct 2026 20:51:39 +0800 Subject: [PATCH 2/2] docs: publish SOW 0.6.1 release notes and downloads --- .github/workflows/pages.yaml | 12 ++-- README.md | 9 ++- assets/release/sow-checksums.txt | 16 ++--- content/_index.md | 2 +- content/_index.zh.md | 2 +- content/blog/release/_index.md | 5 +- content/blog/release/_index.zh.md | 4 +- content/blog/release/sow-v0.6.1.md | 75 ++++++++++++++++++++ content/blog/release/sow-v0.6.1.zh.md | 75 ++++++++++++++++++++ content/docs/_index.md | 4 +- content/docs/_index.zh.md | 4 +- content/docs/command/create.md | 2 +- content/docs/command/create.zh.md | 2 +- content/docs/command/repo.md | 6 +- content/docs/command/repo.zh.md | 6 +- content/docs/feature/managed.md | 2 +- content/docs/feature/managed.zh.md | 2 +- content/docs/reference/compatibility.md | 2 +- content/docs/reference/compatibility.zh.md | 2 +- content/docs/reference/layout.md | 2 +- content/docs/reference/layout.zh.md | 2 +- content/docs/reference/troubleshooting.md | 4 +- content/docs/reference/troubleshooting.zh.md | 4 +- content/docs/start/install.md | 28 ++++---- content/docs/start/install.zh.md | 28 ++++---- content/docs/tutorial/yum-migration.md | 6 +- content/docs/tutorial/yum-migration.zh.md | 6 +- content/download.md | 2 +- content/download.zh.md | 2 +- data/download/sow.yaml | 4 +- data/home/en.yaml | 6 +- data/home/zh.yaml | 6 +- data/landing/download/en.yaml | 4 +- data/landing/download/zh.yaml | 4 +- go.mod | 2 +- go.sum | 2 - hugo.yaml | 2 +- 37 files changed, 249 insertions(+), 97 deletions(-) create mode 100644 content/blog/release/sow-v0.6.1.md create mode 100644 content/blog/release/sow-v0.6.1.zh.md diff --git a/.github/workflows/pages.yaml b/.github/workflows/pages.yaml index 97965ac..0723da5 100644 --- a/.github/workflows/pages.yaml +++ b/.github/workflows/pages.yaml @@ -32,13 +32,15 @@ jobs: - name: Setup Go uses: actions/setup-go@v7 with: - go-version-file: go.mod + go-version: 1.27.3 + check-latest: true cache: true - - name: Setup Hugo - run: | - wget -q -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ - && sudo dpkg -i ${{ runner.temp }}/hugo.deb + - name: Install Hugo Extended + uses: peaceiris/actions-hugo@v3 + with: + hugo-version: ${{ env.HUGO_VERSION }} + extended: true - name: Configure GitHub Pages if: github.ref == 'refs/heads/main' diff --git a/README.md b/README.md index 1dd4c2a..65adbeb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # SOW Docs -This repository contains the bilingual docs for **SOW 0.6.0**, the self-contained +This repository contains the bilingual docs for **SOW 0.6.1**, the self-contained APT / YUM package repository manager by [Pigsty](https://pigsty.io). It uses [Hugo](https://gohugo.io/) and the [OINK](https://github.com/pgsty/oink) docs theme, with English at `/` and Simplified Chinese at `/zh/`. @@ -62,8 +62,7 @@ make d ## Local development -Install Hugo Extended 0.168.0, Go 1.27.0 or newer, and Git for the strict local checks. - +Install Hugo Extended 0.168.0, Go 1.27.3 or newer, and Git for the local checks. Start the local server with: @@ -95,9 +94,9 @@ runtimes with the theme, so this repository has no Node.js or CDN build dependen ## Cloudflare Pages -Set `HUGO_VERSION=0.166.0` in both the Production and Preview environments of +Set `HUGO_VERSION=0.168.0` in both the Production and Preview environments of the `sow-pgsty-com` Pages project. The build command is `hugo`, and the output -directory is `public`. This build reports the LibSass warning described above. +directory is `public`. No external Sass installation is required. The `hugoVersion.min` setting in `hugo.yaml` declares the required version; it does not install that version in Cloudflare. Without the environment variable, diff --git a/assets/release/sow-checksums.txt b/assets/release/sow-checksums.txt index f7eaf4a..2ce19f7 100644 --- a/assets/release/sow-checksums.txt +++ b/assets/release/sow-checksums.txt @@ -1,8 +1,8 @@ -222eb2ddef6cd6065c5b7f588497d72d1643de80df05a77a08d0e8d91e188b93 sow-0.6.0-1PGSTY.aarch64.rpm -7a5bc295885b568ad9f659b270bfefcdbd43fa46d105dfde63047e2677c21477 sow-0.6.0-1PGSTY.x86_64.rpm -d78036025e58b1c8b2ad71334e77cf6e2be74551db4a1550cb17fd18f5fc8e55 sow_0.6.0-1PGSTY_amd64.deb -e47ea4c18d158a245a8598bf574c57f75c46aff8e760fd10f5f8bc6cc0a6f650 sow_0.6.0-1PGSTY_arm64.deb -055eef30f7096871b3e7c8c914a9b20162c06e0d07bb115a37bcee235754c600 sow_0.6.0_darwin_amd64.tar.gz -8d46722fa2f97dafb3f219f94d2e4f2faf781b314463dff0967970cebc7aa541 sow_0.6.0_darwin_arm64.tar.gz -e30e872d1d044f8e538a1152800302cf6fab7780f28e2522b18a7e3a2d97a350 sow_0.6.0_linux_amd64.tar.gz -23a695c1d13b908cf4482665e6cf24efc6507056827f700f4819300da05076c0 sow_0.6.0_linux_arm64.tar.gz +12fc74b36235e4cc5d738d73d4aa4bb1bab096478effad09b5f53f85434c0334 sow-0.6.1-1PGSTY.aarch64.rpm +4a88084254c8857c615f968c986ae9f064a06b4e197068c393365c3a16280ffd sow-0.6.1-1PGSTY.x86_64.rpm +61811ed4fbc01e45b4e3cf02b442133273e47488dff4305b3554c87ce7980db5 sow_0.6.1-1PGSTY_amd64.deb +8153e1868e21f3e0be6eb95a003e55e391bd6458e87d0a80b194d660393c77cf sow_0.6.1-1PGSTY_arm64.deb +f0f092220d629285d64d0cb6defca0a9397e627855b252886a969f9fc1e78502 sow_0.6.1_darwin_amd64.tar.gz +4a0e35d91d93d571883762a24f040f088c39c855b73e5db80fc92e1c03226415 sow_0.6.1_darwin_arm64.tar.gz +8b173bf91d37501f4174b17f051d63bf6e078ccced6bce188d58f6ae5f385a6b sow_0.6.1_linux_amd64.tar.gz +7553097c20d3e6b9c8943666e14506fd4f68ecef5d9985143a24066abb454815 sow_0.6.1_linux_arm64.tar.gz diff --git a/content/_index.md b/content/_index.md index 24e8ac5..f123ff0 100644 --- a/content/_index.md +++ b/content/_index.md @@ -1,6 +1,6 @@ --- title: "SOW: Software Object Warehouse" -description: "SOW 0.6.0 builds YUM and APT indexes from local packages. Start with a flat repository, or manage package policy, signing, snapshots, and incremental publication." +description: "SOW 0.6.1 builds YUM and APT indexes from local packages. Start with a flat repository, or manage package policy, signing, snapshots, and incremental publication." url: "/" weight: 1 type: home diff --git a/content/_index.zh.md b/content/_index.zh.md index 60d8b58..f952508 100644 --- a/content/_index.zh.md +++ b/content/_index.zh.md @@ -1,6 +1,6 @@ --- title: "SOW:Software Object Warehouse" -description: "SOW 0.6.0 从本地软件包生成 YUM 与 APT 索引。可直接创建平面仓库,也可托管软件包策略、签名、快照与增量发布。" +description: "SOW 0.6.1 从本地软件包生成 YUM 与 APT 索引。可直接创建平面仓库,也可托管软件包策略、签名、快照与增量发布。" url: "/zh/" weight: 1 type: home diff --git a/content/blog/release/_index.md b/content/blog/release/_index.md index cb893ce..313098d 100644 --- a/content/blog/release/_index.md +++ b/content/blog/release/_index.md @@ -22,6 +22,5 @@ cascade: Read the changes and upgrade steps for each SOW release, with the newest version first. -[SOW 0.6.0](/blog/release/sow-v0.6.0/) keeps previous Plain RPM indexes and records Managed publication times. -It strengthens file verification and recovery while reducing repeated I/O. -Workspaces already on 0.5.0 need no schema migration. See the [upgrade guide](/docs/start/install/#upgrade-to-060). +[SOW 0.6.1](/blog/release/sow-v0.6.1/) updates Go to 1.27.3, refreshes dependencies, and improves invalid-input diagnostics. +Workspaces already on 0.5.0 or 0.6.0 need no schema migration. See the [upgrade guide](/docs/start/install/#upgrade-to-061). diff --git a/content/blog/release/_index.zh.md b/content/blog/release/_index.zh.md index 3c8453d..31e4366 100644 --- a/content/blog/release/_index.zh.md +++ b/content/blog/release/_index.zh.md @@ -22,5 +22,5 @@ cascade: 查看各版 SOW 的变化和升级步骤,版本按从新到旧排列。 -[SOW 0.6.0](/zh/blog/release/sow-v0.6.0/) 保留上一轮 Plain RPM 索引,并记录 Managed 发布时间。 -它强化文件校验与恢复,减少重复 I/O。已使用 0.5.0 的工作区无需迁移数据库,详见[升级说明](/zh/docs/start/install/#升级到-060)。 +[SOW 0.6.1](/zh/blog/release/sow-v0.6.1/) 升级到 Go 1.27.3,更新依赖,并修复无效输入的错误信息。 +已使用 0.5.0 或 0.6.0 的工作区无需迁移数据库,详见[升级说明](/zh/docs/start/install/#升级到-061)。 diff --git a/content/blog/release/sow-v0.6.1.md b/content/blog/release/sow-v0.6.1.md new file mode 100644 index 0000000..88b62aa --- /dev/null +++ b/content/blog/release/sow-v0.6.1.md @@ -0,0 +1,75 @@ +--- +title: "SOW v0.6.1" +linkTitle: "SOW v0.6.1" +date: 2026-10-22T20:30:00+08:00 +lastmod: 2026-10-22 +authors: [Vonng] +description: "SOW 0.6.1 updates Go to 1.27.3, refreshes dependencies, and fixes invalid-input diagnostics without changing workspace formats." +categories: [Release] +tags: [release, maintenance, dependencies] +weight: -30 +url: "/blog/release/sow-v0.6.1/" +--- + +SOW 0.6.1 is a maintenance release with updated dependencies and clearer error messages. +It keeps the CLI, database schema **v13**, configuration **sow/v3**, and public repository layout. +Workspaces already on 0.5.0 or 0.6.0 need no schema migration. + +Get the packages and archives from the [download page](/download/), with checksums from the +[v0.6.1 release](https://github.com/pgsty/sow/releases/tag/v0.6.1). + +## Toolchain and dependencies + +Source builds now require **Go 1.27.3 or newer**. All release binaries were built with Go 1.27.3. +The release updates the libraries used for encryption, S3 access, compression, SQLite, and Debian package parsing. + +| Dependency | Version | +|---|---| +| ProtonMail go-crypto | 1.5.2 | +| AWS SDK for Go / S3 | 1.47.3 / 1.114.4 | +| klauspost/compress | 1.20.3 | +| modernc SQLite / libc | 1.61.0 / 1.79.0 | +| pault.ag/go/debian | 0.21.1 | +| go.yaml.in/yaml/v3 | 3.0.5 | +| golang.org/x/crypto / x/sys | 0.58.0 / 0.49.0 | + +YAML parsing moves to the module maintained by the YAML organization. Existing `sow.yml` files use the same format. +The RPM parser retains its existing local security patches. +Updated third-party notices ship with every archive and Linux package. + +## Maintenance fixes + +- Invalid paths and OpenPGP armor now produce useful diagnostics instead of `%!w()`. + The fixes cover log export, RPM metadata generation, signature validation, and workspace checks. + The same invalid inputs remain rejected. +- CI snapshot packages read their version from the Makefile, removing a hard-coded version. + Release tools and GitHub Actions are updated, including GoReleaser 2.18.3, deadcode 0.52.0, and govulncheck 1.9.0. + +## Upgrade + +Stop workspace writers and back up the complete workspace before replacing the executable. +Install 0.6.1, then build and check each Repository: + +```bash +sow version +sow build -r REPOSITORY -C /srv/sow +sow check -r REPOSITORY -C /srv/sow +``` + +Replace `REPOSITORY` with a name from `sow.yml`. An unchanged repository reports a no-op build and keeps its Generation and timestamps. +See the [installation guide](/docs/start/install/#upgrade-to-061) for package commands and migration from 0.3 or 0.4. + +Release validation covered package tests, race checks, APT/DNF clients, S3-compatible transport, and 50,000-package RPM metadata generation. +Upgrade and rollback checks used RPM/DEB workspaces created by the published 0.6.0 binary, operated by 0.6.1, then reopened by 0.6.0. + +## Vulnerability scan result + +Source analysis and a control build with symbols found no affected symbols or imported packages. +[GO-2026-5932](https://pkg.go.dev/vuln/GO-2026-5932) concerns the unused legacy `golang.org/x/crypto/openpgp` package. +SOW uses the maintained ProtonMail fork; the legacy package is absent from all four release-target import graphs. + +Release binaries have their symbol tables removed. For these binaries, `govulncheck -mode=binary` falls back to module-level precision and reports that notice. +This explains why its binary scan differs from the source scan. + +The release includes Linux and macOS archives for `amd64` and `arm64`, two RPMs, two DEBs, and `SHA256SUMS`. +See the [complete changes](https://github.com/pgsty/sow/compare/v0.6.0...v0.6.1) for the source diff. diff --git a/content/blog/release/sow-v0.6.1.zh.md b/content/blog/release/sow-v0.6.1.zh.md new file mode 100644 index 0000000..2582f50 --- /dev/null +++ b/content/blog/release/sow-v0.6.1.zh.md @@ -0,0 +1,75 @@ +--- +title: "SOW v0.6.1" +linkTitle: "SOW v0.6.1" +date: 2026-10-22T20:30:00+08:00 +lastmod: 2026-10-22 +authors: [Vonng] +description: "SOW 0.6.1 升级到 Go 1.27.3,更新依赖并修复无效输入的错误信息,工作区格式保持兼容。" +categories: [Release] +tags: [release, maintenance, dependencies] +weight: -30 +url: "/zh/blog/release/sow-v0.6.1/" +--- + +SOW 0.6.1 是一次维护更新,升级依赖并改善错误信息。 +命令接口、数据库 **schema v13**、配置 **sow/v3** 与公开仓库布局保持不变。 +已使用 0.5.0 或 0.6.0 的工作区无需迁移数据库。 + +软件包与归档见[下载页](/zh/download/),校验和来自 +[v0.6.1 发布页](https://github.com/pgsty/sow/releases/tag/v0.6.1)。 + +## 工具链与依赖 + +源码构建现在要求 **Go 1.27.3 或更新版本**。所有发布二进制均使用 Go 1.27.3 构建。 +本版更新了加密、S3 访问、压缩、SQLite 与 Debian 包解析等依赖。 + +| 依赖 | 版本 | +|---|---| +| ProtonMail go-crypto | 1.5.2 | +| AWS SDK for Go / S3 | 1.47.3 / 1.114.4 | +| klauspost/compress | 1.20.3 | +| modernc SQLite / libc | 1.61.0 / 1.79.0 | +| pault.ag/go/debian | 0.21.1 | +| go.yaml.in/yaml/v3 | 3.0.5 | +| golang.org/x/crypto / x/sys | 0.58.0 / 0.49.0 | + +YAML 解析切换到 YAML 官方团队维护的模块,现有 `sow.yml` 配置格式不变。 +RPM 解析器继续保留已有的本地安全补丁。 +第三方许可清单已更新,随每个归档与 Linux 软件包分发。 + +## 维护修复 + +- 修复无效路径与 OpenPGP armor 类型的错误信息,不再出现 `%!w()`。 + 涉及日志导出、RPM 元数据生成、签名校验与工作区检查。 + 原来被拒绝的无效输入仍然会被拒绝。 +- CI 快照包直接从 Makefile 读取版本,避免遗漏硬编码版本号。 + 同步更新发布工具与 GitHub Actions,包括 GoReleaser 2.18.3、deadcode 0.52.0 和 govulncheck 1.9.0。 + +## 升级 + +更换可执行文件前,停止工作区写入任务并备份完整工作区。 +安装 0.6.1 后,对每个仓库执行构建与检查: + +```bash +sow version +sow build -r REPOSITORY -C /srv/sow +sow check -r REPOSITORY -C /srv/sow +``` + +把 `REPOSITORY` 换成 `sow.yml` 中的仓库名。没有变化的仓库会报告空操作,保留原构建快照编号与时间戳。 +安装命令以及从 0.3、0.4 迁移的步骤,见[安装指南](/zh/docs/start/install/#升级到-061)。 + +发布验证覆盖包测试、竞态检查、APT/DNF 客户端、S3 兼容传输,以及 50,000 包的 RPM 元数据生成。 +升级与回退检查使用已发布的 0.6.0 二进制创建 RPM/DEB 工作区,由 0.6.1 操作后,再用 0.6.0 重新打开。 + +## 漏洞扫描结果 + +源码分析与保留符号的对照构建均未发现受影响的符号或导入包。 +[GO-2026-5932](https://pkg.go.dev/vuln/GO-2026-5932) 涉及未使用的旧 `golang.org/x/crypto/openpgp` 包。 +SOW 使用维护中的 ProtonMail 分支;四个发布目标的导入图均不包含该旧包。 + +发布二进制移除了符号表。对这类二进制,`govulncheck -mode=binary` 会退回模块级判断并报告此提示, +因此其二进制扫描结果与源码扫描不同。 + +发布附件包含 Linux 与 macOS 的 `amd64`、`arm64` 归档,两个 RPM、两个 DEB,以及 `SHA256SUMS`。 +源码变化见[完整差异](https://github.com/pgsty/sow/compare/v0.6.0...v0.6.1)。 diff --git a/content/docs/_index.md b/content/docs/_index.md index 50f6716..e2e3681 100644 --- a/content/docs/_index.md +++ b/content/docs/_index.md @@ -20,8 +20,8 @@ SOW creates RPM/YUM and DEB/APT software repositories. Run `sow create DIR` to i packages in a directory. Use a Managed workspace when you need to organize packages into Dists, limit versions, sign metadata, or publish updates. -These docs cover **SOW 0.6.0**. See the [release notes](/blog/release/sow-v0.6.0/) for -version changes and the [upgrade guide](/docs/start/install/#upgrade-to-060) +These docs cover **SOW 0.6.1**. See the [release notes](/blog/release/sow-v0.6.1/) for +version changes and the [upgrade guide](/docs/start/install/#upgrade-to-061) for an existing Managed workspace. - [Get Started](/docs/start/) — Install SOW, create a flat repository, and build the first Managed workspace. diff --git a/content/docs/_index.zh.md b/content/docs/_index.zh.md index c2e03a6..fdd9d22 100644 --- a/content/docs/_index.zh.md +++ b/content/docs/_index.zh.md @@ -19,8 +19,8 @@ cascade: SOW 创建 RPM/YUM 与 DEB/APT 软件仓库。执行 `sow create DIR`,即可为目录中的包生成索引。 需要按 Dist 组织软件包、限制版本数、签署元数据或发布更新时,使用 Managed 工作区。 -本文档对应 **SOW 0.6.0**。版本变化见[发布注记](/zh/blog/release/sow-v0.6.0/), -已有 Managed 工作区请参考[升级说明](/zh/docs/start/install/#升级到-060)。 +本文档对应 **SOW 0.6.1**。版本变化见[发布注记](/zh/blog/release/sow-v0.6.1/), +已有 Managed 工作区请参考[升级说明](/zh/docs/start/install/#升级到-061)。 - [上手](/zh/docs/start/) — 安装 SOW、创建平面仓库,并构建第一个 Managed 工作区。 - [教程](/zh/docs/tutorial/) — 完整的 YUM、APT、签名、对外服务与发布实战。 diff --git a/content/docs/command/create.md b/content/docs/command/create.md index 057f451..70fdec2 100644 --- a/content/docs/command/create.md +++ b/content/docs/command/create.md @@ -76,7 +76,7 @@ created /srv/flat: rpm=3 deb=1 signed=0 removed=0 marker=false noop=true recover ## Keep the previous RPM indexes -SOW 0.6.0 keeps the checksum-named RPM metadata referenced by the current and immediately previous `repomd.xml`. +SOW 0.6.1 keeps the checksum-named RPM metadata referenced by the current and immediately previous `repomd.xml`. A client that fetched the previous index can still retrieve those metadata files after an update. An unchanged run does not advance this retention window. diff --git a/content/docs/command/create.zh.md b/content/docs/command/create.zh.md index 557fa36..f38837d 100644 --- a/content/docs/command/create.zh.md +++ b/content/docs/command/create.zh.md @@ -72,7 +72,7 @@ created /srv/flat: rpm=3 deb=1 signed=0 removed=0 marker=false noop=true recover ## 保留上一轮 RPM 索引 -SOW 0.6.0 保留当前与紧邻上一版 `repomd.xml` 引用的、以校验和命名的 RPM 元数据。 +SOW 0.6.1 保留当前与紧邻上一版 `repomd.xml` 引用的、以校验和命名的 RPM 元数据。 客户端已获取上一版索引时,仍可在更新后下载这些元数据文件。 没有变化的运行不会推进保留窗口。 diff --git a/content/docs/command/repo.md b/content/docs/command/repo.md index 43208e5..c9c34af 100644 --- a/content/docs/command/repo.md +++ b/content/docs/command/repo.md @@ -111,8 +111,8 @@ operation rejected: repo show NAME "demo" and --repo "empty" select different re ## sow repo migrate -Use `repo migrate` to upgrade a 0.3 or 0.4 workspace to SOW 0.6.0. -Workspaces already on 0.5.0 use schema v13 and need no schema migration. New 0.6.0 repositories also use schema v13. +Use `repo migrate` to upgrade a 0.3 or 0.4 workspace to SOW 0.6.1. +Workspaces already on 0.5.0 or 0.6.0 use schema v13 and need no schema migration. New 0.6.1 repositories also use schema v13. 1. Stop Workspace writers. 2. Back up the whole Workspace, preserving hard links. @@ -120,7 +120,7 @@ Workspaces already on 0.5.0 use schema v13 and need no schema migration. New 0.6 4. Run `build` and `check` for each Repository. ```bash -rsync -aH /srv/sow/ /srv/sow.backup-before-0.6.0/ +rsync -aH /srv/sow/ /srv/sow.backup-before-0.6.1/ sow repo migrate pigsty -C /srv/sow sow build -r pigsty -C /srv/sow sow check -r pigsty -C /srv/sow diff --git a/content/docs/command/repo.zh.md b/content/docs/command/repo.zh.md index 915fce5..a22456e 100644 --- a/content/docs/command/repo.zh.md +++ b/content/docs/command/repo.zh.md @@ -110,8 +110,8 @@ operation rejected: repo show NAME "demo" and --repo "empty" select different re ## sow repo migrate -从 0.3 或 0.4 工作区升级到 SOW 0.6.0 时,使用 `repo migrate`。 -已使用 0.5.0 的工作区采用 schema v13,无需迁移数据库。新建的 0.6.0 仓库也使用 schema v13。 +从 0.3 或 0.4 工作区升级到 SOW 0.6.1 时,使用 `repo migrate`。 +已使用 0.5.0 或 0.6.0 的工作区采用 schema v13,无需迁移数据库。新建的 0.6.1 仓库也使用 schema v13。 1. 停止工作区写操作。 2. 备份整个工作区,并保留硬链接。 @@ -119,7 +119,7 @@ operation rejected: repo show NAME "demo" and --repo "empty" select different re 4. 对每个仓库运行 `build` 与 `check`。 ```bash -rsync -aH /srv/sow/ /srv/sow.backup-before-0.6.0/ +rsync -aH /srv/sow/ /srv/sow.backup-before-0.6.1/ sow repo migrate pigsty -C /srv/sow sow build -r pigsty -C /srv/sow sow check -r pigsty -C /srv/sow diff --git a/content/docs/feature/managed.md b/content/docs/feature/managed.md index c9e4b04..cffc286 100644 --- a/content/docs/feature/managed.md +++ b/content/docs/feature/managed.md @@ -180,7 +180,7 @@ existing Dist, run `build` to create its new view. If initialization commits some objects and then fails, it returns exit `3` and reports what completed. Resolve the error and rerun `init`. -SOW 0.6.0 uses database schema v13, as does 0.5.0. Upgrading from 0.5.0 needs no schema migration. +SOW 0.6.1 uses database schema v13, as do 0.5.0 and 0.6.0. Upgrading from either version needs no schema migration. For a 0.3 or 0.4 workspace, back up the complete workspace, then run [`sow repo migrate`](/docs/command/repo/#sow-repo-migrate). Do not edit the SQLite schema version manually. diff --git a/content/docs/feature/managed.zh.md b/content/docs/feature/managed.zh.md index ec0ee8c..50e5705 100644 --- a/content/docs/feature/managed.zh.md +++ b/content/docs/feature/managed.zh.md @@ -169,7 +169,7 @@ Plain 命令 `sow create` 不参与工作区查找。 初始化已提交部分对象、后续又失败时,命令返回退出码 `3` 并报告已完成内容。 修正错误后再次运行 `init`。 -SOW 0.6.0 与 0.5.0 均使用数据库 schema v13。从 0.5.0 升级无需迁移数据库。 +SOW 0.6.1 与 0.5.0、0.6.0 均使用数据库 schema v13。从这两个版本升级均无需迁移数据库。 对于 0.3 或 0.4 工作区,先备份完整工作区,再执行 [`sow repo migrate`](/zh/docs/command/repo/#sow-repo-migrate)。 不要手动修改 SQLite schema 版本。 diff --git a/content/docs/reference/compatibility.md b/content/docs/reference/compatibility.md index eea7e69..e53f8c0 100644 --- a/content/docs/reference/compatibility.md +++ b/content/docs/reference/compatibility.md @@ -25,7 +25,7 @@ filesystem for the workspace, then configure HTTP or storage access for clients. | Windows | No | No | — | Release binaries use `CGO_ENABLED=0` and need no language runtime. Source builds require -Go 1.27.2 or later. Archives include the README, changelog, Apache-2.0 license, and +Go 1.27.3 or later. Archives include the README, changelog, Apache-2.0 license, and third-party notices; Linux packages include license and notice files with the binary. Run `sow version` to inspect the binary version, platform, and build toolchain. diff --git a/content/docs/reference/compatibility.zh.md b/content/docs/reference/compatibility.zh.md index 03a0bb9..da30aef 100644 --- a/content/docs/reference/compatibility.zh.md +++ b/content/docs/reference/compatibility.zh.md @@ -24,7 +24,7 @@ SOW 在 Linux 和 macOS 上构建 RPM、DEB 仓库文件。工作区使用受支 | macOS | 是 | 是 | 归档 | | Windows | 否 | 否 | — | -发布二进制使用 `CGO_ENABLED=0`,不需要语言运行时。源码构建要求 Go 1.27.2 或更新版本。 +发布二进制使用 `CGO_ENABLED=0`,不需要语言运行时。源码构建要求 Go 1.27.3 或更新版本。 归档包含 README、更新日志、Apache-2.0 许可证与第三方许可声明; Linux 软件包随二进制包含许可文件。用 `sow version` 查看版本、平台和构建工具链。 diff --git a/content/docs/reference/layout.md b/content/docs/reference/layout.md index 56f5103..f579807 100644 --- a/content/docs/reference/layout.md +++ b/content/docs/reference/layout.md @@ -64,7 +64,7 @@ The database can have SQLite WAL and shared-memory sidecar files. `.sow/` and pending directories are private (`0700`). Pending payload files use `0644` so they can be promoted to public paths without changing their mode. -SOW 0.6.0 uses database schema v13 and configuration schema `sow/v3`. These are separate +SOW 0.6.1 uses database schema v13 and configuration schema `sow/v3`. These are separate version identifiers. Back up the complete workspace before [`repo migrate`](/docs/command/repo/#sow-repo-migrate). Keep the database with its matching private and public state; do not edit its schema version or rebuildable cache by hand. diff --git a/content/docs/reference/layout.zh.md b/content/docs/reference/layout.zh.md index 0a7768a..8b96627 100644 --- a/content/docs/reference/layout.zh.md +++ b/content/docs/reference/layout.zh.md @@ -62,7 +62,7 @@ RPM 位置使用文件名,DEB 使用 `./<文件名>`。构建期间使用私 数据库旁可能有 SQLite WAL 和共享内存文件。`.sow/` 与 pending 目录权限为私有的 `0700`。 待构建包文件使用 `0644`,进入公开路径时无需改变权限。 -SOW 0.6.0 使用数据库 schema v13 和配置 schema `sow/v3`,两者是独立的版本标识。 +SOW 0.6.1 使用数据库 schema v13 和配置 schema `sow/v3`,两者是独立的版本标识。 执行 [`repo migrate`](/zh/docs/command/repo/#sow-repo-migrate) 前备份完整工作区。 数据库应与匹配的私有、公开状态一起保存;不要手动修改 schema 版本或可重建缓存。 diff --git a/content/docs/reference/troubleshooting.md b/content/docs/reference/troubleshooting.md index 500864e..97da203 100644 --- a/content/docs/reference/troubleshooting.md +++ b/content/docs/reference/troubleshooting.md @@ -22,7 +22,7 @@ Replace `/srv/sow`, `pgsql`, and the target name `prod` below with your configur ## The database needs migration -SOW 0.6.0 uses schema v13, as does 0.5.0. An upgrade from 0.5.0 needs no schema migration. +SOW 0.6.1 uses schema v13, as do 0.5.0 and 0.6.0. An upgrade from either version needs no schema migration. For a 0.3 or 0.4 workspace, stop writers and back up the complete workspace. Then run: ```bash @@ -32,7 +32,7 @@ sow check -C /srv/sow -r pgsql ``` Repeat this for each Repository. Compatible read-only commands can still inspect an older -schema, but they do not migrate it. See [Upgrade](/docs/start/install/#upgrade-to-060). +schema, but they do not migrate it. See [Upgrade](/docs/start/install/#upgrade-to-061). ## Status shows pending changes diff --git a/content/docs/reference/troubleshooting.zh.md b/content/docs/reference/troubleshooting.zh.md index 1f4ee56..364e22c 100644 --- a/content/docs/reference/troubleshooting.zh.md +++ b/content/docs/reference/troubleshooting.zh.md @@ -22,7 +22,7 @@ sow log -C /srv/sow -r pgsql ## 数据库需要迁移 -SOW 0.6.0 与 0.5.0 均使用 schema v13。从 0.5.0 升级无需迁移数据库。 +SOW 0.6.1 与 0.5.0、0.6.0 均使用 schema v13。从这两个版本升级均无需迁移数据库。 对于 0.3 或 0.4 工作区,先停止写入并备份完整工作区,再运行: ```bash @@ -32,7 +32,7 @@ sow check -C /srv/sow -r pgsql ``` 对每个仓库重复这些步骤。兼容的只读命令仍可检查旧 schema,但不会自动迁移数据库。 -详见[升级说明](/zh/docs/start/install/#升级到-060)。 +详见[升级说明](/zh/docs/start/install/#升级到-061)。 ## 状态显示有待构建变更 diff --git a/content/docs/start/install.md b/content/docs/start/install.md index 05d13ee..2e5d2e2 100644 --- a/content/docs/start/install.md +++ b/content/docs/start/install.md @@ -11,7 +11,7 @@ icon: fa-solid fa-download SOW is one executable. It needs no daemon, database service, or language runtime. Release archives support Linux and macOS on `amd64` and `arm64`. Linux also has RPM and DEB packages. -Use the [Download page](/download/) to select a SOW 0.6.0 artifact. +Use the [Download page](/download/) to select a SOW 0.6.1 artifact. Download it and `SHA256SUMS` into a separate download directory. ## Install an archive @@ -20,8 +20,8 @@ For Linux amd64, verify the archive, extract it, and install the executable: ```bash set -euo pipefail -grep ' sow_0.6.0_linux_amd64.tar.gz$' SHA256SUMS | sha256sum -c - -tar -xzf sow_0.6.0_linux_amd64.tar.gz +grep ' sow_0.6.1_linux_amd64.tar.gz$' SHA256SUMS | sha256sum -c - +tar -xzf sow_0.6.1_linux_amd64.tar.gz sudo install -m 0755 sow /usr/local/bin/sow ``` @@ -43,25 +43,25 @@ Verify the downloaded package against its entry in `SHA256SUMS`. Then run the co ```bash # RPM, x86_64 -sudo rpm -Uvh ./sow-0.6.0-1PGSTY.x86_64.rpm +sudo rpm -Uvh ./sow-0.6.1-1PGSTY.x86_64.rpm # Debian or Ubuntu, amd64 -sudo apt install ./sow_0.6.0-1PGSTY_amd64.deb +sudo apt install ./sow_0.6.1-1PGSTY_amd64.deb ``` For ARM64, use the RPM ending in `.aarch64.rpm` or the DEB ending in `_arm64.deb`. Packages install the executable at `/usr/bin/sow`. ## Build from source -Install Go 1.27.2 or newer and Git. The build uses `CGO_ENABLED=0` and needs no C compiler. +Install Go 1.27.3 or newer and Git. The build uses `CGO_ENABLED=0` and needs no C compiler. ```bash set -euo pipefail -git clone --branch v0.6.0 https://github.com/pgsty/sow.git +git clone --branch v0.6.1 https://github.com/pgsty/sow.git cd sow SOW_BUILD_DIR="$(mktemp -d)" CGO_ENABLED=0 go build -trimpath \ - -ldflags='-s -w -X github.com/pgsty/sow/internal/v2cli.Version=0.6.0' \ + -ldflags='-s -w -X github.com/pgsty/sow/internal/v2cli.Version=0.6.1' \ -o "$SOW_BUILD_DIR/sow" ./cmd/sow sudo install -m 0755 "$SOW_BUILD_DIR/sow" /usr/local/bin/sow ``` @@ -79,14 +79,16 @@ sow help -## Upgrade to 0.6.0 {#upgrade-to-060} + -SOW 0.6.0 keeps database schema v13, configuration schema `sow/v3`, and the public directory layout. -A workspace already on 0.5.0 needs no schema migration. +## Upgrade to 0.6.1 {#upgrade-to-061} + +SOW 0.6.1 keeps database schema v13, configuration schema `sow/v3`, and the public directory layout. +Workspaces already on 0.5.0 or 0.6.0 need no schema migration. 1. Stop all workspace writers. 2. Back up the complete workspace with a tool that preserves hard links, such as `rsync -aH` or `tar`. -3. Install SOW 0.6.0. +3. Install SOW 0.6.1. 4. Build and check each Repository in `sow.yml`: ```bash @@ -101,7 +103,7 @@ New builds record one publication time and reuse it during recovery. ### Workspaces from 0.3 or 0.4 {#upgrade-from-04-to-05} -These workspaces need migration before the first build. After backing up the workspace and installing 0.6.0, run: +These workspaces need migration before the first build. After backing up the workspace and installing 0.6.1, run: ```bash sow repo migrate REPOSITORY -C /srv/sow diff --git a/content/docs/start/install.zh.md b/content/docs/start/install.zh.md index d720c3a..2ae9cb7 100644 --- a/content/docs/start/install.zh.md +++ b/content/docs/start/install.zh.md @@ -11,7 +11,7 @@ icon: fa-solid fa-download SOW 是一个可执行文件,不依赖守护进程、数据库服务或语言运行时。发布归档支持 Linux 与 macOS 的 `amd64`、`arm64` 架构。Linux 另有 RPM 与 DEB 安装包。 -从 [下载页](/zh/download/) 选择 SOW 0.6.0 制品。 +从 [下载页](/zh/download/) 选择 SOW 0.6.1 制品。 将所选制品与 `SHA256SUMS` 下载到独立的下载目录。 ## 安装归档 @@ -20,8 +20,8 @@ SOW 是一个可执行文件,不依赖守护进程、数据库服务或语言 ```bash set -euo pipefail -grep ' sow_0.6.0_linux_amd64.tar.gz$' SHA256SUMS | sha256sum -c - -tar -xzf sow_0.6.0_linux_amd64.tar.gz +grep ' sow_0.6.1_linux_amd64.tar.gz$' SHA256SUMS | sha256sum -c - +tar -xzf sow_0.6.1_linux_amd64.tar.gz sudo install -m 0755 sow /usr/local/bin/sow ``` @@ -43,25 +43,25 @@ export PATH="$HOME/.local/bin:$PATH" ```bash # RPM,x86_64 -sudo rpm -Uvh ./sow-0.6.0-1PGSTY.x86_64.rpm +sudo rpm -Uvh ./sow-0.6.1-1PGSTY.x86_64.rpm # Debian 或 Ubuntu,amd64 -sudo apt install ./sow_0.6.0-1PGSTY_amd64.deb +sudo apt install ./sow_0.6.1-1PGSTY_amd64.deb ``` ARM64 主机使用以 `.aarch64.rpm` 或 `_arm64.deb` 结尾的软件包。安装后的可执行文件位于 `/usr/bin/sow`。 ## 从源码构建 -安装 Go 1.27.2 或更新版本,以及 Git。构建使用 `CGO_ENABLED=0`,不需要 C 编译器。 +安装 Go 1.27.3 或更新版本,以及 Git。构建使用 `CGO_ENABLED=0`,不需要 C 编译器。 ```bash set -euo pipefail -git clone --branch v0.6.0 https://github.com/pgsty/sow.git +git clone --branch v0.6.1 https://github.com/pgsty/sow.git cd sow SOW_BUILD_DIR="$(mktemp -d)" CGO_ENABLED=0 go build -trimpath \ - -ldflags='-s -w -X github.com/pgsty/sow/internal/v2cli.Version=0.6.0' \ + -ldflags='-s -w -X github.com/pgsty/sow/internal/v2cli.Version=0.6.1' \ -o "$SOW_BUILD_DIR/sow" ./cmd/sow sudo install -m 0755 "$SOW_BUILD_DIR/sow" /usr/local/bin/sow ``` @@ -79,14 +79,16 @@ sow help -## 升级到 0.6.0 {#升级到-060} + -SOW 0.6.0 保持数据库 schema v13、配置 schema `sow/v3` 与公开目录布局不变。 -已使用 0.5.0 的工作区无需迁移数据库。 +## 升级到 0.6.1 {#升级到-061} + +SOW 0.6.1 保持数据库 schema v13、配置 schema `sow/v3` 与公开目录布局不变。 +已使用 0.5.0 或 0.6.0 的工作区无需迁移数据库。 1. 停止工作区的全部写入任务。 2. 用保留硬链接的工具备份完整工作区,例如 `rsync -aH` 或 `tar`。 -3. 安装 SOW 0.6.0。 +3. 安装 SOW 0.6.1。 4. 对 `sow.yml` 中每个仓库执行构建与检查: ```bash @@ -101,7 +103,7 @@ sow check -r REPOSITORY -C /srv/sow ### 从 0.3 或 0.4 升级 {#从-04-升级到-05} -这些工作区需要在首次构建前迁移。备份工作区并安装 0.6.0 后,执行: +这些工作区需要在首次构建前迁移。备份工作区并安装 0.6.1 后,执行: ```bash sow repo migrate REPOSITORY -C /srv/sow diff --git a/content/docs/tutorial/yum-migration.md b/content/docs/tutorial/yum-migration.md index 6beaf75..4814dab 100644 --- a/content/docs/tutorial/yum-migration.md +++ b/content/docs/tutorial/yum-migration.md @@ -11,7 +11,7 @@ icon: fa-solid fa-arrows-rotate This guide covers a flat directory of RPMs and `repodata/`, such as a repository previously built with `createrepo_c`. It uses Plain `sow create`, without creating a Managed workspace. -The commands below target **SOW 0.6.0**. +The commands below target **SOW 0.6.1**. @@ -24,7 +24,7 @@ SOW="$(command -v sow)" "$SOW" version ``` -Confirm that the version is 0.6.0. +Confirm that the version is 0.6.1. | Check | Action | |---|---| @@ -100,7 +100,7 @@ formatting can differ. See [Platforms & Integrations](/docs/reference/compatibil Plain replaces multiple files; it does not make the whole directory switch atomically. Coordinate package replacement, metadata, detached signatures, and cache visibility in -your publication layer. SOW 0.6.0 retains the current and immediately previous SOW checksum-named RPM metadata sets. +your publication layer. SOW 0.6.1 retains the current and immediately previous SOW checksum-named RPM metadata sets. Unchanged runs keep the same previous set. Keep `.sow-plain-rpm-history.json` when copying a directory for further builds. For clients that cache indexes across several updates, retain the required older metadata and packages in your publication layer. diff --git a/content/docs/tutorial/yum-migration.zh.md b/content/docs/tutorial/yum-migration.zh.md index 8ee2d46..cb042c6 100644 --- a/content/docs/tutorial/yum-migration.zh.md +++ b/content/docs/tutorial/yum-migration.zh.md @@ -10,7 +10,7 @@ icon: fa-solid fa-arrows-rotate --- 本指南适用于 RPM 与 `repodata/` 放在同一层目录的平面仓库,例如此前用 `createrepo_c` -维护的仓库。它使用 Plain `sow create`,不创建 Managed 工作区。以下命令以 **SOW 0.6.0** 为目标版本。 +维护的仓库。它使用 Plain `sow create`,不创建 Managed 工作区。以下命令以 **SOW 0.6.1** 为目标版本。 @@ -23,7 +23,7 @@ SOW="$(command -v sow)" "$SOW" version ``` -确认版本为 0.6.0。 +确认版本为 0.6.1。 | 检查项 | 操作 | |---|---| @@ -95,7 +95,7 @@ gpg --verify /srv/yum.candidate/repodata/repomd.xml.asc \ ## 5. 发布仓库 Plain 会替换多个文件,不提供整个目录的原子切换。发布层需要协调包文件、索引、分离签名以及 -缓存的可见顺序。SOW 0.6.0 保留当前与紧邻上一轮以校验和命名的 RPM 元数据。 +缓存的可见顺序。SOW 0.6.1 保留当前与紧邻上一轮以校验和命名的 RPM 元数据。 没有变化的运行仍保留同一份上一轮元数据。复制目录后还要继续构建时,一并保留 `.sow-plain-rpm-history.json`。 如果客户端缓存跨越多轮更新,在发布层继续保留所需的更早元数据与软件包。 diff --git a/content/download.md b/content/download.md index bb04fd4..f42808a 100644 --- a/content/download.md +++ b/content/download.md @@ -21,7 +21,7 @@ search_boost: 1.5 Install SOW from the Pigsty infra repository with `apt install sow` or `dnf install sow`, from a pinned RPM or DEB package, from a `tar.gz` archive for Linux or macOS on `amd64` -and `arm64`, or from a source build of a tagged release. SOW 0.6.0 is available. The Pigsty repository is a rolling channel. Each build provides the same CLI for its target +and `arm64`, or from a source build of a tagged release. SOW 0.6.1 is available. The Pigsty repository is a rolling channel. Each build provides the same CLI for its target platform, and every published artifact carries a SHA-256 digest listed in `SHA256SUMS`. After installing, run `sow version` and `sow help`, then point `sow create` at a directory of packages. diff --git a/content/download.zh.md b/content/download.zh.md index 07cc82f..ab05068 100644 --- a/content/download.zh.md +++ b/content/download.zh.md @@ -20,7 +20,7 @@ search_boost: 1.5 可以用 `apt install sow` 或 `dnf install sow` 从 Pigsty infra 软件源安装 SOW,也可以使用 固定版本的 RPM / DEB 安装包、面向 Linux 与 macOS(`amd64` 与 `arm64`)的 `tar.gz` 归档, -或者从某个 Tag 的源码自行构建。SOW 0.6.0 已发布,可下载对应的软件包与归档。Pigsty 软件源属于滚动渠道。 +或者从某个 Tag 的源码自行构建。SOW 0.6.1 已发布,可下载对应的软件包与归档。Pigsty 软件源属于滚动渠道。 不同目标平台的构建提供一致的命令接口;每个已发布制品 都在 `SHA256SUMS` 中列出 SHA-256 摘要。安装完成后执行 `sow version` 与 `sow help`, 然后把 `sow create` 指向一个存放软件包的目录。 diff --git a/data/download/sow.yaml b/data/download/sow.yaml index ac24323..93321d7 100644 --- a/data/download/sow.yaml +++ b/data/download/sow.yaml @@ -136,11 +136,11 @@ channels: icon: fa-solid fa-code-branch url: https://github.com/pgsty/sow/tree/${tag} note: >- - Install Go 1.27.2 or newer, then build the release tag with the commands + Install Go 1.27.3 or newer, then build the release tag with the commands below. No C compiler is required. The build flags set the version shown by `sow version`. note_zh: >- - 先安装 Go 1.27.2 或更新版本,再按以下命令构建发布标签。无需 C 编译器。 + 先安装 Go 1.27.3 或更新版本,再按以下命令构建发布标签。无需 C 编译器。 构建参数会设置 `sow version` 显示的版本号。 steps: - title: Clone, check out, build diff --git a/data/home/en.yaml b/data/home/en.yaml index c71d1e1..94aba6e 100644 --- a/data/home/en.yaml +++ b/data/home/en.yaml @@ -12,7 +12,7 @@ hero: - Publish what changed title_size: 4rem lead: Build YUM and APT repositories from local RPM and DEB files. Index an existing directory with `sow create`. Use a Managed workspace to select packages, sign metadata, keep snapshots, and publish updates. - note: SOW 0.6.0 · Linux + macOS · RPM + DEB · Apache-2.0 + note: SOW 0.6.1 · Linux + macOS · RPM + DEB · Apache-2.0 image: light: img/sow-architecture-light.svg dark: img/sow-architecture-dark.svg @@ -38,8 +38,8 @@ hero: url: /download/ icon: fa-solid fa-download style: ghost - - label: What's new in 0.6 - url: /blog/release/sow-v0.6.0/ + - label: What's new in 0.6.1 + url: /blog/release/sow-v0.6.1/ icon: fa-solid fa-tag style: ghost diff --git a/data/home/zh.yaml b/data/home/zh.yaml index d650edc..247b9db 100644 --- a/data/home/zh.yaml +++ b/data/home/zh.yaml @@ -12,7 +12,7 @@ hero: - 增量发布更新 title_size: 4rem lead: 从本地 RPM 与 DEB 文件构建 YUM、APT 仓库。用 `sow create` 索引已有目录;用托管工作区(Managed)筛选软件包、签署元数据、保留快照并发布更新。 - note: SOW 0.6.0 · Linux + macOS · RPM + DEB · Apache-2.0 + note: SOW 0.6.1 · Linux + macOS · RPM + DEB · Apache-2.0 image: light: img/sow-architecture-zh-light.svg dark: img/sow-architecture-zh-dark.svg @@ -35,8 +35,8 @@ hero: url: /zh/download/ icon: fa-solid fa-download style: ghost - - label: 0.6 版本变化 - url: /zh/blog/release/sow-v0.6.0/ + - label: 0.6.1 版本变化 + url: /zh/blog/release/sow-v0.6.1/ icon: fa-solid fa-tag style: ghost diff --git a/data/landing/download/en.yaml b/data/landing/download/en.yaml index 0345c8c..030eb99 100644 --- a/data/landing/download/en.yaml +++ b/data/landing/download/en.yaml @@ -18,7 +18,7 @@ hero: eyebrow: SOW for Linux and macOS title: Download SOW desc: 'Install from the Pigsty repository, download a versioned package or archive, or build from source. Choose the file for your operating system and architecture.' - note: SOW 0.6.0 · Linux · macOS · amd64 / arm64 · RPM + DEB · Apache-2.0 + note: SOW 0.6.1 · Linux · macOS · amd64 / arm64 · RPM + DEB · Apache-2.0 note_icon: fa-solid fa-box-archive align: center title_size: 3.4rem @@ -36,7 +36,7 @@ hero: download: eyebrow: Installation title: Choose an installation method - desc: 'Download SOW 0.6.0 packages and archives below. The Pigsty repository follows its packaged version.' + desc: 'Download SOW 0.6.1 packages and archives below. The Pigsty repository follows its packaged version.' keys: [sow] next: diff --git a/data/landing/download/zh.yaml b/data/landing/download/zh.yaml index aa2d411..eb399d3 100644 --- a/data/landing/download/zh.yaml +++ b/data/landing/download/zh.yaml @@ -17,7 +17,7 @@ hero: eyebrow: Linux 与 macOS 版本 title: 下载 SOW desc: '从 Pigsty 软件源安装,下载指定版本的软件包或归档,或自行编译源码。请按操作系统与架构选择文件。' - note: SOW 0.6.0 · Linux · macOS · amd64 / arm64 · RPM + DEB · Apache-2.0 + note: SOW 0.6.1 · Linux · macOS · amd64 / arm64 · RPM + DEB · Apache-2.0 note_icon: fa-solid fa-box-archive align: center title_size: 3.4rem @@ -35,7 +35,7 @@ hero: download: eyebrow: 安装方式 title: 选择安装方式 - desc: '下载 SOW 0.6.0 软件包与归档。Pigsty 软件源跟随其中的打包版本。' + desc: '下载 SOW 0.6.1 软件包与归档。Pigsty 软件源跟随其中的打包版本。' keys: [sow] next: diff --git a/go.mod b/go.mod index a3ed73c..a098f1c 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module github.com/pgsty/sow.pgsty.com -go 1.27.0 +go 1.27.3 require github.com/pgsty/oink v1.3.2 diff --git a/go.sum b/go.sum index a64a330..acc0d36 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,2 @@ -github.com/pgsty/oink v1.3.0 h1:ad9iaKA5VKRDBDmBkZPkPIEvde9WaMdJSO7/YAKoY44= -github.com/pgsty/oink v1.3.0/go.mod h1:pHvbUhJCfseB41n5RGwsF7abT3i32VSTpofLQoq4b7Y= github.com/pgsty/oink v1.3.2 h1:o/PApIwNx4ZkDtyJfLGhhKKYKy/f8DzNDjSzZ0ckzdc= github.com/pgsty/oink v1.3.2/go.mod h1:pHvbUhJCfseB41n5RGwsF7abT3i32VSTpofLQoq4b7Y= diff --git a/hugo.yaml b/hugo.yaml index 834b66f..f01f593 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -315,7 +315,7 @@ params: images: - images/sow-social-card.png # Documentation and pinned download version; publish after the matching release. - version: 0.6.0 + version: 0.6.1 copyright: authors: '[PIGSTY & SOW Contributors](https://pgsty.com) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)' from_year: 2026