node: Update sync status for private repos
Some improvements to the output of rad sync status for private repos.
10 files changed
+82
-44
9f36320d
→
191278f0
modified radicle-cli/examples/rad-sync.md
@@ -7,14 +7,15 @@ For instance let's create an issue and sync it with the network:
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/ls.rs
@@ -102,6 +102,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/sync.rs
@@ -317,7 +317,7 @@ fn sync_status(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -331,20 +331,32 @@ fn sync_status(
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/service.rs
@@ -587,11 +587,9 @@ where
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -622,31 +620,27 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
| - | |
|
|
|
|
|
@@ -662,7 +656,6 @@ where
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -672,6 +665,17 @@ where
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1983,20 +1987,21 @@ where
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified radicle-node/src/tests.rs
@@ -838,7 +838,6 @@ fn test_refs_announcement_no_subscribe() {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -854,10 +853,10 @@ fn test_refs_announcement_offline() {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
@@ -868,25 +867,23 @@ fn test_refs_announcement_offline() {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -935,7 +932,7 @@ fn test_refs_announcement_offline() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/storage.rs
@@ -21,6 +21,7 @@ use crate::git::{refspec::Refspec, PatternString, Qualified, RefError, RefStr, R
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -42,6 +43,8 @@ pub struct RepositoryInfo<V> {
|
|
|
|
|
|
| + | |
| + | |
|
|
|
|
|
modified radicle/src/storage/git.rs
@@ -13,16 +13,17 @@ use once_cell::sync::Lazy;
|
|
|
|
|
|
| - | |
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -152,10 +153,10 @@ impl ReadStorage for Storage {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
| + | |
| + | |
|
|
|
|
|
@@ -211,12 +212,17 @@ impl ReadStorage for Storage {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -298,11 +304,17 @@ impl Storage {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/storage/refs.rs
@@ -411,8 +411,8 @@ impl SignedRefsAt {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/test/fixtures.rs
@@ -25,7 +25,13 @@ pub fn user() -> git::UserInfo {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/test/storage.rs
@@ -118,6 +118,7 @@ impl ReadStorage for MockStorage {
|
|
|
|
|
|
| + | |
|
|
|
|
|