Skip to content

docs(audits): .rsync-filter per-dir inheritance vs upstream (#2128) - #3916

Merged
oferchen merged 1 commit into
masterfrom
audits/rsync-filter-inheritance
May 7, 2026
Merged

oferchen merged 1 commit into
masterfrom
audits/rsync-filter-inheritance

Conversation

@oferchen

@oferchen oferchen commented May 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Concise (<130 line) audit of .rsync-filter per-directory merge inheritance against upstream rsync 3.4.1.
  • Covers upstream add_rule(MATCHFLG_PERDIR_MERGE) semantics in exclude.c, the n/e/!/C modifier flags, and push_local_filters/pop_local_filters lifecycle.
  • Maps oc-rsync's FilterChain (crates/filters/src/chain.rs) and engine dir_merge loader (crates/engine/src/local_copy/dir_merge/) with line citations.
  • Documents gaps: n not enforced at scope push, deep-nesting coverage, implicit -F vs explicit dir-merge, modifier parity, case sensitivity, exclude-self ordering.
  • Test plan: deep-tree fixture comparing oc-rsync vs upstream transferred sets across 7 modifier combinations.

Tracks #2128.

Test plan

  • Doc-only change; no code modified.
  • Verified line count under 130 (wc -l).
  • No internal/AI references in audit text.
  • CI fmt+clippy passes.

Concise audit of upstream rsync 3.4.1 dir-merge inheritance semantics
against oc-rsync's FilterChain and engine implementations. Notes the
no-inherit enforcement gap, deep-nesting coverage gap, modifier
parity, case sensitivity, exclude-self ordering, and a deep-tree
test plan that diffs upstream vs oc-rsync transferred sets.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 7, 2026
@oferchen
oferchen merged commit dfdd16c into master May 7, 2026
8 checks passed
@oferchen
oferchen deleted the audits/rsync-filter-inheritance branch May 8, 2026 03:50
oferchen added a commit that referenced this pull request May 18, 2026
…3916)

Concise audit of upstream rsync 3.4.1 dir-merge inheritance semantics
against oc-rsync's FilterChain and engine implementations. Notes the
no-inherit enforcement gap, deep-nesting coverage gap, modifier
parity, case sensitivity, exclude-self ordering, and a deep-tree
test plan that diffs upstream vs oc-rsync transferred sets.
oferchen added a commit that referenced this pull request Aug 24, 2026
…3916)

Concise audit of upstream rsync 3.4.1 dir-merge inheritance semantics
against oc-rsync's FilterChain and engine implementations. Notes the
no-inherit enforcement gap, deep-nesting coverage gap, modifier
parity, case sensitivity, exclude-self ordering, and a deep-tree
test plan that diffs upstream vs oc-rsync transferred sets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant