Skip to content

WIP: winx5-fileops — mv/cp/ln fixes for #1365/#1366/#1367/#1369 (verification pending) - #1403

Merged
caomengxuan666 merged 6 commits into
mainfrom
fix/winx5-fileops
Oct 27, 2026
Merged

caomengxuan666 merged 6 commits into
mainfrom
fix/winx5-fileops

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

WIP: winx5-fileops — mv/cp/ln 四条修复,代码已交卷,产品构建/Wine 验证待集成线。

Refs #1365
Refs #1366
Refs #1367
Refs #1369

内容(一 issue 一 commit)

每 commit 只含该 issue 的 src + 回归测试(mv 2 钉、cp 2 钉、ln 3 钉,测试名带 issue 号、期望按 GNU 写)。

验证状态(如实)

  • GNU oracle(本机 coreutils 9.4)已实跑钉死:ln 悬空六形、cp --parents 嫁接、reflink 跨 fs rc=1 且 dest 不存在、mv 跨 fs symlink 文本逐字+源消失。
  • 产品侧:基线构建跑过一次(47/85 步,唯一失败为本地补丁面 version.cppm,非本 PR 内容);增量重建在构建队列排 116 分钟未出列,簇按 build-queue/WINDOW.md 规则主动撤队转为落码交卷。四条修复未经 Wine 实跑。
  • 集成线请执行:簇目录 ~/workspace/winuxcmd-fix/clusters/winx5-fileops/ 的 repro.sh(11 断言形)与 harness/b/(47 个已编对象可续编);另本机无 clang-format,scripts/format.sh 未跑,请顺手过格式门。
  • 本分支基线为 main a104bb2,集成时先 rebase 到当前 main。

i18n

四条无新文案键义务(#1365 新报错沿 mv.cpp 既有未键化字面量惯例;#1367 仅提示改流;#1366/#1369 无文案)。如集成线认为 mv 新字面量应入目录,按 en 先行补键。

完整报告:簇内 REPORT.md。

@caomengxuan666
caomengxuan666 marked this pull request as ready for review October 27, 2026 05:58
@caomengxuan666

Copy link
Copy Markdown
Member Author

Verified post-merge (origin/main @ 1854504 merged clean, no conflicts): MSVC Debug build green; mv./cp./ln.* unit tests 105/105; full ctest 3235 — the 11 residuals are exactly the environment-bound baseline set on clean origin/main (3x issue_1288 LongPathsEnabled=0, find.issue_1309_ls, 7x xargs CONIN$).

i18n: en drops exactly one key — legacy.ddfecb281f85ed1a 'cannot read symlink target', the diagnostic the #1365 mv cross-volume rewrite removes. No additions. Synced on winuxcmd-i18n sync/winx5-fileops-i18n (zh-CN key dropped, VERSION 0.6.28).

# Conflicts:
#	tests/unit/cp/cp_unit_test.cpp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant