| 1 | usage: valley pending [--all] [--repo <name>] [--checks] [--drafts] [--branches] [--json] [-v] [--known-signers <file>] [--integrator-name <name>] |
| 2 | |
| 3 | pending [--all] [--repo <name>] [--checks] [--drafts] [--branches] |
| 4 | [--json] [-v] [--known-signers <file>] [--integrator-name <name>] |
| 5 | list what waits on you and what is moving. one line |
| 6 | on main's state comes first for each project whose |
| 7 | policy declares follow checks: clear, clearing or |
| 8 | muddy. needs you holds the ready changes that wait on |
| 9 | an approval, one numbered row each in landing order: |
| 10 | oldest ready first, as the check worker builds them, |
| 11 | then by project and change id. a row gives the |
| 12 | handle and active version, its checks as passed out of |
| 13 | required (or how many are pending), and how long it |
| 14 | has been ready, with its title under it. a stack of |
| 15 | such changes is one row, its top's, saying `stack of |
| 16 | N`: approving the top lands every layer. moving holds |
| 17 | the ready changes that need no approval now, one line |
| 18 | each: ◐ approved, waiting on checks and the |
| 19 | integrator; ✗ a check failed, named; ✗ or ◇ a restack |
| 20 | holds it. older versions are never listed. a last line |
| 21 | counts the drafts and the branches no change is on. |
| 22 | lines fit the terminal, or 80 columns off one; titles |
| 23 | are cut short with …, names never. names are bold and |
| 24 | glyphs coloured on a terminal unless NO_COLOR is set. |
| 25 | --all every project the serving host |
| 26 | publishes, as one listing: each line |
| 27 | names its project, and the rows of |
| 28 | every project share one landing order |
| 29 | (see valley help changes) |
| 30 | --repo NAME that one project |
| 31 | --checks add to each row the checks the policy |
| 32 | requires of it, by cost, as checks |
| 33 | derives them, and its full check state, |
| 34 | naming the checks that failed and what |
| 35 | they cost the host's check worker to |
| 36 | build. with --json, give each pending |
| 37 | change its checks object |
| 38 | --drafts list the drafts in full, in place of |
| 39 | their count |
| 40 | --branches list the branches no change is on in |
| 41 | full, in place of their count. each |
| 42 | draft and branch is a block: its name |
| 43 | with its head's age and author, its |
| 44 | title, then the commits and the diff |
| 45 | it adds to the nearest listed entry |
| 46 | its head contains, or to main. a stack |
| 47 | is its top, then every entry the top |
| 48 | contains, at one indentation; an entry |
| 49 | not on the one listed after it says |
| 50 | `on <base>` |
| 51 | --json print valley-pending/v1: the |
| 52 | valley-changes/v1 shape, with the |
| 53 | pending changes in changes, each |
| 54 | marked approved or not, and the |
| 55 | drafts in drafts |
| 56 | -v follow each row with its block, its |
| 57 | stack drawn in full, with what its |
| 58 | head includes, `uncertain` when it may |
| 59 | have landed without its evidence |
| 60 | stored, and its full check state; and |
| 61 | warn on stderr when a plan graph is |
| 62 | missing or unreadable |
| 63 | --known-signers FILE, --integrator-name NAME |
| 64 | what a transfer statement is verified |
| 65 | with (see changes below) |
| 66 | for each project with a ready change, reading the |
| 67 | checks reads the policy once and runs attest verify |
| 68 | for each note. |