add support for only (re)generating module file#1018
Merged
boegel merged 8 commits intoeasybuilders:developfrom Apr 24, 2015
Merged
add support for only (re)generating module file#1018boegel merged 8 commits intoeasybuilders:developfrom
boegel merged 8 commits intoeasybuilders:developfrom
Conversation
7 tasks
Contributor
There was a problem hiding this comment.
what's with the info message? it just does self.log.info(False)
Conflicts: easybuild/main.py easybuild/tools/config.py easybuild/tools/options.py
8 tasks
Contributor
There was a problem hiding this comment.
should be isdi, and there should be an else block with some error
|
Refer to this link for build results (access rights to CI server needed): |
|
Refer to this link for build results (access rights to CI server needed): |
Member
Author
|
Remarks fixed, this looks a lot cleaner now, thanks for the suggestions @stdweird! I'll tackle documentation updates all in one go (while regtest is running). |
boegel
added a commit
that referenced
this pull request
Apr 24, 2015
add support for only (re)generating module file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds support for only (re)generating a module file. The sanity check is still run, to make sure that the software installation was already taken care of, unless
--forceis used, then you can also generate for non-existing installations (which is great when experimenting with a particular module naming scheme).One thing which is not possible (yet) with this is to generate module files for existing installations using a different module naming scheme, since the installation prefix always matches the module name being used.
This could probably be fixed as well, but needs extra logic and probably and extra command line parameter, to specify using which naming scheme an existing installation was installed (so the software installation prefix can be found).