Checksum and size for chezmoi externals #4869
-
|
Consider I create an entry in This file will be downloaded just once, apparently. Then I re-upload a new version of this archive to my Google Drive and make it available under the same link. Then I change the Also, I've noticed that when specified SHA sum mismatches that of the file, chezmoi gives an alarm and stops working, but when the sizes mismatch, it works and applies everything as if nothing wrong is happening. Is this an OK behaviour or |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
No. chezmoi only uses the URL. Once you specify
This sounds like a bug in chezmoi. Note that there's no reason to specify both |
Beta Was this translation helpful? Give feedback.
No. chezmoi only uses the URL. Once you specify
refreshPeriod = 0chezmoi will only ever download the file once.This sounds like a bug in chezmoi. Note that there's no reason to specify both
checksum.sizeandchecksum.sha256because if the size is incorrect then the SHA256 checksum will also not …