spack/lib/spack/spack
Michael Kuhn 9410d99153
Bugfix: fetching oddly-named resources from local mirrors (#23300)
Spack uses curl to fetch URL resources. For locally-stored resources
it uses curl's file protocol; when using this protocol, curl expects
that the URL encoding conforms to RFC 3986 (which reserves characters
like '?' and '=' for special use).

We were not performing this encoding, and found a resource where
curl was interpreting this in an unfavorable way (succeeding, but
producing an empty file). This commit properly encodes URLs when
using curl's file protocol.

This error did not likely come up before because in most contexts
Spack was either fetching via http or it was using URLs without
offending characters (for example, the sha-based URLs in mirrors
never contain these characters).
2021-05-18 15:26:49 -07:00
..
analyzers Merge pull request #21930 from vsoch/add/spack-monitor 2021-04-15 00:38:36 -07:00
build_systems intel-oneapi packages: support root installs (#23401) 2021-05-05 14:00:34 -07:00
cmd Revert "Separable module configurations (#22588)" (#23674) 2021-05-17 06:42:48 -07:00
compilers compilers: aocc is now also available as a Cray PrgEnv (#23289) 2021-05-07 14:55:32 +02:00
container copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
hooks Revert "Separable module configurations (#22588)" (#23674) 2021-05-17 06:42:48 -07:00
modules Revert "Separable module configurations (#22588)" (#23674) 2021-05-17 06:42:48 -07:00
operating_systems recognize macOS 11.1 as big sur (#20038) 2021-02-17 17:07:15 -08:00
platforms cray: fix parsing of module list (#23566) 2021-05-11 18:16:09 +00:00
reporters Don't report configure errors to CDash for successful packages (#23286) 2021-04-27 12:20:32 -06:00
schema Revert "Separable module configurations (#22588)" (#23674) 2021-05-17 06:42:48 -07:00
solver ASP-based solver: account for deprecated versions (#23491) 2021-05-12 07:17:38 -07:00
test Revert "Separable module configurations (#22588)" (#23674) 2021-05-17 06:42:48 -07:00
util env views: make view updates atomic (#23476) 2021-05-13 06:56:20 +00:00
__init__.py Docs: Updated copyrights in files still using 2020 as ending year (#23215) 2021-04-22 22:23:09 -07:00
abi.py avoid circular import (#20236) 2021-02-17 17:07:21 -08:00
architecture.py Merge pull request #21930 from vsoch/add/spack-monitor 2021-04-15 00:38:36 -07:00
binary_distribution.py compare full old_prefix and new_prefix instead of layout_root (#23506) 2021-05-10 10:36:53 -07:00
bootstrap.py Docs: Updated copyrights in files still using 2020 as ending year (#23215) 2021-04-22 22:23:09 -07:00
build_environment.py Externals with merged prefixes (#22653) 2021-04-12 11:19:29 +02:00
caches.py move binary indices are stored into the misc_cache (#22500) 2021-03-29 17:20:04 -07:00
ci_needs_workaround.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
ci_optimization.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
ci.py Check against a list of known-broken specs in ci generate (#22690) 2021-04-02 17:40:47 -06:00
compiler.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
concretize.py ASP-based solver: no intermediate package for concretizing together (#23307) 2021-05-06 10:19:10 -07:00
config.py Revert "Separable module configurations (#22588)" (#23674) 2021-05-17 06:42:48 -07:00
database.py database: don't create a date object in query() unless it's necessary 2021-02-11 15:30:57 +01:00
dependency.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
directives.py Procedure to deprecate old versions of software (#20767) 2021-02-09 13:51:18 -05:00
directory_layout.py Merge pull request #21930 from vsoch/add/spack-monitor 2021-04-15 00:38:36 -07:00
environment.py Revert "Separable module configurations (#22588)" (#23674) 2021-05-17 06:42:48 -07:00
error.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
extensions.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
fetch_strategy.py Bugfix: fetching oddly-named resources from local mirrors (#23300) 2021-05-18 15:26:49 -07:00
filesystem_view.py [WIP] relocate.py: parallelize test replacement logic (#19690) 2021-02-17 17:07:44 -08:00
graph.py Fix spack graph when deptypes are filtered (#22121) 2021-03-08 16:47:00 -08:00
hash_types.py New splice method in class Spec. (#20262) 2021-02-23 13:56:00 -08:00
install_test.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
installer.py Reduce visual noise during distributed build (#23338) 2021-05-06 07:30:02 -07:00
main.py Revert "Separable module configurations (#22588)" (#23674) 2021-05-17 06:42:48 -07:00
mirror.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
mixins.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
monitor.py Fixing typo tty.fail -> tty.die and monitor docstrings (#23152) 2021-04-20 14:53:30 -07:00
multimethod.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
package_prefs.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
package_test.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
package.py Merge pull request #21930 from vsoch/add/spack-monitor 2021-04-15 00:38:36 -07:00
parse.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
patch.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
paths.py Merge pull request #21930 from vsoch/add/spack-monitor 2021-04-15 00:38:36 -07:00
pkgkit.py add CachedCMakePackage for using CMake initial config files 2021-04-01 20:06:39 -07:00
projections.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
provider_index.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
relocate.py [WIP] relocate.py: parallelize test replacement logic (#19690) 2021-02-17 17:07:44 -08:00
repo.py performance: speed up existence checks in packages (#23661) 2021-05-17 01:20:17 -07:00
report.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
reporter.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
resource.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
s3_handler.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
spec_list.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
spec.py performance: speed up existence checks in packages (#23661) 2021-05-17 01:20:17 -07:00
stage.py Changed stages permissions to 750 (#21425) 2021-02-09 10:12:43 -08:00
store.py Bootstrapping: swap store before configuration (#22631) 2021-03-30 17:23:32 +02:00
subprocess_context.py Revert "Separable module configurations (#22588)" (#23674) 2021-05-17 06:42:48 -07:00
tengine.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
url.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
user_environment.py Revert "Separable module configurations (#22588)" (#23674) 2021-05-17 06:42:48 -07:00
variant.py specs: use lazy lexicographic comparison instead of key_ordering 2021-03-31 14:39:23 -07:00
verify.py copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
version.py Fix intersection if a version is a prefix of another (#22941) 2021-04-28 08:28:09 -06:00