cli: Simplify private repo fetching
- Remove
rad sync --forceflag - Remove
rad clone --privateflag
These flags are no longer necessary. Simplify specifying which seed
to fetch from with --seed is enough.
12 files changed
+54
-100
ca7db162
→
8402b85a
modified radicle-cli/examples/rad-clone-connect.md
@@ -4,10 +4,10 @@ automatically connect to the necessary seeds.
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/examples/rad-clone-partial-fail.md
@@ -16,8 +16,8 @@ still returns successfully.
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified radicle-cli/examples/rad-id-threshold.md
@@ -169,8 +169,8 @@ sync` and fetch his references:
|
|
|
|
|
|
| - | |
|
|
| + | |
|
|
|
|
|
modified radicle-cli/examples/rad-init-private-clone-seed.md
@@ -29,7 +29,7 @@ $ rad inspect --identity
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/examples/rad-init-private-clone.md
@@ -5,7 +5,7 @@ Bob tries to fetch it, and even though he's connected to Alice, it fails.
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/examples/rad-init-private-seed.md
@@ -20,19 +20,10 @@ $ rad sync rad:z2ug5mwNKZB8KGpBDRTrWHAMbvHCu --fetch
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -50,8 +41,8 @@ Note that if multiple seeds are specified, the command succeeds as long as one
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
modified radicle-cli/examples/rad-sync.md
@@ -110,6 +110,13 @@ $ rad sync rad:z39mP9rQAaGmERfUMPULfPUi473tY
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/clone.rs
@@ -41,14 +41,13 @@ Usage
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -91,9 +90,6 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
modified radicle-cli/src/commands/sync.rs
@@ -43,9 +43,6 @@ Usage
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -65,7 +62,6 @@ Options
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -149,7 +145,6 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -167,9 +162,6 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -218,10 +210,8 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -230,17 +220,14 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -446,33 +433,25 @@ pub fn fetch(
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -486,8 +465,7 @@ pub fn fetch(
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -505,8 +483,7 @@ pub fn fetch(
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -557,8 +534,9 @@ fn fetch_from(
|
|
|
|
|
|
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -574,7 +552,9 @@ fn fetch_from(
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/src/node.rs
@@ -22,42 +22,20 @@ pub struct SyncSettings {
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -84,7 +62,6 @@ impl Default for SyncSettings {
|
|
|
|
|
|
| - | |
|
|
|
|
|
modified radicle-node/src/service.rs
@@ -242,11 +242,9 @@ pub enum CommandError {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -997,7 +995,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/node.rs
@@ -775,6 +775,11 @@ impl FetchResults {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|