diff options
author | Todd Gamblin <gamblin2@llnl.gov> | 2022-05-09 21:57:58 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-10 04:57:58 +0000 |
commit | a0d46304481adc7ff70c80ff17802a02a7b55f06 (patch) | |
tree | 83671e5391d5f82a832e55600c90540aed2ebb5a /LICENSE-APACHE | |
parent | 7f1659786b32dd492b062347c6ca1538a8c71495 (diff) | |
download | spack-a0d46304481adc7ff70c80ff17802a02a7b55f06.tar.gz spack-a0d46304481adc7ff70c80ff17802a02a7b55f06.tar.bz2 spack-a0d46304481adc7ff70c80ff17802a02a7b55f06.tar.xz spack-a0d46304481adc7ff70c80ff17802a02a7b55f06.zip |
bugfix: `spack pkg list` should be more picky about what's a package (#30577)
`spack pkg list` tests were broken by #29593 for cases when your `builtin.mock` repo
still has stale backup files (or, really, stale directories) sitting around. This
happens if you switch branches a lot. In this case, things like this were causing
erroneous packages in the mock listing:
```
var/spack/repos/builtin.mock/packages/
foo/
package.py~
```
- [x] make `list_packages` consider only directories with one-deep `package.py` files.
Diffstat (limited to 'LICENSE-APACHE')
0 files changed, 0 insertions, 0 deletions