diff options
author | Todd Gamblin <gamblin2@llnl.gov> | 2021-09-08 07:59:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 07:59:06 -0700 |
commit | c309adb4b3a3d278fef89b32e6ad6fe677748ecb (patch) | |
tree | 789437e793a69b2272b4262f48279e03489e2212 /var/spack/repos/builtin.mock/packages/multi-provider-mpi/package.py | |
parent | c2a6ccbea843435d942f68ce60eb4c921d980150 (diff) | |
download | spack-c309adb4b3a3d278fef89b32e6ad6fe677748ecb.tar.gz spack-c309adb4b3a3d278fef89b32e6ad6fe677748ecb.tar.bz2 spack-c309adb4b3a3d278fef89b32e6ad6fe677748ecb.tar.xz spack-c309adb4b3a3d278fef89b32e6ad6fe677748ecb.zip |
url stats: add `--show-issues` option (#25792)
* tests: make `spack url [stats|summary]` work on mock packages
Mock packages have historically had mock hashes, but this means they're also invalid
as far as Spack's hash detection is concerned.
- [x] convert all hashes in mock package to md5 or sha256
- [x] ensure that all mock packages have a URL
- [x] ignore some special cases with multiple VCS fetchers
* url stats: add `--show-issues` option
`spack url stats` tells us how many URLs are using what protocol, type of checksum,
etc., but it previously did not tell us which packages and URLs had the issues. This
adds a `--show-issues` option to show URLs with insecure (`http`) URLs or `md5` hashes
(which are now deprecated by NIST).
Diffstat (limited to 'var/spack/repos/builtin.mock/packages/multi-provider-mpi/package.py')
-rw-r--r-- | var/spack/repos/builtin.mock/packages/multi-provider-mpi/package.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/var/spack/repos/builtin.mock/packages/multi-provider-mpi/package.py b/var/spack/repos/builtin.mock/packages/multi-provider-mpi/package.py index 41c7df5578..58e83ae596 100644 --- a/var/spack/repos/builtin.mock/packages/multi-provider-mpi/package.py +++ b/var/spack/repos/builtin.mock/packages/multi-provider-mpi/package.py @@ -12,13 +12,13 @@ class MultiProviderMpi(Package): homepage = "http://www.spack-fake-mpi.org" url = "http://www.spack-fake-mpi.org/downloads/multi-mpi-1.0.tar.gz" - version('2.0.0', 'foobarbaz') - version('1.10.3', 'foobarbaz') - version('1.10.2', 'foobarbaz') - version('1.10.1', 'foobarbaz') - version('1.10.0', 'foobarbaz') - version('1.8.8', 'foobarbaz') - version('1.6.5', 'foobarbaz') + version('2.0.0', '0123456789abcdef0123456789abcdef') + version('1.10.3', '0123456789abcdef0123456789abcdef') + version('1.10.2', '0123456789abcdef0123456789abcdef') + version('1.10.1', '0123456789abcdef0123456789abcdef') + version('1.10.0', '0123456789abcdef0123456789abcdef') + version('1.8.8', '0123456789abcdef0123456789abcdef') + version('1.6.5', '0123456789abcdef0123456789abcdef') provides('mpi@3.1', when='@2.0.0') provides('mpi@3.0', when='@1.10.3') |