-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bugSomething isn't workingSomething isn't working
Description
It looks like #398 has caused problems.
There are now spurious quotes appearing.
This may not be restricted to ROSE_ORIG_HOST and be general to internally generated variables (please confirm this!).
Reproducible Example
./rose-suite.conf
[template variables]
FOO="abc"./flow.cylc
``ini
#!Jinja2
[meta]
description= """
FOO={{ FOO }}
BAR={{ BAR }}
ROSE_ORIG_HOST={{ ROSE_ORIG_HOST }}
"""
```console
$ cylc install . -n xxx -S BAR='"bcd"'
INSTALLED xxx/run2 from ...
$ cylc view xxx -p
[meta]
description= """
FOO=abc
BAR=bcd
ROSE_ORIG_HOST="cazldf0000D0.spice.sc.metoffice.gov.uk"
"""
Note, neither FOO (rose-suite.conf) or BAR (CLI) are quoted, however ROSE_ORIG_HOST (internal) is.
The really interesting this is you have to install the workflow to see this issue, working from source, there are no spurious quotes:
$ cylc view -p . -S BAR='"bcd"'
[meta]
description= """
FOO=abc
BAR=bcd
ROSE_ORIG_HOST=cazldf0000D0.spice.sc.metoffice.gov.uk
"""This likely pins the issue in the loading of the cylc-install optional config.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working