Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
cli: `rad patch show` truncates text
Open fintohaps opened 11 months ago crate=radicle-cli,radicle-term type=improvement

The text will be truncated when performing show on patches – likely issues too.

Copied from a zulip-topic:

❯ rad patch show cff33 # on heartwood repo
╭──────────────────────────────────────────────────────────────────────────────────╮
│ Title    nix, rust: Update                                                       │
│ Patch    cff338b7db059bb9aabf9ab08334157eb31886be                                │
│ Author   lorenz z6MkkPv…WX5sTEz                                                  │
│ Head     5962571c9b277ef8f3358284bc55c9fe8b28ee08                                │
│ Commits  ahead 3, behind 150                                                     │
│ Status   merged                                                                  │
│                                                                                  │
│ - Update the flake's dependencies so that Rust 1.80 is available.                │
│  - Migrate from `rust-toolchain` to `rust-toolchain.toml`, allowing us to speci… │
z6MksbJg...HJhX commented 11 months ago

Indeed the text is truncated when showing issues as well:

rad issue show 159f97f3fbf808129f42c0f233a13de4f2b4a6fd
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Title   cli: `rad patch show` truncates text                                                                         │
│ Issue   159f97f3fbf808129f42c0f233a13de4f2b4a6fd                                                                     │
│ Author  fintohaps z6Mkire…SQZ3voM                                                                                    │
│ Status  open                                                                                                         │
│                                                                                                                      │
│ The text will be truncated when performing `show` on patches                                                         │
│ – likely issues too.                                                                                                 │
│                                                                                                                      │
│ Copied from a [zulip-topic]:                                                                                         │
│                                                                                                                      │
│                                                                                                                      │
│ ```                                                                                                                  │
│ ❯ rad patch show cff33 # on heartwood repo                                                                           │
│ ╭──────────────────────────────────────────────────────────…                                                         │
│ │ Title    nix, rust: Update                               …                                                         │
│ │ Patch    cff338b7db059bb9aabf9ab08334157eb31886be        …                                                         │
│ │ Author   lorenz z6MkkPv…WX5sTEz                          …                                                         │
│ │ Head     5962571c9b277ef8f3358284bc55c9fe8b28ee08        …                                                         │
│ │ Commits  ahead 3, behind 150                             …                                                         │
│ │ Status   merged                                          …                                                         │
│ │                                                          …                                                         │
│ │ - Update the flake's dependencies so that Rust 1.80 is av…                                                         │
│ │  - Migrate from `rust-toolchain` to `rust-toolchain.toml`…                                                         │
│ ```                                                                                                                  │
│                                                                                                                      │
│ [zulip-topic]:                                                                                                       │
│ https://radicle.zulipchat.com/#narrow/channel/369873-support/topic/.60rad.20patch.20show.60.20truncates.20text/near/516053574 │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯