vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Let change update correct a request's title and description
12221a79f903723b8388c24ef6e1b850855e43b7 · Keenan Nemetz · 3d ago · parent d1c3b323
Let change update correct a request's title and description The metadata writer already replaces a request's prose without moving the base, head, or approvals, and it works after a request closes or merges. Expose that through --title and -m/-F, mirroring issue edit, and document the command. The new test holds the command to the metadata rule: an approval stays bound to the same commit across a prose edit.
docs/cli.md +5−5
| @@ -353,7 +353,7 @@ vole change show <id> | |||
| 353 | 353 | vole change comment <id> [-m <text> | -F <file>] [--path <file> --line <n> [--side new|old]] [--reply-to <comment-id>] | |
| 354 | 354 | vole change edit-comment <id> <comment-id> [-m <text> | -F <file>] | |
| 355 | 355 | vole change rm-comment <id> <comment-id> | |
| 356 | vole change update <id> [--base <branch>] [--head <rev>] [--closes <issue>]... [--no-closes] | ||
| 356 | vole change update <id> [--title <title>] [-m <text> | -F <file>] [--base <branch>] [--head <rev>] [--closes <issue>]... [--no-closes] | ||
| 357 | 357 | vole change approve <id> [--as <account>] | |
| 358 | 358 | vole change merge <id> | |
| 359 | 359 | vole change close <id> | |
| @@ -375,7 +375,7 @@ delete; an admin may repair somebody else's, audited. | |||
| 375 | 375 | ||
| 376 | 376 | `show` — Prints the combined result and whether the landing is ready. | |
| 377 | 377 | ||
| 378 | `update` — `--base` retargets an open request, which is how a stacked request moves onto `main` after the branch below it lands; approvals named the old base and stop counting. `--closes` replaces the list, and `--no-closes` clears it. | ||
| 378 | `update` — `--base` retargets an open request, which is how a stacked request moves onto `main` after the branch below it lands; approvals named the old base and stop counting. `--closes` replaces the list, and `--no-closes` clears it. `--title` and `-m`/`-F` correct the prose: an approval names the base and head, so the edit leaves both and any approval alone, including on a closed or merged request. | ||
| 379 | 379 | ||
| 380 | 380 | `approve` — An approval is only accepted from the account it names, and never by the author's own account. | |
| 381 | 381 | ||
| @@ -383,12 +383,12 @@ delete; an admin may repair somebody else's, audited. | |||
| 383 | 383 | ||
| 384 | 384 | | Option | Used by | Meaning | | |
| 385 | 385 | |---|---|---| | |
| 386 | | `-t, --title <title>` | new | the request title | | ||
| 386 | | `-t, --title <title>` | new, update | the request title | | ||
| 387 | 387 | | `-b, --base <branch>` | new, update | the branch the change lands on | | |
| 388 | 388 | | `-H, --head <rev>` | new, update | the branch that follows the request, or a commit or tag to pin it to | | |
| 389 | 389 | | `--closes <issue>` | new, update | an issue the request closes; repeatable, and comma lists are accepted | | |
| 390 | | `-m, --message <text>` | new, comment, edit-comment | the text; an alternative to -F | | ||
| 391 | | `-F, --file <file\|->` | new, comment, edit-comment | read the text from a file; - reads standard input | | ||
| 390 | | `-m, --message <text>` | new, comment, edit-comment, update | the text; an alternative to -F | | ||
| 391 | | `-F, --file <file\|->` | new, comment, edit-comment, update | read the text from a file; - reads standard input | | ||
| 392 | 392 | | `--as <account>` | approve | the account an approval is made for | | |
| 393 | 393 | | `--path <file>` | comment | the file a review comment is on | | |
| 394 | 394 | | `--line <n>` | comment | the line the comment is on; needs --path | | |