cli: Use tracking DB access for `node` command
modified radicle-cli/src/commands/node.rs
@@ -1,7 +1,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -152,8 +152,10 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/node/tracking.rs
@@ -1,24 +1,23 @@
| - | |
| + | |
|
|
| - | |
|
|
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -29,11 +28,11 @@ fn print_repos(node: &Node) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-node/src/control.rs
@@ -131,15 +131,6 @@ fn command<H: Handle<Error = runtime::HandleError>>(
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -171,15 +162,6 @@ fn command<H: Handle<Error = runtime::HandleError>>(
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified radicle-node/src/runtime.rs
@@ -14,6 +14,7 @@ use thiserror::Error;
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -30,15 +31,6 @@ use crate::{service, LocalTime};
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified radicle-node/src/runtime/handle.rs
@@ -109,10 +109,7 @@ impl<G: Signer + Ecdh + 'static> Handle<G> {
|
|
|
|
|
|
| - | |
|
|
| - | |
| - | |
|
|
|
|
|
@@ -136,40 +133,6 @@ impl<G: Signer + Ecdh + 'static> radicle::node::Handle for Handle<G> {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified radicle-node/src/service.rs
@@ -1501,10 +1501,6 @@ pub trait ServiceState {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -1540,14 +1536,6 @@ where
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified radicle-node/src/test/handle.rs
@@ -21,8 +21,6 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -40,32 +38,6 @@ impl radicle::node::Handle for Handle {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
modified radicle/src/node.rs
@@ -25,6 +25,12 @@ pub use features::Features;
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -125,14 +131,10 @@ pub enum CommandName {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -380,8 +382,6 @@ pub trait Handle {
|
|
|
|
|
|
| - | |
| - | |
|
|
|
|
|
@@ -400,10 +400,6 @@ pub trait Handle {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -464,9 +460,6 @@ impl Node {
|
|
|
|
|
|
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -510,24 +503,6 @@ impl Handle for Node {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|