node: Allow announcing refs for given public keys
modified crates/radicle-cli/src/node.rs
@@ -199,7 +199,12 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/tests/commands.rs
@@ -1772,7 +1772,7 @@ fn test_cob_replication() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/control.rs
@@ -219,8 +219,8 @@ where
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -291,6 +291,7 @@ fn fetch<W: Write, H: Handle<Error = runtime::HandleError>>(
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -308,6 +309,7 @@ mod tests {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -325,7 +327,8 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -345,7 +348,7 @@ mod tests {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/runtime/handle.rs
@@ -1,3 +1,4 @@
| + | |
|
|
|
|
|
@@ -9,6 +10,7 @@ use std::os::unix::net::UnixStream as Stream;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -253,9 +255,17 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/test/handle.rs
@@ -3,6 +3,7 @@ use std::str::FromStr;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -14,7 +15,7 @@ use radicle::node::NodeId;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -91,8 +92,15 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-node/src/tests/e2e.rs
@@ -1378,7 +1378,7 @@ fn test_background_foreground_fetch() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1427,7 +1427,7 @@ fn test_catchup_on_refs_announcements() {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle-protocol/src/service.rs
@@ -238,8 +238,8 @@ pub type QueryState = dyn Fn(&dyn ServiceState) -> Result<(), CommandError> + Se
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -271,7 +271,7 @@ pub enum Command {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -930,7 +930,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -943,8 +943,14 @@ where
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -2167,7 +2173,11 @@ where
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -2193,7 +2203,7 @@ where
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified crates/radicle/src/node.rs
@@ -613,9 +613,28 @@ impl From<Address> for HostName {
|
|
|
|
|
|
| - | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -624,7 +643,7 @@ pub enum Command {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1113,7 +1132,11 @@ pub trait Handle: Clone + Sync + Send {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -1215,12 +1238,13 @@ impl Node {
|
|
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -1391,9 +1415,19 @@ impl Handle for Node {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|