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:13:02 -0800 |
commit | edf9548310b59bf7c52d75f02b619520bba467ad (patch) | |
tree | 10b3a4a7a46743269855c41060e4653a6a1caa70 /bin | |
parent | 7cdb241f8087dea9815feaebc101518343822f65 (diff) | |
download | spack-edf9548310b59bf7c52d75f02b619520bba467ad.tar.gz spack-edf9548310b59bf7c52d75f02b619520bba467ad.tar.bz2 spack-edf9548310b59bf7c52d75f02b619520bba467ad.tar.xz spack-edf9548310b59bf7c52d75f02b619520bba467ad.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 'bin')
0 files changed, 0 insertions, 0 deletions