"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/source/cookbook/modulefiles-in-git.rst" between
modules-5.1.1.tar.bz2 and modules-5.2.0.tar.bz2

About: The Environment Modules package provides for the dynamic modification of a user’s environment via modulefiles.

modulefiles-in-git.rst  (modules-5.1.1.tar.bz2):modulefiles-in-git.rst  (modules-5.2.0.tar.bz2)
skipping to change at line 87 skipping to change at line 87
module use /\$MODULES_REPO module use /\$MODULES_REPO
(The extra slash required before \$MODULES_REPO is a `bug (The extra slash required before \$MODULES_REPO is a `bug
<https://github.com/cea-hpc/modules/issues/223>`_ to be fixed in <https://github.com/cea-hpc/modules/issues/223>`_ to be fixed in
4.2.3.) 4.2.3.)
Copy the ``localmodules`` file from the Modules source tree to your Copy the ``localmodules`` file from the Modules source tree to your
repo:: repo::
cd /home/modules/modulefiles cd /home/modules/modulefiles
curl --output localmodules https://raw.githubusercontent.com/cea-hpc/modules /master/doc/example/modulefiles-in-git/modulefiles/localmodules curl --output localmodules https://raw.githubusercontent.com/cea-hpc/modules /main/doc/example/modulefiles-in-git/modulefiles/localmodules
Edit paths in the top of ``localmodules``, if your installation Edit paths in the top of ``localmodules``, if your installation
differs from the assumptions, then:: differs from the assumptions, then::
git add localmodules git add localmodules
git commit -m 'Add localmodules from github.com/cea-hpc/modules' git commit -m 'Add localmodules from github.com/cea-hpc/modules'
Usage example Usage example
------------- -------------
skipping to change at line 111 skipping to change at line 111
cd $HOME/modulefiles cd $HOME/modulefiles
Edit, test, then:: Edit, test, then::
git commit -am 'Make some edits' git commit -am 'Make some edits'
git push git push
module unload localmodules module unload localmodules
After a successful push and unload, it is safe to delete your local After a successful push and unload, it is safe to delete your local
``$HOME/modulefiles`` directory if you wish. ``$HOME/modulefiles`` directory if you wish.
.. vim:set tabstop=2 shiftwidth=2 expandtab autoindent:
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)