diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2024-10-21 18:03:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-21 18:03:57 +0200 |
commit | 4187c57250fbfd50aaa5bb8d08b11daf42cbb83b (patch) | |
tree | a773a82003e1b1a0af396e143cd5365003cefa9f /etc | |
parent | 590be9bba11aff7004cce8c9aed56452ac1a481e (diff) | |
download | spack-4187c57250fbfd50aaa5bb8d08b11daf42cbb83b.tar.gz spack-4187c57250fbfd50aaa5bb8d08b11daf42cbb83b.tar.bz2 spack-4187c57250fbfd50aaa5bb8d08b11daf42cbb83b.tar.xz spack-4187c57250fbfd50aaa5bb8d08b11daf42cbb83b.zip |
Fix broken `spack find -u` (#47102)
fixes #47101
The bug was introduced in #33495, where `spack find was not updated,
and wasn't caught by unit tests.
Now a Database can accept a custom predicate to select the installation
records. A unit test is added to prevent regressions. The weird convention
of having `any` as a default value has been replaced by the more commonly
used `None`.
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions