Skip to content

refactor: decompose builder.rs setter methods into focused submodules - #2869

Merged
oferchen merged 1 commit into
masterfrom
refactor/builder-decomposition
Mar 21, 2026
Merged

oferchen merged 1 commit into
masterfrom
refactor/builder-decomposition

Conversation

@oferchen

Copy link
Copy Markdown
Owner

Summary

  • Split MetadataOptions builder in options/mod.rs into three focused submodules: attrs_flags.rs, setters.rs, accessors.rs
  • Struct definition, constructor, and Default impl remain in mod.rs
  • Fields changed from private to pub(crate) for submodule access
  • Removed outdated patch note and decorative banner comments

Test plan

  • CI fmt+clippy passes
  • CI nextest passes
  • Windows/macOS/Linux builds succeed

@oferchen
oferchen force-pushed the refactor/builder-decomposition branch 3 times, most recently from 8b85bde to 674fd6a Compare March 21, 2026 15:44
@oferchen
oferchen force-pushed the refactor/builder-decomposition branch from 674fd6a to 325101b Compare March 21, 2026 16:28
@oferchen
oferchen merged commit a7277c0 into master Mar 21, 2026
30 of 31 checks passed
@oferchen
oferchen deleted the refactor/builder-decomposition branch March 21, 2026 18:59
oferchen added a commit that referenced this pull request May 25, 2026
…C-13) (#4920)

Adds a user-facing matrix at docs/user/windows-support-matrix.md that
states which features are fully supported, partially supported, or
unsupported on the Windows GNU build, and enumerates the known gaps
with explicit WPC-* tracking. Bridges the gap until WPC-3..WPC-12 land.

Refs #2869, #2903 (WPC-1), #2904 (WPC-2), #2915 (WPC-13).
oferchen added a commit that referenced this pull request May 25, 2026
… (WPC-12) (#4939)

Adds the WPC-12 audit at docs/audit/windows-perm-bits-posix-mapping.md
covering the bidirectional Win32 file-attribute - POSIX mode-bit mapping.

Inventories every read-side and write-side conversion site, documents the
wire-encoding constraint (single mode_t field, no Windows-only attribute
slot), enumerates the existing test coverage, and lists six findings plus
four follow-up recommendations.

Tracks #2914 under parent #2869 (Windows real-world parity series).
Cross-links the WPC-13 Windows support matrix (#2915 / PR #4920).
oferchen added a commit that referenced this pull request Jun 19, 2026
…(WIND-5) (#5999)

Update the `--devices`, `--specials`, `-D` row to reflect the WIND-2
strategy (skip + warn by default; `--fake-super` writes the upstream
`"%o %d,%d %d:%d"` placeholder into an NTFS ADS) instead of the
previous "No-op / Matches upstream rsync on Cygwin" line, which silently
dropped device / FIFO / socket entries and violated the fail-loud rule.

Add a short rationale subsection covering the kernel-API constraint
(no `mknod`, `mkfifo`, or `AF_UNIX` bind on native Windows), the typed
skip counters, and the `RERR_PARTIAL` (24) exit-code mapping. Link the
WIND-1 audit and WIND-2 strategy specs from the cross-references list
so operators have one click to the design contract.

Refs: WIND-1, WIND-2, parent #2869.
oferchen added a commit that referenced this pull request Aug 24, 2026
…C-13) (#4920)

Adds a user-facing matrix at docs/user/windows-support-matrix.md that
states which features are fully supported, partially supported, or
unsupported on the Windows GNU build, and enumerates the known gaps
with explicit WPC-* tracking. Bridges the gap until WPC-3..WPC-12 land.

Refs #2869, #2903 (WPC-1), #2904 (WPC-2), #2915 (WPC-13).
oferchen added a commit that referenced this pull request Aug 24, 2026
… (WPC-12) (#4939)

Adds the WPC-12 audit at docs/audit/windows-perm-bits-posix-mapping.md
covering the bidirectional Win32 file-attribute - POSIX mode-bit mapping.

Inventories every read-side and write-side conversion site, documents the
wire-encoding constraint (single mode_t field, no Windows-only attribute
slot), enumerates the existing test coverage, and lists six findings plus
four follow-up recommendations.

Tracks #2914 under parent #2869 (Windows real-world parity series).
Cross-links the WPC-13 Windows support matrix (#2915 / PR #4920).
oferchen added a commit that referenced this pull request Aug 24, 2026
…(WIND-5) (#5999)

Update the `--devices`, `--specials`, `-D` row to reflect the WIND-2
strategy (skip + warn by default; `--fake-super` writes the upstream
`"%o %d,%d %d:%d"` placeholder into an NTFS ADS) instead of the
previous "No-op / Matches upstream rsync on Cygwin" line, which silently
dropped device / FIFO / socket entries and violated the fail-loud rule.

Add a short rationale subsection covering the kernel-API constraint
(no `mknod`, `mkfifo`, or `AF_UNIX` bind on native Windows), the typed
skip counters, and the `RERR_PARTIAL` (24) exit-code mapping. Link the
WIND-1 audit and WIND-2 strategy specs from the cross-references list
so operators have one click to the design contract.

Refs: WIND-1, WIND-2, parent #2869.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant