summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJoseph Snyder <joe.snyder@kitware.com>2022-07-14 16:49:46 -0400
committerGitHub <noreply@github.com>2022-07-14 20:49:46 +0000
commit64b41b012ce5bc5041f57ad478d72ae8ae0d418c (patch)
tree000d0fa37ce8343a63a34298bf873dc738fbfe5b /share
parent3d0347ddd3363b6062e2a46bc207738b7ac14f03 (diff)
downloadspack-64b41b012ce5bc5041f57ad478d72ae8ae0d418c.tar.gz
spack-64b41b012ce5bc5041f57ad478d72ae8ae0d418c.tar.bz2
spack-64b41b012ce5bc5041f57ad478d72ae8ae0d418c.tar.xz
spack-64b41b012ce5bc5041f57ad478d72ae8ae0d418c.zip
Bug/fix credentials s3 buildcache update (#31391)
* Add connection information to buildcache update command Ensure that the s3 connection made when attempting to update the content of a buildcache attempts to use the extra connection information from the mirror creation. * Add unique help for endpoint URL argument Fix copy/paste error for endpoint URL help which was the same as the access token * Re-work URL checking for S3 mirrors Due to the fact that nested bucket URLs would never match the string used for checking that the mirror is the same, switch the check used. Sort all mirror URLs by length to have the most specific cases first and see if the desired URL "starts with" the mirror URL. * Long line style fixes Add execptions for long lines and fix other style errors * Use format() function to rebuild URL Use the format command to rebuild the url instead of crafing a formatted string out of known values * Add early exit for URL checking When a valid mirror is found, break from the loop
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions