Skip to content

add support for only (re)generating module file#1018

Merged
boegel merged 8 commits intoeasybuilders:developfrom
boegel:only_module
Apr 24, 2015
Merged

add support for only (re)generating module file#1018
boegel merged 8 commits intoeasybuilders:developfrom
boegel:only_module

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented Aug 22, 2014

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 --force is 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).

Comment thread easybuild/framework/easyblock.py Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
@boegel boegel mentioned this pull request Mar 11, 2015
8 tasks
Comment thread easybuild/framework/easyblock.py Outdated
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be isdi, and there should be an else block with some error

@hpcugentbot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/1660/
Test FAILed.

@hpcugentbot
Copy link
Copy Markdown

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/easybuild-framework-pr-builder/1661/
Test PASSed.

@boegel
Copy link
Copy Markdown
Member Author

boegel commented Apr 24, 2015

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants