Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -614,19 +614,19 @@ modulecmd.tcl: tcl/cache.tcl tcl/coll.tcl tcl/envmngt.tcl tcl/init.tcl \
echo "#!$(TCLSH)" > $@
sed -e '3s/.*/# MODULECMD.TCL, a pure TCL implementation of the module command/' \
-e '1d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/init.tcl >> $@
sed -e '1,22d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/util.tcl >> $@
sed -e '1,22d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/envmngt.tcl >> $@
sed -e '1,22d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/report.tcl >> $@
sed -e '1,22d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/interp.tcl >> $@
sed -e '1,22d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/mfcmd.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/util.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/envmngt.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/report.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/interp.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/mfcmd.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/modscan.tcl >> $@
sed -e '1,22d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/modfind.tcl >> $@
sed -e '1,22d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/modeval.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/modfind.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/modeval.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/modspec.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/cache.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/coll.tcl >> $@
sed -e '1,22d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/subcmd.tcl >> $@
sed -e '1,22d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/main.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/subcmd.tcl >> $@
sed -e '1,20d' -e '/^# vim:/d' -e '/^# ;;;/d' tcl/main.tcl >> $@
chmod +x $@

# generate an empty changelog file if not working from git repository
Expand Down
3 changes: 3 additions & 0 deletions NEWS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ Modules 5.8.0 (not yet released)
modulefile command. (fix issue #532)
* Fix :command:`ml` command to correctly call a sub-command when command
line switches like :option:`--tag` are set before the sub-command name.
* Attribute the copyright of the files maintained by the project to the
*Modules Contributors* in their header, like done for the documentation.
Copyright years are no more mentioned on these collective notices.


.. _5.7 release notes:
Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
#
# CONFIGURE, check requirements then set variables and create Makefiles
# Copyright (C) 2017-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion init/zsh-functions/_module.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#
# Zsh command-line completion for module
# Copyright (C) 2017 Xavier Delaruelle <xavier.delaruelle@cea.fr>
# Copyright (C) Modules Contributors
#

_module_avail() {
Expand Down
2 changes: 1 addition & 1 deletion lib/envmodules.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*************************************************************************
*
* ENVMODULES.C, Modules Tcl extension library
* Copyright (C) 2018-2026 Xavier Delaruelle
* Copyright (C) Modules Contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion lib/envmodules.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*************************************************************************
*
* ENVMODULES.H, Modules Tcl extension library
* Copyright (C) 2018-2026 Xavier Delaruelle
* Copyright (C) Modules Contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion lib/testutil-0getgroups.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*************************************************************************
*
* TESTUTIL-GETGROUPS.C, Superseded getgroups function for test purpose
* Copyright (C) 2020-2026 Xavier Delaruelle
* Copyright (C) Modules Contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion lib/testutil-closedir.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*************************************************************************
*
* TESTUTIL-CLOSEDIR.C, Superseded closedir function for test purpose
* Copyright (C) 2019-2026 Xavier Delaruelle
* Copyright (C) Modules Contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion lib/testutil-dupgetgroups.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*************************************************************************
*
* TESTUTIL-DUPGETGROUPS.C, Superseded getgroups function for test purpose
* Copyright (C) 2020-2024 Xavier Delaruelle
* Copyright (C) Modules Contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion lib/testutil-getgroups.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*************************************************************************
*
* TESTUTIL-GETGROUPS.C, Superseded getgroups function for test purpose
* Copyright (C) 2020-2026 Xavier Delaruelle
* Copyright (C) Modules Contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion lib/testutil-getpwuid.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*************************************************************************
*
* TESTUTIL-GETPWUID.C, Superseded getpwuid function for test purpose
* Copyright (C) 2020-2026 Xavier Delaruelle
* Copyright (C) Modules Contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion lib/testutil-mktime.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*************************************************************************
*
* TESTUTIL-MKTIME.C, Superseded mktime function for test purpose
* Copyright (C) 2020-2026 Xavier Delaruelle
* Copyright (C) Modules Contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion lib/testutil-tcl_loadfile.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*************************************************************************
*
* TESTUTIL-TCL_LOADFILE.C, Superseded Tcl_LoadFile function for test purpose
* Copyright (C) 2026 Xavier Delaruelle
* Copyright (C) Modules Contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion lib/testutil-time.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*************************************************************************
*
* TESTUTIL-TIME.C, Superseded time function for test purpose
* Copyright (C) 2020-2026 Xavier Delaruelle
* Copyright (C) Modules Contributors
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/commit-msg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
#
# COMMIT-MSG, hook script to verify commit message
# Copyright (C) 2022-2023 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/envml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
#
# ENVML, setup environment with module then run specified command
# Copyright (C) 2015-2022 CEA/DAM
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/envml.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
setlocal enabledelayedexpansion

:: ENVML, setup environment with module then run specified command
:: Copyright (C) 2015-2021 CEA/DAM
:: Copyright (C) Modules Contributors
::
:: This program is free software: you can redistribute it and/or modify
:: it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/mb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env tclsh
#
# MB, make bench between modulecmd versions
# Copyright (C) 2019-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/mlprof
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env tclsh
#
# MLPROF, profile a given modulecmd execution
# Copyright (C) 2019-2025 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/modulecmd.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
#
# MODULECMD, execute module command corresponding to active flavor
# Copyright (C) 2018-2021 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/mpt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env expect
#
# MPT, make parallel tests by running testsuite files in isolated shards
# Copyright (C) 2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/mpub
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env tclsh
#
# MPUB, publish new release and update website
# Copyright (C) 2020-2025 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/mrel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env tclsh
#
# MREL, build release files and test them
# Copyright (C) 2020-2025 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/mt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
#
# MT, run all or specific parts of the test suite
# Copyright (C) 2018-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/mtreview
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env tclsh
#
# MTREVIEW, review test suite log file
# Copyright (C) 2019-2022 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/nglfar2ccov
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env tclsh
#
# NGLFAR2CCOV, translate Nagelfar coverage result for Codecov report
# Copyright (C) 2017-2023 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/playdemo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env tclsh
#
# PLAYDEMO, play demos recorded with asciinema
# Copyright (C) 2019-2021 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion script/pre-commit
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
#
# PRE-COMMIT, hook script to verify what is about to be committed
# Copyright (C) 2022-2023 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion share/nagelfar/plugin_globalrc.tcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##Nagelfar Plugin : global rc-specific notices
#
# PLUGIN_GLOBALRC.tcl, Nagelfar plugin to lint global rc files
# Copyright (C) 2022-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion share/nagelfar/plugin_modulecache.tcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##Nagelfar Plugin : modulecache-specific notices
#
# PLUGIN_MODULECACHE.tcl, Nagelfar plugin to lint modulecaches
# Copyright (C) 2024 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion share/nagelfar/plugin_modulefile.tcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##Nagelfar Plugin : modulefile-specific notices
#
# PLUGIN_MODULEFILE.tcl, Nagelfar plugin to lint modulefiles
# Copyright (C) 2022-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion share/nagelfar/plugin_modulerc.tcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##Nagelfar Plugin : modulerc-specific notices
#
# PLUGIN_MODULEFILE.tcl, Nagelfar plugin to lint modulercs
# Copyright (C) 2022 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion share/nagelfar/syntaxdb_modulecache.tcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# SYNTAXDB_MODULECACHE.tcl, Nagelfar syntax database to lint modulecaches
# Copyright (C) 2024 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion share/nagelfar/syntaxdb_modulefile.tcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# SYNTAXDB_MODULEFILE.tcl, Nagelfar syntax database to lint modulefiles
# Copyright (C) 2022-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion share/nagelfar/syntaxdb_modulerc.tcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# SYNTAXDB_MODULERC.tcl, Nagelfar syntax database to lint modulercs
# Copyright (C) 2022-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion tcl/cache.tcl.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##########################################################################

# CACHE.TCL, cache management procedures
# Copyright (C) 2022-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 1 addition & 1 deletion tcl/coll.tcl.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##########################################################################

# COLL.TCL, collection management procedures
# Copyright (C) 2016-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 1 addition & 3 deletions tcl/envmngt.tcl.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
##########################################################################

# ENVMNGT.TCL, environment management procedures
# Copyright (C) 2002-2004 Mark Lakata
# Copyright (C) 2004-2017 Kent Mein
# Copyright (C) 2016-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 1 addition & 3 deletions tcl/init.tcl.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
##########################################################################

# INIT.TCL, configuration and state handing procedures
# Copyright (C) 2002-2004 Mark Lakata
# Copyright (C) 2004-2017 Kent Mein
# Copyright (C) 2016-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 1 addition & 3 deletions tcl/interp.tcl.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
##########################################################################

# INTERP.TCL, sub-interpreter management procedures
# Copyright (C) 2002-2004 Mark Lakata
# Copyright (C) 2004-2017 Kent Mein
# Copyright (C) 2016-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
4 changes: 1 addition & 3 deletions tcl/main.tcl.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
##########################################################################

# MAIN.TCL, main procedures and code
# Copyright (C) 2002-2004 Mark Lakata
# Copyright (C) 2004-2017 Kent Mein
# Copyright (C) 2016-2026 Xavier Delaruelle
# Copyright (C) Modules Contributors
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Expand Down
Loading
Loading