Radish alpha
r
Radicle CI broker
Radicle
Git (anonymous pull)
Log in to clone via SSH
fix: use git dependency on radicle, drop features
Lars Wirzenius committed 2 years ago
commit ab5197b7e4c0aafc00e3a5de3abaa577a49178ab
parent 0e80ed89e26ef47b0aa08a799f36f12648beea28
4 files changed +8 -21
modified Cargo.lock
@@ -1063,15 +1063,6 @@ dependencies = [
]

[[package]]
-
name = "qcheck"
-
version = "1.0.0"
-
source = "registry+https://github.com/rust-lang/crates.io-index"
-
checksum = "b439bd4242da51d62d18c95e6a6add749346756b0d1a587dfd0cc22fa6b5f3f0"
-
dependencies = [
-
 "rand",
-
]
-

-
[[package]]
name = "quote"
version = "1.0.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1083,7 +1074,7 @@ dependencies = [
[[package]]
name = "radicle"
version = "0.2.0"
-
source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#e12bff0871a57116f057fd1a93f7ddede8c574bc"
+
source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#137961c1f72a6850325b05e65a232cd202cbd12c"
dependencies = [
 "amplify",
 "base64 0.21.7",
@@ -1097,7 +1088,6 @@ dependencies = [
 "multibase",
 "nonempty 0.9.0",
 "once_cell",
-
 "qcheck",
 "radicle-cob",
 "radicle-crypto",
 "radicle-git-ext",
@@ -1131,7 +1121,7 @@ dependencies = [
[[package]]
name = "radicle-cob"
version = "0.2.0"
-
source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#e12bff0871a57116f057fd1a93f7ddede8c574bc"
+
source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#137961c1f72a6850325b05e65a232cd202cbd12c"
dependencies = [
 "fastrand",
 "git2",
@@ -1149,14 +1139,12 @@ dependencies = [
[[package]]
name = "radicle-crypto"
version = "0.2.0"
-
source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#e12bff0871a57116f057fd1a93f7ddede8c574bc"
+
source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#137961c1f72a6850325b05e65a232cd202cbd12c"
dependencies = [
 "amplify",
 "cyphernet",
 "ec25519",
-
 "fastrand",
 "multibase",
-
 "qcheck",
 "radicle-git-ext",
 "radicle-ssh",
 "serde",
@@ -1169,7 +1157,7 @@ dependencies = [
[[package]]
name = "radicle-dag"
version = "0.2.0"
-
source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#e12bff0871a57116f057fd1a93f7ddede8c574bc"
+
source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#137961c1f72a6850325b05e65a232cd202cbd12c"
dependencies = [
 "fastrand",
]
@@ -1191,7 +1179,7 @@ dependencies = [
[[package]]
name = "radicle-ssh"
version = "0.2.0"
-
source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#e12bff0871a57116f057fd1a93f7ddede8c574bc"
+
source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#137961c1f72a6850325b05e65a232cd202cbd12c"
dependencies = [
 "byteorder",
 "log",
modified Cargo.toml
@@ -2,6 +2,7 @@
name = "radicle-ci-broker"
version = "0.1.0"
edition = "2021"
+
rust-version = "1.74"

[dependencies]
log = "0.4.20"
@@ -17,8 +18,6 @@ uuid = { version = "1.7.0", features = ["v4"] }
[dependencies.radicle]
git = "https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git"
branch = "master"
-
#path = "../heartwood/radicle"
-
features = ["default", "test"]

[dev-dependencies]
tempfile = { version = "3.9.0" }
modified src/broker.rs
@@ -5,7 +5,7 @@

use std::collections::HashMap;

-
use radicle::identity::RepoId;
+
use radicle::prelude::RepoId;

use crate::{adapter::Adapter, error::BrokerError, msg::Request, run::Run};

modified src/error.rs
@@ -6,7 +6,7 @@

use std::path::PathBuf;

-
use radicle::identity::RepoId;
+
use radicle::prelude::RepoId;

use crate::{
    adapter::AdapterError,