summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-03-05 18:17:49 +0200
committerLars Wirzenius <liw@liw.fi>2024-03-05 18:36:13 +0200
commit6260b8117ea727c2c4f9656e4febe49b526d0a9c (patch)
tree9a3f82d9a3d010fb57e71cb819739ff4dcca59c0
parent68b589ce376cdb50730a94191e2179281083665f (diff)
downloadradicle-ci-broker-6260b8117ea727c2c4f9656e4febe49b526d0a9c.tar.gz
refactor: reorder imports
Signed-off-by: Lars Wirzenius <liw@liw.fi>
-rw-r--r--src/msg.rs20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/msg.rs b/src/msg.rs
index 10e3fc6..4144452 100644
--- a/src/msg.rs
+++ b/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