-
Notifications
You must be signed in to change notification settings - Fork 24
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
win7x64-ultimate iso redownloaded every time the script is run with 'all' argument #4
Comments
As the script progresses, it looks like it's redownloading the win10x64-enterprise-eval.iso as well, so I assume it's going to re-download every other iso that was completely downloaded on the prior run. |
If you specify the Perhaps it would be possible to check the If I understand your ask correctly, I'm not sure implementing a feature to make Mido work how you would expect it to would be worth the complexity it introduces. |
mido.sh script already contains the sha256 hash values for all iso files. Would it be a headache to test for the existence of each iso, compare the hash, and only download if either of the first two tests failed? From my lowly end user standpoint it's counter intuitive and a waste of time and bandwidth to re-download existing and known good (and large!) iso files every time the command is run. Perhaps an additional argument such as I'll contribute $50 towards this feature. |
The problem with relying on the SHA-256 hashes is that those values are hardcoded into the script itself. They need to be manually updated when, for example, Microsoft issues a new release for When originally writing Mido, I considered whether I should include the |
For saving bandwidth, perhaps the desired functionality could be implemented like this: https://www.cyberciti.biz/faq/linux-unix-curl-if-modified-since-command-linux-example/ We would have to verify that MS servers will cooperate with the I don't have any plans of doing this, but it's up for grabs if someone wants! Feel free to verify any requirements @sysfu. Update: On second thought, giving away an exact timestamp of the last download could lead to unique identification of users. Instead, checking the |
So far as I can tell mido already successfully downloaded the win7x64-ultimate.iso file on the first run. I'm re-running mido to complete a few remaining partial dowloads of win2022-eval.ios and win11x64-enterprise-eval.isos.
Is the sha256 hash of each ISO checked for before making the decision to redownload a file or only afterwards?
Current hash of win7 iso
sha256sum win7x64-ultimate.iso dec04cbd352b453e437b2fe9614b67f28f7c0b550d8351827bc1e9ef3f601389 win7x64-ultimate.iso
win7x64-ultimate.iso sha256 hash as found in the mido.sh script
dec04cbd352b453e437b2fe9614b67f28f7c0b550d8351827bc1e9ef3f601389
Here's a current directory listing:
The text was updated successfully, but these errors were encountered: