spack/lib/spack
Dan Lipsa 4831d45852
Decompression: fix naming issues (#37749)
* When using system tools to unpack a .gz file, the input file needs a
  different name than the output file. Normally, we generate this new
  name by stripping off the .gz extension off of the file name.
  This was not sufficient if the file name did not have an extension,
  so we temporarily rename the file in that case.
* When using system tar utility to untar on Windows, we were (erroneously)
  skipping the actual untar step if the filename was lacking a .tar
  extension
* For foo.txz, we were not changing the extension of the decompressed file
  (i.e. we would decompress foo.txz to foo.txz). This did not cause any
  problems, but is confusing, so has been updated such that the output
  filename reflects its decompressed state (i.e. foo.tar).
* Added test for strip_compression_extension
* Update test_native_unpacking to test each archive type with and without
  an extension as part of the file name (i.e. we test "foo.tar.gz", but
  also make sure we decompress properly if it is named "foo").
2023-07-17 14:33:18 -07:00
..
docs Lock, database and store don't need global configuration on construction (#33495) 2023-07-17 16:51:04 +02:00
env cc: Ensure that user-specified flags take precedence over others (#37376) 2023-06-18 14:07:08 -07:00
external Drop Python 2 object subclassing (#38720) 2023-07-05 14:37:44 +02:00
llnl Lock, database and store don't need global configuration on construction (#33495) 2023-07-17 16:51:04 +02:00
spack Decompression: fix naming issues (#37749) 2023-07-17 14:33:18 -07:00
spack_installable license year bump (#34921) 2023-01-18 14:30:17 -08:00