Skip to content
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

Add archive file to cache files that passed checksum validation (#600) #645

Merged
merged 8 commits into from
Jun 14, 2024

Conversation

benbou8231
Copy link
Contributor

This is my attemp to implement #600.

Instead of using --checksum, the user can now use --checksum-archive.
This will create a file named _checksum_archive.txt and write a line to it every time a checksum validation succeeds. Subsequent runs will skip the files listed in _checksum_archive.txt.

To implement this feature and ensure that the tests related to my changes pass, I had to increase the max-args to 24 in pyproject.toml.

In conclusion, this solution enhances the efficiency of checksum validations by skipping previously validated files.
I look forward to your feedback and suggestions for any improvements.

@benbou8231
Copy link
Contributor Author

I just resolved the merge conflict introduced by #650

@jjjake jjjake merged commit 8815d75 into jjjake:master Jun 14, 2024
12 checks passed
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.

2 participants