Commit Graph

986 Commits

Author SHA1 Message Date
gsell b308bf252a modulecmd: mapping of sub-cmds and their aliases to functions reviwed 2022-08-03 16:32:20 +02:00
gsell f83b68ba0d modulecmd: cosmetic changes (spacing) and comments added/edited 2022-08-03 16:29:50 +02:00
gsell 42929f835f modulecmd: support for modulecmd written in Tcl removed 2022-08-03 15:57:20 +02:00
gsell bfcb42a396 modbuild: bugfixes 2022-07-29 15:56:08 +02:00
gsell 381a7c5d56 Merge branch '32-overlay-implementation' of gitlab.psi.ch:Pmodules/src into 32-overlay-implementation 2022-07-29 14:56:03 +02:00
gsell 2026450fbe overlay doc updated 2022-07-29 14:55:31 +02:00
gsell 25aebf7518 Changelog updated 2022-07-29 14:54:55 +02:00
gsell bc38136787 modbuild: quering group, supported systems and compilers added to YAML
another big change is the re-ordering of the public pbuild:: functions
2022-07-29 14:53:01 +02:00
gsell c8b61bbf5f libpbuild: pbuild::supported_os removed 2022-07-29 14:50:25 +02:00
gsell 06c41be687 modbuild/libpbuild: print warnings if deprecated functions are used 2022-07-29 14:47:33 +02:00
gsell 1048ebfe40 Changelog edited 2022-07-29 08:43:55 +02:00
gsell c6be30005a Merge branch '168-modulecmd-sub-cmd-whatis-and-keyword-are-broken' into '32-overlay-implementation'
Resolve "modulecmd: sub-cmd whatis and keyword are broken"

See merge request Pmodules/src!141
2022-07-28 14:30:19 +00:00
gsell e4e21ebd55 modulecmd: add 'find' as alias of sub-cmd 'search'
In the Tcl Environment Module version 4 and newer the sub-cmds
'appropos' and 'keyword' have been replaced by the sub-cmd 'search'.
Thsi conflicts with Pmodules 'search' sub-cmd. In the future we might
have to rename the 'search' sub-cmd to 'find'.
2022-07-28 16:20:09 +02:00
gsell 9f3496010b modulecmd: sub-cmds whatis and keyword/apropos fixed 2022-07-28 16:19:35 +02:00
gsell b764a92f2c modulecmd: restrict search to group and output only newest
Two option have been added to the search sub-cmd:
--newest:
	output only the newest version matching the search string
--group <group>:
	search only in <group>
2022-07-28 16:15:05 +02:00
gsell 3a0ab71684 modulecmd: bugfix in sub-cmd 'use'
Missing return added if argument is a directory to add to
MODULEPATH
2022-07-28 16:12:20 +02:00
gsell 9820a80768 Merge branch '167-modulecmd-fix-issue-with-unalias-in-purge-cmd' into '32-overlay-implementation'
Resolve "modulecmd: fix issue with unalias in purge cmd."

See merge request Pmodules/src!140
2022-07-27 11:53:15 +00:00
gsell d9cf0684cd modulecmd: unalias issue in sub-cmd purge fixed 2022-07-27 13:42:21 +02:00
gsell 9ca6243cde Merge branch '32-overlay-implementation' of gitlab.psi.ch:Pmodules/src into 32-overlay-implementation 2022-07-27 11:04:09 +02:00
gsell 1aebcfd069 profile.zsh: rename __pm_root__ to __this_file__ 2022-07-27 11:03:57 +02:00
gsell 79de349789 upstream merged 2022-07-27 10:50:23 +02:00
gsell 247c861582 modbuild: queries from YAML module config file added 2022-07-27 00:22:57 +02:00
gsell 49b2b0d4a9 upstream merged 2022-07-25 13:53:51 +02:00
gsell 542684551f profile.zsh: export PMODULES_VERSION 2022-07-25 13:52:27 +02:00
gsell 3b36bd4991 Merge branch '32-overlay-implementation' of gitlab.psi.ch:Pmodules/src into 32-overlay-implementation 2022-07-18 15:58:25 +02:00
gsell c7ebba83df overlay doc updated 2022-07-18 15:58:10 +02:00
gsell cddc918652 modbuild: new key 'build_requires' in YAML variant files 2022-07-15 18:23:11 +02:00
gsell 3a7746805d modbuild: cleanup 2022-07-15 18:21:55 +02:00
gsell fa84196a04 libpbuild.bash: fix in comment 2022-07-15 18:20:53 +02:00
gsell 3b0ed98524 libpbuild.bash: create $PREFIX dir before install target
The directory $PREFIX should not created to early. If $PREFIX is
created at the beginning and a build target fails, the next build
attempt will skip all build targets.
2022-07-15 18:15:34 +02:00
gsell 18284822f8 libpbuild.bash: curl on RHEL7 doesn't support the opt '--remove-on-error' 2022-07-15 18:14:26 +02:00
gsell 4e2150b6d7 libpmodules: create directory in compute_group_depth() if missing 2022-07-15 18:10:58 +02:00
gsell 2112a05dea modbuild: issues with nounset fixed 2022-07-15 18:07:05 +02:00
gsell a7c50a9459 cleanup, re-factoring, minor fixes, comments added 2022-07-12 16:21:21 +02:00
gsell 48ea630332 modbuild: fixed some issues if nounset is set 2022-07-08 11:43:08 +02:00
gsell 6eced654eb modbuild: for the time being we don't set 'nounset' 2022-07-04 19:15:43 +02:00
gsell 9e63b4571b modbuild: querying dependencies fixed
and old cleanup_modulefiles() removed
2022-07-04 19:14:51 +02:00
gsell e9cfc1fee4 modbuild: a default release stage can now be set in the header 2022-07-04 19:13:59 +02:00
gsell 22c30aced7 modbuild: handling of empty variant array fixed
an entry
  <name>/<version>:
without further information is legal and must be handled properly.
2022-07-04 19:08:10 +02:00
gsell cd1788704d modbuild: issue with cleaning up modulefiles in overlays fixed 2022-07-04 19:07:24 +02:00
gsell dca348c4e3 accessing unset variables fixed 2022-07-04 19:03:19 +02:00
gsell cebae11b38 cleanup unused files 2022-07-04 10:22:48 +02:00
gsell c80d57d7b7 modulefile: source shell init script only in mode 'load' 2022-07-01 16:37:39 +02:00
gsell 06491fde93 modulecmd: issue with PMODULES_HOME fixed in sub-cmd purge
the env.variable PMODULES_HOME must be preserved.
2022-07-01 16:35:15 +02:00
gsell 17ebf5c1ae modbuild: code beautifying 2022-07-01 16:30:45 +02:00
gsell 9a8fd16372 modbuild: use full path to call yq 2022-07-01 16:29:17 +02:00
gsell bf17ee6075 modbuild: cleanup modulefiles must be done after building all variants 2022-07-01 16:26:58 +02:00
gsell b6244e1659 Merge branch '32-overlay-implementation' of gitlab.psi.ch:Pmodules/src into 32-overlay-implementation 2022-06-30 22:45:16 +02:00
gsell 17d0d12de8 Overlays doc added 2022-06-30 22:44:42 +02:00
gsell 7d9e32f633 modbuild/libpbuild: some code polishing 2022-06-30 18:41:26 +02:00