mirror of
https://github.com/envmodules/modules.git
synced 2026-06-14 00:42:43 +08:00
Add nearly_forbidden_days configuration
Introduce the `nearly_forbidden_days` configuration to determine the number of days a module should be considered *nearly forbidden* prior reaching its expiry date set by `module-forbid` modulefile command. Default value for this option is obtained from --with-nearly-forbidden-days configure option, which is set to 14 days by default. Configuration value can be superseded by use of MODULES_NEARLY_FORBIDDEN_DAYS environment variable.
This commit is contained in:
@@ -87,6 +87,8 @@ array set g_config_defs [list\
|
||||
ignored_dirs {{} {CVS RCS SCCS .svn .git .SYNC .sos} 0}\
|
||||
locked_configs {{} {@lockedconfigs@} 0}\
|
||||
ml {MODULES_ML @ml@ 0 {0 1}}\
|
||||
nearly_forbidden_days {MODULES_NEARLY_FORBIDDEN_DAYS @nearlyforbiddendays@\
|
||||
0 integer}\
|
||||
pager {MODULES_PAGER {@pagercmd@} 0}\
|
||||
rcfile {MODULERCFILE <undef> 0}\
|
||||
run_quarantine {MODULES_RUN_QUARANTINE <undef> 0}\
|
||||
|
||||
Reference in New Issue
Block a user