Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
Change default seeding scope to 'all'
cloudhead committed 2 years ago
commit 664cf20c92548d7f2fff6191c783c0b2938e6d5b
parent 292ff01923de86b9139eae538962e98d76178b9a
4 files changed +4 -4
modified radicle-cli/examples/rad-block.md
@@ -5,7 +5,7 @@ For instance, if our default policy is to seed, any unknown repository will
have its policy set to allow seeding:
```
$ rad inspect rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --policy
-
Repository rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji is being seeded with scope `followed`
+
Repository rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji is being seeded with scope `all`
```

Since there is no policy specific to this repository, there's nothing to be
modified radicle-cli/examples/rad-config.md
@@ -46,7 +46,7 @@ $ rad config
      }
    },
    "policy": "block",
-
    "scope": "followed"
+
    "scope": "all"
  }
}
```
modified radicle-httpd/src/api/v1/profile.rs
@@ -108,7 +108,7 @@ mod routes {
                    }
                  },
                  "policy": "block",
-
                  "scope": "followed"
+
                  "scope": "all"
                }
              },
              "home": seed.profile.path()
modified radicle/src/node/policy.rs
@@ -95,9 +95,9 @@ impl TryFrom<&sqlite::Value> for Policy {
#[serde(rename_all = "camelCase")]
pub enum Scope {
    /// Seed remotes that are explicitly followed.
-
    #[default]
    Followed,
    /// Seed all remotes.
+
    #[default]
    All,
}