summaryrefslogtreecommitdiff
path: root/lib/spack/docs/config_yaml.rst
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2022-04-08 21:00:35 +0200
committerGitHub <noreply@github.com>2022-04-08 19:00:35 +0000
commit99083f170681a2d965bd027b08951f1ffa98c993 (patch)
treed852508f2aa397ab90e31e5fe0ca1f284a284cf4 /lib/spack/docs/config_yaml.rst
parent13f3bd533dfac3c226fd644bfbe8243070c3f7a9 (diff)
downloadspack-99083f170681a2d965bd027b08951f1ffa98c993.tar.gz
spack-99083f170681a2d965bd027b08951f1ffa98c993.tar.bz2
spack-99083f170681a2d965bd027b08951f1ffa98c993.tar.xz
spack-99083f170681a2d965bd027b08951f1ffa98c993.zip
Deprecate top-level module config (#28659)
* Ignore top-level module config; add auto-update In Spack 0.17 we got module sets (modules:[name]:[prop]), and for backwards compat modules:[prop] was short for modules:default:[prop]. But this makes it awkward to define default config for the "default" module set. Since 0.17 is branched off, we can now deprecate top-level module config (that is, just ignore it with a warning). This PR does that, and it implements `spack config update modules` to make upgrading easy (we should have added that to 0.17 already...) It also removes references to `dotkit` stuff which was already deprecated in 0.13 and could have been removed in 0.14. Prefix inspections are the only exception, since the top-level prefix inspections used for `spack load` and `spack env activate`.
Diffstat (limited to 'lib/spack/docs/config_yaml.rst')
-rw-r--r--lib/spack/docs/config_yaml.rst15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/spack/docs/config_yaml.rst b/lib/spack/docs/config_yaml.rst
index 3d21642749..6fb673e461 100644
--- a/lib/spack/docs/config_yaml.rst
+++ b/lib/spack/docs/config_yaml.rst
@@ -73,21 +73,6 @@ used to configure module names.
able to find the old installation directories.
--------------------
-``module_roots``
---------------------
-
-Controls where Spack installs generated module files. You can customize
-the location for each type of module. e.g.:
-
-.. code-block:: yaml
-
- module_roots:
- tcl: $spack/share/spack/modules
- lmod: $spack/share/spack/lmod
-
-See :ref:`modules` for details.
-
---------------------
``build_stage``
--------------------