spack/lib/spack
Massimiliano Culpo 5bf6b7e6a5
Refactor cmd/install.py for better readability (#31936)
* Extracted two functions in cmd/install.py

* Extracted a function to perform installation from the active environment

* Rename a few functions, remove args from their arguments

* Rework conditional in install_from_active_environment to reduce nesting in the function

* Extract functions to parsespecs from cli and files

* Extract functions to getuser confirmation for overwrite

* Extract functions to install specs inside and outside environments

* Rename a couple of functions

* Fix outdated comment

* Add missing imports

* Split conditional to dedent one level

* Invert check and exit early to dedent one level when requiring user confirmation
2022-08-05 12:36:33 +02:00
..
docs Fix doc format for code blocks: GitRef versions (#31937) 2022-08-05 02:01:03 +00:00
env Revert "strip -Werror: all specific or none (#30284)" (#30878) 2022-05-26 14:17:01 -07:00
external archspec: bump to v0.1.4 (#30856) 2022-06-07 08:51:34 +00:00
llnl Style fixes 2022-08-02 10:52:52 -07:00
spack Refactor cmd/install.py for better readability (#31936) 2022-08-05 12:36:33 +02:00