Skip to content

Introduce ignore evaluator #470

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 21, 2025
Merged

Introduce ignore evaluator #470

merged 5 commits into from
Mar 21, 2025

Conversation

tw-owen-nelson
Copy link
Collaborator

This elevates and replaces the current ChecksumCompare struct and makes it more capable of making all decisions around what file additions should be ignored by the scan and when.

ChecksumCalculator uses this list of Additions only to represent the
names of all tracked files in the repository. Most Additions (in some
cases all) in this list do not have any content. This list of Additions
is not considered when generating Checksums, which is handled by the
Hasher.

Authored-by: Owen Nelson <[email protected]>
The Detectors in the Chain need a ChecksumCompare to decide if Additions
should be allowed or not, but instantiating the ChecksumCompare requires
information not used in the Chain.

Authored-by: Owen Nelson <[email protected]>
@tw-owen-nelson tw-owen-nelson force-pushed the introduce-ignore-eval branch from b8dd1d5 to 597e5a6 Compare March 21, 2025 15:50
@tw-owen-nelson tw-owen-nelson merged commit 30a71b3 into main Mar 21, 2025
5 checks passed
@tw-owen-nelson tw-owen-nelson deleted the introduce-ignore-eval branch March 21, 2025 16:02
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