zoryn-task-add(1)

ZORYN-TASK-ADD(1) Zoryn Manual ZORYN-TASK-ADD(1)

NAME

zoryn-task-add - Add subtask to task.

SYNOPSIS

zoryn task add [OPTION]… [[TASK_ID[^SUBTASK_ID|/SUBTASK_ID]]] [ACTION]…

DESCRIPTION

Add a subtask to a task. Compatible with ssh gyle task add syntax.

If TASK_ID is omitted, the last task you worked with is used (recorded by task new, submit, task run, and task add itself).

Supported actions:

repo REPO TAG
add gear repo subtask
REPO.git=TAG
shorthand for repo action
del PKG...
mark packages for deletion
rebuild PKG...
rebuild packages from repo
copy PKG [FROM_REPO]
copy pre-built binaries

ARGUMENTS

[TASK_ID[^SUBTASK_ID|/SUBTASK_ID]]
Task ID, optionally suffixed ^SUBTASK_ID (alias for --before) or /SUBTASK_ID (implicit --replace targeting that exact subtask). If omitted, the last task you worked with is used.
ACTION
Action and its arguments.

OPTIONS

--before=SUBTASK_ID
Insert subtask before subtask SUBTASK_ID.
-C DIR
Change to directory DIR before running.
-d, --debug
Enable debug output.
--replace
Replace the existing subtask for the same package. Target subtask is derived from the action's package name (matches both the SRPM package name and the gear repo). Fails if no subtask matches or more than one matches; in the latter case, delete the unwanted subtask via zoryn task delete and re-run without --replace. Cannot be combined with multi-package del or rebuild actions.

COMMON OPTIONS

--help[=FMT] (default=auto)
Show this help in format FMT. The value FMT must be one of auto, pager, groff or plain. With auto, the format is pager or plain whenever the TERM env var is dumb or undefined.
--version
Show version information.

EXIT STATUS

zoryn task add exits with:

0
on success.
123
on indiscriminate errors reported on standard error.
124
on command line parsing errors.
125
on unexpected internal errors (bugs).

EXAMPLES

Add gear repo subtask:


zoryn task add 123456 repo php-sphinx.git 8.2.30-alt1

Add using shorthand (copy-paste from task ls):


zoryn task add 123456 php-sphinx.git=8.2.30-alt1

Delete packages:


zoryn task add 123456 del php-sphinx php-foo

Rebuild packages:


zoryn task add 123456 rebuild php-sphinx

Copy package from another repo:


zoryn task add 123456 copy php-sphinx p10

Omit TASK_ID to target the last task worked with (e.g. right after task new):


zoryn task add copy ocaml-tiny_httpd sisyphus

Replace existing subtask (e.g. swap local rebuild for copy from sisyphus):


zoryn task add 418908 copy waked sisyphus --replace

Insert before specific subtask:


zoryn task add --before 100 123456 repo dune.git 3.17.2-alt1

Same, using TASK^SUBTASK positional shorthand:


zoryn task add 123456^100 repo dune.git 3.17.2-alt1

Replace a specific subtask (positional /SUBTASK shorthand for --replace):


zoryn task add 418908/5 copy waked sisyphus

SEE ALSO

zoryn(1)

Zoryn 0.46.0