Repository navigation
docs(audits): compatibility-flags interaction matrix (#2106) - #3914
Merged
Merged
Conversation
Audit upstream rsync 3.4.1 mutual-exclusion rules for --inplace, --append, --whole-file, --partial-dir, --delay-updates, --write-devices, and tabulate which combinations oc-rsync's ClientConfigBuilder::validate() currently rejects. Identifies two silent acceptances (R1: --append --whole-file; R7: --write-devices aliasing) and a message-string divergence on R4/R5, and lays out a 30+ row cli_validation_matrix.rs test plan to lock the behaviour in.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Audit upstream rsync 3.4.1 mutual-exclusion rules for --inplace, --append, --whole-file, --partial-dir, --delay-updates, --write-devices, and tabulate which combinations oc-rsync's ClientConfigBuilder::validate() currently rejects. Identifies two silent acceptances (R1: --append --whole-file; R7: --write-devices aliasing) and a message-string divergence on R4/R5, and lays out a 30+ row cli_validation_matrix.rs test plan to lock the behaviour in.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Audit upstream rsync 3.4.1 mutual-exclusion rules for --inplace, --append, --whole-file, --partial-dir, --delay-updates, --write-devices, and tabulate which combinations oc-rsync's ClientConfigBuilder::validate() currently rejects. Identifies two silent acceptances (R1: --append --whole-file; R7: --write-devices aliasing) and a message-string divergence on R4/R5, and lays out a 30+ row cli_validation_matrix.rs test plan to lock the behaviour in.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
options.clines 2382-2427) for the mutual-exclusion rules among--inplace,--append,--append-verify,--whole-file,--partial-dir,--delay-updates, and--write-devices.crates/core/src/client/config/builder/mod.rs::validate(). Identifies two silent acceptances (R1:--append --whole-file; R7:--write-devicesaliasing intoinplace) and a message-string divergence for R4/R5 (delay-updates wording).cli_validation_matrix.rstest plan covering accepted orthogonal combinations, currently-enforced rejections, and the gap rows that will drive fixes.Single deliverable:
docs/audits/compat-flags-matrix.md(93 lines, replaces the prior protocol-30 wire-compat_flagsaudit; that material is covered bydocs/audits/compat-flags-audit.md).Test plan
target/interop/upstream-src/rsync-3.4.1/options.candcrates/core/src/client/config/builder/.crates/core/src/client/config/builder/tests.rs:1058-1115cover R2-R5.crates/core/tests/cli_validation_matrix.rsand the R1/R7 fixes outlined in section 5.