Repository navigation
LinuxWave 2.6.2
Release Note 更新日志
本次为域名迁移发布:官网由 linuxwave.macwave.org 迁移至 linuxwave.org。
为什么需要单独发一版
官网自定义域已经迁移到 linuxwave.org。旧域 linuxwave.macwave.org 现在返回 301,
自动跳转到新域,所以旧链接仍然可用,不会报错。代码里所有指向官网的链接都已改掉,
共 22 处 / 5 个分支。
但仍然推荐迁移:301 是重定向在兜底,不等于旧地址本身还有效——它依赖重定向一直被配置着,
撤掉就会立刻变成死链;不跟随重定向的工具(例如不带 -L 的 curl)在旧域上拿到的也只是
301 而不是内容。
而且只改代码不够。selfupdate 在「当前版本不低于线上版本」时会直接短路退出:
🌊 LinuxWave is already up to date (current: 2.6.1).
也就是说,只改代码的话,已装 2.6.1 的用户跑 wave selfupdate 会被答复「已是最新」,
本地 lib/help.py 里印的官网地址会一直停在旧域,只能靠 301 兜底。抬版本号,存量用户才拿得到。
改了什么
1. 官网域名 linuxwave.macwave.org → linuxwave.org(22 处)
| 位置 | 说明 |
|---|---|
lib/install.sh |
安装器结尾的许可协议提示行 |
lib/help.py |
wave help 里印的官网地址 |
README.md / README.zh-Hans.md |
顶部「官方网站」链接 |
.templates/SPECIAL/* |
安装交互与示例文档 |
| 官网条款第 17 条 | 「官方唯一网址」(中英两版) |
gh-pages/CNAME |
GitHub Pages 的自定义域 |
2. 有意保持不变的部分
- 反馈邮箱仍是
hi@macwave.org:macwave.org这个域还在,邮箱没有迁移;
官网条款第 22 条对这个地址有专门约定,不随官网域名一起改。 https://macwave.org与https://sw.macwave.org不动:它们分别指向 MacWave 项目
与 MacWave 团队,不属于 LinuxWave 的官网迁移范围。
升级路径已验证
| 当前版本 | 目标 | 行为 |
|---|---|---|
2.5.0 / 2.5.1 / 2.5.2 / 2.5.3 / 2.6.0 / 2.6.1 |
2.6.2 |
执行自更新 ✅ |
2.6.2 |
2.6.2 |
已是最新,短路退出 |
本次不涉及目录结构变更,已在 updatedata/2.6.2/dir_structure_change 里显式声明为 N,
因此自更新会跳过迁移步骤,不会搬动你的配置目录。
wave selfupdate
验证方式
- 域名:
linuxwave.org返回 200,且/install.sh短链返回 200 并内含新版本号——
这条短链就是安装入口,已确认可用。旧域已配置301跳转到新域。 - 回归套件:隔离命名空间里的 117 条断言全部通过(
117 PASS / 0 FAIL / 0 SKIP),
本次为纯字符串改动,未触碰任何逻辑分支。 - 分支一致性:
main/2.5/gh-pages三处的install.sh逐字节相同;
main与2.5整树逐字节相同(diff -rq无输出)。 - 站点:本地渲染核查,正文里旧域只剩你有意保留的反馈邮箱。
其他改动
- 版本号
2.6.1→2.6.2,构建号280H2020
Release Notes
A domain-migration release: the official site moved from linuxwave.macwave.org to linuxwave.org.
Why this needs a release of its own
The site's custom domain has moved to linuxwave.org. The old linuxwave.macwave.org now returns
301 and redirects to the new domain, so old links still work without an error. Every link
to the site in the code has been updated - 22 occurrences across 5 branches.
Migrating is still recommended, though: the 301 is a redirect doing the catching, not the old
address being valid - it depends on the redirect staying configured, and taking it away turns the
old links into dead ones immediately. Tools that do not follow redirects (a curl without -L,
say) get the 301 rather than any content.
And updating the code alone is not enough. selfupdate exits early when the installed version is
not older than the published one:
🌊 LinuxWave is already up to date (current: 2.6.1).
So with a code change alone, a user on 2.6.1 running wave selfupdate would be told they are
up to date, and the URL printed by their local lib/help.py would keep pointing at the old domain,
with only a 301 to catch it. Bumping the version is what actually delivers the fix.
What changed
1. Site domain linuxwave.macwave.org → linuxwave.org (22 occurrences)
| Where | What |
|---|---|
lib/install.sh |
the licence notice printed at the end of an install |
lib/help.py |
the site URL printed by wave help |
README.md / README.zh-Hans.md |
the "official website" link at the top |
.templates/SPECIAL/* |
install-interaction and install-example docs |
| Site terms, clause 17 | "the only official website" (both languages) |
gh-pages/CNAME |
the GitHub Pages custom domain |
2. Deliberately left alone
- The feedback address is still
hi@macwave.org: themacwave.orgdomain still exists and
the mailbox did not move. Clause 22 of the site terms has specific wording about this address,
so it does not follow the site domain. https://macwave.organdhttps://sw.macwave.orgare untouched: they point at the MacWave
project and the MacWave team, which are outside the scope of this LinuxWave site migration.
Upgrade path verified
| From | To | Behaviour |
|---|---|---|
2.5.0 / 2.5.1 / 2.5.2 / 2.5.3 / 2.6.0 / 2.6.1 |
2.6.2 |
self-update runs ✅ |
2.6.2 |
2.6.2 |
already up to date, exits early |
No directory structure change is involved - updatedata/2.6.2/dir_structure_change
states N explicitly - so the self-update skips the migration steps and leaves your
configuration directory where it is.
wave selfupdate
How this was verified
- Domains:
linuxwave.orgreturns 200, and its/install.shshort link returns 200 containing
the new version number - that short link is the install entry point, and it is confirmed working.
The old domain is configured to return301and redirect to the new one. - Regression suite: all 117 assertions pass inside an isolated namespace
(117 PASS / 0 FAIL / 0 SKIP). This change is purely textual and touches no logic branch. - Branch consistency:
install.shis byte-identical acrossmain/2.5/gh-pages, and the
mainand2.5trees are byte-identical (diff -rqreports nothing). - Site: checked in a locally rendered page; the only remaining
macwave.orgtext in the body
is the feedback address deliberately kept.
Other Changes
- Version
2.6.1→2.6.2, build number280H2020
安装
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/LinuxWaveOrg/LinuxWave/HEAD/lib/install.sh)"
Install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/LinuxWaveOrg/LinuxWave/HEAD/lib/install.sh)"