diff options
author | John W. Parent <45471568+johnwparent@users.noreply.github.com> | 2022-09-26 03:01:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 00:01:42 -0700 |
commit | 30f6fd8dc060a9b120e5c4ce94f80a60e7bf7e51 (patch) | |
tree | 8d9b04d76ae33968f9942d16904d9883da1f82a8 /.gitattributes | |
parent | a5ea566bdfe066f5f41e9e19c636d32f4ed41810 (diff) | |
download | spack-30f6fd8dc060a9b120e5c4ce94f80a60e7bf7e51.tar.gz spack-30f6fd8dc060a9b120e5c4ce94f80a60e7bf7e51.tar.bz2 spack-30f6fd8dc060a9b120e5c4ce94f80a60e7bf7e51.tar.xz spack-30f6fd8dc060a9b120e5c4ce94f80a60e7bf7e51.zip |
Fetching/decompressing: use magic numbers (#31589)
Spack currently depends on parsing filenames of downloaded files to
determine what type of archive they are and how to decompress them.
This commit adds a preliminary check based on magic numbers to
determine archive type (but falls back on name parsing if the
extension type cannot be determined).
As part of this work, this commit also enables decompression of
.tar.xz-compressed archives on Windows.
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions