diff options
author | Wouter Deconinck <wdconinc@gmail.com> | 2023-08-02 06:16:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 11:16:14 +0000 |
commit | a14f4b5a028df4a669fbebab1e6a8f2b57288baf (patch) | |
tree | 59ab7d8f2668fc65da9c84265df5c657bee3dcb0 /.gitignore | |
parent | 3be565f49e7a694fb7cbeda6c82b3257b51f9786 (diff) | |
download | spack-a14f4b5a028df4a669fbebab1e6a8f2b57288baf.tar.gz spack-a14f4b5a028df4a669fbebab1e6a8f2b57288baf.tar.bz2 spack-a14f4b5a028df4a669fbebab1e6a8f2b57288baf.tar.xz spack-a14f4b5a028df4a669fbebab1e6a8f2b57288baf.zip |
feat: move -N/--namespace(s) to common args, allow in `buildcache list` (#36719)
`spack buildcache list` did not have a way to display the namespace of
packages in the buildcache. This PR adds that functionality.
For consistency's sake, it moves the `-N/--namespace` arg definition to
the `common/arguments.py` and modifies `find`, `solve`, `spec` to use
the common definition.
Previously, `find` was using `--namespace` (singular) to control whether
to display the namespace (it doesn't restrict the search to that
namespace). The other commands were using `--namespaces` (plural). For
backwards compatibility and for consistency with `--deps`, `--tags`,
etc, the plural `--namespaces` was chosen. The argument parser ensures
that `find --namespace` will continue to behave as before.
Co-authored-by: Harmen Stoppels <me@harmenstoppels.nl>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions