spack/share/spack/qa
Todd Gamblin 233dabbd4f bugfix: config edit should work with a malformed spack.yaml
If you don't format `spack.yaml` correctly, `spack config edit` still fails and
you have to edit your `spack.yaml` manually.

- [x] Add some code to `_main()` to defer `ConfigFormatError` when loading the
  environment, until we know what command is being run.

- [x] Make `spack config edit` use `SPACK_ENV` instead of the config scope
  object to find `spack.yaml`, so it can work even if the environment is bad.

Co-authored-by: scheibelp <scheibel1@llnl.gov>
2021-10-28 15:37:44 -07:00
..
configuration Add new RubyPackage build system base class (#18199) 2020-09-02 16:26:36 -07:00
bashcov Use kcov from official Ubuntu 20.04 repository (#25385) 2021-08-19 14:03:10 -07:00
completion-test.sh copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
flake8_formatter.py imports: sort imports everywhere in Spack (#24695) 2021-07-08 22:12:30 +00:00
run-build-tests copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
run-shell-tests Use kcov from official Ubuntu 20.04 repository (#25385) 2021-08-19 14:03:10 -07:00
run-style-tests bugfix: be careful about GITHUB_BASE_REF in spack style 2021-07-27 17:57:17 -07:00
run-unit-tests bugfix: config edit should work with a malformed spack.yaml 2021-10-28 15:37:44 -07:00
setup-env-test.csh copyrights: update all files with license headers for 2021 2021-01-02 12:12:00 -08:00
setup-env-test.fish Deactivate previous env before activating new one (#25409) 2021-10-28 11:39:25 -07:00
setup-env-test.sh Deactivate previous env before activating new one (#25409) 2021-10-28 11:39:25 -07:00
setup.sh Use kcov from official Ubuntu 20.04 repository (#25385) 2021-08-19 14:03:10 -07:00
test-env-cfg.sh bugfix: config edit should work with a malformed spack.yaml 2021-10-28 15:37:44 -07:00
test-framework.sh Deactivate previous env before activating new one (#25409) 2021-10-28 11:39:25 -07:00