Repository navigation
Conversation
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.
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.
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
--verify none, "Copied" needs every file copied; an empty source or any skipped file is exit4in every mode.reportalso exits1when its verdict is Failed. The README said5or0only, and contradicted itself further down.data-safety.md,timeline.mdand theEXIT_INCOMPLETEcomment incli.pysaid "an all-skipped rerun". Any skipped file makes the job Incomplete.--verify noneentry said "at least one file actually copied".verifydata-safety.mdsaid 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 itCHANGED. ROADMAP also named the parent's verdictRENAMED.Limits now stated where a reader looks for them
data-safety.md, "What is still not protected":verifydoes not check ASC MHL generations against the chain file (verify does not check ASC MHL generations against the chain file #45), and job warnings are not printed in the PDF, HTML or CSV reports (PDF, HTML and CSV reports do not print job warnings #43). Both were stated only indocs/ascmhl.md. The README'sverifysection now says the first as well.Smaller
substitutedreference; only one whose frame counts could not be checked is.docs/performance.mdand the README say one.Published counts
README and CONTRIBUTING said 916 tests at 89% line coverage. Measured on
mainat62cf540on 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 testspasses; no test run was needed for the one comment change.