summaryrefslogtreecommitdiff
path: root/.codecov.yml
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2021-12-10 10:23:14 +0100
committerGitHub <noreply@github.com>2021-12-10 10:23:14 +0100
commitd17511a80648ec3c2a66af61deb8ed9893b744e6 (patch)
treef2ea22df2aa2c11454445e9074f7d1efb13d2735 /.codecov.yml
parente199d7ef6b554035a9870bdd664ab1d77ef4d7d1 (diff)
downloadspack-d17511a80648ec3c2a66af61deb8ed9893b744e6.tar.gz
spack-d17511a80648ec3c2a66af61deb8ed9893b744e6.tar.bz2
spack-d17511a80648ec3c2a66af61deb8ed9893b744e6.tar.xz
spack-d17511a80648ec3c2a66af61deb8ed9893b744e6.zip
Refactor "spack buildcache" command (#27776)
This PR is meant to move code with "business logic" from `spack.cmd.buildcache` to appropriate core modules[^1]. Modifications: - [x] Add `spack.binary_distribution.push` to create a binary package from a spec and push it to a mirror - [x] Add `spack.binary_distribution.install_root_node` to install only the root node of a concrete spec from a buildcache (may check the sha256 sum if it is passed in as input) - [x] Add `spack.binary_distribution.install_single_spec` to install a single concrete spec from a buildcache - [x] Add `spack.binary_distribution.download_single_spec` to download a single concrete spec from a buildcache to a local destination - [x] Add `Spec.from_specfile` that construct a spec given the path of a JSON or YAML spec file - [x] Removed logic from `spack.cmd.buildcache` - [x] Removed calls to `spack.cmd.buildcache` in `spack.bootstrap` - [x] Deprecate `spack buildcache copy` with a message that says it will be removed in v0.19.0 [^1]: The rationale is that commands should be lightweight wrappers of the core API, since that helps with both testing and scripting (easier mocking and no need to invoke `SpackCommand`s in a script).
Diffstat (limited to '.codecov.yml')
0 files changed, 0 insertions, 0 deletions