-
Notifications
You must be signed in to change notification settings - Fork 204
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
support alternative naming schemes for modules #173
Comments
as regards this one, I can see 3 possible directions:
I find that the 1st one is trivial to implement -without the deps- outside eb mechanisms; The 2nd is kind of middleground to allow some pretty good compatibility with sites making the transition from legacy module namespace schemes to easybuild (which is far more rigorous) The 3rd one is a more generic approach and should cover multiple scenarios, The mapping function could also include retrieving the info from a "module mapping file", |
Hi there, after pondering a bit more on this one, here's some summary of what I think is the big picture:
Because we cannot have it all before v1.0 -due to time needed to implement the "best" solution-, Hopefully that covers the following scenarios relatively easily (read: before v1.0),
In the ideal (long-term) situation, the full flexibility of modules should be available,
I have to admit I cannot easily grasp all the potential different specializations In essence, the proposed idea is option (3) of the previous email in this thread. Fotis |
Considering my remark on #346, I do not think that the splitting should be done in the easyconfigs. That would mean each site with a different naming scheme would have to change all the easyconfigs they want. I hardly see the problem with offering a class that splits the module name into some format easybuild can handle and allow sites to offer a subclass that changes this to their needs. |
No, not in the easyconfigs, that would be madness. In the EasyBuild configuration file, where you also specify things like My current plan is to support a function like The current default would then be equivalent with something like (untested):
You'd probably also need a function that does the reverse, i.e. deconstruct a given module name in parts and make sense of them. |
shouldn't we close this one now that v1.8.0 is out? |
I'll consider this fully fixed one #687 is handled, so let's leave it open for now. |
#687 is fixed, so closing this |
(old internal ticket 284, 324)
We should allow a way to specify a custom naming scheme for modules, instead of the default that EasyBuild uses now, i.e.
name-prefix-version-toolkit-suffix
.This is badly needed for most big HPC sites.
Notes, as discussed during the 1st EasyBuild hackathon:
The list below gives an overview of what this custom naming scheme should support (compiled by @fgeorgatos):
The text was updated successfully, but these errors were encountered: