-
Notifications
You must be signed in to change notification settings - Fork 203
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
Allow use of custom delimiter for paths in module generator #4687
base: 5.0.x
Are you sure you want to change the base?
Conversation
personally, I'd be in favour of the more explicit:
|
Having looked at the code, we have allowed tuples to be used instead of lists here, so might be best to opt for the dict for that reason alone. I added support for that now be rewriting the necessary parts in modextra. Completely untested so far, I ran out of time. |
|
had a 2 day meeting that got in the way of finishing this. I hate regexes. The generated file should be OK i think. Lets see if i got it right now |
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.
Looks good, I only have some comments to simplify the code.
Co-authored-by: Alex Domingo <alex.domingo.toro@vub.be>
This is the straight forward option that we definitely should expose.
It would allow any easyblock to use this at least, though in practice, we should also enable some way for easyconfigs to chose this when specifying modextrapaths.
I left that out for this initial PR, since we need to introduce some new syntax. Maybe good to mark that for 5.0.x.
Various ideas have been thrown out:
That's about all the options I can think of. I would be against doing
since it could allow for different separators to be used for the same variable, which doesn't make any sense.
Needs tests.