diff options
author | robo-wylder <67443774+robo-wylder@users.noreply.github.com> | 2020-07-23 11:00:58 -0700 |
---|---|---|
committer | Gregory Becker <becker33@llnl.gov> | 2020-07-23 14:00:42 -0700 |
commit | 40cd845479f2e11899b532bb73b8225592e5a3a5 (patch) | |
tree | b8d8fdae55aaa62a093bc91c490eb1d70cc18334 /CHANGELOG.md | |
parent | 3b4524156616233975b66ca6206f971f77bd2d43 (diff) | |
download | spack-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 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions