Commit Graph

5 Commits

Author SHA1 Message Date
Xavier Delaruelle
846f95108f Report auto mech warn/err to top level message block
During an additional evaluation triggered by an automated module
handling mechanism, ensure warning and error messages are reported under
the message block of the main evaluation.

Add a 'recordtop' argument to the reportWarning and reportError
procedures in order to indicate that the message should be recorded
under the top-level message block instead of the currently active
message block.

Fixes #252.
2019-04-21 19:11:34 +02:00
Xavier Delaruelle
9f638b8118 doc: add example modulefiles for 'flavored-modules' recipe 2019-03-16 15:31:35 +01:00
Xavier Delaruelle
4e432320e5 doc: mention author of modulefiles-in-git examples 2019-02-25 10:54:32 +01:00
Scott Johnson
ac0a3f7bb5 New cookbook entry for versioning Modulefiles with Git
Originally developed at:
https://github.com/scottj97/environment-modules-in-git
2019-02-25 10:54:32 +01:00
Xavier Delaruelle
8c9df050f9 doc: introduce cookbook
Add a cookbook section in the documentation and port there the 3
pre-existing recipes: inhibit-report-info, top-priority-values and
unload-firstly-loaded.

Move the examples files of these recipes from contrib/cookbook to
doc/example directory.
2018-11-19 04:02:06 +01:00