Skip to content
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

app-run: add opts into the rose-app-run.conf #2804

Open
oliver-sanders opened this issue Jul 31, 2024 · 0 comments
Open

app-run: add opts into the rose-app-run.conf #2804

oliver-sanders opened this issue Jul 31, 2024 · 0 comments
Labels
Milestone

Comments

@oliver-sanders
Copy link
Member

Note This applies to rose app-run and rose task run.

When a rose application is run, we output the flattened configuration to the rose-app-run.conf file.

Any optional configs or CLI options are applied before this file is written out, so this exists to reference the exact configuration run.

It might be useful to record any optional configurations that the app was run with in this file for ease of reference.

E.G:

!opts=foo bar baz

[command]
default=true

Note, I have made opts an "ignored" variable here as the opts have already been applied (so are no longer a functional part of the configuration) and because the opt/ files are not present at this point (so leaving it "enabled" would prevent you from being able to parse this config at a later date).

See https://cylc.discourse.group/t/rose-any-way-to-get-list-of-opt-conf-keys-used/990/3

@oliver-sanders oliver-sanders added this to the back-burner milestone Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant