-
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
xtriggers: reinstate Cylc 7 template variables #4777
Conversation
* Sibling: cylc/cylc-flow#4777 * Requires: cylc#422
* Closes cylc#4757 * Reinstate Cylc 7 xtrigger template variables with deprecation warnings to allow 7/8 compativle xtrigger definitions. * Deprecate `workflow_name` in favor of `workflow` for consistency with event template variables (and because it's `workflow_id` not `workflow_name`). * Raise a special xtrigger config exception that inheritc from CylcError rather than primitive exceptions so make errors format more nicely on the CLI.
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. One question: why retain workflow_name
(as well as suite_name
) as deprecated?
I did this because it looks like we have a few RC users out there and didn't want to re-mess-up their workflows. |
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.
Good 👍
Possibly a marginal call, but I reckon one review will do for this.
* Sibling: cylc/cylc-flow#4777 * Requires: cylc#422
* Sibling: cylc/cylc-flow#4777 * Requires: #422
workflow_name
in favor ofworkflow
for consistency with event template variables (and because it'sworkflow_id
notworkflow_name
).Requirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
andconda-environment.yml
.