Skip to content

rust2(mv): GNU coreutils 9.4 mv library port + wiring + 146-row gate (#1488) - #1764

Merged
caomengxuan666 merged 1 commit into
mainfrom
rust2/mv-impl-devin
Nov 15, 2026
Merged

caomengxuan666 merged 1 commit into
mainfrom
rust2/mv-impl-devin

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

The mv-impl lane's port, rescued and rebased onto current main (D3 report: devin-out-D3.md).

Scope: mv.rs library port (GNU coreutils 9.4 mv.c semantics on the shared cp/winfs value model — reparse/junction identity, cross-volume fallback), lib.rs registry + CMake wiring, mv.cpp 1.x body retirement, mv.tsv gate (146 rows), catalog/ i18n patch set, cmd-matrix rows, cp/winfs.rs shared-surface bits.

Verification: cargo build clean (lib + driver); cargo test mv 29/0; rebase carried the union CMake entry and survived the #1750-era main moves.

Known-open: i18n-drift may list the mv keys until the catalog companion lands (catalog/zh-CN-mv-patch.json ships in-tree; captain sequences the push).

@caomengxuan666
caomengxuan666 force-pushed the rust2/mv-impl-devin branch 2 times, most recently from ac3c27c to a436cf3 Compare November 15, 2026 08:30
…alog patch set, cmd-matrix rows

Completes the mv port branch: CMake WINUXCMD_RUST2_COMMANDS entry,
mv.cpp body retirement (the 1.x surface the port replaces), the
catalog/ i18n patch set (en-US-mv extract + README-MV), and
cmd-matrix.sh rows. cp/winfs.rs and lib.rs carry the shared-surface
bits the port needs.
@caomengxuan666
caomengxuan666 merged commit 80238c9 into main Nov 15, 2026
8 of 11 checks passed
caomengxuan666 added a commit that referenced this pull request Nov 15, 2026
…ent, catalog patch set, cmd-matrix rows (#1764)" (#1772)

This reverts commit 80238c9.
caomengxuan666 added a commit that referenced this pull request Nov 15, 2026
…ly re-pinned, 158-row gate (#1488) (#1773)

Reland of the mv wire (#1764, reverted in #1772) with the completion
work G4 (devin-out-G4.md) — every one of the 12 previously-failing
tests adjudicated by WSL GNU 9.4 oracle probe first:

IMPLEMENTED (GNU-native semantics the port lacked):
- directory-into-itself subdirectory detection + GNU error
- trailing-slash destination-not-directory error
- invalid --interactive mode error
- 1283 drive-colon carrier fold in mv's operand boundary
- #374 control-byte escapes in cannot-stat/same-file diagnostics (x3)
- #1726 empty-destination failure

RE-PINNED (9.5 DIFFERS extension on the 9.4 oracle, probe-attested):
- --exchange family x3: GNU 9.4 rejects --exchange (unrecognized
  option rc 1); the tests now pin that contract, matching the mv
  lane's [DIFFERS] note in the shim.

Gate: mv.tsv 146 -> 158 rows (new rows cover each implemented
semantics), 158/158 green. mv.* gtest 47/47 (the 12 targets all
pass). cp gate 105/105; cargo mv::tests 29/29. WSL byte-parity
12/12. Full gtest 4021/4037 (16 pre-existing env items). i18n: zero
new messages — the 52 tr! keys hit the restored catalog patch
(companion lands with this PR in unixwin/winuxcmd-i18n).
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