Skip to content

Bring the docs in line with the merged verification fixes - #47

Open
owenpkent wants to merge 1 commit into
mainfrom
docs-after-verification-fixes
Open

owenpkent wants to merge 1 commit into
mainfrom
docs-after-verification-fixes

Conversation

@owenpkent

Copy link
Copy Markdown
Owner

Documentation only, plus one code comment. No behaviour changes.

#39, #40, #41, #42 and #46 each updated the docs for their own fix, but they were written separately and merged one after another. This brings the documents back in line with each other and with the code as it stands on main.

Corrections

Exit codes and verdicts

  • README exit table: under --verify none, "Copied" needs every file copied; an empty source or any skipped file is exit 4 in every mode.
  • README: report also exits 1 when its verdict is Failed. The README said 5 or 0 only, and contradicted itself further down.
  • data-safety.md, timeline.md and the EXIT_INCOMPLETE comment in cli.py said "an all-skipped rerun". Any skipped file makes the job Incomplete.
  • CHANGELOG: the --verify none entry said "at least one file actually copied".

verify

  • README: added the job-name rule for entries that record neither a size nor a date (a file a cancelled job never reached, a folder that could not be listed).
  • README, ROADMAP and data-safety.md said the directory hashes are what catch a rename "every file hash agrees is fine". A renamed file is reported as a missing listed file, with the directories above it CHANGED. ROADMAP also named the parent's verdict RENAMED.
  • README: an ASC MHL history is verified as one view across its generations.
  • CHANGELOG: two older Unreleased entries described supersession without the same-source and same-job conditions that the newer entries added.

Limits now stated where a reader looks for them

Smaller

  • README timeline section: "unresolved" listed every substituted reference; only one whose frame counts could not be checked is.
  • README CSV section: the list of neutralised leading characters was missing line feed and the full-width forms.
  • ROADMAP: the robocopy note said two extra passes; docs/performance.md and the README say one.

Published counts

README and CONTRIBUTING said 916 tests at 89% line coverage. Measured on main at 62cf540 on Windows: 1301 passed, 20 skipped, 88%.

Checks

Every correction was checked against the code before editing. Relative links and anchors between the documents resolve. ruff check src tests passes; no test run was needed for the one comment change.

Five fix branches each documented their own change and were merged one
after another, which left statements that contradicted each other or the
code: exit codes for `--verify none` and `report`, "an all-skipped rerun"
where any skipped file is incomplete, renames described as caught only by
directory hashes, and older changelog entries missing the conditions
newer ones added.

The limits that `verify` does not check the chain file and that reports
do not print job warnings are now in the list of what is not protected.
Test counts are from a run on main: 1301 passed at 88% coverage.
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