diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2023-03-08 16:51:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 15:51:55 +0000 |
commit | 22d4e7903719b8f4039ea1875e15bd0bf3fe550b (patch) | |
tree | 1a8e7cb138d408f9894e9d9aa6a103a53ac76bb2 /.github/ISSUE_TEMPLATE | |
parent | 2777ca83eb3e90ea8ef2f92208dd8dbf67cba404 (diff) | |
download | spack-22d4e7903719b8f4039ea1875e15bd0bf3fe550b.tar.gz spack-22d4e7903719b8f4039ea1875e15bd0bf3fe550b.tar.bz2 spack-22d4e7903719b8f4039ea1875e15bd0bf3fe550b.tar.xz spack-22d4e7903719b8f4039ea1875e15bd0bf3fe550b.zip |
buildcache create: reproducible tarballs (#35623)
Currently `spack buildcache create` creates compressed tarballs that
differ between each invocation, thanks to:
1. The gzip header containing mtime set to time.time()
2. The generated buildinfo file which has a different mtime every time.
To avoid this, you have to explicitly construct GZipFile yourself, since
the Python API doesn't expose the mtime arg, and we have to manually
create the tarinfo object for the buildinfo metadata file.
Normalize mode: regular files & hardlinks executable by user, dirs, symlinks: set 0o755 permissions in tarfile; other files use 0o644
Diffstat (limited to '.github/ISSUE_TEMPLATE')
0 files changed, 0 insertions, 0 deletions