-
Notifications
You must be signed in to change notification settings - Fork 9
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 repos mounted with trailing @ #58
Comments
This is probably not too hard. Something like: string(REPLACE '@' '' foo ${foo}) could do it (assuming no future components will have an @-symbol in the middle). The problem is changing esma_add_subdirectories (
@MAPL
@GMAO_Shared
@NCEP_Shared
@GSW
)
# Special case - FMS is built twice with two
# different precisions.
add_subdirectory (@FMS fms_r4)
add_subdirectory (@FMS fms_r8) |
I think the idea in the short term will be to modify the esma_add_subdirectories() implementation. It should strip any @ chars from the argument "foo" and then check for directories named "foo" "@foo" and "foo@" and add the first of those that it finds. We can then at our leisure remove the @'s in the various components. Note: Ricardo wants to eliminate them entirely, though mostly because tab complete is not working for him. He may not be opposed to trailing ones. I really don't care so long as there is a consensus and we don't go back and forth. Existing was a proposed solution. Pushback is the change. And then we hold the line. |
…nt-placement-of-@ Fixes #78 support for varying @ placement
…nt-placement-of-@ Patch for fix # 58.
Currently our convention is to mount repos with a leading @ character. There is some pressure to change this to a trailing @. We should generalize the few points that currently strip @ to strip off leading and trailing @. Then, if someone really prefers the alternative convention, they can always modify their own mepo config file.
The text was updated successfully, but these errors were encountered: