r-universe-org / help

Support and bug tracker for R-universe
https://docs.r-universe.dev/
8 stars 2 forks source link

Update automatic md5 hashing in upload #118

Closed jeroen closed 1 month ago

jeroen commented 2 years ago

Automatic md5 hashing is removed in v4.0.0 of the node driver:

See https://github.com/mongodb/node-mongodb-native/blob/bed1cbf374a0e7ec8dc6c7b7d1d6170442fc3333/docs/CHANGES_4.0.0.md#hashing-an-upload

jeroen commented 1 month ago

Maybe we can calculate the MD5 and SHA256 in one run for each upload.

jeroen commented 1 month ago

Or use this command: https://www.mongodb.com/docs/manual/reference/command/filemd5/