-
Notifications
You must be signed in to change notification settings - Fork 94
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
Clear all Cylc Rose options after Post-Install plugin #6059
Conversation
# Allow -S and -D and -O to take effect in Cylc VR. | ||
# https://github.com/cylc/cylc-flow/issues/5968 | ||
# & https://github.com/cylc/cylc-flow/issues/6058 | ||
# TODO delete after 8.3.0 when this change will be included in | ||
# Cylc Rose | ||
self.options.rose_template_vars = [] | ||
self.options.defines = [] | ||
self.options.opt_conf_keys = [] |
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.
Why does this work?
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.
Because if we delete the other two and not this one this one will override anything the user has input.
This is probably the wrong thing to do.
closing this because I don't think it's the correct solution: It fixes the proximate problem and not the underlying cause. |
Closes #6058 , itself a side effect of #5996.
Explanation
Cylc play ignores -S but not -O so -O overrides -S, but it shouldn't.
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).CHANGES.md
entry included if this is a change that can affect users?.?.x
branch.