diff options
author | Xavier Delaruelle <xavier.delaruelle@cea.fr> | 2023-04-03 11:19:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 11:19:18 +0200 |
commit | 7e4927b892a4f3cc69030dceb839debd32934fff (patch) | |
tree | 56d0d9443afda687cccd8aa608f8fca339ce6ff8 /SECURITY.md | |
parent | 88548ba76fee5b44d6d05255b33b921116551824 (diff) | |
download | spack-7e4927b892a4f3cc69030dceb839debd32934fff.tar.gz spack-7e4927b892a4f3cc69030dceb839debd32934fff.tar.bz2 spack-7e4927b892a4f3cc69030dceb839debd32934fff.tar.xz spack-7e4927b892a4f3cc69030dceb839debd32934fff.zip |
modules: correctly detect explicit installation (#36533)
When generating modulefile, correctly detect software installation asked
by user as explicit installation.
Explicit installation status were previously fetched from database
record of spec, which was only set after modulefile generation.
Code is updated to pass down the explicit status of software
installation to the object that generates modulefiles.
Fixes #34730.
Fixes #12105.
A value for the explicit argument has to be set when creating a new
installation, but for operations on existing installation, this value is
retrieved from database. Such operations are: module rm, module refresh,
module setdefaults or when get_module function is used.
Update on the way tests that mimics an installation, thus explicit
argument has to be set under such situation.
Diffstat (limited to 'SECURITY.md')
0 files changed, 0 insertions, 0 deletions