diff options
author | Peter Scheibel <scheibel1@llnl.gov> | 2024-01-19 00:10:39 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-19 08:10:39 +0000 |
commit | 621e203a8e4411393e261444f3f1ddf2fd002701 (patch) | |
tree | 712a7b8a1b5c3fa4f2f077b68c76a5b2e02b9641 /NOTICE | |
parent | d7bcaa29c06381984745e992d74c3c722e0f81a9 (diff) | |
download | spack-621e203a8e4411393e261444f3f1ddf2fd002701.tar.gz spack-621e203a8e4411393e261444f3f1ddf2fd002701.tar.bz2 spack-621e203a8e4411393e261444f3f1ddf2fd002701.tar.xz spack-621e203a8e4411393e261444f3f1ddf2fd002701.zip |
Bugfix: spack config change handle string requirements (#42176)
For a requirement like
```
packages:
foo:
require:
- "+debug"
```
(not `one_of:`, `any_of:`, or `spec:`)
`spack config change` would ignore the string. This was particularly evident if toggling a variant for a previously unmentioned package:
```
$ spack config change packages:foo:require:+debug
$ spack config change packages:foo:require:~debug
```
This fixes that and adds a test for it.
Diffstat (limited to 'NOTICE')
0 files changed, 0 insertions, 0 deletions