From 697719c1811c2f47b8e032f6106f9e2faee34abd Mon Sep 17 00:00:00 2001 From: Peter Scheibel Date: Sat, 7 Mar 2020 04:38:08 -0800 Subject: Only use stable versions for public mirror (#15100) * add --skip-unstable-versions option to 'spack mirror create' which skips sources/resource for packages if their version is not stable (i.e. if they are the head of a git branch rather than a fixed commit) * '--skip-unstable-versions' should skip all VCS sources/resources, not just those which are not cachable --- share/spack/spack-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/spack') diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash index 869d63be31..38788438f7 100755 --- a/share/spack/spack-completion.bash +++ b/share/spack/spack-completion.bash @@ -1025,7 +1025,7 @@ _spack_mirror() { _spack_mirror_create() { if $list_options then - SPACK_COMPREPLY="-h --help -d --directory -a --all -f --file -D --dependencies -n --versions-per-spec" + SPACK_COMPREPLY="-h --help -d --directory -a --all -f --file --skip-unstable-versions -D --dependencies -n --versions-per-spec" else _all_packages fi -- cgit v1.2.3-70-g09d2