Enable/disable bootstrapping and customize store location (#23677)
* Permit to enable/disable bootstrapping and customize store location This PR adds configuration handles to allow enabling and disabling bootstrapping, and to customize the store location. * Move bootstrap related configuration into its own YAML file * Add a bootstrap command to manage configuration
This commit is contained in:
		 Massimiliano Culpo
					Massimiliano Culpo
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							9fb1c3e143
						
					
				
				
					commit
					3228c35df6
				
			| @@ -333,7 +333,7 @@ _spack() { | ||||
|     then | ||||
|         SPACK_COMPREPLY="-h --help -H --all-help --color -c --config -C --config-scope -d --debug --timestamp --pdb -e --env -D --env-dir -E --no-env --use-env-repo -k --insecure -l --enable-locks -L --disable-locks -m --mock -p --profile --sorted-profile --lines -v --verbose --stacktrace -V --version --print-shell-vars" | ||||
|     else | ||||
|         SPACK_COMPREPLY="activate add analyze arch audit blame build-env buildcache cd checksum ci clean clone commands compiler compilers concretize config containerize create deactivate debug dependencies dependents deprecate dev-build develop docs edit env extensions external fetch find flake8 gc gpg graph help info install license list load location log-parse maintainers mark mirror module monitor patch pkg providers pydoc python reindex remove rm repo resource restage solve spec stage style test test-env tutorial undevelop uninstall unit-test unload url verify versions view" | ||||
|         SPACK_COMPREPLY="activate add analyze arch audit blame bootstrap build-env buildcache cd checksum ci clean clone commands compiler compilers concretize config containerize create deactivate debug dependencies dependents deprecate dev-build develop docs edit env extensions external fetch find flake8 gc gpg graph help info install license list load location log-parse maintainers mark mirror module monitor patch pkg providers pydoc python reindex remove rm repo resource restage solve spec stage style test test-env tutorial undevelop uninstall unit-test unload url verify versions view" | ||||
|     fi | ||||
| } | ||||
|  | ||||
| @@ -416,6 +416,36 @@ _spack_blame() { | ||||
|     fi | ||||
| } | ||||
|  | ||||
| _spack_bootstrap() { | ||||
|     if $list_options | ||||
|     then | ||||
|         SPACK_COMPREPLY="-h --help" | ||||
|     else | ||||
|         SPACK_COMPREPLY="enable disable reset root" | ||||
|     fi | ||||
| } | ||||
|  | ||||
| _spack_bootstrap_enable() { | ||||
|     SPACK_COMPREPLY="-h --help --scope" | ||||
| } | ||||
|  | ||||
| _spack_bootstrap_disable() { | ||||
|     SPACK_COMPREPLY="-h --help --scope" | ||||
| } | ||||
|  | ||||
| _spack_bootstrap_reset() { | ||||
|     SPACK_COMPREPLY="-h --help -y --yes-to-all" | ||||
| } | ||||
|  | ||||
| _spack_bootstrap_root() { | ||||
|     if $list_options | ||||
|     then | ||||
|         SPACK_COMPREPLY="-h --help --scope" | ||||
|     else | ||||
|         SPACK_COMPREPLY="" | ||||
|     fi | ||||
| } | ||||
|  | ||||
| _spack_build_env() { | ||||
|     if $list_options | ||||
|     then | ||||
|   | ||||
		Reference in New Issue
	
	Block a user