Add support for versionprefix to HMNS#1058
Add support for versionprefix to HMNS#1058boegel merged 11 commits intoeasybuilders:developfrom ocaisa:master
Conversation
release EasyBuild v1.15.0
Hopefully, this should cover the support of versionprefix in HMNS
|
Automatic reply from Jenkins: Can I test this? |
suffix should have been prefix
There was a problem hiding this comment.
This pattern is now occurring quite often, so it's probably worthwhile to introduce a dedicated utility method for this:
def det_full_version(self, ec):
"""Determine full version, taking into account version prefix/suffix."""
return ec['versionprefix'] + ec['version'] + ec['versionsuffix']and then here use:
return os.path.join(ec['name'], self.det_full_version(ec))|
Jenkins: ok to test |
|
Test FAILed. |
Stitch together the version name in utility and replace occurences
|
Test FAILed. |
|
Test FAILed. |
|
Build failed...bit stumped about what I did wrong and I'm not much of a Python programmer...is it a problem with REQUIRED_KEYS? Jenkins build said |
|
@ocaisa: this is just the unit tests which are passing incomplete easyconfig dictionaries that do not include |
versionprefix is not always available, only use it when it's defined
|
Test PASSed. |
|
Looks great now, Jenkins is happy, and thus so am I. Merging this in, thanks @ocaisa! |
Add support for versionprefix to HMNS
Tried to add support for versionprefix to the default HMNS