Closed jiegec closed 3 years ago
Thanks for the idea and the PR. As stated on the PR, I want to keep the checksumming as the default and add this as a configuration option. If you implement that I'll merge away!
This is merged ready for 5.0. Thanks @jiegec !
Relevant code: https://github.com/pypa/bandersnatch/blob/cc50bfecfd8b8912c35227aa8124c385ca1239ab/src/bandersnatch/mirror.py#L771-L786
It reads the local file and calculates sha256sum. This might lead to huge pressure to disk. An enhancement would be: