Skip to content

Commit 4fcf959

Browse files
authored
Merge pull request #732 from oliver-sanders/set-outputs
change set-outputs -> set
2 parents b6e9f27 + 3e87e38 commit 4fcf959

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

src/7-to-8/major-changes/cli.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,16 @@ renamed or removed.
8080
``cylc print``
8181
- Equivalent to ``cylc scan --states=all``.
8282
``cylc reset``
83-
- It is no longer possible to manually change a task's state.
84-
- You can, however, override the outputs the task generated which has a
85-
similar effect with ``cylc set-outputs``.
83+
- ``cylc reset`` has been replaced by ``cylc set``
84+
- At Cylc 8 we override task's prerequisites & outputs rather than modifying
85+
the task state directly.
8686
``cylc restart``
8787
- Replaced by ``cylc play``.
8888
``cylc run``
8989
- Replaced by ``cylc play``.
9090
``cylc spawn``
9191
- Spawning is now performed automatically, on demand. Use ``cylc trigger`` to run
92-
a task, or ``cylc set-outputs`` to spawn tasks that depend on specified outputs.
92+
a task, or ``cylc set`` to spawn tasks that depend on specified outputs.
9393
``cylc suite-state``
9494
- Renamed as ``cylc workflow-state``.
9595

src/user-guide/running-workflows/handling-job-preemption.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,4 @@ because Loadleveler sends the SIGUSR1 signal before SIGKILL for preemption.
1717
Other :term:`job runners <job runner>` just send SIGTERM before SIGKILL as normal, so Cylc
1818
cannot distinguish a preemption job kill from a normal job kill. After this the
1919
job will poll as failed (correctly, because it was killed, and the job status
20-
file records that). To handle this kind of preemption automatically you could
21-
use a task failed or retry event handler that queries the job runner queue
22-
(after an appropriate delay if necessary) and then, if the job has been
23-
requeued, uses ``cylc reset`` to reset the task to the submitted state.
24-
25-
26-
20+
file records that).

src/user-guide/running-workflows/retrying-tasks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ sequence, or remove it.
4545
4646
4747
If you want trigger downstream tasks despite ``3/foo`` being removed before it
48-
could succeed, use ``cylc set-outputs`` to artificially mark its ``succeeded``
48+
could succeed, use ``cylc set`` to artificially mark its ``succeeded``
4949
output as complete (and with the ``--flow`` option, to make the :term:`flow`
5050
continue on from there).

0 commit comments

Comments
 (0)