Skip to content

docs: retarget the remaining 3.5.0 citations and source-of-truth references to 3.5.1 - #8313

Closed
oferchen wants to merge 4 commits into
masterfrom
docs/upstream-351-citations
Closed

oferchen wants to merge 4 commits into
masterfrom
docs/upstream-351-citations

Conversation

@oferchen

@oferchen oferchen commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Retarget the leftover rsync 3.5.0 source citations to 3.5.1. path-confinement-resolver-api.md had 6 rsync-3.5.0/syscall.c ranges plus unprefixed ones. Code comments in engine, core tests and metadata tests are updated, and so are the lazy-sender-inc-recurse.md, UPSTREAM_COMPARISON.md and debug-flags-verbosity-matrix.md citations. Each was re-located by content with tools/ci/citation_retarget.py: 246 moved, 0 ambiguous, 0 vanished. Every moved anchor was checked against the 3.5.0 line it came from.
  • Point the docs that name 3.5.0 as the source of truth at 3.5.1:
    • UPSTREAM_COMPARISON.md now covers protocol 33 (rsync.h:114) and MSG_BLOCK_STATS = 11 (rsync.h:302). The message-code and NDX rows cite rsync.h:294-319; their old line numbers were wrong even for 3.5.0. The executive summary and conclusion are updated to protocols 28-33 and 19 message codes.
    • protocol-compatibility.md: protocols 28-33, advertises 33, the run_interop.sh versions line.
    • walkthrough.md: v28-33 and the source path.
    • exit-cleanup-funnel-inventory.md: cleanup.c and log.c are byte-identical in 3.5.1.
    • parallel-delta-stripe-invariance-contract.md: match.c is byte-identical in 3.5.1.
    • lazy-sender-inc-recurse.md: the INC_RECURSE model is unchanged. 3.5.1's flist.c changes are the scan_link_stat confinement edits only.
  • The refuse options drift test reads 3.5.1's options.c instead of 3.5.0's.
  • Correction in path-confinement-resolver-api.md. ds_descend calls its check "exclude-aware", but abspath_outside_confinement() never consults filter rules. It returns 0 inside the root with "inside: name-based exclude is not a boundary" (syscall.c:277); see the function header, syscall.c:240-244. This holds for 3.5.0 too. The note now says so.

Test plan

  • cargo xtask citations: exit 0.
  • cargo fmt --all -- --check and python3 tools/ci/check_rustfmt_all.py: exit 0.
  • cargo nextest run -p daemon --all-features -E 'test(the_embedded_reference_matches_the_upstream_source)' against target/interop/upstream-src/rsync-3.5.1/options.c: 1 passed. It read the file and did not skip.
  • CI: fmt + clippy, nextest (stable), Windows, macOS, Linux musl.

Coordination

Conventional commit prefix

  • docs: (comment-only Rust edits plus one test input path).

Pre-merge checklist

  • Conventional commit prefix on PR title matches the change category.
  • cargo fmt --all run.
  • CHANGELOG.md updated.
  • No references to internal tooling or non-human authoring aids; hyphens, not em-dashes, in new text.

@oferchen

oferchen commented Nov 3, 2026

Copy link
Copy Markdown
Owner Author

Folded into #8314 (merge commit on test/upstream-351-oracle) so the 3.5.1 alignment lands in one CI run.

@oferchen oferchen closed this Nov 3, 2026
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