zoryn-task-approve(1)
| ZORYN-TASK-APPROVE(1) | Zoryn Manual | ZORYN-TASK-APPROVE(1) |
NAME
zoryn-task-approve - Approve a task subtask.
SYNOPSIS
zoryn task approve [OPTION]… TASK_ID SUBTASK
DESCRIPTION
Approve a subtask in a task on gyle. Wraps ssh gyle task approve.
The SUBTASK argument can be a subtask number, a package name, the pkg.git=tag label printed by task ls (use this when one task contains several subtasks of the same git repo with different tags — e.g. edk2-tools vs. edk2-aarch64 — so the tag picks the right one), or all to approve every subtask.
If the package name alone matches several subtasks (same git repo, different tags) the command refuses with an error and lists the candidates so the caller can re-run with either a subtask number or pkg.git=tag.
A comment message can be provided with -m. If -m is not given and stdin is piped, the message is read from stdin. If neither, no message is sent.
ARGUMENTS
- SUBTASK (required)
- Subtask number, package name, pkg.git=tag (for copy-paste from task ls), or all for all subtasks.
- TASK_ID (required)
- Task ID.
OPTIONS
- -C DIR
- Change to directory DIR before running.
- -d, --debug
- Enable debug output.
- -m MESSAGE, --message=MESSAGE
- Comment message. If omitted and stdin is piped, reads from stdin.
- --revoke
- Revoke previous approve.
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 approve 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
Approve subtask by number:
zoryn task approve 123456 1
Approve by package name:
zoryn task approve 123456 php-sphinx
Approve using copy-paste from task ls (disambiguates by tag):
zoryn task approve 123456 edk2.git=edk2-aarch64-20260201-alt1
Approve all subtasks with a comment:
zoryn task approve 123456 all -m "LGTM"
Revoke approval:
zoryn task approve 123456 1 --revoke
Pipe message from stdin:
echo "Comment" | zoryn task approve 123456 1
SEE ALSO
zoryn(1)
| Zoryn 0.46.0 |
