From dcdf9060cfd2cf3acce61824090836d5fd57ddec Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 14 Dec 2023 13:13:13 +0200 Subject: [PATCH] chore: change dependency on Radicle to come via git URL Specifying it via a file path meant that the build needs to have the dependency checked out in a specific location. The git URL avoids that and also means the build will fail unless all files in the dependency are committed to git. Signed-off-by: Lars Wirzenius --- Cargo.lock | 5 +++++ Cargo.toml | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3ceb4bd..daffdbf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -954,6 +954,7 @@ dependencies = [ [[package]] name = "radicle" version = "0.2.0" +source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#4afe235a3c4d94997e6155626ae16770cb7fd168" dependencies = [ "amplify", "crossbeam-channel", @@ -995,6 +996,7 @@ dependencies = [ [[package]] name = "radicle-cob" version = "0.2.0" +source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#4afe235a3c4d94997e6155626ae16770cb7fd168" dependencies = [ "fastrand", "git2", @@ -1012,6 +1014,7 @@ dependencies = [ [[package]] name = "radicle-crypto" version = "0.2.0" +source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#4afe235a3c4d94997e6155626ae16770cb7fd168" dependencies = [ "amplify", "cyphernet", @@ -1029,6 +1032,7 @@ dependencies = [ [[package]] name = "radicle-dag" version = "0.2.0" +source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#4afe235a3c4d94997e6155626ae16770cb7fd168" dependencies = [ "fastrand", ] @@ -1068,6 +1072,7 @@ dependencies = [ [[package]] name = "radicle-ssh" version = "0.2.0" +source = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git?branch=master#4afe235a3c4d94997e6155626ae16770cb7fd168" dependencies = [ "byteorder", "log", diff --git a/Cargo.toml b/Cargo.toml index 88f3ad9..5f5ffaa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,8 +3,6 @@ name = "radicle-native-ci" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] anyhow = "1.0.75" log = "0.4.20" @@ -18,7 +16,10 @@ thiserror = "1.0.50" uuid = { version = "1.6.1", features = ["v4"] } [dependencies.radicle] -path = "../heartwood/radicle" +git = "https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git" +branch = "master" +# This is a path dependency for now, until the repository is on a +# stable seed node. [dependencies.radicle-ci-broker] path = "../radicle-ci-broker"