cli: Add verbose printing of authors
To allow users to see the full DID of authors of issues, introduce a
boolean to the Author struct and wire it through.
While doing that, also remove --debug options from rad issue and
rad patch as they have been obsolete since the introduction of rad cob [log|show] for quite some time.
See:
- https://radicle.zulipchat.com/#narrow/channel/369873-support/topic/help.20with.20seeing.20full.20nid/with/531390047
15 files changed
+84
-93
c8b6a13d
→
de78cf78
modified crates/radicle-cli/examples/rad-id-conflict.md
@@ -33,14 +33,14 @@ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from the network, found 1 potential s
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -49,14 +49,14 @@ Bob's:
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-id-multi-delegate.md
@@ -10,12 +10,12 @@ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from the network, found 1 potential s
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -93,14 +93,14 @@ We can list all revisions:
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-patch-delete.md
@@ -88,7 +88,7 @@ $ rad patch show 6c61ef1 -v
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/id.rs
@@ -480,7 +480,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -586,7 +586,7 @@ fn print_meta(revision: &Revision, previous: &Doc, profile: &Profile) -> anyhow:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -595,7 +595,7 @@ fn print_meta(revision: &Revision, previous: &Doc, profile: &Profile) -> anyhow:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -604,7 +604,7 @@ fn print_meta(revision: &Revision, previous: &Doc, profile: &Profile) -> anyhow:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/inbox.rs
@@ -291,7 +291,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -542,6 +542,7 @@ fn show(
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/issue.rs
@@ -67,7 +67,7 @@ Label options
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -119,7 +119,7 @@ pub enum Operation {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -202,7 +202,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -295,8 +295,8 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -430,7 +430,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -502,7 +502,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -514,7 +514,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -572,7 +572,11 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -581,11 +585,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -783,7 +783,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -794,7 +794,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -855,7 +855,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch.rs
@@ -83,7 +83,6 @@ Show options
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -231,7 +230,7 @@ pub enum Operation {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -356,7 +355,6 @@ pub struct Options {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -380,7 +378,6 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -418,8 +415,8 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -666,9 +663,6 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -742,7 +736,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -848,7 +842,6 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -885,14 +878,13 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/list.rs
@@ -109,7 +109,7 @@ pub fn row(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/patch/show.rs
@@ -26,7 +26,6 @@ fn show_patch_diff(patch: &patch::Patch, stored: &Repository) -> anyhow::Result<
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -41,10 +40,6 @@ pub fn run(
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/sync.rs
@@ -398,7 +398,7 @@ fn sync_status(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/comment.rs
@@ -11,7 +11,7 @@ pub fn header<T>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/format.rs
@@ -223,16 +223,18 @@ pub struct Author<'a> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -255,20 +257,20 @@ impl<'a> Author<'a> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/issue.rs
@@ -42,6 +42,7 @@ pub fn show(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -51,7 +52,7 @@ pub fn show(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/patch.rs
@@ -363,7 +363,7 @@ pub fn show(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/patch/timeline.rs
@@ -86,7 +86,7 @@ impl<'a> Opened<'a> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -96,7 +96,7 @@ impl<'a> Opened<'a> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -176,7 +176,7 @@ impl<'a> RevisionEntry<'a> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -195,7 +195,7 @@ impl<'a> RevisionEntry<'a> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -305,7 +305,7 @@ impl Update<'_> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|