new command: spack maintainers queries package maintainers

- We don't currently make enough use of the maintainers field on
  packages, though we could use it to assign reviews.

- add a command that allows maintainers to be queried
  - can ask who is maintaining a package or packages
  - can ask what packages users are maintaining
  - can list all maintained or unmaintained packages

- add tests for the command
This commit is contained in:
Todd Gamblin
2019-07-24 00:17:06 -07:00
parent 7411347a29
commit b0abbfecb8
5 changed files with 301 additions and 0 deletions

View File

@@ -700,6 +700,16 @@ function _spack_log_parse {
fi
}
function _spack_maintainers {
if $list_options
then
compgen -W "-h --help -a --all --maintained --unmaintained
--by-user" -- "$cur"
else
compgen -W "$(_all_packages)" -- "$cur"
fi
}
function _spack_mirror {
if $list_options
then