Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
refactor: reorder imports
Lars Wirzenius committed 2 years ago
commit 6260b8117ea727c2c4f9656e4febe49b526d0a9c
parent 68b589ce376cdb50730a94191e2179281083665f
1 file changed +12 -8
modified src/msg.rs
@@ -16,17 +16,21 @@ use std::{
    io::{BufRead, BufReader, Read, Write},
};

-
pub use radicle::git::Oid;
-
use radicle::identity::Did;
-
use radicle::node::{Alias, AliasStore};
-
use radicle::patch::RevisionId;
-
pub use radicle::prelude::{NodeId, RepoId};
-
use radicle::storage::git::paths;
-
use radicle::storage::{ReadRepository, ReadStorage};
-
use radicle::{patch, Profile};
use serde::{Deserialize, Serialize};
use uuid::Uuid;

+
pub use radicle::{
+
    git::Oid,
+
    prelude::{NodeId, RepoId},
+
};
+
use radicle::{
+
    identity::Did,
+
    node::{Alias, AliasStore},
+
    patch::{self, RevisionId},
+
    storage::{git::paths, ReadRepository, ReadStorage},
+
    Profile,
+
};
+

use crate::event::{is_patch_update, push_branch, BrokerEvent};

/// The type of a run identifier. For maximum generality, this is a