diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-08-16 15:21:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-16 15:21:47 +0200 |
commit | f51a9a9107f145021fb89e9447ea06be522cb20d (patch) | |
tree | abc0952481cae2f44760d99b48ea571ef4735d9d /bin | |
parent | 4f0e336ed09408809df1b570422a64b3e02e9eb2 (diff) | |
download | spack-f51a9a9107f145021fb89e9447ea06be522cb20d.tar.gz spack-f51a9a9107f145021fb89e9447ea06be522cb20d.tar.bz2 spack-f51a9a9107f145021fb89e9447ea06be522cb20d.tar.xz spack-f51a9a9107f145021fb89e9447ea06be522cb20d.zip |
stage: provide mirrors in constructor (#45792)
Stage objects create mirrors ad-hoc from current config.
- There is no way to prevent mirrors from being used
- There is no way to restrict mirrors to source/binary, which is of
course context dependent.
- Stage is also used in build caches, where iterating over mirrors is
already implemented differently, and wouldn't work anyways cause it's
source only, and in particular it makes no sense for OCI build caches.
This commit:
1. Injects the sensible mirrors into the stage object from contexts
where it is relevant
2. Separates mirrors from cache, so that w/o mirrors download cache can
still be used
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions