summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorPeter Scheibel <scheibel1@llnl.gov>2020-03-07 04:38:08 -0800
committerGitHub <noreply@github.com>2020-03-07 13:38:08 +0100
commit697719c1811c2f47b8e032f6106f9e2faee34abd (patch)
treee7e0d3c2104e7425e732c42005d1d1c3a10fb11e /share
parent9fd3b2be89c5b3b9ade1a8e101ad989175fe09cf (diff)
downloadspack-697719c1811c2f47b8e032f6106f9e2faee34abd.tar.gz
spack-697719c1811c2f47b8e032f6106f9e2faee34abd.tar.bz2
spack-697719c1811c2f47b8e032f6106f9e2faee34abd.tar.xz
spack-697719c1811c2f47b8e032f6106f9e2faee34abd.zip
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
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/spack-completion.bash2
1 files changed, 1 insertions, 1 deletions
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