Arthur Mariano and Fintan Halpenny
0bbedb9650
cli: Fix panic on rad patch review without options
...
When invoked without any of `--patch`, `--delete`, `--accept`,
or `--reject`, the command panicked.
It will now correctly return an error to use `--accept`, `--reject`,
or to supply a message.
Note that `--patch` and `--delete` are removed as these commands are
now obsolete.
The new doc test also documents two previously-untested behaviors
of `rad patch review`: neutral reviews (verdict=None with summary)
and the COB layer's silent no-op when a duplicate review is submitted
(see `test_patch_review_duplicate` in radicle-cli/tests/commands/patch.rs).
Fixes 8ceff5d4b8
Signed-off-by: Arthur Mariano <arthvm@proton.me >
Co-authored-by: Fintan Halpenny <fintan.halpenny@gmail.com >
2026-05-28 16:14:58 +01:00
..
2025-10-13 08:56:23 +01:00
2026-05-22 09:09:01 +01:00
2026-04-17 17:15:31 +01:00
2025-09-26 12:03:01 +01:00
2026-04-30 15:50:29 -04:00
2026-04-30 15:50:29 -04:00
2025-10-17 16:57:29 +01:00
2026-04-17 17:15:31 +01:00
2026-02-16 21:39:11 +01:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2026-04-30 15:50:29 -04:00
2026-04-30 15:50:29 -04:00
2026-04-17 17:15:31 +01:00
2026-02-16 21:39:11 +01:00
2025-07-18 21:44:06 +01:00
2026-03-17 11:39:09 +00:00
2026-03-17 10:31:29 +00:00
2025-06-09 15:09:21 +02:00
2026-04-17 17:15:31 +01:00
2025-08-19 15:01:26 +01:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-08-19 15:01:26 +01:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-09-16 11:37:13 +02:00
2026-05-07 15:23:31 +01:00
2025-10-15 10:30:34 +02:00
2026-02-16 21:39:11 +01:00
2026-04-30 15:50:29 -04:00
2026-04-27 18:34:30 +02:00
2026-04-30 15:50:29 -04:00
2026-05-22 09:09:01 +01:00
2026-05-22 09:09:01 +01:00
2025-07-16 16:41:16 +02:00
2025-06-09 15:09:21 +02:00
2026-05-22 09:09:01 +01:00
2026-01-22 10:38:28 +00:00
2026-05-22 09:09:01 +01:00
2026-05-22 09:09:01 +01:00
2026-05-22 09:09:01 +01:00
2026-04-27 18:34:30 +02:00
2025-07-23 07:43:27 +01:00
2026-04-17 17:15:31 +01:00
2026-04-17 17:15:31 +01:00
2025-07-23 07:43:27 +01:00
2026-04-17 17:15:31 +01:00
2026-03-17 11:39:09 +00:00
2026-03-17 11:39:09 +00:00
2026-04-17 17:15:31 +01:00
2025-07-18 21:44:06 +01:00
2026-04-17 17:15:31 +01:00
2026-04-17 17:15:31 +01:00
2026-04-27 18:34:30 +02:00
2026-04-17 17:15:31 +01:00
2026-04-17 17:15:31 +01:00
2026-04-17 17:15:31 +01:00
2026-04-17 17:15:31 +01:00
2026-04-17 17:15:31 +01:00
2026-03-24 14:40:42 +00:00
2025-09-28 18:02:55 +02:00
2026-03-12 13:30:09 +00:00
2025-09-26 13:21:38 +02:00
2025-08-04 17:00:54 +02:00
2025-08-04 17:00:54 +02:00
2026-04-02 14:08:44 +01:00
2026-04-27 18:34:30 +02:00
2026-04-02 14:08:44 +01:00
2026-04-02 14:08:44 +01:00
2025-07-18 21:44:06 +01:00
2026-04-02 14:08:44 +01:00
2025-06-09 15:09:21 +02:00
2026-04-02 14:08:44 +01:00
2025-06-09 15:09:21 +02:00
2025-10-15 10:30:34 +02:00
2026-04-02 14:08:44 +01:00
2026-04-02 14:08:44 +01:00
2025-06-09 15:09:21 +02:00
2026-04-21 23:15:34 +02:00
2026-04-30 15:50:29 -04:00
2025-08-04 17:00:54 +02:00
2026-05-27 22:31:11 +01:00
2026-04-27 18:34:30 +02:00
2026-04-17 17:15:31 +01:00
2026-04-02 14:08:44 +01:00
2026-05-28 16:14:58 +01:00
2026-04-02 14:08:44 +01:00
2026-04-21 23:15:34 +02:00
2026-04-02 14:08:44 +01:00
2026-05-22 09:09:01 +01:00
2025-07-18 21:44:06 +01:00
2025-07-18 21:44:06 +01:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2026-02-16 21:39:11 +01:00
2026-02-16 21:39:11 +01:00
2026-03-17 10:31:29 +00:00
2025-10-13 08:56:23 +01:00
2026-02-16 21:39:11 +01:00
2026-03-25 08:07:49 +00:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2026-05-21 14:52:35 +01:00
2026-04-27 18:20:25 +02:00
2025-06-09 15:09:21 +02:00