Skip to content

Conversation

@staticfloat
Copy link
Member

Because PlatformEngines assumes you may want to verify a tarball later, it spits out .sha256 files to optimize for hashing in the future. This is fine when you're downloading to a permanent location or a directory that was created by mktempdir(), but if your download location is just a file sitting in /tmp which you clean up manually afterward, you need to clean up that .sha256 file as well.

Because PlatformEngines assumes you may want to verify a tarball later, it spits out `.sha256` files to optimize for hashing in the future.  This is fine when you're downloading to a permanent location or a directory that was created by `mktempdir()`, but if your download location is just a file sitting in `/tmp` which you clean up manually afterward, you need to clean up that `.sha256` file as well.
Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com>
@staticfloat staticfloat merged commit 35a16bd into master May 29, 2020
@staticfloat staticfloat deleted the sf/cleanup_sha256 branch May 29, 2020 17:48
KristofferC pushed a commit that referenced this pull request Jun 5, 2020
Co-authored-by: Fredrik Ekre <ekrefredrik@gmail.com>
(cherry picked from commit 35a16bd)
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.

3 participants