diff options
author | Omar Padron <omar.padron@kitware.com> | 2019-11-03 20:11:30 -0500 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-11-03 17:11:30 -0800 |
commit | 0784ec1a6dfd8af980d63f319d5988701340888a (patch) | |
tree | 193b39f77db44f7605cbf92d81496ede56a28898 /share | |
parent | bcda14f8258daaf3475dd9d3ca3eb7b25aa0496c (diff) | |
download | spack-0784ec1a6dfd8af980d63f319d5988701340888a.tar.gz spack-0784ec1a6dfd8af980d63f319d5988701340888a.tar.bz2 spack-0784ec1a6dfd8af980d63f319d5988701340888a.tar.xz spack-0784ec1a6dfd8af980d63f319d5988701340888a.zip |
bugfix: fetch prefers to fetch local mirrors over remote resources (#13545)
- [x] insert at beginning of list so fetch grabs local mirrors before remote resources
- [x] update the S3FetchStrategy so that it throws a SpackError if the fetch fails.
Before, it was throwing URLError, which was not being caught in stage.py.
- [x] move error handling out of S3FetchStrategy and into web_util.read_from_url()
- [x] pass string instead of URLError to SpackWebError
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions