-
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
conf: configuration file changes #3689
Comments
Are we looking to totally rename |
Yep, though I think we may still be a little unsettled on terminology, generally speaking:
|
To avoid ambiguity, I wonder if we should:
The only spanner-in-the-works here would be that we agreed on |
What's the upshot of renaming |
There’s not much “upshot” (consequences?) but the reason is (quoting Oliver on our chat platform today):
|
(We will of course maintain backward compatibility with |
Update: We've recently moved to setting the Cylc version to
This way the dev version can be configured separately, but also, it can just pick up the config for the next release which makes life easier. |
All good points, but is it worth it without any real "meat" behind this change? I don't think the "suite" nomenclature is going away anytime soon - we have it all over our systems (environment variables, file paths, documentation, ...) and I expect similar for other users. |
What do people think of this way of upgrading existing |
Personally I didn't want to go arbitrary renaming things, however, as Cylc8 has evolved the case has deepened. We are aiming for something of a clean slate with Cylc8 and nomenclature is a large part of that theory. The old There are a few pros to the change albeit small ones:
All of these will change at our end with Cylc8 (obviously with back-compat), the word "suite" will be eradicated from the system pre release. |
What about Also I've noticed several references to |
The original global config file name (and still on branch 7.8.x). Changing to |
Yes 👍 |
After the PR's merged, would it make sense to add a GH Actions workflow/step that checks PRs' additions don't include |
That could potentially be annoying. We might still have to use the word "suite" sometimes, e.g. when talking about backward compatibility and transitioning to Cylc 8 ... |
I think we can manually police this one if worried we can always add our own pre-commit hooks to grep |
Re: new global config hierarchy
Does that mean the configs should "cascade" (like in CSS), or is it that the most specific one only should be used? |
So for this example all four files would be read. |
What should we do with |
I think The main use of these options is in For now the simplest way forward would be to remove the concept of a "site" # untested
- SITE_TESTS_CONF_FILE="$(cylc get-global --print-site-dir)/global-tests.cylc"
- USER_TESTS_CONF_FILE="$(cylc get-global --print-user-dir)/global-tests.cylc
+ USER_TESTS_CONF_FILE="$HOME/.cylc/flow/$(cylc version)/global-tests.cylc" |
@oliver-sanders I take it there aren't any changes needed and this can be ticked off? |
As documented in the config change proposal document:
.cylc
extension and the new configuration file names.suite.rc
filename with a warning of some kind for the user.CYLC_CONF_PATH
required.CYLC_SITE_CONF_PATH
variable.Pull requests welcome!
The text was updated successfully, but these errors were encountered: