cli: Improve formatting of Node IDs and addresses
modified crates/radicle-cli/examples/git/git-push-amend.md
@@ -7,7 +7,7 @@ c036c0d89ce26aef3ad7da402157dba16b5163b4
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/git/git-push-canonical-tags.md
@@ -129,7 +129,7 @@ $ rad remote add z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi --name alice
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -139,7 +139,7 @@ $ rad remote add z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk --name bob
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -154,7 +154,7 @@ editor instead.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/git/git-push-converge.md
@@ -16,16 +16,16 @@ responsibilities:
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -63,13 +63,13 @@ $ rad remote add did:key:z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk --name
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -104,7 +104,7 @@ $ rad remote add did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi --name
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -130,7 +130,7 @@ $ rad remote add did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi --name
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/git/git-push-diverge.md
@@ -1,4 +1,3 @@
| - | |
|
|
|
|
|
@@ -15,7 +14,7 @@ Then, as Bob, we commit some code on top of the canonical head:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -32,7 +31,7 @@ longer canonical, since Bob pushed a more recent commit, and the threshold is 1:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/git/git-push-rollback.md
@@ -14,7 +14,7 @@ Bob then syncs these changes and adds a new commit:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -27,7 +27,7 @@ Alice merges these changes and pushes them, which updates the canonical head:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/git/git-tag.md
@@ -40,7 +40,7 @@ $ rad remote add z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi --name alice
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -76,7 +76,7 @@ update of the tag:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-clone-all.md
@@ -5,7 +5,7 @@ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from the network, found 1 potential s
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -53,7 +53,7 @@ We can then setup a git remote for `bob`:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-clone-connect.md
@@ -8,7 +8,7 @@ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from the network, found 2 potential s
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-clone-directory.md
@@ -8,7 +8,7 @@ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from the network, found 1 potential s
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-clone-partial-fail.md
@@ -2,13 +2,13 @@ Eve knows about three seeds.
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -20,7 +20,7 @@ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from the network, found 3 potential s
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-clone.md
@@ -8,7 +8,7 @@ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from the network, found [..] potentia
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-fetch.md
@@ -21,7 +21,7 @@ by passing the `--fetch` option.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-id-conflict.md
@@ -9,7 +9,7 @@ $ cd heartwood
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -31,7 +31,7 @@ revisions.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -66,7 +66,7 @@ accepted now.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-id-multi-delegate.md
@@ -8,7 +8,7 @@ $ rad watch --repo rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --node z6Mkux1aUQD2voWWukVb
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -60,8 +60,8 @@ $ rad id update --repo rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --title "Add Eve" --des
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-id-threshold.md
@@ -98,7 +98,7 @@ errors:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -175,7 +175,7 @@ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from the network, found 2 potential s
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -195,8 +195,8 @@ $ rad fork
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-init-private-clone-seed.md
@@ -35,7 +35,7 @@ Fetching rad:z2ug5mwNKZB8KGpBDRTrWHAMbvHCu from the network, found 1 potential s
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-init-private-clone.md
@@ -8,9 +8,9 @@ $ rad ls
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -31,7 +31,7 @@ that Alice has the repo after she announced her refs:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-init-private-seed.md
@@ -26,7 +26,7 @@ He has to specify a seed that isn't in his routing table:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -45,5 +45,5 @@ seed succeeds.
|
|
|
|
|
|
| - | |
| + | |
|
modified crates/radicle-cli/examples/rad-node.md
@@ -65,11 +65,11 @@ created.
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-patch-checkout-force.md
@@ -26,7 +26,7 @@ $ cd heartwood
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-patch-delete.md
@@ -21,8 +21,8 @@ $ cd heartwood
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-patch-pull-update.md
@@ -27,7 +27,7 @@ Fetching rad:zhbMU4DUXrzB8xT6qAJh6yZ7bFMK from the network, found 1 potential se
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-push-and-pull-patches.md
@@ -20,7 +20,7 @@ $ rad remote add z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-remote.md
@@ -3,7 +3,7 @@ Now, let's add a bob as a new remote:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -41,7 +41,7 @@ able to fetch the node alias from our db!
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -70,7 +70,7 @@ let's add them to our set of working copy remotes:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/rad-sync.md
@@ -57,8 +57,8 @@ We can also use the `--fetch` option to only fetch objects:
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -67,8 +67,8 @@ Specifying both `--fetch` and `--announce` is equivalent to specifying none:
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -78,7 +78,7 @@ It's also possible to use the `--seed` flag to only sync with a specific node:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -92,7 +92,7 @@ $ rad issue open --title "Test `rad sync --replicas`" --description "Check that
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -118,10 +118,10 @@ Or when trying to fetch from an unknown seed, using `--seed`:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/workflow/5-patching-maintainer.md
@@ -11,7 +11,7 @@ $ rad remote add z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk --name bob --s
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/examples/workflow/6-pulling-contributor.md
@@ -12,7 +12,7 @@ Then, we call `rad sync --fetch` to fetch from the maintainer:
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/checkout.rs
@@ -178,7 +178,7 @@ pub fn setup_remote(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/clone.rs
@@ -355,7 +355,7 @@ fn handle_fetch_error(id: RepoId, failure: &node::sync::fetch::TargetMissed) ->
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/node/control.rs
@@ -189,7 +189,7 @@ pub fn connect(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -217,7 +217,7 @@ pub fn connect_many(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -353,7 +353,7 @@ pub fn sessions(node: &Node) -> Result<Option<term::Table<5, term::Label>>, node
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -361,17 +361,17 @@ pub fn sessions(node: &Node) -> Result<Option<term::Table<5, term::Label>>, node
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/node/routing.rs
@@ -36,7 +36,7 @@ fn print_table(entries: impl IntoIterator<Item = (RepoId, NodeId)>) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/sync.rs
@@ -674,8 +674,8 @@ impl FetcherSpinner {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -691,8 +691,8 @@ impl FetcherSpinner {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -731,7 +731,7 @@ impl FetcherSpinner {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -760,7 +760,7 @@ fn display_fetch_result(result: &sync::FetcherResult, verbose: bool) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -784,7 +784,7 @@ fn display_fetch_result(result: &sync::FetcherResult, verbose: bool) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -803,7 +803,7 @@ fn display_success<'a>(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -858,7 +858,7 @@ fn print_announcer_result(result: &sync::AnnouncerResult, verbose: bool) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -873,7 +873,7 @@ fn print_announcer_result(result: &sync::AnnouncerResult, verbose: bool) {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/node.rs
@@ -242,7 +242,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/terminal/format.rs
@@ -8,7 +8,7 @@ pub use radicle_term::{style, Paint};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -17,7 +17,7 @@ use radicle_term::element::Line;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -25,6 +25,32 @@ pub fn node(node: &NodeId) -> Paint<String> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -173,7 +199,7 @@ impl fmt::Display for Identity<'_> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -231,13 +257,15 @@ impl<'a> Author<'a> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/wire/message.rs
@@ -2,7 +2,7 @@ use std::{mem, net};
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node.rs
@@ -573,6 +573,16 @@ impl Address {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|