diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2019-10-31 12:56:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-31 12:56:38 -0700 |
commit | 6ec39b6c81aa7a9b5853170026492567dd2cb55b (patch) | |
tree | 841b79866fb0cdfe65454c97e3c2fd5f8b9f373d /lib | |
parent | 4b56933643a2509fc694688bf1e4c20a6aa30b13 (diff) | |
download | spack-6ec39b6c81aa7a9b5853170026492567dd2cb55b.tar.gz spack-6ec39b6c81aa7a9b5853170026492567dd2cb55b.tar.bz2 spack-6ec39b6c81aa7a9b5853170026492567dd2cb55b.tar.xz spack-6ec39b6c81aa7a9b5853170026492567dd2cb55b.zip |
Bugfix: BundlePackage staging/installation (#13524)
4af4487 added a mirror_id function to most FetchStrategy
implementations that is used to calculate resource locations in
mirrors. It left out BundleFetchStrategy which broke all packages
making use of BundlePackage (e.g. xsdk). This adds a noop
implementation of mirror_id to BundleFetchStrategy so that the
download/installation of BundlePackages can proceed as normal.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/fetch_strategy.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/spack/spack/fetch_strategy.py b/lib/spack/spack/fetch_strategy.py index 393e3af9d1..370ccef593 100644 --- a/lib/spack/spack/fetch_strategy.py +++ b/lib/spack/spack/fetch_strategy.py @@ -225,6 +225,9 @@ class BundleFetchStrategy(FetchStrategy): """BundlePackages don't have a source id.""" return '' + def mirror_id(self): + """BundlePackages don't have a mirror id.""" + @pattern.composite(interface=FetchStrategy) class FetchStrategyComposite(object): |