summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorrobo-wylder <67443774+robo-wylder@users.noreply.github.com>2020-07-23 11:00:58 -0700
committerGregory Becker <becker33@llnl.gov>2020-07-23 14:00:42 -0700
commit40cd845479f2e11899b532bb73b8225592e5a3a5 (patch)
treeb8d8fdae55aaa62a093bc91c490eb1d70cc18334 /bin
parent3b4524156616233975b66ca6206f971f77bd2d43 (diff)
downloadspack-40cd845479f2e11899b532bb73b8225592e5a3a5.tar.gz
spack-40cd845479f2e11899b532bb73b8225592e5a3a5.tar.bz2
spack-40cd845479f2e11899b532bb73b8225592e5a3a5.tar.xz
spack-40cd845479f2e11899b532bb73b8225592e5a3a5.zip
environment-views: fix bug where missing recipe/repo breaks env commands (#17608)
* environment-views: fix bug where missing recipe/repo breaks env commands When a recipe or a repo has been removed from Spack and an environment is active, it causes the view activation to crash Spack before any commands can be executed. Further, the error message it not at all clear in explaining the issue. This forces view regeneration to always start from scratch to avoid the missing package recipes, and defaults add_view=False in main for views activated by the `spack -e` option. * add messages to env status and deactivate Warn users that a view may be corrupt when deactivating an environment or checking its status while active. Updated message for activate. * tests for view checking Co-authored-by: Gregory Becker <becker33@llnl.gov>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions