theseus changeset
Show where a changeset stands, its latest ready guide, or its review threads.
Usage: theseus changeset status <changeset> [--json]
theseus changeset show <changeset> [--json]
theseus changeset threads <changeset> [--guide <ver_id>] [--json]| Option | Value | When omitted |
|---|---|---|
--guide | ver_id | Latest ready guide |
--json | Switch | false |
| Action | Argument | Options |
|---|---|---|
status | changeset | --json |
show | changeset | --json |
threads | changeset | --guide, --json |
JSON output: status: API Changeset object; show: API Guide object; threads: object with changeset (API Changeset), guide (API Guide), review_state (API review state), and every decision and comment of that guide. Errors: event="error", code, error; ambiguous errors include candidates.
Exit codes: 0 Success; 1 Failure; 2 Invalid arguments.
Full command help and examples
Usage: theseus changeset status <changeset> [--json]
theseus changeset show <changeset> [--json]
theseus changeset threads <changeset> [--guide <ver_id>] [--json]
Every form exits 0 on success.
status where the changeset stands: its newest run and any error, its latest ready guide,
the pull request's head and whether that guide covers it, and its URL.
--json prints the API's Changeset object.
show the latest ready guide: summary, unknowns, rollout steps and claim titles.
--json prints the API's Guide object. With no ready guide yet, it fails with
code not-ready.
threads the human review feedback on the latest ready guide, or on --guide: each
reviewer's current decision with its rationale, every comment and reply with where
it points, the commit each decision was made on and whether it applies to the pull
request's current head, and decisions on other guides. Decisions are advisory, not
GitHub approvals. --json prints {changeset, guide, review_state, decisions,
comments} with the API's objects, after reading every page. With no ready guide
yet, it fails with code not-ready.
Changesets:
set_... its ID
https://... its Theseus URL, or a GitHub pull request or branch URL
owner/repo#42 a pull request
owner/repo@feature a branch; when you also have a local branch of that name, the
command lists both and you name one by its ID
Errors exit 1 (2 for usage) and, with --json, print {"event":"error","code":...,"error":...}.
Codes include not-found when no changeset you can read matches, ambiguous (with candidates
[{id,path,kind,title,url}]) when several do, usage, login-required and unavailable.