spack/lib/spack
Joseph Snyder d759612523
Add connection specification to mirror creation (#24244)
* Add connection specification to mirror creation

This allows each mirror to contain information about the credentials
used to access it.

Update command and tests based on comments

Switch to only "long form" flags for the s3 connection information.
Use the "any" function instead of checking for an empty list when looking
for s3 connection information.

Split test to use the access token separately from the access id and key.
Use long flag form in test.

Add endpoint_url to available S3 options.

Extend the special parameters for an S3 mirror to accept the
endpoint_url parameter.

Add a test.

* Add connection information per URL not per mirror

Expand the mirror-based connection information to be per-URL.
This will allow a user to specify different S3 connection information
for both the fetch and the push URLs.

Add a parameter for "profile", another way of storing the id/secret pair.

* Switch from "access_profile" to "profile"
2021-11-19 15:28:34 -05:00
..
docs define_from_variant: return an empty string for non-existing variants (#27503) 2021-11-19 14:10:00 +01:00
env cc: make error messages more clear 2021-10-04 18:30:19 -07:00
external Allow recent pytest versions to be used with Spack (#25371) 2021-11-18 15:08:59 +01:00
llnl Fix typos (ouptut) (#27317) 2021-11-09 16:11:34 -06:00
spack Add connection specification to mirror creation (#24244) 2021-11-19 15:28:34 -05:00