Cylc-flow: symlink dirs: move into [install] section

Created on 18 May 2021  路  3Comments  路  Source: cylc/cylc-flow

The [symlink dirs] section applies only to the cylc install command, propose moving it into the [install] section.

For reference the config tree currently looks like so:

>>> from cylc.flow.cfgspec.globalcfg import SPEC
>>> print(SPEC.tree())
global.cylc
    ...
    [install]
        source dirs
    ...
    [symlink dirs]
        [<install target>]
            run
            log
            share
            share/cycle
            work

Pull requests welcome!

small question config change

Most helpful comment

In my mind, I think it makes sense to move [symlink dirs] into the install section, even though it is used by cylc play. I can see see the install section as a setup type section, that deals with installation of files for a workflow. Rather than being only strictly used for cylc install?

All 3 comments

So it would be [install][symlink dirs][<install target>]...? Can't see any reason not to

The [symlink dirs] section applies only to the cylc install command

Also used by cylc play (as part of remote init)

In my mind, I think it makes sense to move [symlink dirs] into the install section, even though it is used by cylc play. I can see see the install section as a setup type section, that deals with installation of files for a workflow. Rather than being only strictly used for cylc install?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kinow picture kinow  路  4Comments

sadielbartholomew picture sadielbartholomew  路  4Comments

oliver-sanders picture oliver-sanders  路  4Comments

sadielbartholomew picture sadielbartholomew  路  5Comments

kinow picture kinow  路  4Comments