Repository navigation
MacWave 2.6.1
Release Note 更新日志
本次为通告性发布:LinuxWave 官网由 linuxwave.macwave.org 迁移至 linuxwave.org。
发生了什么
LinuxWave 的官网自定义域已迁移到 linuxwave.org。旧域
linuxwave.macwave.org 已配置 301 跳转到新域(配置时间较晚,301 生效存在等待期,
在生效前旧链接会短暂返回 404)。
这不是 MacWave 自己的搬家——macwave.org 与 sw.macwave.org 都不受影响——但指向
LinuxWave 的链接都在 MacWave 这边,需要跟着更新。
改了哪些链接
| 位置 | 说明 |
|---|---|
macwave.org |
顶部「Linux? View LinuxWave →」按钮(中英各一条) |
sw.macwave.org |
项目卡片中的 LinuxWave,以及「关于项目」表格里的 LinuxWave 链接 |
两处都已改为 https://linuxwave.org。
MacWave 装到用户机器上的代码里没有一处 LinuxWave 网址,
lib/与pkg/都不含
相关引用,因此不需要为这次域迁移改动任何逻辑。README 里指向的是 LinuxWave 的
GitHub 仓库(LinuxWaveOrg/LinuxWave),地址有效,保持不变。
为什么要发一版
域名迁移本身不需要改 MacWave 的任何代码,但发一版才能把这件事送达存量用户:
wave selfupdate 在「当前版本不低于线上版本」时会直接短路退出,所以仅更新网站链接的话,
用户的本地副本不会刷新,站内版本号也会一直停在 2.6.0。
抬到 2.6.1 后,2.6.0 及更早的用户执行自更新即可拿到与线上一致的一份。
升级路径已验证
| 当前版本 | 目标 | 行为 |
|---|---|---|
2.5.0 / 2.5.1 / 2.5.2 / 2.6.0 |
2.6.1 |
执行自更新 ✅ |
2.6.1 |
2.6.1 |
已是最新,短路退出 |
wave selfupdate
关于配置迁移
本次不涉及目录结构变更。configdata 仍照既有惯例提供了 updatedata/2.6.1——它与 2.5
的那份迁移是同一脚本、幂等,只会在发现 2.5 之前的旧配置时才动作,否则立即退出,
所以正常升级不会搬动你的配置目录。
之所以仍然放这份副本:install.sh / selfupdate.sh 是按完整版本号查找
updatedata/<版本号> 的。若缺了它,从 2.5 之前用 install.sh 升级到用户级目录时会跳过
迁移,留下老旧的系统级 /opt/macwave_config 把新的用户级配置盖住。
验证方式
- 回归套件:隔离沙箱里的 64 条断言全部通过(
64 PASS / 0 FAIL / 0 SKIP)——
本次为纯版本号改动,未触碰任何逻辑分支。 - 链接实测:
linuxwave.org返回 200;macwave.org与sw.macwave.org的源文件里
LinuxWave 链接均为https://linuxwave.org。 - 分支一致性:
gh-pages/install.sh与main/lib/install.sh逐字节相同。
其他改动
- 版本号
2.6.0→2.6.1,构建号280H2023 - 网站显示的版本号同步为
2.6.1 configdata新增updatedata/2.6.1(见上)
Release Notes
This is an announcement release: LinuxWave's site moved from linuxwave.macwave.org to linuxwave.org.
What happened
LinuxWave's site custom domain has moved to linuxwave.org. The old
linuxwave.macwave.org now has a 301 redirect to the new domain (it was
configured recently, so the redirect is still propagating; until it takes
effect the old links briefly return 404).
This is not MacWave moving - neither macwave.org nor sw.macwave.org is
affected - but the links pointing at LinuxWave live on MacWave's side and
needed updating.
Which links changed
| Where | Detail |
|---|---|
macwave.org |
The "Linux? View LinuxWave →" button at the top (one per language) |
sw.macwave.org |
The LinuxWave project card, and the LinuxWave row in the About table |
Both now point at https://linuxwave.org.
MacWave's installed code contains no LinuxWave URL at all - neither
lib/
norpkg/references it - so no logic needed changing for this domain move. The
README links to LinuxWave's GitHub repository (LinuxWaveOrg/LinuxWave),
which is still valid and unchanged.
Why cut a release at all
The domain move needs no MacWave code change, but a release is what delivers the
news to existing users: wave selfupdate exits early when the installed version
is already >= the published one, so updating only the website links would leave
local copies unrefreshed and the version shown on the site stuck at 2.6.0.
Raising it to 2.6.1 means anyone on 2.6.0 or older gets a copy matching what
the site serves by running the self-update.
Upgrade path verified
| From | To | Behaviour |
|---|---|---|
2.5.0 / 2.5.1 / 2.5.2 / 2.6.0 |
2.6.1 |
self-update runs ✅ |
2.6.1 |
2.6.1 |
already up to date, exits early |
wave selfupdate
About the config migration
No directory structure change is involved. configdata still ships
updatedata/2.6.1, following the established convention - the same idempotent
script as the 2.5 migration, which only acts when it finds a pre-2.5
configuration and otherwise exits immediately, so a normal upgrade will not move
your config directory.
The copy is shipped because install.sh / selfupdate.sh look the migration up by
the exact version being installed. Without it, upgrading from a pre-2.5 install
with install.sh into a user-level directory would skip the migration and keep
the stale system-level /opt/macwave_config, which then shadows the new
user-level config.
How it was verified
- Regression suite: all 64 assertions pass in the isolation sandbox
(64 PASS / 0 FAIL / 0 SKIP) - this release only changes version strings and
touches no logic branch. - Links:
linuxwave.orgreturns 200; the sources ofmacwave.organd
sw.macwave.orgboth carryhttps://linuxwave.org. - Branch consistency:
gh-pages/install.shis byte-identical to
main/lib/install.sh.
Other Changes
- Version
2.6.0→2.6.1, build number280H2023 - The version shown on the site is now
2.6.1 configdatagainsupdatedata/2.6.1(see above)
Install 安装
运行以下命令以下载此版本
Run the following command to download/update to this version.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/MacWaveOrg/MacWave/HEAD/lib/install.sh)" && source ~/.zshrc
也可以直接执行一次自更新
Or simply run the self-update once
wave selfupdate