Skip to content

Commit 034cfac

Browse files
authored
Merge pull request #545 from cylc/8.0.x
8.0.x
2 parents 7ac99b0 + bda41e6 commit 034cfac

File tree

12 files changed

+52
-42
lines changed

12 files changed

+52
-42
lines changed

src/7-to-8/major-changes/cylc-install.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,9 @@ the :term:`run directory` to the install target.
9393

9494
If you have used Rose 2019, you may be used to all files and directories in
9595
the run directory being included.
96-
However, Cylc 8 will only copy the ``app``, ``bin``, ``etc`` and ``lib``
97-
directories by default (in addition to authentication files in ``.service``).
96+
However, Cylc 8 will only copy the ``ana``, ``app``, ``bin``, ``etc`` and
97+
``lib`` directories by default (in addition to authentication files in
98+
``.service``).
9899
If you want to include custom files and directories in remote installation,
99100
use :cylc:conf:`flow.cylc[scheduler]install`.
100101

src/7-to-8/summary.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ take action on any warnings.
4646
.. TODO Add ref to breaking changes section within Major changes, once created,
4747
including optional ouputs.
4848
49+
.. note::
50+
51+
Validation warnings use a :ref:`shorthand notation<config_item_shorthand>`
52+
to refer to nested configuration settings on a single line, like this:
53+
``[section][sub-section]item``.
4954

5055

5156
New Web and Terminal UIs

src/dictionaries/proper_nouns

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Aldergrove
2+
ana
23
Boolean
34
Booleans
45
Camborne

src/dictionaries/words

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ dirs
3131
duration
3232
durations
3333
env
34+
etc
3435
executables
3536
facade
3637
filename
@@ -146,7 +147,7 @@ runnable
146147
runtime
147148
schd
148149
screenshot
149-
setups
150+
setup
150151
setups
151152
shebang
152153
shutdown

src/hyperlinks.rst.include

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
.. _Cylc Discourse Forum (7-to-8 topic): https://cylc.discourse.group/c/cylc/7-to-8/13
1010
.. _DataPoint: https://www.metoffice.gov.uk/services/data/datapoint
1111
.. _Discourse: https://cylc.discourse.group/
12-
.. _EmPy: http://www.alcyone.com/software/empy/
12+
.. _EmPy: https://pypi.org/project/empy/
1313
.. _FCM User Guide: http://metomi.github.io/fcm/doc/user_guide/
1414
.. _FCM: https://metomi.github.io/fcm/doc/
1515
.. _INI: https://en.wikipedia.org/wiki/INI_file

src/plugins/install/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ In this example a pre-configure plugin which logs a "Hello World" message
3535
and, after installation, logs some info about the installation:
3636

3737
.. code-block:: python
38-
:caption: my_plugin.py
38+
:caption: ``my_plugin.py``
3939
4040
from cylc.flow import LOG
4141
@@ -54,7 +54,7 @@ Plugins are registered by registering them with the ``cylc.pre_configure``
5454
and ``cylc.post_install`` entry points:
5555

5656
.. code-block:: python
57-
:caption: setup.py
57+
:caption: ``setup.py``
5858
5959
# plugins must be properly installed, in-place PYTHONPATH meddling will
6060
# not work.

src/reference/config/file-format.rst

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -158,23 +158,19 @@ Include-files
158158
:ref:`Jinja2's <Jinja>` template inclusion mechanism can be used with Cylc
159159
too.
160160

161+
.. _config_item_shorthand:
161162

162163
Shorthand
163164
---------
164165

165-
Throughout the documentation we refer to configuration settings in the
166-
following way:
167-
168-
``[section]``
169-
An entire section.
170-
``[section]setting``
171-
A setting within a section.
172-
``[section]setting=value``
173-
The value of a setting within a section.
174-
``[section][sub-section]another-setting``
175-
A setting within a sub-section.
176-
177-
.. warning::
178-
We only use one set of square brackets at each level when writing nested
179-
sections on one line like this. But in the file, each sub-section
180-
gets additional square brackets as shown above.
166+
.. include:: shorthand.rst
167+
168+
.. code-block:: cylc
169+
170+
# This:
171+
# [runtime][task-a][environment]FOO = foo
172+
# Means:
173+
[runtime]
174+
[[task-a]]
175+
[[[environment]]]
176+
FOO = foo

src/reference/config/shorthand.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
We often use a compact single-line notation to refer to nested config items:
2+
3+
``[section]``
4+
An entire section.
5+
``[section]setting``
6+
A setting within a section.
7+
``[section]setting=value``
8+
The value of a setting within a section.
9+
``[section][sub-section]another-setting``
10+
A setting within a sub-section.
11+
12+
In the file, however, section headings need additional brackets at each level.

src/tutorial/scheduling/graphing.rst

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -58,18 +58,7 @@ Example
5858
Shorthand
5959
^^^^^^^^^
6060

61-
Throughout this tutorial we will refer to configuration settings in the following ways:
62-
63-
``[section]``
64-
An entire section.
65-
``[section]key``
66-
A specific config item, within a section.
67-
``[section]key=value``
68-
The value of a specific config item, within a section.
69-
``[section][sub-section]another-key``
70-
Note we only use one set of square brackets per section heading when
71-
writing on one line like this. In the config file each nested level
72-
gets another set of square brackets.
61+
.. include:: ../../reference/config/shorthand.rst
7362

7463
Duplicate Items
7564
^^^^^^^^^^^^^^^

src/user-guide/running-workflows/scheduler-start-up.rst

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,16 @@ files and directories required to run jobs, including authentication keys
169169

170170
The default directories included in the remote install are:
171171

172-
* ``app/``
173-
* ``bin/``
174-
* ``etc/``
175-
* ``lib/``
172+
``ana/``
173+
For workflow-level :ref:`builtin.rose_ana` analysis modules.
174+
``app/``
175+
For :ref:`Rose Applications`.
176+
``bin/``
177+
For scripts and executables to be run by tasks.
178+
``etc/``
179+
For miscellaneous resources.
180+
``lib/``
181+
For shared libraries e.g. :ref:`CustomJinja2Filters`.
176182

177183
These will be transferred from the workflow run directory on the
178184
:term:`scheduler` host to the remote host.

0 commit comments

Comments
 (0)