mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 10:03:08 +02:00
11 KiB
11 KiB
Changelog of Pmodules
Version 1.1.12
- modulecmd
- User visible changes
- experimental support for Lmod
- support for use flags has been removed. (A postfix like '_slurm' can still be used)
- User visible changes
Version 1.1.11
-
modulecmd
- User visible changes
- Improved error handling and messages
- Python support added
- Internal changes and fixes
- Bugfixes
- User visible changes
-
build-system
- User visible changes
- building with legacy variants files fixed.
- building with YAML config files is still experimental and not recommended for now
- User visible changes
Version 1.1.10
-
modulecmd
- User visible changes
- New options for
module search.- With the option
--groupthe search can be restricted to a group. - With the option
--newestonly the newest versions are displayed.
- With the option
findas alias for the sub-commandsearchadded.- Bugfix: the sub-commands
whatisandkeyword|aproposwere broken by design. - Bugfix: after loading a
Pmodulesmodule, it was not shown withmodule list. - Bugfix in scanning the depth of groups.
- Bugfix: after
module purgethe environment variablePMODULES_HOMEwas not defined an more. - Bugfix: source the shell init file only if a
Pmodulesmodule is loaded. - Bugfix: unsetting aliases in modulefiles was not handled
properly in
module purge
- New options for
- Internal changes and fixes
- initialisation error for bash and zsh fixed
- User visible changes
-
build-system
- User visible changes
modbuildis now defined as function likemodule. Therefor noPmodulesmodule must be loaded to build a module withmodbuild- The system can now be defined in the module (YAML) configuration file.
- Build dependencies can (and should) now be specified with
build_requiresin the YAML configuration file. - Bugfix: cleanup of modulefiles in overlays fixed. A module can be in more than one overlay. These overlays must be specified in the module configuration file.
- Bugfix: querying dependencies from YAML configuration file fixed. Under some conditions the string 'null' was in the list of dependencies.
- Bugfix: create group directory if it doesn't exist.
- Bugfix: create the module
$PREFIXbefore processing the install targets not before all targets. If$PREFIXis created before processing any target and the build fails,modbuildassumes that the module have been already built successfully.
- User visible changes
-
Internal changes and fixes
- code review/re-factoring
modbuildis now using the Bash installed inPmodulesitself.- test code with
set -o nounset, several issues with this setting fixed (not necessarily bugs).
-
other changes
-
The build script to bootstrap Pmodules itself doesn't use modbuild any more to compile required software packages. With this change we can remove some special cases from modbuild.
-
The bootstrap script requires Bash 5.0 or newer now.
-
Bugfix: in the
Pmodulesmodulefile force the sourcing of the shell init script while in modeloadonly.
Version 1.1.9
-
modulecmd
- User visible changes
- Overlay info added to output of sub-command
search. - Output of
module search --verboserevised for better readability.
- Overlay info added to output of sub-command
- Internal changes and fixes
- The shell`s init file is sourced, when Pmodules is loaded as module. This is required if there are changes in the module function or too define new shell functions.
- A bug in
libmodules.tcl:module-addgroup()which crashedmodule load ...has been fixed. - In versions before 1.1.9 a colon at the beginning or end of
MODULEPATHcrashed the module function. This has been fixed.
- User visible changes
-
build-system
- User visible changes
- The command
modbuildis now defined as shell function analog to themodulecommand. The main reason to introduce this function is due to the fact that Bash version 5 or newer is now required bymodbuild. The functionmodbuildload Bash 5.x as module before calling the modbuild-script. If you want to use the script directly, a Bash binary with version 5.x must be in PATH. - If a build-script is in the current working directory,
modbuildcan now be called without specifying the build-script. - In case of an error in a build-step the build process did not abort as it should. This has been fixed.
- The option
--overlaycan now be used- to define an overlay if legacy variants files are used
- to override the overlay in a YAML variants file.
- The new keyword
withhas been introduced in YAML variants file to specified hierarchical dependencies. - The function
pbuild::supported_oshas been removed.pbuild::supported_systemsprovides the same functionality for legacy configuration files. In YAML module configuration filessystemshave to be used.
- The command
- User visible changes
-
Internal changes and fixes
- bugfix in setting
PATH - requires bash 5 or later
- bugfix in setting
Version 1.1.8
- modulecmd
- User visible changes
- configuration in YAML files
- modulefiles and software must not have a common root directory
- the installation root must be specified, it doesn`t default to the base 'overlay' any more.
- zsh initialisation fixed.
- Internal changes and fixes
- std::upvar() replaced with reference variables in part of the code.
- environment variable
PMODULES_ROOTremoved. - unsetting aliases fixed.
- update to bash 5.1.16
- update to findutils 4.9 (macOS only)
- minor fixes
- User visible changes
- build-system
- User visible changes
- YAML format for variants files
- Internal changes and fixes
- use lib
libpmodules.bash - bugfixes
- use lib
- User visible changes
- modmanage
- User visible changes
- none, support for overlays still missing
- Internal changes and fixes
- none
- User visible changes
Version 1.1.7
- modulecmd
- list of available overlays in subcommand
useis now better readable
- list of available overlays in subcommand
- buid-system
- overlay definition must now be in YAML format
- support for YAML formatted variant files (the legacy format is still supported)
- build-system in 1.1.6 was still work in progress and broken
Version 1.1.6
- modulecmd
- bugfix in searching/loading modules in a hierarchical group
Version 1.1.5
- first public version with the overlay feature
Version 1.0.0rc11
- modulecmd
- User visible changes
- handling of set-alias in modulefile fixed
- Internal changes and fixes
- none
- User visible changes
- build-system
- User visible changes
- none
- Internal changes and fixes
- none
- User visible changes
Version 1.0.0rc10
- modulecmd
- User visible changes
- The term "releases" has been replaced with "release stages".
The visible changes are the change of the option
--all-releasesto--all-release-stages, adapted help text and configuration files. - New configuration file
Pmodules.confto configure the default visible group, the default visible release stages and the defined releases stages. These information has been stripped from the profilesprofiles.{bash,csh,zsh}. - module are now sorted numerically in output of
module avail. - option
-?added as alias for--help. - new option
--globformodule search. This enables shell glob-pattern searches.
- The term "releases" has been replaced with "release stages".
The visible changes are the change of the option
- Internal changes and fixes
- bugfix in removing temp-file in exit function.
- terse output of
module availfixed. - broken help for sub-commands fixed.
- missing group in output of
module availfixed. - broken output of
module search --print-modulefilesfixed. - argument handling fixed after
--. - cleanup option/argument handling.
- User visible changes
- build-system
- User visible changes
- none
- Internal changes and fixes
- bugfixes in the functions `pbuild::version_{le,gt}
- bugfix in recognising newer CentOS versions
- User visible changes
- modmanage
- User visible changes
- complete re-implementation of (broken) modmanage
- User visible changes
Version 1.0.0rc9
- modulecmd
- User visible changes
- a Pmodules module must be the first module loaded
- new option
--group|-g GROUPto list available modules inGROUP - align columns in output of
module avail - remove path to Pmodules bin directory while unloading a Pmodules module
- exclude a Pmodules module from being purged
- follow sym-links in
ROOT/GROUP/modulefiles
- Internal changes and fixes
- use default field separator by unsetting
IFS - use read-only variables for all used commands with full path
- better tmp-file creation/deletion
- more bugfixes
- use default field separator by unsetting
- User visible changes
- build-system
- User visible changes
- group hierarchy can now be defined in a config file
- Internal changes and fixes
- more bugfixes
- User visible changes
Version 1.0.0rc8
- modulecmd
- User visible changes
- Pmodules can now be loaded as module
- Since
${PMODULES_HOME}/binhas been removed fromPATHin1.0.0rc7a Pmodules module must be loaded to make the build system available.
- Internal changes and fixes
- use system binaries in
/bin:/usr/binif possible
- use system binaries in
- User visible changes
Version 1.0.0rc7
- modulecmd
- User visible changes
- add options to
module searchto show dependencies
- add options to
- Internal changes and fixes
- hardcoded path in
profile.cshfixed - bugfixes
- Update to BASH 5.1
- Update to Tcl 8.6.10
- hardcoded path in
- User visible changes
- build-system
- User visible changes
- building deprecated modules must be forced
- support for versioned modulefiles in build-blocks: if a modulefile
modulefile-X[.Y[.Z]]exists in the build-block it will be taken in favour ofmodulefile- - bootstrap/build script reviewed,
--configoption removed, help for all
sub-commands added
- Internal changes and fixes
- installation of fallback shared libraries fixed.
- bugfixes
- User visible changes
- modmanage
- User visible changes
- Support of run-time dependencies which are required but must not be loaded
- User visible changes
Version 1.0.0rc6
Added features:
- Support for shell
shadded (#86, #90). - Support added for a wildcard (
.*) version as argument tomodbuild(#78)
Fixed bugs:
- Handle empty list of be installed shared libraries fixed (#89).
- Broken 'module load' with (T)CSH fixed (#88).
- prepend instead of append Pmodules bin directory to
PATH(#87). - Bugs in bootstrapping Pmodules fixed (#82)
Version 1.0.0rc5 (since 1.0.0rc2)
Added features:
- log
module loadcommands to system logger (#80)
Changed:
- The argument passed with the
--systemis not any more a synonym for kernel of the system a build process is running on. It now defines a target operating system like RHEL6, macOS1014 etc (#72).
Deprecated:
- calling
pbuild::make_allin a build-script is now deprecate
Fixed bugs:
- Bugs fixed in printing load hints (#48, #49)
- Several bugs in build-systen and
modulecmdfixed. --withoption of sub-command search now accepts a comma separated list of stringsPMODULES_ENVis exported only on content changes
1.0.0rc4
- never tagged
1.0.0rc3
- never tagged