-
Notifications
You must be signed in to change notification settings - Fork 217
probe external modules for missing metadata that is not provided via extermal module metadata file #3174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
probe external modules for missing metadata that is not provided via extermal module metadata file #3174
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
d56f4fa
Adding the lowercase module name scheme
victorusu dc51f55
Merge pull request #3 from victorusu/lowercase-name-scheme
victorusu 54d9722
Merge branch 'master' of https://github.com/easybuilders/easybuild-fr…
victorusu 00d0077
Merge branch 'master' of https://github.com/easybuilders/easybuild-fr…
victorusu 46473d5
Add probe of PREFIX and VERSION variable in external modules
victorusu 9cdf2ed
Fix PR remarks and add support for Lua syntax
victorusu afe4e11
Improve the design
victorusu 5d87a9a
improve cray support
victorusu 6648542
Fix PR remarks
victorusu bab80b3
Add Cray specific mapping
victorusu b3152c7
Address PR remarks
victorusu e6f3eb7
Address style changes
victorusu 6d3a63e
Quick fix to test external_metadata definition hypothesis
victorusu 1a8cf18
Merge branch 'develop' into cug20
boegel b80c8d6
Merge pull request #4 from boegel/cug20
victorusu e36cde2
rename ModulesTool.get_variable_from_modulefile method to ModulesTool…
boegel 1507e62
reimplement handle_external_module_metadata + clean up probe_external…
boegel 0277662
enhance test_external_dependencies to check probing of external modul…
boegel 12573ab
fix broken test_resolve_dependencies test by providing dummy implemen…
boegel a9facb3
strip off leading/trailing whitespace in get_setenv_value_from_module…
boegel 227a9fd
use prefix value rather than name of environment variable that contai…
boegel 1fbea39
Merge pull request #5 from boegel/cug20
victorusu 3aed793
remove unused imports in test/framework/modules.py
boegel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if prefix is found but not version, and if the version is in
dep_name, can't we simply use that one?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The point is to only trust the metadata obtained by probing the module if it provides both the installation prefix and software version.
If it only provides one of both, we could have a "lucky hit", and the obtained metadata may be less trustworthy...
Let's go forward as is with this strict requirement, which can easily be loosened up later (the other way around is more difficult).
The other scenario, where the prefix is already known from the metadata file, but (only) the version is available through the module, may actually be more likely (since the prefix can be specified as the name of the environment variable specifying the installation prefix, not an actual hardcoded prefix, which can be done generically in the metadata file).