rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwoodef27961866b4bed092de9c58dcf2c0584aff5b99
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5",
"name": "heartwood",
"description": "Radicle Heartwood Protocol & Stack",
"private": false,
"default_branch": "master",
"delegates": [
"did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT",
"did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
]
},
"action": "Created",
"patch": {
"id": "ae0c6cc8b3f71c94bde192ee99e82dc70173cb75",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": null
},
"title": "Revisit bare repositories",
"state": {
"status": "merged",
"conflicts": []
},
"before": "379037956a6cb88cb826a7f57276fca4a2c6c084",
"after": "ef27961866b4bed092de9c58dcf2c0584aff5b99",
"commits": [
"ef27961866b4bed092de9c58dcf2c0584aff5b99",
"101fbff8094bb6665963b5a819f0ba9ec2abdc6b",
"14fcf5067767ff7d634d52856ae6a08b6b7a3f82",
"ee9e6de5f347eff1e0472c2aaa30e806c38fe03e",
"6b9ff4f99e62105ea958a57b96abd5f1017fda10",
"fd93240b9deebf9c5ab551f145cc1f0148ff211b",
"86ea33b0ca5c6451473cc032a1b9758da7886394",
"766e281d3928fe35da422a685657713cad0ea339",
"e528c40a07f1a7d1ecfd4808b5a7ef8e5fb8bb0c",
"606882f01f6112de2b4dbd478aa92c83c428f101",
"354565c5797c2d9b4771d11f403b21839261c3bb",
"4e6746796693db9668eedbdd85a3eb61ab6a6ea1",
"876d22b072f5190db3b6c28208fd9cf4920ebf3a",
"550fcccc270a3f106b8a9ce01eb193961f35ae56",
"897404164bbe9879eaa0f05e432a9d98cffda635",
"66adbffd615bcd6a560213f01f3a35c424714c45",
"8fc37e3316e3861c2a96009f480cc92ff9412f69",
"ee9ecfda76ddb48a64c4580bfbe7e92537f26f03",
"153a8f9fbeffb3f688e950e72b8b06265e9ae5f8",
"11a109ef41c202603e774fb8b1c3ef64777263f0"
],
"target": "7e1cb406bb935c3de008d2171e8961f57b4336ea",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "ae0c6cc8b3f71c94bde192ee99e82dc70173cb75",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": null
},
"description": "This patchset starts off with changes to `radicle-remote-helper`: Maintainence such as making the crate binary-only and a small clean up.\nThen, handling of `GIT_DIR` is simplified throughout `radicle{,-remote-helper,-cli}`, which unlocks usage of the remote helper with bare repositories.\nNext, the commands `rad init` and `rad clone` learn to handle bare repositories.\nFinally, code paths that would error or degrade upon detecting a bare repository are removed or fixed.\n\nOverall, this patch should significantly improve interoperability with bare repositories.",
"base": "379037956a6cb88cb826a7f57276fca4a2c6c084",
"oid": "525a241ddf4428fdbe2e5076262832ac4d4a21bd",
"timestamp": 1757672429
},
{
"id": "81fd9a59dfb1f8048cdd9c74be08672494330895",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": null
},
"description": "REVIEW",
"base": "379037956a6cb88cb826a7f57276fca4a2c6c084",
"oid": "b2b132fa62232528ad402046c0bf67165f8871cb",
"timestamp": 1757680539
},
{
"id": "37bde804d2ecf3b2f5d7dfbd169abd87f04c111c",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": null
},
"description": "Incorporate Fintan's review.",
"base": "379037956a6cb88cb826a7f57276fca4a2c6c084",
"oid": "5bff08f75044330991dc6f0e1e9e986d5441caf5",
"timestamp": 1757780842
},
{
"id": "d3a28c470673a6d66ca0f5546642c2c36ea1ed90",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": null
},
"description": "Implement listing `HEAD`.",
"base": "379037956a6cb88cb826a7f57276fca4a2c6c084",
"oid": "9b6683739e60d930ad2bd63f3e0cfdd46118c60d",
"timestamp": 1757798893
},
{
"id": "9120167c0fd635bea71d53e813cb12c2019ca6fa",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": null
},
"description": "Changes:\n- `cargo fmt`\n- Fix doc link by removing, since the method was unknown",
"base": "379037956a6cb88cb826a7f57276fca4a2c6c084",
"oid": "693ca362e06dac69f8ea6114ae05deb130863f47",
"timestamp": 1757928028
},
{
"id": "c9e4d85a2444ee4ea8fbc921b7f6a393a09b623d",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": null
},
"description": "Rebase",
"base": "66adbffd615bcd6a560213f01f3a35c424714c45",
"oid": "ee9e6de5f347eff1e0472c2aaa30e806c38fe03e",
"timestamp": 1757928761
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "8f7701f1-d179-45bd-8861-175d19afae0f"
},
"info_url": "https://cci.rad.levitte.org//8f7701f1-d179-45bd-8861-175d19afae0f.html"
}
Started at: 2026-09-08 17:14:47.776590+02:00
Commands:
$ rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 .
✓ Creating checkout in ./...
✓ Remote cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT added
✓ Remote-tracking branch cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT/master created for z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT
✓ Remote fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM added
✓ Remote-tracking branch fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM/master created for z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM
✓ Remote lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz added
✓ Remote-tracking branch lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz/master created for z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz
✓ Repository successfully cloned under /opt/radcis/ci.rad.levitte.org/cci/state/8f7701f1-d179-45bd-8861-175d19afae0f/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 189 issues · 39 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout ae0c6cc8b3f71c94bde192ee99e82dc70173cb75
✓ Switched to branch patch/ae0c6cc at revision d3a28c4
✓ Branch patch/ae0c6cc setup to track rad/patches/ae0c6cc8b3f71c94bde192ee99e82dc70173cb75
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout ef27961866b4bed092de9c58dcf2c0584aff5b99
HEAD is now at ef279618 remote-helper: List `HEAD`
Exit code: 0
$ rad patch show ae0c6cc8b3f71c94bde192ee99e82dc70173cb75 -p
╭──────────────────────────────────────────────────────────────────────────────────╮
│ Title Revisit bare repositories │
│ Patch ae0c6cc8b3f71c94bde192ee99e82dc70173cb75 │
│ Author lorenz z6MkkPv…WX5sTEz │
│ Head 9b6683739e60d930ad2bd63f3e0cfdd46118c60d │
│ Base 379037956a6cb88cb826a7f57276fca4a2c6c084 │
│ Target master │
│ Branches patch/ae0c6cc │
│ Commits ahead 13, behind 836 │
│ Status merged │
│ │
│ This patchset starts off with changes to `radicle-remote-helper`: Maintainence │
│ such as making the crate binary-only and a small clean up. │
│ Then, handling of `GIT_DIR` is simplified throughout │
│ `radicle{,-remote-helper,-cli}`, which unlocks usage of the remote helper with │
│ bare repositories. │
│ Next, the commands `rad init` and `rad clone` learn to handle bare repositories. │
│ Finally, code paths that would error or degrade upon detecting a bare repository │
│ are removed or fixed. │
│ │
│ Overall, this patch should significantly improve interoperability with bare │
│ repositories. │
├──────────────────────────────────────────────────────────────────────────────────┤
│ 9b66837 remote-helper: List `HEAD` │
│ 5bff08f remote-helper: Do not assume remote name │
│ 21f4da5 cli/init: Allow `--setup-signing` with bare repos │
│ 0f9d844 cli/git: Remove dead code `fn view_diff` │
│ 9a420c8 cli/clone: Add flag `--bare` │
│ dc1efb3 radicle: Allow creating bare clones │
│ daa0fb0 radicle-cli: Test initializing from bare repos │
│ 05ac6fd remote-helper: Simplify handling of `GIT_DIR` │
│ 4bc2ac7 radicle: Handle `GIT_DIR` more uniformly │
│ 9700ad0 remote-helper: Refactor option handling │
│ b60e694 remote-helper: Remove unused push error variant │
│ af4f89c remote-helper: Do not hard-code binary name │
│ 4837f1f remote-helper: Make crate binary-only │
├──────────────────────────────────────────────────────────────────────────────────┤
│ ● Revision ae0c6cc @ 3790379..525a241 by lorenz z6MkkPv…WX5sTEz 11 months ago │
│ ↑ Revision 81fd9a5 @ 3790379..b2b132f by fintohaps z6Mkire…SQZ3voM 11 months ago │
│ ↑ Revision 37bde80 @ 3790379..5bff08f by lorenz z6MkkPv…WX5sTEz 11 months ago │
│ ↑ Revision d3a28c4 @ 3790379..9b66837 by lorenz z6MkkPv…WX5sTEz 11 months ago │
│ ↑ Revision 9120167 @ 3790379..693ca36 by fintohaps z6Mkire…SQZ3voM 11 months ago │
│ ↑ Revision c9e4d85 @ 66adbff..ee9e6de by fintohaps z6Mkire…SQZ3voM 11 months ago │
│ └─ ✓ merged by fintohaps z6Mkire…SQZ3voM │
╰──────────────────────────────────────────────────────────────────────────────────╯
commit 9b6683739e60d930ad2bd63f3e0cfdd46118c60d
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Sat Sep 13 22:12:32 2025 +0200
remote-helper: List `HEAD`
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b14d148f03..76fa87b203 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -16,6 +16,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `rad clone` now supports the flag `--bare` which works analoguously to
`git clone --bare`.
- `rad init --setup-signing` now works on bare repositories.
+- `git-remote-rad` now correctly reports the default branch to Git by listing
+ the symbolic reference `HEAD`.
## Fixed Bugs
diff --git a/crates/radicle-cli/examples/git/git-push-converge.md b/crates/radicle-cli/examples/git/git-push-converge.md
index 0696c280be..49e337119b 100644
--- a/crates/radicle-cli/examples/git/git-push-converge.md
+++ b/crates/radicle-cli/examples/git/git-push-converge.md
@@ -35,6 +35,7 @@ pushing to their `rad` remote -- but they won't sync to the network just yet:
$ git commit -m "Alice's commit" --allow-empty -q
$ git push rad -o no-sync
$ git ls-remote rad
+f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 HEAD
f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/heads/master
```
@@ -43,6 +44,7 @@ $ git add README
$ git commit -m "Bob's commit" -q
$ git push rad -o no-sync
$ git ls-remote rad
+f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 HEAD
f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/heads/master
```
@@ -51,6 +53,7 @@ $ git add README
$ git commit -m "Eve's commit" -q
$ git push rad -o no-sync
$ git ls-remote rad
+f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 HEAD
f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/heads/master
```
diff --git a/crates/radicle-cli/examples/git/git-push.md b/crates/radicle-cli/examples/git/git-push.md
index 9b29e55ca9..2c24faaf49 100644
--- a/crates/radicle-cli/examples/git/git-push.md
+++ b/crates/radicle-cli/examples/git/git-push.md
@@ -54,6 +54,7 @@ List the canonical refs:
```
$ git ls-remote rad
+f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 HEAD
f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/heads/master
```
diff --git a/crates/radicle-cli/examples/rad-init-existing-bare.md b/crates/radicle-cli/examples/rad-init-existing-bare.md
index ba2107abd6..ea727896b1 100644
--- a/crates/radicle-cli/examples/rad-init-existing-bare.md
+++ b/crates/radicle-cli/examples/rad-init-existing-bare.md
@@ -40,7 +40,7 @@ $ git remote show rad
* remote rad
Fetch URL: rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji
Push URL: rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
- HEAD branch: (unknown)
+ HEAD branch: master
Remote branch:
master new (next fetch will store in remotes/rad)
Local ref configured for 'git push':
diff --git a/crates/radicle-cli/examples/rad-init-existing.md b/crates/radicle-cli/examples/rad-init-existing.md
index aa326c1f09..db77e80956 100644
--- a/crates/radicle-cli/examples/rad-init-existing.md
+++ b/crates/radicle-cli/examples/rad-init-existing.md
@@ -37,7 +37,7 @@ $ git remote show rad
* remote rad
Fetch URL: rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji
Push URL: rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
- HEAD branch: (unknown)
+ HEAD branch: master
Remote branch:
master new (next fetch will store in remotes/rad)
Local ref configured for 'git push':
diff --git a/crates/radicle-cli/examples/rad-patch-fetch-2.md b/crates/radicle-cli/examples/rad-patch-fetch-2.md
index a9392665cc..4b26091790 100644
--- a/crates/radicle-cli/examples/rad-patch-fetch-2.md
+++ b/crates/radicle-cli/examples/rad-patch-fetch-2.md
@@ -22,6 +22,7 @@ $ git branch -r
$ git pull
Already up to date.
$ git branch -r
+ rad/HEAD -> rad/master
rad/master
rad/patches/5e2dedcc5d515fcbc1cca483d3376609fe889bfb
```
diff --git a/crates/radicle-cli/examples/rad-patch-pull-update.md b/crates/radicle-cli/examples/rad-patch-pull-update.md
index 294bbdbcbd..ce22fe60a1 100644
--- a/crates/radicle-cli/examples/rad-patch-pull-update.md
+++ b/crates/radicle-cli/examples/rad-patch-pull-update.md
@@ -112,6 +112,7 @@ $ rad patch show 55b9721
│ ↑ updated to f91e056da05b2d9a58af1160c76245bc3debf7a8 (cad2666) now │
╰─────────────────────────────────────────────────────────────────────╯
$ git ls-remote rad
+f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 HEAD
f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/heads/master
cad2666a8a2250e4dee175ed5044be2c251ff08b refs/heads/patches/55b9721ed7f6bfec38f43729e9b6631c5dc812fb
```
diff --git a/crates/radicle-cli/examples/rad-patch-via-push.md b/crates/radicle-cli/examples/rad-patch-via-push.md
index b21a8cc406..279ea93a83 100644
--- a/crates/radicle-cli/examples/rad-patch-via-push.md
+++ b/crates/radicle-cli/examples/rad-patch-via-push.md
@@ -61,6 +61,7 @@ And let's look at our local and remote refs:
$ git show-ref
42d894a83c9c356552a57af09ccdbd5587a99045 refs/heads/feature/1
f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/heads/master
+f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/remotes/rad/HEAD
f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/remotes/rad/master
42d894a83c9c356552a57af09ccdbd5587a99045 refs/remotes/rad/patches/6035d2f582afbe01ff23ea87528ae523d76875b6
```
diff --git a/crates/radicle-remote-helper/src/list.rs b/crates/radicle-remote-helper/src/list.rs
index fef535d1a4..8b535d9338 100644
--- a/crates/radicle-remote-helper/src/list.rs
+++ b/crates/radicle-remote-helper/src/list.rs
@@ -46,20 +46,36 @@ pub fn for_fetch<R: ReadRepository + cob::Store<Namespace = NodeId> + 'static>(
println!("{oid} {name}");
}
} else {
- // Listing canonical refs.
- // We skip over `refs/rad/*`, since those are not meant to be fetched into a working copy.
- for glob in [
- git::refspec::pattern!("refs/heads/*"),
- git::refspec::pattern!("refs/tags/*"),
- ] {
- for (name, oid) in stored.references_glob(&glob)? {
- println!("{oid} {name}");
+ {
+ // List the symbolic reference `HEAD`, which is interpreted by
+ // Git clients to determine the default branch.
+ let head = git::refname!("HEAD");
+
+ if let Some(target) = stored
+ .find_reference(&head)?
+ .symbolic_target() { println!("@{target} {head}") }
+ }
+
+ {
+ // List canonical references.
+ // Skip over `refs/rad/*`, since those are not meant to be fetched into a working copy.
+ for glob in [
+ git::refspec::pattern!("refs/heads/*"),
+ git::refspec::pattern!("refs/tags/*"),
+ ] {
+ for (name, oid) in stored.references_glob(&glob)? {
+ println!("{oid} {name}");
+ }
}
}
- // List the patch refs, but don't abort if there's an error, as this would break
- // all fetch behavior. Instead, just output an error to the user.
- if let Err(e) = patch_refs(profile, stored) {
- eprintln!("remote: error listing patch refs: {e}");
+
+ {
+ // List the patch refs, but do not abort if there is an error,
+ // as this would break all fetch behavior.
+ // Instead, just output an error to the user.
+ if let Err(e) = patch_refs(profile, stored) {
+ eprintln!("remote: error listing patch refs: {e}");
+ }
}
}
println!();
diff --git a/crates/radicle-remote-helper/src/main.rs b/crates/radicle-remote-helper/src/main.rs
index e67a201175..b4ae2e49e6 100644
--- a/crates/radicle-remote-helper/src/main.rs
+++ b/crates/radicle-remote-helper/src/main.rs
@@ -366,4 +366,4 @@ pub(crate) fn patches_mut<'a>(
}
Err(err) => Err(err.into()),
}
-}
\ No newline at end of file
+}
diff --git a/crates/radicle-remote-helper/src/push.rs b/crates/radicle-remote-helper/src/push.rs
index c41c84d356..d5fb4963c5 100644
--- a/crates/radicle-remote-helper/src/push.rs
+++ b/crates/radicle-remote-helper/src/push.rs
@@ -566,7 +566,8 @@ where
if let Some(upstream) = upstream {
// Setup current branch so that pushing updates the patch.
- if let Some(branch) = rad::setup_patch_upstream(&patch, head, working, upstream, false)?
+ if let Some(branch) =
+ rad::setup_patch_upstream(&patch, head, working, upstream, false)?
{
if let Some(name) = branch.name()? {
if profile.hints() {
diff --git a/crates/radicle/src/storage.rs b/crates/radicle/src/storage.rs
index 92892959e5..91999a2c9e 100644
--- a/crates/radicle/src/storage.rs
+++ b/crates/radicle/src/storage.rs
@@ -588,6 +588,12 @@ pub trait ReadRepository: Sized + ValidateRepository {
/// Check whether the given commit is an ancestor of another commit.
fn is_ancestor_of(&self, ancestor: Oid, head: Oid) -> Result<bool, git::ext::Error>;
+ /// Look up a reference to one of the objects in a repository.
+ fn find_reference(
+ &self,
+ reference: &git::RefStr,
+ ) -> Result<git2::Reference<'_>, git::ext::Error>;
+
/// Get the object id of a reference under the given remote.
fn reference_oid(
&self,
diff --git a/crates/radicle/src/storage/git.rs b/crates/radicle/src/storage/git.rs
index 4bc313d186..555065fa9c 100644
--- a/crates/radicle/src/storage/git.rs
+++ b/crates/radicle/src/storage/git.rs
@@ -27,7 +27,7 @@ use crate::storage::{
use crate::{git, node};
pub use crate::git::{
- ext, raw, refname, refspec, Oid, PatternStr, Qualified, RefError, RefString, UserInfo,
+ ext, raw, refname, refspec, Oid, PatternStr, Qualified, RefError, RefStr, RefString, UserInfo,
};
pub use crate::storage::{Error, RepositoryError};
@@ -695,6 +695,13 @@ impl ReadRepository for Repository {
Ok(oid.into())
}
+ fn find_reference(
+ &self,
+ reference: &git::RefStr,
+ ) -> Result<git2::Reference<'_>, git::ext::Error> {
+ Ok(self.backend.find_reference(reference.as_str())?)
+ }
+
fn commit(&self, oid: Oid) -> Result<git2::Commit, git::Error> {
self.backend
.find_commit(oid.into())
diff --git a/crates/radicle/src/storage/git/cob.rs b/crates/radicle/src/storage/git/cob.rs
index 6f8fee8840..f66dbdeaa7 100644
--- a/crates/radicle/src/storage/git/cob.rs
+++ b/crates/radicle/src/storage/git/cob.rs
@@ -376,6 +376,13 @@ impl<R: storage::ReadRepository> ReadRepository for DraftStore<'_, R> {
fn merge_base(&self, left: &Oid, right: &Oid) -> Result<Oid, git::ext::Error> {
self.repo.merge_base(left, right)
}
+
+ fn find_reference(
+ &self,
+ _reference: &super::RefStr,
+ ) -> Result<git2::Reference<'_>, git::ext::Error> {
+ todo!()
+ }
}
impl<R: storage::WriteRepository> cob::object::Storage for DraftStore<'_, R> {
diff --git a/crates/radicle/src/test/storage.rs b/crates/radicle/src/test/storage.rs
index a2ea5db639..c052bd40fe 100644
--- a/crates/radicle/src/test/storage.rs
+++ b/crates/radicle/src/test/storage.rs
@@ -319,6 +319,13 @@ impl ReadRepository for MockRepository {
fn merge_base(&self, _left: &Oid, _right: &Oid) -> Result<Oid, git::ext::Error> {
todo!()
}
+
+ fn find_reference(
+ &self,
+ _reference: &git::RefStr,
+ ) -> Result<git2::Reference<'_>, git::ext::Error> {
+ todo!()
+ }
}
impl WriteRepository for MockRepository {
commit 5bff08f75044330991dc6f0e1e9e986d5441caf5
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Sat Sep 13 11:51:29 2025 +0200
remote-helper: Do not assume remote name
Avoid ending up with an upstream to a potentially non-existent remote
when pushing to an anonymous remote.
diff --git a/crates/radicle-remote-helper/src/main.rs b/crates/radicle-remote-helper/src/main.rs
index d8d1acf511..e67a201175 100644
--- a/crates/radicle-remote-helper/src/main.rs
+++ b/crates/radicle-remote-helper/src/main.rs
@@ -187,9 +187,6 @@ pub fn run(profile: radicle::Profile) -> Result<(), Error> {
}
};
- // Assume the default remote if there was no remote.
- let remote = remote.unwrap_or_else(|| (*radicle::rad::REMOTE_NAME).clone());
-
let stored = profile.storage.repository_mut(url.repo)?;
if stored.is_empty()? {
return Err(Error::RepositoryNotFound(stored.path().to_path_buf()));
diff --git a/crates/radicle-remote-helper/src/push.rs b/crates/radicle-remote-helper/src/push.rs
index 7ae177d73d..c41c84d356 100644
--- a/crates/radicle-remote-helper/src/push.rs
+++ b/crates/radicle-remote-helper/src/push.rs
@@ -246,7 +246,7 @@ impl PushAction {
/// Run a git push command.
pub fn run(
mut specs: Vec<String>,
- remote: git::RefString,
+ remote: Option<git::RefString>,
url: Url,
stored: &storage::git::Repository,
profile: &Profile,
@@ -477,7 +477,7 @@ pub fn run(
/// Open a new patch.
fn patch_open<G>(
src: &git::Oid,
- upstream: &git::RefString,
+ upstream: &Option<git::RefString>,
nid: &NodeId,
working: &git::raw::Repository,
stored: &storage::git::Repository,
@@ -564,17 +564,19 @@ where
"Create reference for patch head",
)?;
- // Setup current branch so that pushing updates the patch.
- if let Some(branch) = rad::setup_patch_upstream(&patch, head, working, upstream, false)?
- {
- if let Some(name) = branch.name()? {
- if profile.hints() {
- // Remove the remote portion of the name, i.e.
- // rad/patches/deadbeef -> patches/deadbeef
- let name = name.split('/').skip(1).collect::<Vec<_>>().join("/");
- hint(format!(
- "to update, run `git push` or `git push rad -f HEAD:{name}`"
- ));
+ if let Some(upstream) = upstream {
+ // Setup current branch so that pushing updates the patch.
+ if let Some(branch) = rad::setup_patch_upstream(&patch, head, working, upstream, false)?
+ {
+ if let Some(name) = branch.name()? {
+ if profile.hints() {
+ // Remove the remote portion of the name, i.e.
+ // rad/patches/deadbeef -> patches/deadbeef
+ let name = name.split('/').skip(1).collect::<Vec<_>>().join("/");
+ hint(format!(
+ "to update, run `git push` or `git push rad -f HEAD:{name}`"
+ ));
+ }
}
}
}
commit 21f4da51b1f3bd248a44e54cd284631ec1d4dbec
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Fri Sep 12 11:17:17 2025 +0200
cli/init: Allow `--setup-signing` with bare repos
The `--setup-signing` flag is a no-op when combined with `--existing`
and errors on bare repositories.
Make it effective in combination with `--existing` and also rewrite it
to support bare repositories, gracefully falling back to just avoid
writing to `.gitsigners`.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d09fc5fbd5..b14d148f03 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,9 +15,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `rad clone` now supports the flag `--bare` which works analoguously to
`git clone --bare`.
+- `rad init --setup-signing` now works on bare repositories.
## Fixed Bugs
+- `rad init --setup-signing` now works in combination with `--existing`.
+
## 1.4.0
## Release Highlights
diff --git a/crates/radicle-cli/examples/rad-init-existing-bare.md b/crates/radicle-cli/examples/rad-init-existing-bare.md
index cfbefd4fc5..ba2107abd6 100644
--- a/crates/radicle-cli/examples/rad-init-existing-bare.md
+++ b/crates/radicle-cli/examples/rad-init-existing-bare.md
@@ -20,10 +20,18 @@ rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji
And initialize this working copy as that existing repository:
```
-$ rad init --existing rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji
+$ rad init --setup-signing --existing rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji
+
+Configuring radicle signing key SHA256:UIedaL6Cxm6OUErh9GQUzzglSk7VpQlVTI1TAFB/HWA...
+
+✓ Signing configured in [..]/heartwood/config
+! Not writing .gitsigners file.
✓ Initialized existing repository rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji in [..]/heartwood/..
```
+The warning about not writing `.gitsigners` is expected, as this requires a
+working directory, which a bare repository does not have.
+
We can confirm that the working copy is initialized:
```
$ rad .
diff --git a/crates/radicle-cli/examples/rad-init-existing.md b/crates/radicle-cli/examples/rad-init-existing.md
index a9bf5879b5..aa326c1f09 100644
--- a/crates/radicle-cli/examples/rad-init-existing.md
+++ b/crates/radicle-cli/examples/rad-init-existing.md
@@ -20,7 +20,12 @@ rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji
And initialize this working copy as that existing repository:
```
-$ rad init --existing rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji
+$ rad init --setup-signing --existing rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji
+
+Configuring radicle signing key SHA256:UIedaL6Cxm6OUErh9GQUzzglSk7VpQlVTI1TAFB/HWA...
+
+✓ Signing configured in [..]/heartwood/.git/config
+✓ Created .gitsigners file
✓ Initialized existing repository rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji in [..]/heartwood/..
```
diff --git a/crates/radicle-cli/src/commands/init.rs b/crates/radicle-cli/src/commands/init.rs
index 967f61b4e2..a68ea8dad3 100644
--- a/crates/radicle-cli/src/commands/init.rs
+++ b/crates/radicle-cli/src/commands/init.rs
@@ -403,6 +403,11 @@ pub fn init_existing(
)?;
}
+ if options.setup_signing {
+ // Setup radicle signing key.
+ self::setup_signing(profile.id(), &working, options.interactive)?;
+ }
+
term::success!(
"Initialized existing repository {} in {}..",
term::format::tertiary(rid),
@@ -633,11 +638,13 @@ pub fn setup_signing(
repo: &git::Repository,
interactive: Interactive,
) -> anyhow::Result<()> {
- let repo = repo
- .workdir()
- .ok_or(anyhow!("cannot setup signing in bare repository"))?;
+ const SIGNERS: &str = ".gitsigners";
+
+ let path = repo.path();
+ let config = path.join("config");
+
let key = ssh::fmt::fingerprint(node_id);
- let yes = if !git::is_signing_configured(repo)? {
+ let yes = if !git::is_signing_configured(path)? {
term::headline(format!(
"Configuring radicle signing key {}...",
term::format::tertiary(key)
@@ -645,14 +652,25 @@ pub fn setup_signing(
true
} else if interactive.yes() {
term::confirm(format!(
- "Configure radicle signing key {} in local checkout?",
+ "Configure radicle signing key {} in {}?",
term::format::tertiary(key),
+ term::format::tertiary(config.display()),
))
} else {
true
};
- if yes {
+ if !yes {
+ return Ok(());
+ }
+
+ git::configure_signing(path, node_id)?;
+ term::success!(
+ "Signing configured in {}",
+ term::format::tertiary(config.display())
+ );
+
+ if let Some(repo) = repo.workdir() {
match git::write_gitsigners(repo, [node_id]) {
Ok(file) => {
git::ignore(repo, file.as_path())?;
@@ -661,11 +679,11 @@ pub fn setup_signing(
}
Err(err) if err.kind() == std::io::ErrorKind::AlreadyExists => {
let ssh_key = ssh::fmt::key(node_id);
- let gitsigners = term::format::tertiary(".gitsigners");
+ let gitsigners = term::format::tertiary(SIGNERS);
term::success!("Found existing {} file", gitsigners);
let ssh_keys =
- git::read_gitsigners(repo).context("error reading .gitsigners file")?;
+ git::read_gitsigners(repo).context(format!("error reading {SIGNERS} file"))?;
if ssh_keys.contains(&ssh_key) {
term::success!("Signing key is already in {gitsigners} file");
@@ -677,13 +695,10 @@ pub fn setup_signing(
return Err(err.into());
}
}
- git::configure_signing(repo, node_id)?;
-
- term::success!(
- "Signing configured in {}",
- term::format::tertiary(".git/config")
- );
+ } else {
+ term::notice!("Not writing {SIGNERS} file.")
}
+
Ok(())
}
commit 0f9d84469851dd5ea6933caeb146390154cfc64e
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Fri Sep 12 11:06:18 2025 +0200
cli/git: Remove dead code `fn view_diff`
diff --git a/crates/radicle-cli/src/git.rs b/crates/radicle-cli/src/git.rs
index ec4ffcea96..199f60d54c 100644
--- a/crates/radicle-cli/src/git.rs
+++ b/crates/radicle-cli/src/git.rs
@@ -351,28 +351,6 @@ pub fn parse_remote(refspec: &str) -> Option<(NodeId, &str)> {
.and_then(|(peer, r)| NodeId::from_str(peer).ok().map(|p| (p, r)))
}
-pub fn view_diff(
- repo: &git2::Repository,
- left: &git2::Oid,
- right: &git2::Oid,
-) -> anyhow::Result<()> {
- // TODO(erikli): Replace with repo.diff()
- let workdir = repo
- .workdir()
- .ok_or_else(|| anyhow!("Could not get workdir current repository."))?;
-
- let left = format!("{:.7}", left.to_string());
- let right = format!("{:.7}", right.to_string());
-
- let mut git = Command::new("git")
- .current_dir(workdir)
- .args(["diff", &left, &right])
- .spawn()?;
- git.wait()?;
-
- Ok(())
-}
-
pub fn add_tag(
repo: &git2::Repository,
message: &str,
commit 9a420c85361d16f52c6deb2303ffc7f120927e81
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Fri Sep 12 10:41:10 2025 +0200
cli/clone: Add flag `--bare`
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b806514e5c..d09fc5fbd5 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -13,6 +13,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## New Features
+- `rad clone` now supports the flag `--bare` which works analoguously to
+ `git clone --bare`.
+
+## Fixed Bugs
+
+## 1.4.0
+
+## Release Highlights
+
+## Deprecations
+
+## New Features
+
- `rad cob log` now supports the arguments `--from` and `--to` which can be used
to range over particular operations on a COB.
diff --git a/crates/radicle-cli/examples/rad-clone-bare.md b/crates/radicle-cli/examples/rad-clone-bare.md
new file mode 100644
index 0000000000..95c651b3d7
--- /dev/null
+++ b/crates/radicle-cli/examples/rad-clone-bare.md
@@ -0,0 +1,81 @@
+To create a local bare copy of a repository on the radicle network, we use the
+`clone` command, followed by the identifier or *RID* of the repository:
+
+```
+$ rad clone rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --scope followed --bare
+✓ Seeding policy updated for rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji with scope 'followed'
+Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from the network, found [..] potential seed(s).
+✓ Target met: [..] seed(s)
+✓ Creating checkout in ./heartwood..
+✓ Remote alice@z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi added
+✓ Remote-tracking branch alice@z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi/master created for z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
+✓ Repository successfully cloned under [..]/heartwood/
+╭────────────────────────────────────╮
+│ heartwood │
+│ Radicle Heartwood Protocol & Stack │
+│ 0 issues · 0 patches │
+╰────────────────────────────────────╯
+Run `cd ./heartwood` to go to the repository directory.
+```
+
+We can now have a look at the new directory that was created from the cloned
+repository:
+
+```
+$ cd heartwood
+$ ls
+FETCH_HEAD
+HEAD
+config
+description
+hooks
+info
+objects
+refs
+```
+
+As expected, some `git` commands fail:
+``` (stderr) (fail)
+$ git status
+fatal: this operation must be run in a work tree
+```
+
+Let's check that the remote tracking branch was setup correctly:
+
+```
+$ git branch --remotes
+ alice@z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi/master
+ rad/master
+```
+
+The first branch is ours, and the second points to the repository delegate.
+We can also take a look at the remotes:
+
+```
+$ git remote -v
+alice@z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi (fetch)
+alice@z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi (push)
+rad rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji (fetch)
+rad rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk (push)
+```
+
+Let's check the last commit!
+
+```
+$ git log -n 1
+commit f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354
+Author: anonymous <anonymous@radicle.xyz>
+Date: Mon Jan 1 14:39:16 2018 +0000
+
+ Second commit
+```
+
+Cloned repositories show up in `rad ls`:
+```
+$ rad ls --seeded
+╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
+│ Name RID Visibility Head Description │
+├───────────────────────────────────────────────────────────────────────────────────────────────────────────┤
+│ heartwood rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji public f2de534 Radicle Heartwood Protocol & Stack │
+╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
+```
diff --git a/crates/radicle-cli/src/commands/clone.rs b/crates/radicle-cli/src/commands/clone.rs
index 142ea0a8af..9c3beac5bd 100644
--- a/crates/radicle-cli/src/commands/clone.rs
+++ b/crates/radicle-cli/src/commands/clone.rs
@@ -46,6 +46,7 @@ Usage
Options
+ --bare Make a bare repository
--scope <scope> Follow scope: `followed` or `all` (default: all)
-s, --seed <nid> Clone from this seed (may be specified multiple times)
--timeout <secs> Timeout for fetching repository (default: 9)
@@ -64,6 +65,7 @@ pub struct Options {
scope: Scope,
/// Sync settings.
sync: SyncSettings,
+ bare: bool,
}
impl Args for Options {
@@ -75,6 +77,7 @@ impl Args for Options {
let mut scope = Scope::All;
let mut sync = SyncSettings::default();
let mut directory = None;
+ let mut bare = false;
while let Some(arg) = parser.next()? {
match arg {
@@ -99,6 +102,9 @@ impl Args for Options {
// We keep this flag here for consistency though it doesn't have any effect,
// since the command is fully non-interactive.
}
+ Long("bare") => {
+ bare = true;
+ }
Long("help") | Short('h') => {
return Err(Error::Help.into());
}
@@ -125,6 +131,7 @@ impl Args for Options {
directory,
scope,
sync,
+ bare,
},
vec![],
))
@@ -153,6 +160,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
options.sync.with_profile(&profile),
&mut node,
&profile,
+ options.bare,
)?
.print_or_success()
.ok_or_else(|| anyhow::anyhow!("failed to clone {}", options.id))?;
@@ -163,7 +171,11 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
.filter(|id| id != profile.id())
.collect::<Vec<_>>();
let default_branch = proj.default_branch().clone();
- let path = working.workdir().unwrap(); // SAFETY: The working copy is not bare.
+ let path = if !options.bare {
+ working.workdir().unwrap()
+ } else {
+ working.path()
+ };
// Configure repository and setup tracking for repository delegates.
radicle::git::configure_repository(&working)?;
@@ -229,6 +241,7 @@ struct Checkout {
repository: storage::git::Repository,
doc: Doc,
project: Project,
+ bare: bool,
}
impl Checkout {
@@ -236,6 +249,7 @@ impl Checkout {
repository: storage::git::Repository,
profile: &Profile,
directory: Option<PathBuf>,
+ bare: bool,
) -> Result<Self, CheckoutFailure> {
let rid = repository.rid();
let doc = repository
@@ -257,6 +271,7 @@ impl Checkout {
repository,
doc: doc.doc,
project: proj,
+ bare,
})
}
@@ -274,7 +289,7 @@ impl Checkout {
"Creating checkout in ./{}..",
term::format::tertiary(destination.display())
));
- match rad::checkout(self.id, &self.remote, self.path, storage, false) {
+ match rad::checkout(self.id, &self.remote, self.path, storage, self.bare) {
Err(err) => {
spinner.message(format!(
"Failed to checkout in ./{}",
@@ -303,6 +318,7 @@ fn clone(
settings: SyncSettings,
node: &mut Node,
profile: &Profile,
+ bare: bool,
) -> Result<CloneResult, CloneError> {
// Seed repository.
if node.seed(id, scope)? {
@@ -322,7 +338,7 @@ fn clone(
node::sync::FetcherResult::TargetReached(_) => {
profile.storage.repository(id).map_or_else(
|err| Ok(CloneResult::RepositoryMissing { rid: id, err }),
- |repository| Ok(perform_checkout(repository, profile, directory)?),
+ |repository| Ok(perform_checkout(repository, profile, directory, bare)?),
)
}
node::sync::FetcherResult::TargetError(failure) => {
@@ -330,7 +346,7 @@ fn clone(
}
}
}
- Ok(repository) => Ok(perform_checkout(repository, profile, directory)?),
+ Ok(repository) => Ok(perform_checkout(repository, profile, directory, bare)?),
}
}
@@ -338,8 +354,9 @@ fn perform_checkout(
repository: storage::git::Repository,
profile: &Profile,
directory: Option<PathBuf>,
+ bare: bool,
) -> Result<CloneResult, rad::CheckoutError> {
- Checkout::new(repository, profile, directory).map_or_else(
+ Checkout::new(repository, profile, directory, bare).map_or_else(
|failure| Ok(CloneResult::Failure(failure)),
|checkout| checkout.run(&profile.storage),
)
diff --git a/crates/radicle-cli/tests/commands.rs b/crates/radicle-cli/tests/commands.rs
index c9ae4ef80e..c72c37f9cc 100644
--- a/crates/radicle-cli/tests/commands.rs
+++ b/crates/radicle-cli/tests/commands.rs
@@ -1155,6 +1155,26 @@ fn rad_clone() {
test("examples/rad-clone.md", working, Some(&bob.home), []).unwrap();
}
+#[test]
+fn rad_clone_bare() {
+ let mut environment = Environment::new();
+ let mut alice = environment.node("alice");
+ let bob = environment.node("bob");
+ let working = environment.tempdir().join("working");
+
+ // Setup a test project.
+ let acme = alice.project("heartwood", "Radicle Heartwood Protocol & Stack");
+
+ let mut alice = alice.spawn();
+ let mut bob = bob.spawn();
+ // Prevent Alice from fetching Bob's fork, as we're not testing that and it may cause errors.
+ alice.handle.seed(acme, Scope::Followed).unwrap();
+
+ bob.connect(&alice).converge([&alice]);
+
+ test("examples/rad-clone-bare.md", working, Some(&bob.home), []).unwrap();
+}
+
#[test]
fn rad_clone_directory() {
let mut environment = Environment::new();
commit dc1efb33cd7d294e786cc8891f15b25825ddf1e2
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Fri Sep 12 10:41:10 2025 +0200
radicle: Allow creating bare clones
diff --git a/crates/radicle-cli/src/commands/checkout.rs b/crates/radicle-cli/src/commands/checkout.rs
index 1c63747931..265a86115d 100644
--- a/crates/radicle-cli/src/commands/checkout.rs
+++ b/crates/radicle-cli/src/commands/checkout.rs
@@ -98,7 +98,7 @@ fn execute(options: Options, profile: &Profile) -> anyhow::Result<PathBuf> {
}
let mut spinner = term::spinner("Performing checkout...");
- let repo = match radicle::rad::checkout(options.id, &remote, path.clone(), &storage) {
+ let repo = match radicle::rad::checkout(options.id, &remote, path.clone(), &storage, false) {
Ok(repo) => repo,
Err(err) => {
spinner.failed();
diff --git a/crates/radicle-cli/src/commands/clone.rs b/crates/radicle-cli/src/commands/clone.rs
index 16ed62f5e7..142ea0a8af 100644
--- a/crates/radicle-cli/src/commands/clone.rs
+++ b/crates/radicle-cli/src/commands/clone.rs
@@ -274,7 +274,7 @@ impl Checkout {
"Creating checkout in ./{}..",
term::format::tertiary(destination.display())
));
- match rad::checkout(self.id, &self.remote, self.path, storage) {
+ match rad::checkout(self.id, &self.remote, self.path, storage, false) {
Err(err) => {
spinner.message(format!(
"Failed to checkout in ./{}",
diff --git a/crates/radicle-node/src/tests/e2e.rs b/crates/radicle-node/src/tests/e2e.rs
index 1777e85e07..ad549d4590 100644
--- a/crates/radicle-node/src/tests/e2e.rs
+++ b/crates/radicle-node/src/tests/e2e.rs
@@ -562,6 +562,7 @@ fn test_clone() {
alice.signer.public_key(),
tmp.path().join("clone"),
&alice.storage,
+ false,
)
.unwrap();
diff --git a/crates/radicle/src/rad.rs b/crates/radicle/src/rad.rs
index e9620c97bd..969d3c00c1 100644
--- a/crates/radicle/src/rad.rs
+++ b/crates/radicle/src/rad.rs
@@ -251,6 +251,7 @@ pub fn checkout<P: AsRef<Path>, S: storage::ReadStorage>(
remote: &RemoteId,
path: P,
storage: &S,
+ bare: bool,
) -> Result<git2::Repository, CheckoutError> {
// TODO: Decide on whether we can use `clone_local`
// TODO: Look into sharing object databases.
@@ -260,7 +261,8 @@ pub fn checkout<P: AsRef<Path>, S: storage::ReadStorage>(
let mut opts = git2::RepositoryInitOptions::new();
opts.no_reinit(true)
.external_template(false)
- .description(project.description());
+ .description(project.description())
+ .bare(bare);
let repo = git2::Repository::init_opts(path.as_ref(), &opts)?;
let url = git::Url::from(proj);
@@ -292,7 +294,8 @@ pub fn checkout<P: AsRef<Path>, S: storage::ReadStorage>(
.display()
.to_string();
- let output = git::run(Some(repo.path()), ["fetch", &stored, &fetchspec]).map_err(CheckoutError::FetchIo)?;
+ let output = git::run(Some(repo.path()), ["fetch", &stored, &fetchspec])
+ .map_err(CheckoutError::FetchIo)?;
if !output.status.success() {
return Err(CheckoutError::FetchGit {
@@ -317,7 +320,9 @@ pub fn checkout<P: AsRef<Path>, S: storage::ReadStorage>(
.expect("checkout: default branch name is valid UTF-8");
repo.set_head(branch_ref)?;
- repo.checkout_head(None)?;
+ if !bare {
+ repo.checkout_head(None)?;
+ }
// Setup remote tracking for default branch.
git::set_upstream(&repo, &*REMOTE_NAME, project.default_branch(), branch_ref)?;
@@ -548,7 +553,7 @@ mod tests {
// Bob forks it and creates a checkout.
fork(id, &bob, &storage).unwrap();
- checkout(id, bob_id, tempdir.path().join("copy"), &storage).unwrap();
+ checkout(id, bob_id, tempdir.path().join("copy"), &storage, false).unwrap();
let bob_remote = storage.repository(id).unwrap().remote(bob_id).unwrap();
@@ -583,7 +588,7 @@ mod tests {
.unwrap();
git::set_upstream(&original, "rad", "master", "refs/heads/master").unwrap();
- let copy = checkout(id, remote_id, tempdir.path().join("copy"), &storage).unwrap();
+ let copy = checkout(id, remote_id, tempdir.path().join("copy"), &storage, false).unwrap();
assert_eq!(
copy.head().unwrap().target(),
diff --git a/crates/radicle/src/storage/refs.rs b/crates/radicle/src/storage/refs.rs
index 750f8f71d6..be5b6afadb 100644
--- a/crates/radicle/src/storage/refs.rs
+++ b/crates/radicle/src/storage/refs.rs
@@ -570,6 +570,7 @@ mod tests {
bob.public_key(),
tmp.path().join("working"),
&storage,
+ false,
)
.unwrap();
commit daa0fb0170bf7665f45a28be182a149ace0554a8
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Fri Sep 12 10:25:07 2025 +0200
radicle-cli: Test initializing from bare repos
diff --git a/crates/radicle-cli/examples/git/git-is-bare-repository.md b/crates/radicle-cli/examples/git/git-is-bare-repository.md
new file mode 100644
index 0000000000..e0b387214a
--- /dev/null
+++ b/crates/radicle-cli/examples/git/git-is-bare-repository.md
@@ -0,0 +1,4 @@
+```
+$ git rev-parse --is-bare-repository
+true
+```
\ No newline at end of file
diff --git a/crates/radicle-cli/examples/rad-init-existing-bare.md b/crates/radicle-cli/examples/rad-init-existing-bare.md
new file mode 100644
index 0000000000..cfbefd4fc5
--- /dev/null
+++ b/crates/radicle-cli/examples/rad-init-existing-bare.md
@@ -0,0 +1,40 @@
+Let's clone a regular repository via plain Git:
+```
+$ git clone --bare $URL heartwood
+$ cd heartwood
+$ git rev-parse HEAD
+f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354
+```
+
+We can see it's not a Radicle working copy:
+``` (fail)
+$ rad .
+✗ Error: Current directory is not a Radicle repository
+```
+
+Let's pick an existing repository:
+```
+$ rad inspect rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji
+rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji
+```
+
+And initialize this working copy as that existing repository:
+```
+$ rad init --existing rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji
+✓ Initialized existing repository rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji in [..]/heartwood/..
+```
+
+We can confirm that the working copy is initialized:
+```
+$ rad .
+rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji
+$ git remote show rad
+* remote rad
+ Fetch URL: rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji
+ Push URL: rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
+ HEAD branch: (unknown)
+ Remote branch:
+ master new (next fetch will store in remotes/rad)
+ Local ref configured for 'git push':
+ master pushes to master (up to date)
+```
diff --git a/crates/radicle-cli/tests/commands.rs b/crates/radicle-cli/tests/commands.rs
index 4529e615d1..c9ae4ef80e 100644
--- a/crates/radicle-cli/tests/commands.rs
+++ b/crates/radicle-cli/tests/commands.rs
@@ -176,6 +176,15 @@ fn rad_init() {
Environment::alice(["rad-init"]);
}
+#[test]
+fn rad_init_bare() {
+ let mut env = Environment::new();
+ let alice = env.profile("alice");
+ radicle::test::fixtures::bare_repository(env.work(&alice).as_path());
+ env.tests(["git/git-is-bare-repository", "rad-init"], &alice)
+ .unwrap();
+}
+
#[test]
fn rad_init_existing() {
let mut environment = Environment::new();
@@ -198,6 +207,28 @@ fn rad_init_existing() {
.unwrap();
}
+#[test]
+fn rad_init_existing_bare() {
+ let mut environment = Environment::new();
+ let mut profile = environment.node("alice");
+ let working = tempfile::tempdir().unwrap();
+ let rid = profile.project("heartwood", "Radicle Heartwood Protocol & Stack");
+
+ test(
+ "examples/rad-init-existing-bare.md",
+ working.path(),
+ Some(&profile.home),
+ [(
+ "URL",
+ git::url::File::new(profile.storage.path())
+ .rid(rid)
+ .to_string()
+ .as_str(),
+ )],
+ )
+ .unwrap();
+}
+
#[test]
fn rad_init_no_seed() {
Environment::alice(["rad-init-no-seed"]);
diff --git a/crates/radicle/src/test/fixtures.rs b/crates/radicle/src/test/fixtures.rs
index e6c82de285..67da9412df 100644
--- a/crates/radicle/src/test/fixtures.rs
+++ b/crates/radicle/src/test/fixtures.rs
@@ -95,11 +95,28 @@ where
/// Creates a regular repository at the given path with a couple of commits.
pub fn repository<P: AsRef<Path>>(path: P) -> (git2::Repository, git2::Oid) {
- let repo = git2::Repository::init_opts(
+ let (repo, oid) = repository_with(
path,
git2::RepositoryInitOptions::new().external_template(false),
+ );
+ repo.checkout_head(None).unwrap();
+ (repo, oid)
+}
+
+pub fn bare_repository<P: AsRef<Path>>(path: P) -> (git2::Repository, git2::Oid) {
+ repository_with(
+ path,
+ git2::RepositoryInitOptions::new()
+ .external_template(false)
+ .bare(true),
)
- .unwrap();
+}
+
+fn repository_with<P: AsRef<Path>>(
+ path: P,
+ opts: &mut git2::RepositoryInitOptions,
+) -> (git2::Repository, git2::Oid) {
+ let repo = git2::Repository::init_opts(path, opts).unwrap();
{
let mut config = repo.config().unwrap();
@@ -124,7 +141,6 @@ pub fn repository<P: AsRef<Path>>(path: P) -> (git2::Repository, git2::Oid) {
commit.id()
};
repo.set_head("refs/heads/master").unwrap();
- repo.checkout_head(None).unwrap();
drop(tree);
drop(head);
commit 05ac6fdbbcf6722e9565e512306d68c0950bfeac
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Thu Sep 11 21:35:43 2025 +0200
remote-helper: Simplify handling of `GIT_DIR`
The contract for Git remote handlers says that we can expect
`GIT_DIR` to be set, and this also simplifies logic regarding
bare vs. non-bare repositories.
diff --git a/crates/radicle-remote-helper/src/main.rs b/crates/radicle-remote-helper/src/main.rs
index 662b967050..d8d1acf511 100644
--- a/crates/radicle-remote-helper/src/main.rs
+++ b/crates/radicle-remote-helper/src/main.rs
@@ -7,6 +7,14 @@
//! Usage of standard streams:
//! - Standard Error ([`eprintln`]) is used for communicating with the user.
//! - Standard Output ([`println`]) is used for communicating with Git tooling.
+//!
+//! This process assumes that the environment variable `GIT_DIR` is set
+//! appropriately (to the repository being pushed from or fetched to), as
+//! mentioned in the documentation on Git remote helpers.
+//!
+//! For example, the following two mechanisms rely on `GIT_DIR` being set:
+//! - [`git::raw::Repository::open_from_env`] to open the repository
+//! - [`radicle::git::run`] (with [`None`] as first argument) to invoke `git`
mod fetch;
mod list;
@@ -89,12 +97,6 @@ pub enum Error {
/// I/O error.
#[error("i/o error: {0}")]
Io(#[from] io::Error),
- /// The `GIT_DIR` env var is not set.
- #[error("the `GIT_DIR` environment variable is not set")]
- NoGitDir,
- /// No parent of `GIT_DIR` was found.
- #[error("expected parent of .git but found {path:?}")]
- NoWorkingCopy { path: PathBuf },
/// Git error.
#[error("git: {0}")]
Git(#[from] git::raw::Error),
@@ -185,13 +187,14 @@ pub fn run(profile: radicle::Profile) -> Result<(), Error> {
}
};
+ // Assume the default remote if there was no remote.
+ let remote = remote.unwrap_or_else(|| (*radicle::rad::REMOTE_NAME).clone());
+
let stored = profile.storage.repository_mut(url.repo)?;
if stored.is_empty()? {
return Err(Error::RepositoryNotFound(stored.path().to_path_buf()));
}
- // `GIT_DIR` is set by Git tooling, if we're in a working copy.
- let working = env::var("GIT_DIR").map(PathBuf::from);
// Whether we should output debug logs.
let debug = radicle::profile::env::debug();
@@ -243,25 +246,23 @@ pub fn run(profile: radicle::Profile) -> Result<(), Error> {
let oid = git::Oid::from_str(oid)?;
let refstr = git::RefString::try_from(*refstr)?;
- return fetch::run(vec![(oid, refstr)], stored, &stdin, opts.verbosity)
- .map_err(Error::from);
+ return Ok(fetch::run(
+ vec![(oid, refstr)],
+ stored,
+ &stdin,
+ opts.verbosity,
+ )?);
}
["push", refspec] => {
- // We have to be in a working copy to push.
- let working = working.map_err(|_| Error::NoGitDir)?;
-
- return push::run(
+ return Ok(push::run(
vec![refspec.to_string()],
- &working,
- // N.b. assume the default remote if there was no remote
- remote.unwrap_or((*radicle::rad::REMOTE_NAME).clone()),
+ remote,
url,
&stored,
&profile,
&stdin,
opts,
- )
- .map_err(Error::from);
+ )?);
}
["list"] => {
list::for_fetch(&url, &profile, &stored)?;
diff --git a/crates/radicle-remote-helper/src/push.rs b/crates/radicle-remote-helper/src/push.rs
index e71ec418b1..7ae177d73d 100644
--- a/crates/radicle-remote-helper/src/push.rs
+++ b/crates/radicle-remote-helper/src/push.rs
@@ -5,7 +5,6 @@ mod error;
use std::collections::HashMap;
use std::io::IsTerminal;
-use std::path::Path;
use std::process::ExitStatus;
use std::str::FromStr;
use std::{assert_eq, io};
@@ -247,7 +246,6 @@ impl PushAction {
/// Run a git push command.
pub fn run(
mut specs: Vec<String>,
- working: &Path,
remote: git::RefString,
url: Url,
stored: &storage::git::Repository,
@@ -292,7 +290,9 @@ pub fn run(
let canonical_ref = git::refs::branch(project.default_branch());
let mut set_canonical_refs: Vec<(git::Qualified, git::canonical::Object)> =
Vec::with_capacity(specs.len());
- let working = git::raw::Repository::open(working)?;
+
+ // Rely on the environment variable `GIT_DIR`.
+ let working = git::raw::Repository::open_from_env()?;
// For each refspec, push a ref or delete a ref.
for spec in specs {
commit 4bc2ac7744e5a9419eb68925bc1b3738e68dacc2
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Thu Sep 11 21:35:43 2025 +0200
radicle: Handle `GIT_DIR` more uniformly
Pull specification of the working directory into `radicle::git::run`,
to unify how higher level wrappers pass it down.
diff --git a/crates/radicle-cli/src/commands/patch/checkout.rs b/crates/radicle-cli/src/commands/patch/checkout.rs
index dd9aeffb6b..08d036917b 100644
--- a/crates/radicle-cli/src/commands/patch/checkout.rs
+++ b/crates/radicle-cli/src/commands/patch/checkout.rs
@@ -125,14 +125,26 @@ fn find_patch_commit<'a>(
working: &'a git::raw::Repository,
) -> anyhow::Result<git::raw::Commit<'a>> {
let head = *revision.head();
- let workdir = working
- .workdir()
- .ok_or(anyhow::anyhow!("repository is a bare git repository "))?;
match working.find_commit(head) {
Ok(commit) => Ok(commit),
Err(e) if git::ext::is_not_found_err(&e) => {
- git::process::fetch_local(workdir, stored, [head.into()], git::Verbosity::default())?;
+ let output = git::process::fetch_local(
+ Some(working.path()),
+ stored,
+ [head.into()],
+ git::Verbosity::default(),
+ )?;
+
+ if !output.status.success() {
+ anyhow::bail!(
+ "`git fetch` exited with status {}, stderr and stdout follow:\n{}\n{}\n",
+ output.status,
+ String::from_utf8_lossy(&output.stderr),
+ String::from_utf8_lossy(&output.stdout)
+ );
+ }
+
working.find_commit(head).map_err(|e| e.into())
}
Err(e) => Err(e.into()),
diff --git a/crates/radicle-cli/src/git.rs b/crates/radicle-cli/src/git.rs
index ca8ffdbedf..ec4ffcea96 100644
--- a/crates/radicle-cli/src/git.rs
+++ b/crates/radicle-cli/src/git.rs
@@ -137,7 +137,7 @@ pub fn git<S: AsRef<std::ffi::OsStr>>(
repo: &std::path::Path,
args: impl IntoIterator<Item = S>,
) -> anyhow::Result<std::process::Output> {
- let output = radicle::git::run::<_, _, &str, &str>(repo, args, [])?;
+ let output = radicle::git::run(Some(repo), args)?;
if !output.status.success() {
anyhow::bail!(
diff --git a/crates/radicle-remote-helper/src/fetch.rs b/crates/radicle-remote-helper/src/fetch.rs
index 7c2feb4c55..3715402d29 100644
--- a/crates/radicle-remote-helper/src/fetch.rs
+++ b/crates/radicle-remote-helper/src/fetch.rs
@@ -1,5 +1,4 @@
use std::io;
-use std::path::Path;
use std::str::FromStr;
use thiserror::Error;
@@ -28,7 +27,6 @@ pub enum Error {
/// Run a git fetch command.
pub fn run<R: ReadRepository>(
mut refs: Vec<(git::Oid, git::RefString)>,
- working: &Path,
stored: R,
stdin: &io::Stdin,
verbosity: Verbosity,
@@ -54,6 +52,9 @@ pub fn run<R: ReadRepository>(
// Verify them and prepare the final refspecs.
let oids = refs.into_iter().map(|(oid, _)| oid);
+ // Rely on the environment variable `GIT_DIR` pointing at the repository.
+ let working = None;
+
// N.b. we shell out to `git`, avoiding using `git2`. This is to
// avoid an issue where somewhere within the fetch there is an
// attempt to lookup a `rad/sigrefs` object, which says that the
diff --git a/crates/radicle-remote-helper/src/main.rs b/crates/radicle-remote-helper/src/main.rs
index 1b3ad4ba87..662b967050 100644
--- a/crates/radicle-remote-helper/src/main.rs
+++ b/crates/radicle-remote-helper/src/main.rs
@@ -243,14 +243,7 @@ pub fn run(profile: radicle::Profile) -> Result<(), Error> {
let oid = git::Oid::from_str(oid)?;
let refstr = git::RefString::try_from(*refstr)?;
- // N.b. `working` is the `.git` folder and `fetch::run`
- // requires the working directory.
- let working = dunce::canonicalize(working.map_err(|_| Error::NoGitDir)?)?;
- let working = working.parent().ok_or_else(|| Error::NoWorkingCopy {
- path: working.clone(),
- })?;
-
- return fetch::run(vec![(oid, refstr)], working, stored, &stdin, opts.verbosity)
+ return fetch::run(vec![(oid, refstr)], stored, &stdin, opts.verbosity)
.map_err(Error::from);
}
["push", refspec] => {
@@ -375,4 +368,4 @@ pub(crate) fn patches_mut<'a>(
}
Err(err) => Err(err.into()),
}
-}
+}
\ No newline at end of file
diff --git a/crates/radicle-remote-helper/src/push.rs b/crates/radicle-remote-helper/src/push.rs
index 18aeb2580b..e71ec418b1 100644
--- a/crates/radicle-remote-helper/src/push.rs
+++ b/crates/radicle-remote-helper/src/push.rs
@@ -502,7 +502,7 @@ where
//
// In case the reference is not properly deleted, the next attempt to open a patch should
// not fail, since the reference will already exist with the correct OID.
- push_ref(src, &dst, false, working, stored.raw(), opts.verbosity)?;
+ push_ref(src, &dst, false, stored.raw(), opts.verbosity)?;
let (_, target) = stored.canonical_head()?;
let base = if let Some(base) = opts.base {
@@ -616,7 +616,7 @@ where
let commit = *src;
let dst = dst.with_namespace(nid.into());
- push_ref(src, &dst, force, working, stored.raw(), opts.verbosity)?;
+ push_ref(src, &dst, force, stored.raw(), opts.verbosity)?;
let Ok(Some(patch)) = patches.get(&patch_id) else {
return Err(Error::NotFound(patch_id));
@@ -696,7 +696,7 @@ where
// It's ok for the destination reference to be unknown, eg. when pushing a new branch.
let old = stored.backend.find_reference(dst.as_str()).ok();
- push_ref(src, &dst, force, working, stored.raw(), verbosity)?;
+ push_ref(src, &dst, force, stored.raw(), verbosity)?;
if let Some(old) = old {
let proj = stored.project()?;
@@ -877,7 +877,6 @@ fn push_ref(
src: &git::Oid,
dst: &git::Namespaced,
force: bool,
- working: &git::raw::Repository,
stored: &git::raw::Repository,
verbosity: Verbosity,
) -> Result<(), Error> {
@@ -885,7 +884,6 @@ fn push_ref(
// Nb. The *force* indicator (`+`) is processed by Git tooling before we even reach this code.
// This happens during the `list for-push` phase.
let refspec = git::Refspec { src, dst, force };
- let repo = working.workdir().unwrap_or_else(|| working.path());
let mut args = vec![
"push".to_string(),
@@ -904,7 +902,10 @@ fn push_ref(
args.extend([url.to_string(), refspec.to_string()]);
- let output = radicle::git::run::<_, _, &str, &str>(repo, args, [])?;
+ // Rely on the environment variable `GIT_DIR`.
+ let working = None;
+
+ let output = radicle::git::run(working, args)?;
if !output.status.success() {
return Err(Error::InternalPushFailed {
diff --git a/crates/radicle/src/git.rs b/crates/radicle/src/git.rs
index 5b7ba0d963..7a3db866a9 100644
--- a/crates/radicle/src/git.rs
+++ b/crates/radicle/src/git.rs
@@ -756,23 +756,24 @@ pub fn head_refname(repo: &git2::Repository) -> Result<Option<String>, git2::Err
}
}
-/// Execute a git command by spawning a child process.
-pub fn run<P, S, K, V>(
- repo: P,
+/// Execute a `git` command by spawning a child process and collect its output.
+/// If `working` is [`Some`], the command is run as if `git` was started in
+/// `working` instead of the current working directory, by prepending
+/// `-C <working>` to the command line.
+pub fn run<S>(
+ working: Option<&std::path::Path>,
args: impl IntoIterator<Item = S>,
- envs: impl IntoIterator<Item = (K, V)>,
) -> io::Result<std::process::Output>
where
- P: AsRef<Path>,
S: AsRef<std::ffi::OsStr>,
- K: AsRef<std::ffi::OsStr>,
- V: AsRef<std::ffi::OsStr>,
{
- Command::new("git")
- .current_dir(repo)
- .envs(envs)
- .args(args)
- .output()
+ let mut cmd = Command::new("git");
+
+ if let Some(working) = working {
+ cmd.arg("-C").arg(dunce::canonicalize(working)?);
+ }
+
+ cmd.args(args).output()
}
/// Functions that call to the `git` CLI instead of `git2`.
@@ -789,7 +790,7 @@ pub mod process {
/// `oids` are the set of [`Oid`]s that are being fetched from the
/// `storage`.
pub fn fetch_local<R>(
- working: &Path,
+ working: Option<&Path>,
storage: &R,
oids: impl IntoIterator<Item = Oid>,
verbosity: Verbosity,
@@ -797,16 +798,15 @@ pub mod process {
where
R: ReadRepository,
{
- let mut fetch = vec![
+ let mut args = vec![
"fetch".to_string(),
// Avoid writing fetch head since we're only fetching objects
"--no-write-fetch-head".to_string(),
];
- fetch.extend(verbosity.into_flag());
- fetch.push(url::File::new(storage.path()).to_string());
- fetch.extend(oids.into_iter().map(|oid| oid.to_string()));
- // N.b. `.` is used since we're fetching within the working copy
- run::<_, _, &str, &str>(working, fetch, [])
+ args.extend(verbosity.into_flag());
+ args.push(url::File::new(storage.path()).to_string());
+ args.extend(oids.into_iter().map(|oid| oid.to_string()));
+ run(working, args)
}
}
diff --git a/crates/radicle/src/rad.rs b/crates/radicle/src/rad.rs
index 63a931f52f..e9620c97bd 100644
--- a/crates/radicle/src/rad.rs
+++ b/crates/radicle/src/rad.rs
@@ -1,6 +1,6 @@
#![allow(clippy::let_unit_value)]
use std::io;
-use std::path::{Path, PathBuf};
+use std::path::Path;
use std::str::FromStr;
use std::sync::LazyLock;
@@ -32,10 +32,6 @@ pub static PATCHES_REFNAME: LazyLock<git::RefString> =
#[derive(Error, Debug)]
pub enum InitError {
- #[error(
- "the Git repository found at {path:?} is a bare repository, expected a working directory"
- )]
- BareRepository { path: PathBuf },
#[error("doc: {0}")]
Doc(#[from] DocError),
#[error("repository: {0}")]
@@ -115,23 +111,22 @@ where
git::configure_repository(repo)?;
git::configure_remote(repo, &REMOTE_NAME, url, &url.clone().with_namespace(*pk))?;
let branch = git::Qualified::from(git::fmt::lit::refs_heads(default_branch));
- // Pushes to default branch to the namespace of the `signer`
- let pushspec = git::Refspec {
- src: branch.clone(),
- dst: branch.with_namespace(git::Component::from(pk)),
- force: false,
- };
- git::run::<_, _, &str, &str>(
- repo.workdir().ok_or(InitError::BareRepository {
- path: repo.path().to_path_buf(),
- })?,
- [
- "push",
- &format!("{}", dunce::canonicalize(stored.path())?.display()),
- &pushspec.to_string(),
- ],
- [],
- )?;
+
+ {
+ // Push branch to storage.
+ let stored = dunce::canonicalize(stored.path())?.display().to_string();
+
+ // Pushes to default branch to the namespace of the `signer`.
+ let pushspec = git::Refspec {
+ src: branch.clone(),
+ dst: branch.with_namespace(git::Component::from(pk)),
+ force: false,
+ }
+ .to_string();
+
+ git::run(Some(repo.path()), ["push".to_string(), stored, pushspec])?;
+ }
+
// N.b. we need to create the remote branch for the default branch
let rad_remote =
git::Qualified::from(git::lit::refs_remotes(&*REMOTE_COMPONENT)).join(default_branch);
@@ -231,12 +226,14 @@ where
#[derive(Error, Debug)]
pub enum CheckoutError {
- #[error(
- "the Git repository found at {path:?} is a bare repository, expected a working directory"
- )]
- BareRepository { path: PathBuf },
- #[error("failed to fetch to working copy")]
- Fetch(#[source] std::io::Error),
+ #[error("failed to fetch to working copy: {0}")]
+ FetchIo(#[source] std::io::Error),
+ #[error("internal fetch failed with exit status {status}, stderr and stdout follow:\n{stderr}\n{stdout}")]
+ FetchGit {
+ status: std::process::ExitStatus,
+ stderr: String,
+ stdout: String,
+ },
#[error("git: {0}")]
Git(#[from] git2::Error),
#[error("payload: {0}")]
@@ -277,33 +274,34 @@ pub fn checkout<P: AsRef<Path>, S: storage::ReadStorage>(
&url,
&url.clone().with_namespace(*remote),
)?;
- let fetchspec = git::Refspec {
- src: git::refspec::pattern!("refs/heads/*"),
- dst: git::Qualified::from(git::lit::refs_remotes(&*REMOTE_NAME))
- .to_pattern(git::refspec::STAR)
- .into_patternstring(),
- force: false,
- };
- let stored = storage.repository(proj)?;
- let workdir = repo.workdir().ok_or(CheckoutError::BareRepository {
- path: repo.path().to_path_buf(),
- })?;
- git::run::<_, _, &str, &str>(
- workdir,
- [
- "fetch",
- &format!(
- "{}",
- dunce::canonicalize(stored.path())
- .map_err(CheckoutError::Fetch)?
- .display()
- ),
- &fetchspec.to_string(),
- ],
- [],
- )
- .map_err(CheckoutError::Fetch)?;
+ {
+ // Fetch remote head to working copy.
+
+ let fetchspec = git::Refspec {
+ src: git::refspec::pattern!("refs/heads/*"),
+ dst: git::Qualified::from(git::lit::refs_remotes(&*REMOTE_NAME))
+ .to_pattern(git::refspec::STAR)
+ .into_patternstring(),
+ force: false,
+ }
+ .to_string();
+
+ let stored = dunce::canonicalize(storage.repository(proj)?.path())
+ .map_err(CheckoutError::FetchIo)?
+ .display()
+ .to_string();
+
+ let output = git::run(Some(repo.path()), ["fetch", &stored, &fetchspec]).map_err(CheckoutError::FetchIo)?;
+
+ if !output.status.success() {
+ return Err(CheckoutError::FetchGit {
+ status: output.status,
+ stdout: String::from_utf8_lossy(&output.stdout).to_string(),
+ stderr: String::from_utf8_lossy(&output.stderr).to_string(),
+ });
+ }
+ }
{
// Setup default branch.
commit 9700ad031e82d7bd2d8a3e68f42fb205dbefd416
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Thu Sep 11 21:35:43 2025 +0200
remote-helper: Refactor option handling
Group `["option", "progress", ..]`, and `["option", ..]` cases together during
match.
Make the key/value matching cleaner using `ok_or_else` and then matching on the
key value.
diff --git a/crates/radicle-remote-helper/src/main.rs b/crates/radicle-remote-helper/src/main.rs
index 5576768d0f..1b3ad4ba87 100644
--- a/crates/radicle-remote-helper/src/main.rs
+++ b/crates/radicle-remote-helper/src/main.rs
@@ -236,10 +236,7 @@ pub fn run(profile: radicle::Profile) -> Result<(), Error> {
push_option(args, &mut opts)?;
println!("ok");
}
- ["option", "progress", ..] => {
- println!("unsupported");
- }
- ["option", ..] => {
+ ["option", "progress", ..] | ["option", ..] => {
println!("unsupported");
}
["fetch", oid, refstr] => {
@@ -302,22 +299,21 @@ fn push_option(args: &[&str], opts: &mut Options) -> Result<(), Error> {
_ => {
let args = args.join(" ");
- if let Some((key, val)) = args.split_once('=') {
- match key {
- "patch.message" => {
- opts.message.append(val);
- }
- "patch.base" => {
- let base =
- cli::args::rev(&val.into()).map_err(|e| Error::Base(e.into()))?;
- opts.base = Some(base);
- }
- other => {
- return Err(Error::UnsupportedPushOption(other.to_owned()));
- }
+ let (key, val) = args
+ .split_once('=')
+ .ok_or_else(|| Error::UnsupportedPushOption(args.to_owned()))?;
+
+ match key {
+ "patch.message" => {
+ opts.message.append(val);
+ }
+ "patch.base" => {
+ let base = cli::args::rev(&val.into()).map_err(|e| Error::Base(e.into()))?;
+ opts.base = Some(base);
+ }
+ other => {
+ return Err(Error::UnsupportedPushOption(other.to_owned()));
}
- } else {
- return Err(Error::UnsupportedPushOption(args.to_owned()));
}
}
}
commit b60e69405bd2e5252fad458b34b33257a5dc291d
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Sat Sep 13 11:39:45 2025 +0200
remote-helper: Remove unused push error variant
diff --git a/crates/radicle-remote-helper/src/push.rs b/crates/radicle-remote-helper/src/push.rs
index 5e02f7d95e..18aeb2580b 100644
--- a/crates/radicle-remote-helper/src/push.rs
+++ b/crates/radicle-remote-helper/src/push.rs
@@ -5,7 +5,7 @@ mod error;
use std::collections::HashMap;
use std::io::IsTerminal;
-use std::path::{Path, PathBuf};
+use std::path::Path;
use std::process::ExitStatus;
use std::str::FromStr;
use std::{assert_eq, io};
@@ -36,10 +36,6 @@ use crate::{hint, read_line, Options, Verbosity};
#[derive(Debug, Error)]
pub enum Error {
- #[error(
- "the Git repository found at {path:?} is a bare repository, expected a working directory"
- )]
- BareRepository { path: PathBuf },
/// Public key doesn't match the remote namespace we're pushing to.
#[error("cannot push to remote namespace owned by {0}")]
KeyMismatch(Did),
commit af4f89c7cc4f763019c89c01c5a75d78e28f5016
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Thu Sep 11 18:28:30 2025 +0200
remote-helper: Do not hard-code binary name
diff --git a/crates/radicle-remote-helper/src/main.rs b/crates/radicle-remote-helper/src/main.rs
index 381269eb8a..5576768d0f 100644
--- a/crates/radicle-remote-helper/src/main.rs
+++ b/crates/radicle-remote-helper/src/main.rs
@@ -29,7 +29,7 @@ use radicle_cli::git::Rev;
use radicle_cli::terminal as cli;
pub const VERSION: Version = Version {
- name: "git-remote-rad",
+ name: env!("CARGO_BIN_NAME"),
commit: env!("GIT_HEAD"),
version: env!("RADICLE_VERSION"),
timestamp: env!("SOURCE_DATE_EPOCH"),
@@ -201,7 +201,7 @@ pub fn run(profile: radicle::Profile) -> Result<(), Error> {
if let Err(e) = radicle::io::set_file_limit(4096) {
if debug {
- eprintln!("git-remote-rad: unable to set open file limit: {e}");
+ eprintln!("{}: unable to set open file limit: {e}", VERSION.name);
}
}
@@ -209,7 +209,7 @@ pub fn run(profile: radicle::Profile) -> Result<(), Error> {
let tokens = read_line(&stdin, &mut line)?;
if debug {
- eprintln!("git-remote-rad: {:?}", &tokens);
+ eprintln!("{}: {}", VERSION.name, &tokens.join(" "));
}
match tokens.as_slice() {
commit 4837f1f9a3fd1f3e5e24bd6ed53c37c6e5a4cfdc
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Thu Sep 11 18:09:16 2025 +0200
remote-helper: Make crate binary-only
This crate is not a library, i.e., it is not intended to be depended
upon by other crates. Rather, it implements the `git-remote-rad`
binary.
Reflect this by moving `lib.rs` to `main.rs`, merging it with
`git-remote-rad.rs`.
diff --git a/crates/radicle-remote-helper/Cargo.toml b/crates/radicle-remote-helper/Cargo.toml
index fe256dbdc9..050a226651 100644
--- a/crates/radicle-remote-helper/Cargo.toml
+++ b/crates/radicle-remote-helper/Cargo.toml
@@ -11,7 +11,7 @@ rust-version.workspace = true
[[bin]]
name = "git-remote-rad"
-path = "src/git-remote-rad.rs"
+path = "src/main.rs"
[dependencies]
dunce = { workspace = true }
diff --git a/crates/radicle-remote-helper/src/git-remote-rad.rs b/crates/radicle-remote-helper/src/git-remote-rad.rs
deleted file mode 100644
index 2fa3b02c2f..0000000000
--- a/crates/radicle-remote-helper/src/git-remote-rad.rs
+++ /dev/null
@@ -1,42 +0,0 @@
-use std::env;
-use std::process;
-
-use radicle::version::Version;
-
-pub const VERSION: Version = Version {
- name: "git-remote-rad",
- commit: env!("GIT_HEAD"),
- version: env!("RADICLE_VERSION"),
- timestamp: env!("SOURCE_DATE_EPOCH"),
-};
-
-fn main() {
- let mut args = env::args();
-
- if let Some(lvl) = radicle::logger::env_level() {
- let logger = radicle::logger::StderrLogger::new(lvl);
- log::set_boxed_logger(Box::new(logger))
- .expect("no other logger should have been set already");
- log::set_max_level(lvl.to_level_filter());
- }
- if args.nth(1).as_deref() == Some("--version") {
- if let Err(e) = VERSION.write(std::io::stdout()) {
- eprintln!("error: {e}");
- process::exit(1);
- };
- process::exit(0);
- }
-
- let profile = match radicle::Profile::load() {
- Ok(profile) => profile,
- Err(err) => {
- eprintln!("error: couldn't load profile: {err}");
- process::exit(1);
- }
- };
-
- if let Err(err) = radicle_remote_helper::run(profile) {
- eprintln!("error: {err}");
- process::exit(1);
- }
-}
diff --git a/crates/radicle-remote-helper/src/lib.rs b/crates/radicle-remote-helper/src/main.rs
similarity index 88%
rename from crates/radicle-remote-helper/src/lib.rs
rename to crates/radicle-remote-helper/src/main.rs
index 817e25bddb..381269eb8a 100644
--- a/crates/radicle-remote-helper/src/lib.rs
+++ b/crates/radicle-remote-helper/src/main.rs
@@ -1,13 +1,19 @@
-#![warn(clippy::unwrap_used)]
-//! The Radicle Git remote helper.
+//! A Git remote helper for interacting with Radicle storage and notifying
+//! `radicle-node`.
//!
-//! Communication with the user is done via `stderr` (`eprintln`).
-//! Communication with Git tooling is done via `stdout` (`println`).
+//! Refer to <https://git-scm.com/docs/gitremote-helpers.html> for documentation
+//! on Git remote helpers.
+//!
+//! Usage of standard streams:
+//! - Standard Error ([`eprintln`]) is used for communicating with the user.
+//! - Standard Output ([`println`]) is used for communicating with Git tooling.
+
mod fetch;
mod list;
mod push;
use std::path::PathBuf;
+use std::process;
use std::str::FromStr;
use std::{env, fmt, io};
@@ -16,11 +22,50 @@ use thiserror::Error;
use radicle::prelude::NodeId;
use radicle::storage::git::transport::local::{Url, UrlError};
use radicle::storage::{ReadRepository, WriteStorage};
+use radicle::version::Version;
use radicle::{cob, profile};
use radicle::{git, storage, Profile};
use radicle_cli::git::Rev;
use radicle_cli::terminal as cli;
+pub const VERSION: Version = Version {
+ name: "git-remote-rad",
+ commit: env!("GIT_HEAD"),
+ version: env!("RADICLE_VERSION"),
+ timestamp: env!("SOURCE_DATE_EPOCH"),
+};
+
+fn main() {
+ let mut args = env::args();
+
+ if let Some(lvl) = radicle::logger::env_level() {
+ let logger = radicle::logger::StderrLogger::new(lvl);
+ log::set_boxed_logger(Box::new(logger))
+ .expect("no other logger should have been set already");
+ log::set_max_level(lvl.to_level_filter());
+ }
+ if args.nth(1).as_deref() == Some("--version") {
+ if let Err(e) = VERSION.write(std::io::stdout()) {
+ eprintln!("error: {e}");
+ process::exit(1);
+ };
+ process::exit(0);
+ }
+
+ let profile = match radicle::Profile::load() {
+ Ok(profile) => profile,
+ Err(err) => {
+ eprintln!("error: couldn't load profile: {err}");
+ process::exit(1);
+ }
+ };
+
+ if let Err(err) = run(profile) {
+ eprintln!("error: {err}");
+ process::exit(1);
+ }
+}
+
#[derive(Debug, Error)]
pub enum Error {
/// Failed to parse `base`.
Exit code: 0
shell: 'export RUSTDOCFLAGS=''-D warnings'' cargo --version rustc --version cargo fmt --check cargo clippy --all-targets --workspace -- --deny warnings cargo build --all-targets --workspace cargo doc --workspace --no-deps cargo test --workspace --no-fail-fast '
Commands:
$ podman run --name 8f7701f1-d179-45bd-8861-175d19afae0f -v /opt/radcis/ci.rad.levitte.org/cci/state/8f7701f1-d179-45bd-8861-175d19afae0f/s:/8f7701f1-d179-45bd-8861-175d19afae0f/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/8f7701f1-d179-45bd-8861-175d19afae0f/w:/8f7701f1-d179-45bd-8861-175d19afae0f/w -w /8f7701f1-d179-45bd-8861-175d19afae0f/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:trixie bash /8f7701f1-d179-45bd-8861-175d19afae0f/s/script.sh
+ export 'RUSTDOCFLAGS=-D warnings'
+ RUSTDOCFLAGS='-D warnings'
+ cargo --version
info: syncing channel updates for '1.88-x86_64-unknown-linux-gnu'
info: latest update on 2025-06-26, rust version 1.88.0 (6b00bc388 2025-06-23)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-src'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-src'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
cargo 1.88.0 (873a06493 2025-05-10)
+ rustc --version
rustc 1.88.0 (6b00bc388 2025-06-23)
+ cargo fmt --check
+ cargo clippy --all-targets --workspace -- --deny warnings
Updating crates.io index
Downloading crates ...
Downloaded adler2 v2.0.0
Downloaded aead v0.5.2
Downloaded data-encoding-macro-internal v0.1.12
Downloaded bitflags v1.3.2
Downloaded arc-swap v1.7.1
Downloaded cyphernet v0.5.2
Downloaded num v0.4.3
Downloaded form_urlencoded v1.2.1
Downloaded aho-corasick v1.1.3
Downloaded opaque-debug v0.3.1
Downloaded erased-serde v0.4.6
Downloaded proc-macro-error-attr v1.0.4
Downloaded pkg-config v0.3.30
Downloaded escargot v0.5.10
Downloaded crc32fast v1.4.0
Downloaded const-oid v0.9.6
Downloaded radicle-git-ext v0.8.1
Downloaded gix-path v0.10.15
Downloaded fast-glob v0.3.3
Downloaded gix-utils v0.1.14
Downloaded tree-sitter-highlight v0.24.4
Downloaded group v0.13.0
Downloaded gix-url v0.28.2
Downloaded icu_properties v1.5.1
Downloaded derive_more v2.0.1
Downloaded fxhash v0.2.1
Downloaded gix-date v0.9.4
Downloaded typeid v1.0.3
Downloaded human-panic v2.0.3
Downloaded gix-diff v0.49.0
Downloaded gix-traverse v0.43.1
Downloaded tinystr v0.7.6
Downloaded gix-hash v0.15.1
Downloaded sha1_smol v1.0.0
Downloaded scopeguard v1.2.0
Downloaded socks5-client v0.4.1
Downloaded utf8parse v0.2.1
Downloaded gix-quote v0.4.15
Downloaded timeago v0.4.2
Downloaded uuid-simd v0.8.0
Downloaded zerofrom-derive v0.1.6
Downloaded rand_core v0.6.4
Downloaded jobserver v0.1.31
Downloaded tinyvec v1.6.0
Downloaded zerofrom v0.1.6
Downloaded yoke-derive v0.7.5
Downloaded utf8_iter v1.0.4
Downloaded gix-odb v0.66.0
Downloaded gix-command v0.4.1
Downloaded hashbrown v0.14.3
Downloaded nonempty v0.9.0
Downloaded version_check v0.9.4
Downloaded spki v0.7.3
Downloaded idna_adapter v1.2.0
Downloaded thiserror-impl v2.0.12
Downloaded mio v0.8.11
Downloaded universal-hash v0.5.1
Downloaded inquire v0.7.5
Downloaded yoke v0.7.5
Downloaded icu_locid_transform_data v1.5.1
Downloaded getrandom v0.3.3
Downloaded url v2.5.4
Downloaded indexmap v2.2.6
Downloaded gix-trace v0.1.12
Downloaded schemars_derive v1.0.4
Downloaded stable_deref_trait v1.2.0
Downloaded multibase v0.9.1
Downloaded gix-config-value v0.14.12
Downloaded gix-sec v0.10.12
Downloaded gix-shallow v0.1.0
Downloaded zerocopy v0.7.35
Downloaded noise-framework v0.4.0
Downloaded winnow v0.6.26
Downloaded tree-sitter v0.24.4
Downloaded snapbox v0.4.17
Downloaded tree-sitter-md v0.3.2
Downloaded vcpkg v0.2.15
Downloaded streaming-iterator v0.1.9
Downloaded log v0.4.27
Downloaded gimli v0.31.1
Downloaded serde_derive v1.0.219
Downloaded serde v1.0.219
Downloaded iana-time-zone v0.1.60
Downloaded tree-sitter-ruby v0.23.1
Downloaded gix-transport v0.44.0
Downloaded rsa v0.9.6
Downloaded num-bigint v0.4.6
Downloaded prodash v29.0.2
Downloaded tree-sitter-bash v0.23.3
Downloaded ssh-key v0.6.6
Downloaded jsonschema v0.30.0
Downloaded unicode-normalization v0.1.23
Downloaded portable-atomic v1.11.0
Downloaded itertools v0.14.0
Downloaded p384 v0.13.0
Downloaded serde_json v1.0.140
Downloaded p521 v0.13.3
Downloaded jiff v0.2.1
Downloaded regex v1.11.1
Downloaded tree-sitter-c v0.23.2
Downloaded libc v0.2.174
Downloaded unicode-width v0.2.1
Downloaded object v0.36.7
Downloaded regex-syntax v0.6.29
Downloaded tree-sitter-typescript v0.23.2
Downloaded rustix v1.0.7
Downloaded rustix v0.38.34
Downloaded regex-syntax v0.8.5
Downloaded radicle-surf v0.22.0
Downloaded num-bigint-dig v0.8.4
Downloaded mio v1.0.4
Downloaded unicode-segmentation v1.11.0
Downloaded regex-automata v0.1.10
Downloaded schemars v1.0.4
Downloaded socket2 v0.5.7
Downloaded rand v0.8.5
Downloaded p256 v0.13.2
Downloaded similar v2.5.0
Downloaded ryu v1.0.17
Downloaded regex-automata v0.4.9
Downloaded thiserror-impl v1.0.69
Downloaded thiserror v2.0.12
Downloaded netservices v0.8.0
Downloaded gix-commitgraph v0.25.1
Downloaded git2 v0.19.0
Downloaded linux-raw-sys v0.4.13
Downloaded unicode-ident v1.0.12
Downloaded smallvec v1.13.2
Downloaded signal-hook v0.3.18
Downloaded sharded-slab v0.1.7
Downloaded sha3 v0.10.8
Downloaded gix-tempfile v15.0.0
Downloaded tree-sitter-rust v0.23.2
Downloaded proc-macro2 v1.0.92
Downloaded num-traits v0.2.19
Downloaded sha2 v0.10.8
Downloaded tracing-subscriber v0.3.19
Downloaded io-reactor v0.5.2
Downloaded unicode-width v0.1.11
Downloaded idna v1.0.3
Downloaded parking_lot v0.12.3
Downloaded unit-prefix v0.5.1
Downloaded write16 v1.0.0
Downloaded newline-converter v0.3.0
Downloaded signals_receipts v0.2.0
Downloaded signal-hook-registry v1.4.5
Downloaded serde_derive_internals v0.29.1
Downloaded overload v0.1.1
Downloaded syn v2.0.89
Downloaded primeorder v0.13.6
Downloaded libgit2-sys v0.17.0+1.8.1
Downloaded icu_provider v1.5.0
Downloaded icu_locid v1.5.0
Downloaded icu_collections v1.5.0
Downloaded zerovec v0.10.4
Downloaded referencing v0.30.0
Downloaded tree-sitter-python v0.23.4
Downloaded syn v1.0.109
Downloaded yansi v0.5.1
Downloaded xattr v1.3.1
Downloaded thiserror v1.0.69
Downloaded writeable v0.5.5
Downloaded walkdir v2.5.0
Downloaded vsimd v0.8.0
Downloaded spin v0.9.8
Downloaded getrandom v0.2.15
Downloaded sec1 v0.7.3
Downloaded rustc-demangle v0.1.26
Downloaded qcheck v1.0.0
Downloaded shlex v1.3.0
Downloaded serde-untagged v0.1.7
Downloaded sem_safe v0.2.0
Downloaded ppv-lite86 v0.2.17
Downloaded utf16_iter v1.0.5
Downloaded phf_shared v0.11.3
Downloaded parking_lot_core v0.9.9
Downloaded linux-raw-sys v0.9.4
Downloaded num-rational v0.4.2
Downloaded memchr v2.7.2
Downloaded normalize-line-endings v0.3.0
Downloaded fraction v0.15.3
Downloaded gix-actor v0.33.2
Downloaded git-ref-format-macro v0.3.1
Downloaded git-ref-format v0.3.1
Downloaded nonempty v0.5.0
Downloaded indicatif v0.18.0
Downloaded icu_provider_macros v1.5.0
Downloaded ghash v0.5.1
Downloaded gix-chunk v0.4.11
Downloaded gix-lock v15.0.1
Downloaded shell-words v1.1.0
Downloaded inout v0.1.3
Downloaded icu_locid_transform v1.5.0
Downloaded gix-ref v0.49.1
Downloaded gix-hashtable v0.6.0
Downloaded matchers v0.1.0
Downloaded pkcs1 v0.7.5
Downloaded git-ref-format-core v0.3.1
Downloaded uuid v1.16.0
Downloaded miniz_oxide v0.8.8
Downloaded siphasher v0.3.11
Downloaded scrypt v0.11.0
Downloaded sqlite3-src v0.5.1
Downloaded gix-object v0.46.1
Downloaded zeroize v1.7.0
Downloaded tracing-core v0.1.34
Downloaded toml v0.9.5
Downloaded memmap2 v0.9.4
Downloaded tree-sitter-go v0.23.4
Downloaded signature v1.6.4
Downloaded gix-revision v0.31.1
Downloaded thread_local v1.1.9
Downloaded serde_spanned v1.0.0
Downloaded salsa20 v0.10.2
Downloaded os_info v3.12.0
Downloaded once_cell v1.21.3
Downloaded phf v0.11.3
Downloaded gix-refspec v0.27.0
Downloaded toml_writer v1.0.2
Downloaded toml_datetime v0.7.0
Downloaded lexopt v0.3.0
Downloaded ssh-encoding v0.2.0
Downloaded sqlite3-sys v0.15.2
Downloaded sqlite v0.32.0
Downloaded zerovec-derive v0.10.3
Downloaded tracing-log v0.2.0
Downloaded keccak v0.1.5
Downloaded quote v1.0.36
Downloaded paste v1.0.15
Downloaded maybe-async v0.2.10
Downloaded gix-negotiate v0.17.0
Downloaded generic-array v0.14.7
Downloaded libm v0.2.8
Downloaded same-file v1.0.6
Downloaded ssh-cipher v0.2.0
Downloaded gix-revwalk v0.17.0
Downloaded tracing v0.1.41
Downloaded tinyvec_macros v0.1.1
Downloaded home v0.5.9
Downloaded itoa v1.0.11
Downloaded snapbox-macros v0.3.8
Downloaded siphasher v1.0.1
Downloaded signal-hook-mio v0.2.4
Downloaded qcheck-macros v1.0.0
Downloaded lazy_static v1.5.0
Downloaded hmac v0.12.1
Downloaded bstr v1.9.1
Downloaded tree-sitter-html v0.23.2
Downloaded tree-sitter-css v0.23.1
Downloaded icu_properties_data v1.5.1
Downloaded percent-encoding v2.3.1
Downloaded unicode-display-width v0.3.0
Downloaded tree-sitter-language v0.1.2
Downloaded tree-sitter-json v0.24.8
Downloaded test-log v0.2.18
Downloaded popol v3.0.0
Downloaded tree-sitter-toml-ng v0.6.0
Downloaded tempfile v3.10.1
Downloaded lock_api v0.4.11
Downloaded localtime v1.3.1
Downloaded litrs v0.4.1
Downloaded litemap v0.7.5
Downloaded gix-pack v0.56.0
Downloaded ref-cast v1.0.24
Downloaded pbkdf2 v0.12.2
Downloaded num-integer v0.1.46
Downloaded flate2 v1.1.1
Downloaded base64 v0.22.1
Downloaded gix-credentials v0.26.0
Downloaded typenum v1.17.0
Downloaded test-log-macros v0.2.18
Downloaded tar v0.4.40
Downloaded systemd-journal-logger v2.2.2
Downloaded libz-sys v1.1.16
Downloaded synstructure v0.13.1
Downloaded subtle v2.5.0
Downloaded icu_normalizer_data v1.5.1
Downloaded icu_normalizer v1.5.0
Downloaded gix-validate v0.9.4
Downloaded signature v2.2.0
Downloaded rfc6979 v0.4.0
Downloaded rand_chacha v0.3.1
Downloaded proc-macro-error v1.0.4
Downloaded pretty_assertions v1.4.0
Downloaded pkcs8 v0.10.2
Downloaded pem-rfc7468 v0.7.0
Downloaded num-complex v0.4.6
Downloaded derive_more-impl v2.0.1
Downloaded cc v1.2.2
Downloaded bytes v1.10.1
Downloaded blowfish v0.9.1
Downloaded crypto-bigint v0.5.5
Downloaded backtrace v0.3.75
Downloaded gix-protocol v0.47.0
Downloaded ref-cast-impl v1.0.24
Downloaded env_logger v0.11.8
Downloaded chacha20 v0.9.1
Downloaded ascii v1.1.0
Downloaded radicle-std-ext v0.1.0
Downloaded bytesize v2.0.1
Downloaded anstyle v1.0.6
Downloaded gix-prompt v0.9.1
Downloaded gix-features v0.39.1
Downloaded elliptic-curve v0.13.8
Downloaded data-encoding v2.5.0
Downloaded cfg-if v1.0.0
Downloaded bit-set v0.8.0
Downloaded base64ct v1.6.0
Downloaded gix-packetline v0.18.4
Downloaded gix-fs v0.12.1
Downloaded ecdsa v0.16.9
Downloaded console v0.16.0
Downloaded colorchoice v1.0.0
Downloaded env_filter v0.1.3
Downloaded email_address v0.2.9
Downloaded document-features v0.2.11
Downloaded cypheraddr v0.4.0
Downloaded byteorder v1.5.0
Downloaded bytecount v0.6.8
Downloaded bloomy v1.2.0
Downloaded bitflags v2.9.1
Downloaded base64 v0.13.1
Downloaded base16ct v0.2.0
Downloaded amplify_syn v2.0.1
Downloaded num-iter v0.1.45
Downloaded filetime v0.2.23
Downloaded ff v0.13.0
Downloaded fastrand v2.1.0
Downloaded equivalent v1.0.1
Downloaded emojis v0.6.4
Downloaded ct-codecs v1.1.1
Downloaded crossterm v0.29.0
Downloaded chrono v0.4.38
Downloaded cipher v0.4.4
Downloaded anstyle-query v1.0.2
Downloaded pin-project-lite v0.2.16
Downloaded fluent-uri v0.3.2
Downloaded borrow-or-share v0.2.2
Downloaded block-buffer v0.10.4
Downloaded bcrypt-pbkdf v0.10.0
Downloaded polyval v0.6.2
Downloaded poly1305 v0.8.0
Downloaded outref v0.5.2
Downloaded num-cmp v0.1.0
Downloaded faster-hex v0.9.0
Downloaded fancy-regex v0.14.0
Downloaded errno v0.3.13
Downloaded ed25519 v1.5.3
Downloaded dunce v1.0.5
Downloaded digest v0.10.7
Downloaded der v0.7.9
Downloaded crossterm v0.25.0
Downloaded crossbeam-channel v0.5.15
Downloaded cpufeatures v0.2.12
Downloaded chacha20poly1305 v0.10.1
Downloaded block-padding v0.3.3
Downloaded base64 v0.21.7
Downloaded anyhow v1.0.82
Downloaded anstyle-parse v0.2.3
Downloaded either v1.11.0
Downloaded ec25519 v0.1.0
Downloaded diff v0.1.13
Downloaded cbc v0.1.2
Downloaded bit-vec v0.8.0
Downloaded base32 v0.4.0
Downloaded base-x v0.2.11
Downloaded autocfg v1.2.0
Downloaded nu-ansi-term v0.46.0
Downloaded dyn-clone v1.0.17
Downloaded displaydoc v0.2.5
Downloaded data-encoding-macro v0.1.14
Downloaded cyphergraphy v0.3.0
Downloaded ctr v0.9.2
Downloaded crypto-common v0.1.6
Downloaded crossbeam-utils v0.8.19
Downloaded convert_case v0.7.1
Downloaded colored v2.1.0
Downloaded aes-gcm v0.10.3
Downloaded aes v0.8.4
Downloaded amplify_derive v4.0.0
Downloaded amplify v4.6.0
Downloaded addr2line v0.24.2
Downloaded anstream v0.6.13
Downloaded amplify_num v0.5.2
Downloaded ahash v0.8.11
Compiling libc v0.2.174
Compiling proc-macro2 v1.0.92
Compiling unicode-ident v1.0.12
Checking cfg-if v1.0.0
Compiling shlex v1.3.0
Compiling version_check v0.9.4
Compiling serde v1.0.219
Checking memchr v2.7.2
Compiling quote v1.0.36
Compiling syn v2.0.89
Compiling jobserver v0.1.31
Checking log v0.4.27
Compiling autocfg v1.2.0
Compiling cc v1.2.2
Checking getrandom v0.2.15
Checking smallvec v1.13.2
Checking aho-corasick v1.1.3
Compiling typenum v1.17.0
Checking regex-syntax v0.8.5
Compiling generic-array v0.14.7
Checking rand_core v0.6.4
Checking fastrand v2.1.0
Checking bitflags v2.9.1
Compiling lock_api v0.4.11
Compiling parking_lot_core v0.9.9
Checking scopeguard v1.2.0
Checking once_cell v1.21.3
Checking regex-automata v0.4.9
Checking crypto-common v0.1.6
Checking stable_deref_trait v1.2.0
Checking subtle v2.5.0
Checking tinyvec_macros v0.1.1
Compiling syn v1.0.109
Checking parking_lot v0.12.3
Checking tinyvec v1.6.0
Compiling synstructure v0.13.1
Checking zeroize v1.7.0
Compiling thiserror v2.0.12
Checking unicode-normalization v0.1.23
Checking bstr v1.9.1
Checking cpufeatures v0.2.12
Checking writeable v0.5.5
Checking litemap v0.7.5
Compiling serde_derive v1.0.219
Compiling zerofrom-derive v0.1.6
Compiling yoke-derive v0.7.5
Compiling zerovec-derive v0.10.3
Checking zerofrom v0.1.6
Checking yoke v0.7.5
Compiling displaydoc v0.2.5
Compiling thiserror-impl v2.0.12
Checking zerovec v0.10.4
Compiling crc32fast v1.4.0
Compiling icu_locid_transform_data v1.5.1
Checking tinystr v0.7.6
Checking icu_locid v1.5.0
Compiling icu_provider_macros v1.5.0
Checking block-padding v0.3.3
Compiling icu_properties_data v1.5.1
Checking icu_provider v1.5.0
Checking inout v0.1.3
Checking block-buffer v0.10.4
Checking itoa v1.0.11
Checking hashbrown v0.14.3
Compiling pkg-config v0.3.30
Compiling icu_normalizer_data v1.5.1
Checking digest v0.10.7
Checking cipher v0.4.4
Checking icu_locid_transform v1.5.0
Checking icu_collections v1.5.0
Checking write16 v1.0.0
Checking utf8_iter v1.0.4
Checking utf16_iter v1.0.5
Checking adler2 v2.0.0
Checking icu_properties v1.5.1
Compiling thiserror v1.0.69
Checking miniz_oxide v0.8.8
Compiling thiserror-impl v1.0.69
Checking percent-encoding v2.3.1
Compiling rustix v0.38.34
Checking linux-raw-sys v0.4.13
Checking sha2 v0.10.8
Checking gix-trace v0.1.12
Checking form_urlencoded v1.2.1
Checking universal-hash v0.5.1
Checking opaque-debug v0.3.1
Compiling vcpkg v0.2.15
Checking icu_normalizer v1.5.0
Checking faster-hex v0.9.0
Compiling amplify_syn v2.0.1
Checking idna_adapter v1.2.0
Compiling libz-sys v1.1.16
Checking idna v1.0.3
Checking url v2.5.4
Compiling data-encoding v2.5.0
Compiling amplify_derive v4.0.0
Checking tempfile v3.10.1
Checking gix-utils v0.1.14
Checking ascii v1.1.0
Checking amplify_num v0.5.2
Checking signature v1.6.4
Compiling data-encoding-macro-internal v0.1.12
Checking ed25519 v1.5.3
Checking gix-hash v0.15.1
Compiling libgit2-sys v0.17.0+1.8.1
Checking data-encoding-macro v0.1.14
Checking aead v0.5.2
Compiling num-traits v0.2.19
Compiling proc-macro-error-attr v1.0.4
Checking ct-codecs v1.1.1
Checking byteorder v1.5.0
Checking same-file v1.0.6
Checking base-x v0.2.11
Checking walkdir v2.5.0
Checking multibase v0.9.1
Checking ec25519 v0.1.0
Checking amplify v4.6.0
Checking flate2 v1.1.1
Checking poly1305 v0.8.0
Checking chacha20 v0.9.1
Checking prodash v29.0.2
Compiling proc-macro-error v1.0.4
Checking sha1_smol v1.0.0
Checking cyphergraphy v0.3.0
Checking gix-features v0.39.1
Compiling crossbeam-utils v0.8.19
Checking keccak v0.1.5
Checking sha3 v0.10.8
Compiling git-ref-format-core v0.3.1
Checking polyval v0.6.2
Compiling sqlite3-src v0.5.1
Checking hmac v0.12.1
Checking base32 v0.4.0
Checking equivalent v1.0.1
Checking home v0.5.9
Checking base64ct v1.6.0
Compiling serde_json v1.0.140
Checking ppv-lite86 v0.2.17
Checking pem-rfc7468 v0.7.0
Checking rand_chacha v0.3.1
Checking gix-path v0.10.15
Checking indexmap v2.2.6
Checking cypheraddr v0.4.0
Compiling git-ref-format-macro v0.3.1
Checking pbkdf2 v0.12.2
Checking ghash v0.5.1
Checking chacha20poly1305 v0.10.1
Checking ctr v0.9.2
Checking aes v0.8.4
Checking ryu v1.0.17
Checking aes-gcm v0.10.3
Checking git-ref-format v0.3.1
Checking noise-framework v0.4.0
Checking crossbeam-channel v0.5.15
Checking socks5-client v0.4.1
Checking rand v0.8.5
Checking ssh-encoding v0.2.0
Checking blowfish v0.9.1
Checking cbc v0.1.2
Checking radicle-std-ext v0.1.0
Compiling ref-cast v1.0.24
Checking ssh-cipher v0.2.0
Checking bcrypt-pbkdf v0.10.0
Checking cyphernet v0.5.2
Compiling ref-cast-impl v1.0.24
Checking signature v2.2.0
Checking ssh-key v0.6.6
Checking qcheck v1.0.0
Checking radicle-ssh v0.10.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-ssh)
Compiling typeid v1.0.3
Checking dyn-clone v1.0.17
Checking lazy_static v1.5.0
Checking jiff v0.2.1
Checking siphasher v1.0.1
Checking nonempty v0.9.0
Compiling serde_derive_internals v0.29.1
Checking radicle-dag v0.10.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-dag)
Checking winnow v0.6.26
Compiling schemars_derive v1.0.4
Checking gix-date v0.9.4
Checking gix-actor v0.33.2
Checking erased-serde v0.4.6
Checking gix-hashtable v0.6.0
Checking gix-validate v0.9.4
Checking iana-time-zone v0.1.60
Checking chrono v0.4.38
Checking schemars v1.0.4
Checking gix-object v0.46.1
Checking serde-untagged v0.1.7
Checking colored v2.1.0
Checking localtime v1.3.1
Checking bytesize v2.0.1
Checking memmap2 v0.9.4
Checking anstyle-query v1.0.2
Checking dunce v1.0.5
Checking tree-sitter-language v0.1.2
Checking base64 v0.21.7
Checking fast-glob v0.3.3
Checking gix-chunk v0.4.11
Checking utf8parse v0.2.1
Checking gix-commitgraph v0.25.1
Checking anstyle-parse v0.2.3
Compiling rustix v1.0.7
Checking anstyle v1.0.6
Checking colorchoice v1.0.0
Checking anstream v0.6.13
Checking gix-revwalk v0.17.0
Checking gix-fs v0.12.1
Checking linux-raw-sys v0.9.4
Checking gix-tempfile v15.0.0
Checking errno v0.3.13
Checking sem_safe v0.2.0
Checking shell-words v1.1.0
Checking either v1.11.0
Checking gix-command v0.4.1
Checking signals_receipts v0.2.0
Compiling signal-hook v0.3.18
Checking gix-lock v15.0.1
Checking gix-config-value v0.14.12
Checking gix-url v0.28.2
Checking gix-quote v0.4.15
Checking gix-sec v0.10.12
Checking signal-hook-registry v1.4.5
Compiling getrandom v0.3.3
Checking gix-prompt v0.9.1
Checking radicle-signals v0.11.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-signals)
Checking gix-revision v0.31.1
Checking gix-traverse v0.43.1
Checking gix-diff v0.49.0
Checking gix-packetline v0.18.4
Compiling tree-sitter v0.24.4
Checking mio v0.8.11
Checking mio v1.0.4
Compiling anyhow v1.0.82
Compiling unicode-segmentation v1.11.0
Compiling convert_case v0.7.1
Checking signal-hook-mio v0.2.4
Checking gix-transport v0.44.0
Checking gix-pack v0.56.0
Checking gix-refspec v0.27.0
Checking gix-credentials v0.26.0
Checking gix-shallow v0.1.0
Checking gix-ref v0.49.1
Checking gix-negotiate v0.17.0
Compiling maybe-async v0.2.10
Checking regex v1.11.1
Checking arc-swap v1.7.1
Compiling portable-atomic v1.11.0
Checking gix-protocol v0.47.0
Checking gix-odb v0.66.0
Checking uuid v1.16.0
Compiling xattr v1.3.1
Compiling derive_more-impl v2.0.1
Compiling filetime v0.2.23
Checking unicode-width v0.2.1
Compiling object v0.36.7
Checking lexopt v0.3.0
Checking bitflags v1.3.2
Compiling litrs v0.4.1
Checking crossterm v0.25.0
Compiling document-features v0.2.11
Checking console v0.16.0
Checking sqlite3-sys v0.15.2
Checking sqlite v0.32.0
Checking derive_more v2.0.1
Compiling tar v0.4.40
Checking newline-converter v0.3.0
Checking snapbox-macros v0.3.8
Checking fxhash v0.2.1
Checking salsa20 v0.10.2
Checking siphasher v0.3.11
Checking unicode-width v0.1.11
Checking normalize-line-endings v0.3.0
Checking gimli v0.31.1
Checking unit-prefix v0.5.1
Checking streaming-iterator v0.1.9
Checking similar v2.5.0
Checking snapbox v0.4.17
Checking indicatif v0.18.0
Compiling radicle-surf v0.22.0
Checking bloomy v1.2.0
Checking inquire v0.7.5
Checking scrypt v0.11.0
Checking crossterm v0.29.0
Checking addr2line v0.24.2
Checking unicode-display-width v0.3.0
Checking systemd-journal-logger v2.2.2
Checking toml_datetime v0.7.0
Checking serde_spanned v1.0.0
Compiling tree-sitter-bash v0.23.3
Compiling tree-sitter-json v0.24.8
Compiling tree-sitter-typescript v0.23.2
Compiling tree-sitter-go v0.23.4
Compiling tree-sitter-css v0.23.1
Compiling tree-sitter-ruby v0.23.1
Compiling tree-sitter-toml-ng v0.6.0
Compiling tree-sitter-c v0.23.2
Compiling tree-sitter-rust v0.23.2
Compiling tree-sitter-md v0.3.2
Compiling tree-sitter-python v0.23.4
Compiling tree-sitter-html v0.23.2
Checking popol v3.0.0
Checking rustc-demangle v0.1.26
Checking bytes v1.10.1
Checking toml_writer v1.0.2
Checking backtrace v0.3.75
Checking toml v0.9.5
Checking io-reactor v0.5.2
Checking os_info v3.12.0
Checking socket2 v0.5.7
Checking diff v0.1.13
Compiling radicle-node v0.15.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-node)
Checking base64 v0.13.1
Compiling radicle-cli v0.16.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cli)
Checking yansi v0.5.1
Checking nonempty v0.5.0
Checking pretty_assertions v1.4.0
Checking netservices v0.8.0
Checking human-panic v2.0.3
Checking radicle-systemd v0.10.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-systemd)
Checking tree-sitter-highlight v0.24.4
Checking itertools v0.14.0
Checking num-integer v0.1.46
Compiling escargot v0.5.10
Checking timeago v0.4.2
Compiling qcheck-macros v1.0.0
Checking num-bigint v0.4.6
Compiling ahash v0.8.11
Checking num-iter v0.1.45
Checking num-complex v0.4.6
Checking env_filter v0.1.3
Checking zerocopy v0.7.35
Checking bit-vec v0.8.0
Checking borrow-or-share v0.2.2
Checking bit-set v0.8.0
Checking fluent-uri v0.3.2
Checking num-rational v0.4.2
Checking env_logger v0.11.8
Checking num v0.4.3
Checking phf_shared v0.11.3
Compiling test-log-macros v0.2.18
Checking vsimd v0.8.0
Compiling radicle-remote-helper v0.13.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-remote-helper)
Checking outref v0.5.2
Compiling paste v1.0.15
Checking uuid-simd v0.8.0
Checking test-log v0.2.18
Checking referencing v0.30.0
Checking phf v0.11.3
Checking fraction v0.15.3
Checking fancy-regex v0.14.0
Checking email_address v0.2.9
Checking num-cmp v0.1.0
Checking bytecount v0.6.8
Checking base64 v0.22.1
Checking emojis v0.6.4
Checking jsonschema v0.30.0
Checking git2 v0.19.0
Checking radicle-git-ext v0.8.1
Checking radicle-term v0.15.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-term)
Checking radicle-crypto v0.13.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-crypto)
Checking radicle-cob v0.16.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cob)
Checking radicle v0.19.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle)
Checking radicle-fetch v0.15.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-fetch)
Checking radicle-cli-test v0.13.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cli-test)
Checking radicle-schemars v0.5.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-schemars)
Checking radicle-protocol v0.3.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-protocol)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.93s
+ cargo build --all-targets --workspace
Compiling cfg-if v1.0.0
Compiling libc v0.2.174
Compiling shlex v1.3.0
Compiling serde v1.0.219
Compiling memchr v2.7.2
Compiling log v0.4.27
Compiling smallvec v1.13.2
Compiling aho-corasick v1.1.3
Compiling jobserver v0.1.31
Compiling getrandom v0.2.15
Compiling cc v1.2.2
Compiling regex-syntax v0.8.5
Compiling typenum v1.17.0
Compiling regex-automata v0.4.9
Compiling generic-array v0.14.7
Compiling rand_core v0.6.4
Compiling bitflags v2.9.1
Compiling crypto-common v0.1.6
Compiling fastrand v2.1.0
Compiling scopeguard v1.2.0
Compiling once_cell v1.21.3
Compiling lock_api v0.4.11
Compiling zerofrom v0.1.6
Compiling parking_lot_core v0.9.9
Compiling stable_deref_trait v1.2.0
Compiling subtle v2.5.0
Compiling yoke v0.7.5
Compiling tinyvec_macros v0.1.1
Compiling parking_lot v0.12.3
Compiling tinyvec v1.6.0
Compiling zerovec v0.10.4
Compiling zeroize v1.7.0
Compiling cpufeatures v0.2.12
Compiling unicode-normalization v0.1.23
Compiling tinystr v0.7.6
Compiling thiserror v2.0.12
Compiling writeable v0.5.5
Compiling adler2 v2.0.0
Compiling litemap v0.7.5
Compiling miniz_oxide v0.8.8
Compiling block-padding v0.3.3
Compiling inout v0.1.3
Compiling icu_locid v1.5.0
Compiling icu_locid_transform_data v1.5.1
Compiling bstr v1.9.1
Compiling icu_provider v1.5.0
Compiling block-buffer v0.10.4
Compiling itoa v1.0.11
Compiling hashbrown v0.14.3
Compiling digest v0.10.7
Compiling icu_locid_transform v1.5.0
Compiling cipher v0.4.4
Compiling icu_properties_data v1.5.1
Compiling crc32fast v1.4.0
Compiling icu_collections v1.5.0
Compiling icu_normalizer_data v1.5.1
Compiling write16 v1.0.0
Compiling utf8_iter v1.0.4
Compiling utf16_iter v1.0.5
Compiling icu_properties v1.5.1
Compiling percent-encoding v2.3.1
Compiling linux-raw-sys v0.4.13
Compiling thiserror v1.0.69
Compiling sha2 v0.10.8
Compiling rustix v0.38.34
Compiling gix-trace v0.1.12
Compiling form_urlencoded v1.2.1
Compiling universal-hash v0.5.1
Compiling opaque-debug v0.3.1
Compiling libz-sys v1.1.16
Compiling faster-hex v0.9.0
Compiling gix-utils v0.1.14
Compiling icu_normalizer v1.5.0
Compiling amplify_num v0.5.2
Compiling idna_adapter v1.2.0
Compiling idna v1.0.3
Compiling tempfile v3.10.1
Compiling url v2.5.4
Compiling signature v1.6.4
Compiling ascii v1.1.0
Compiling data-encoding v2.5.0
Compiling data-encoding-macro v0.1.14
Compiling amplify v4.6.0
Compiling ed25519 v1.5.3
Compiling gix-hash v0.15.1
Compiling libgit2-sys v0.17.0+1.8.1
Compiling aead v0.5.2
Compiling ct-codecs v1.1.1
Compiling base-x v0.2.11
Compiling same-file v1.0.6
Compiling byteorder v1.5.0
Compiling multibase v0.9.1
Compiling walkdir v2.5.0
Compiling ec25519 v0.1.0
Compiling poly1305 v0.8.0
Compiling flate2 v1.1.1
Compiling chacha20 v0.9.1
Compiling prodash v29.0.2
Compiling sha1_smol v1.0.0
Compiling cyphergraphy v0.3.0
Compiling num-traits v0.2.19
Compiling gix-features v0.39.1
Compiling keccak v0.1.5
Compiling polyval v0.6.2
Compiling sha3 v0.10.8
Compiling git-ref-format-core v0.3.1
Compiling hmac v0.12.1
Compiling sqlite3-src v0.5.1
Compiling home v0.5.9
Compiling equivalent v1.0.1
Compiling ppv-lite86 v0.2.17
Compiling base64ct v1.6.0
Compiling base32 v0.4.0
Compiling rand_chacha v0.3.1
Compiling cypheraddr v0.4.0
Compiling pem-rfc7468 v0.7.0
Compiling indexmap v2.2.6
Compiling git-ref-format-macro v0.3.1
Compiling gix-path v0.10.15
Compiling pbkdf2 v0.12.2
Compiling ghash v0.5.1
Compiling crossbeam-utils v0.8.19
Compiling chacha20poly1305 v0.10.1
Compiling aes v0.8.4
Compiling ctr v0.9.2
Compiling ryu v1.0.17
Compiling serde_json v1.0.140
Compiling aes-gcm v0.10.3
Compiling git-ref-format v0.3.1
Compiling crossbeam-channel v0.5.15
Compiling noise-framework v0.4.0
Compiling ssh-encoding v0.2.0
Compiling socks5-client v0.4.1
Compiling rand v0.8.5
Compiling blowfish v0.9.1
Compiling cbc v0.1.2
Compiling radicle-std-ext v0.1.0
Compiling ssh-cipher v0.2.0
Compiling bcrypt-pbkdf v0.10.0
Compiling cyphernet v0.5.2
Compiling signature v2.2.0
Compiling ssh-key v0.6.6
Compiling ref-cast v1.0.24
Compiling qcheck v1.0.0
Compiling radicle-ssh v0.10.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-ssh)
Compiling dyn-clone v1.0.17
Compiling lazy_static v1.5.0
Compiling siphasher v1.0.1
Compiling jiff v0.2.1
Compiling typeid v1.0.3
Compiling radicle-dag v0.10.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-dag)
Compiling nonempty v0.9.0
Compiling winnow v0.6.26
Compiling erased-serde v0.4.6
Compiling gix-hashtable v0.6.0
Compiling gix-validate v0.9.4
Compiling iana-time-zone v0.1.60
Compiling gix-date v0.9.4
Compiling gix-actor v0.33.2
Compiling gix-object v0.46.1
Compiling chrono v0.4.38
Compiling serde-untagged v0.1.7
Compiling schemars v1.0.4
Compiling colored v2.1.0
Compiling bytesize v2.0.1
Compiling localtime v1.3.1
Compiling memmap2 v0.9.4
Compiling tree-sitter-language v0.1.2
Compiling fast-glob v0.3.3
Compiling dunce v1.0.5
Compiling anstyle-query v1.0.2
Compiling base64 v0.21.7
Compiling gix-chunk v0.4.11
Compiling utf8parse v0.2.1
Compiling gix-commitgraph v0.25.1
Compiling anstyle-parse v0.2.3
Compiling colorchoice v1.0.0
Compiling anstyle v1.0.6
Compiling gix-revwalk v0.17.0
Compiling anstream v0.6.13
Compiling gix-fs v0.12.1
Compiling linux-raw-sys v0.9.4
Compiling gix-tempfile v15.0.0
Compiling sem_safe v0.2.0
Compiling errno v0.3.13
Compiling either v1.11.0
Compiling rustix v1.0.7
Compiling shell-words v1.1.0
Compiling unicode-segmentation v1.11.0
Compiling gix-command v0.4.1
Compiling signals_receipts v0.2.0
Compiling gix-lock v15.0.1
Compiling gix-url v0.28.2
Compiling gix-config-value v0.14.12
Compiling gix-quote v0.4.15
Compiling gix-sec v0.10.12
Compiling signal-hook-registry v1.4.5
Compiling signal-hook v0.3.18
Compiling gix-prompt v0.9.1
Compiling radicle-signals v0.11.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-signals)
Compiling gix-traverse v0.43.1
Compiling gix-revision v0.31.1
Compiling gix-diff v0.49.0
Compiling gix-packetline v0.18.4
Compiling tree-sitter v0.24.4
Compiling mio v0.8.11
Compiling mio v1.0.4
Compiling sqlite3-sys v0.15.2
Compiling sqlite v0.32.0
Compiling signal-hook-mio v0.2.4
Compiling gix-transport v0.44.0
Compiling gix-pack v0.56.0
Compiling gix-refspec v0.27.0
Compiling gix-credentials v0.26.0
Compiling getrandom v0.3.3
Compiling gix-ref v0.49.1
Compiling gix-shallow v0.1.0
Compiling convert_case v0.7.1
Compiling gix-negotiate v0.17.0
Compiling regex v1.11.1
Compiling arc-swap v1.7.1
Compiling gix-odb v0.66.0
Compiling gix-protocol v0.47.0
Compiling derive_more-impl v2.0.1
Compiling uuid v1.16.0
Compiling xattr v1.3.1
Compiling filetime v0.2.23
Compiling lexopt v0.3.0
Compiling unicode-width v0.2.1
Compiling bitflags v1.3.2
Compiling crossterm v0.25.0
Compiling tar v0.4.40
Compiling console v0.16.0
Compiling derive_more v2.0.1
Compiling portable-atomic v1.11.0
Compiling anyhow v1.0.82
Compiling newline-converter v0.3.0
Compiling snapbox-macros v0.3.8
Compiling fxhash v0.2.1
Compiling salsa20 v0.10.2
Compiling unicode-width v0.1.11
Compiling streaming-iterator v0.1.9
Compiling unit-prefix v0.5.1
Compiling normalize-line-endings v0.3.0
Compiling siphasher v0.3.11
Compiling similar v2.5.0
Compiling gimli v0.31.1
Compiling bloomy v1.2.0
Compiling snapbox v0.4.17
Compiling radicle-surf v0.22.0
Compiling indicatif v0.18.0
Compiling addr2line v0.24.2
Compiling scrypt v0.11.0
Compiling inquire v0.7.5
Compiling crossterm v0.29.0
Compiling object v0.36.7
Compiling systemd-journal-logger v2.2.2
Compiling unicode-display-width v0.3.0
Compiling tree-sitter-md v0.3.2
Compiling tree-sitter-json v0.24.8
Compiling tree-sitter-python v0.23.4
Compiling tree-sitter-typescript v0.23.2
Compiling tree-sitter-css v0.23.1
Compiling tree-sitter-ruby v0.23.1
Compiling tree-sitter-bash v0.23.3
Compiling tree-sitter-toml-ng v0.6.0
Compiling tree-sitter-html v0.23.2
Compiling tree-sitter-c v0.23.2
Compiling tree-sitter-go v0.23.4
Compiling tree-sitter-rust v0.23.2
Compiling toml_datetime v0.7.0
Compiling serde_spanned v1.0.0
Compiling popol v3.0.0
Compiling bytes v1.10.1
Compiling toml_writer v1.0.2
Compiling rustc-demangle v0.1.26
Compiling toml v0.9.5
Compiling backtrace v0.3.75
Compiling io-reactor v0.5.2
Compiling os_info v3.12.0
Compiling socket2 v0.5.7
Compiling radicle-node v0.15.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-node)
Compiling nonempty v0.5.0
Compiling base64 v0.13.1
Compiling yansi v0.5.1
Compiling radicle-cli v0.16.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cli)
Compiling diff v0.1.13
Compiling pretty_assertions v1.4.0
Compiling netservices v0.8.0
Compiling human-panic v2.0.3
Compiling radicle-systemd v0.10.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-systemd)
Compiling tree-sitter-highlight v0.24.4
Compiling itertools v0.14.0
Compiling num-integer v0.1.46
Compiling timeago v0.4.2
Compiling escargot v0.5.10
Compiling num-bigint v0.4.6
Compiling num-rational v0.4.2
Compiling num-iter v0.1.45
Compiling num-complex v0.4.6
Compiling env_filter v0.1.3
Compiling borrow-or-share v0.2.2
Compiling zerocopy v0.7.35
Compiling bit-vec v0.8.0
Compiling num v0.4.3
Compiling ahash v0.8.11
Compiling fluent-uri v0.3.2
Compiling bit-set v0.8.0
Compiling env_logger v0.11.8
Compiling phf_shared v0.11.3
Compiling radicle-remote-helper v0.13.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-remote-helper)
Compiling outref v0.5.2
Compiling vsimd v0.8.0
Compiling test-log v0.2.18
Compiling referencing v0.30.0
Compiling phf v0.11.3
Compiling fancy-regex v0.14.0
Compiling uuid-simd v0.8.0
Compiling fraction v0.15.3
Compiling email_address v0.2.9
Compiling num-cmp v0.1.0
Compiling bytecount v0.6.8
Compiling base64 v0.22.1
Compiling emojis v0.6.4
Compiling jsonschema v0.30.0
Compiling git2 v0.19.0
Compiling radicle-git-ext v0.8.1
Compiling radicle-term v0.15.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-term)
Compiling radicle-crypto v0.13.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-crypto)
Compiling radicle-cob v0.16.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cob)
Compiling radicle v0.19.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle)
Compiling radicle-fetch v0.15.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-fetch)
Compiling radicle-protocol v0.3.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-protocol)
Compiling radicle-cli-test v0.13.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cli-test)
Compiling radicle-schemars v0.5.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-schemars)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s
+ cargo doc --workspace --no-deps
Checking regex-automata v0.4.9
Compiling syn v1.0.109
Checking idna v1.0.3
Checking radicle-ssh v0.10.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-ssh)
Compiling num-traits v0.2.19
Checking url v2.5.4
Checking radicle-dag v0.10.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-dag)
Checking git2 v0.19.0
Checking chrono v0.4.38
Compiling amplify_syn v2.0.1
Checking bstr v1.9.1
Compiling data-encoding-macro-internal v0.1.12
Compiling proc-macro-error v1.0.4
Checking data-encoding-macro v0.1.14
Checking gix-path v0.10.15
Checking multibase v0.9.1
Compiling git-ref-format-macro v0.3.1
Checking git-ref-format-core v0.3.1
Checking gix-date v0.9.4
Compiling amplify_derive v4.0.0
Checking gix-actor v0.33.2
Checking gix-validate v0.9.4
Checking gix-commitgraph v0.25.1
Checking git-ref-format v0.3.1
Checking gix-object v0.46.1
Checking radicle-git-ext v0.8.1
Checking gix-command v0.4.1
Checking gix-config-value v0.14.12
Checking gix-url v0.28.2
Checking gix-quote v0.4.15
Checking gix-prompt v0.9.1
Checking radicle-signals v0.11.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-signals)
Checking gix-packetline v0.18.4
Checking regex v1.11.1
Checking gix-transport v0.44.0
Checking tree-sitter v0.24.4
Checking gix-revwalk v0.17.0
Checking gix-diff v0.49.0
Checking gix-ref v0.49.1
Checking gix-traverse v0.43.1
Checking gix-revision v0.31.1
Checking gix-pack v0.56.0
Checking gix-refspec v0.27.0
Checking gix-negotiate v0.17.0
Checking gix-credentials v0.26.0
Checking gix-shallow v0.1.0
Checking amplify v4.6.0
Checking uuid v1.16.0
Checking gix-protocol v0.47.0
Checking radicle-surf v0.22.0
Checking cyphergraphy v0.3.0
Checking cypheraddr v0.4.0
Checking noise-framework v0.4.0
Checking gix-odb v0.66.0
Checking socks5-client v0.4.1
Compiling radicle-cli v0.16.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cli)
Checking human-panic v2.0.3
Checking tree-sitter-toml-ng v0.6.0
Checking radicle-term v0.15.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-term)
Checking cyphernet v0.5.2
Checking tree-sitter-highlight v0.24.4
Checking radicle-crypto v0.13.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-crypto)
Checking io-reactor v0.5.2
Compiling radicle-node v0.15.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-node)
Checking netservices v0.8.0
Checking radicle-cob v0.16.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cob)
Checking radicle-systemd v0.10.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-systemd)
Documenting radicle-cob v0.16.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cob)
Documenting radicle-systemd v0.10.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-systemd)
Documenting radicle-crypto v0.13.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-crypto)
Checking radicle v0.19.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle)
Documenting radicle v0.19.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle)
Documenting radicle-term v0.15.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-term)
Documenting radicle-signals v0.11.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-signals)
Documenting radicle-ssh v0.10.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-ssh)
Documenting radicle-dag v0.10.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-dag)
Checking radicle-fetch v0.15.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-fetch)
Documenting radicle-cli v0.16.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cli)
Documenting radicle-fetch v0.15.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-fetch)
Checking radicle-protocol v0.3.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-protocol)
Documenting radicle-protocol v0.3.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-protocol)
Documenting radicle-node v0.15.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-node)
Documenting radicle-schemars v0.5.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-schemars)
Documenting radicle-remote-helper v0.13.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-remote-helper)
Documenting radicle-cli-test v0.13.0 (/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cli-test)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.13s
Generated /8f7701f1-d179-45bd-8861-175d19afae0f/w/target/doc/radicle/index.html and 15 other files
+ cargo test --workspace --no-fail-fast
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
Running unittests src/lib.rs (target/debug/deps/radicle-51334f29bf16c6df)
running 237 tests
test canonical::formatter::test::ascii_control_characters ... ok
test canonical::formatter::test::ordered_nested_object ... ok
test canonical::formatter::test::securesystemslib_asserts ... ok
test cob::cache::migrations::_2::tests::test_migration_2 ... ok
test cob::cache::migrations::_2::tests::test_patch_json_deserialization ... ok
test cob::common::test::test_color ... ok
test cob::common::test::test_emojis ... ok
test cob::cache::tests::test_check_version ... ok
test cob::cache::tests::test_migrate_to ... ok
test cob::identity::test::prop_json_eq_str ... ok
test cob::identity::test::test_identity_redact_revision ... ok
test cob::identity::test::test_identity_update_rejected ... ok
test cob::identity::test::test_identity_reject_concurrent ... ok
test cob::identity::test::test_identity_remove_delegate_concurrent ... ok
test cob::identity::test::test_identity_updates ... ok
test cob::issue::cache::tests::test_counts ... ok
test cob::issue::cache::tests::test_get ... ok
test cob::issue::cache::tests::test_is_empty ... ok
test cob::issue::cache::tests::test_list ... ok
test cob::issue::cache::tests::test_list_by_status ... ok
test cob::issue::cache::tests::test_remove ... ok
test cob::identity::test::test_valid_identity ... ok
test cob::issue::test::test_embeds ... ok
test cob::identity::test::test_identity_updates_concurrent ... ok
test cob::issue::test::test_invalid_actions ... ok
test cob::issue::test::test_embeds_edit ... ok
test cob::identity::test::test_identity_updates_concurrent_outdated ... ok
test cob::issue::test::test_invalid_tx_reference ... ok
test cob::issue::test::test_invalid_tx ... ok
test cob::issue::test::test_invalid_cob ... ok
test cob::issue::test::test_concurrency ... ok
test cob::issue::test::test_issue_all ... ok
test cob::issue::test::test_issue_comment ... ok
test cob::issue::test::test_issue_comment_redact ... ok
test cob::issue::test::test_issue_create_and_assign ... ok
test cob::issue::test::test_issue_create_and_get ... ok
test cob::issue::test::test_issue_create_and_change_state ... ok
test cob::issue::test::test_issue_create_and_reassign ... ok
test cob::issue::test::test_issue_create_and_unassign ... ok
test cob::issue::test::test_issue_edit_description ... ok
test cob::issue::test::test_issue_edit ... ok
test cob::issue::test::test_issue_label ... ok
test cob::issue::test::test_issue_state_serde ... ok
test cob::issue::test::test_ordering ... ok
test cob::patch::actions::test::test_review_edit ... ok
test cob::issue::test::test_issue_multilines ... ok
test cob::issue::test::test_issue_react ... ok
test cob::issue::test::test_issue_reply ... ok
test cob::patch::cache::tests::test_is_empty ... ok
test cob::patch::cache::tests::test_get ... ok
test cob::patch::cache::tests::test_counts ... ok
test cob::patch::cache::tests::test_remove ... ok
test cob::patch::encoding::review::test::test_review_deserialize_summary_migration_null_summary ... ok
test cob::patch::encoding::review::test::test_review_deserialize_summary_migration_with_summary ... ok
test cob::patch::encoding::review::test::test_review_deserialize_summary_migration_without_summary ... ok
test cob::patch::encoding::review::test::test_review_deserialize_summary_v2 ... ok
test cob::patch::encoding::review::test::test_review_summary ... ok
test cob::patch::test::test_json ... ok
test cob::patch::test::test_json_serialization ... ok
test cob::patch::cache::tests::test_list_by_status ... ok
test cob::patch::test::test_patch_create_and_get ... ok
test cob::patch::cache::tests::test_list ... ok
test cob::patch::cache::tests::test_find_by_revision ... ok
test cob::patch::test::test_patch_discussion ... ok
test cob::patch::test::test_patch_merge ... ok
test cob::patch::test::test_patch_redact ... ok
test cob::patch::test::test_patch_review_comment ... ok
test cob::patch::test::test_patch_review_edit ... ok
test cob::patch::test::test_patch_review ... ok
test cob::patch::test::test_patch_review_duplicate ... ok
test cob::patch::test::test_patch_review_remove_summary ... ok
test cob::patch::test::test_reactions_json_serialization ... ok
test cob::patch::test::test_revision_edit_redact ... ok
test cob::patch::test::test_revision_reaction ... ok
test cob::patch::test::test_patch_review_edit_comment ... ok
test cob::patch::test::test_revision_review_merge_redacted ... ok
test cob::patch::test::test_patch_review_revision_redact ... ok
test cob::stream::tests::test_all_from ... ok
test cob::stream::tests::test_all_from_until ... ok
test cob::stream::tests::test_all_until ... ok
test cob::stream::tests::test_regression_from_until ... ok
test cob::thread::tests::test_comment_edit_missing ... ok
test cob::thread::tests::test_comment_edit_redacted ... ok
test cob::thread::tests::test_comment_redact_missing ... ok
test cob::thread::tests::test_duplicate_comments ... ok
test cob::thread::tests::test_edit_comment ... ok
test cob::thread::tests::test_redact_comment ... ok
test cob::stream::tests::test_from_until ... ok
test git::canonical::quorum::test::merge_base_commutative ... ok
test git::canonical::quorum::test::test_merge_bases ... ok
test cob::thread::tests::test_timeline ... ok
test git::canonical::rules::tests::test_deserialization ... ok
test git::canonical::rules::tests::test_deserialize_extensions ... ok
test git::canonical::rules::tests::test_order ... ok
test git::canonical::rules::tests::test_roundtrip ... ok
test cob::patch::test::test_patch_update ... ok
test git::canonical::rules::tests::test_rule_validate_success ... ok
test git::canonical::rules::tests::test_special_branches ... ok
test git::canonical::tests::test_commit_quorum_fork_of_a_fork ... ok
test git::canonical::tests::test_commit_quorum_forked_merge_commits ... ok
test git::canonical::tests::test_commit_quorum_groups ... ok
test git::canonical::tests::test_commit_quorum_linear ... ok
test git::canonical::tests::test_commit_quorum_merges ... ok
test git::canonical::tests::test_commit_quorum_single ... ok
test git::canonical::tests::test_commit_quorum_three_way_fork ... ok
test git::canonical::tests::test_commit_quorum_two_way_fork ... ok
test git::canonical::tests::test_quorum_different_types ... ok
test git::canonical::rules::tests::test_canonical ... ok
test git::canonical::tests::test_tag_quorum ... ok
test git::test::test_version_from_str ... ok
test git::test::test_version_ord ... ok
test identity::did::test::test_did_encode_decode ... ok
test identity::did::test::test_did_vectors ... ok
test identity::doc::id::test::prop_from_str ... ok
test git::canonical::rules::tests::test_rule_validate_failures ... ok
test identity::doc::test::test_canonical_doc ... ok
test identity::doc::test::test_canonical_example ... ok
test identity::doc::test::test_duplicate_dids ... ok
test identity::doc::test::test_future_version_error ... ok
test identity::doc::test::test_is_valid_version ... ok
test identity::doc::test::test_max_delegates ... ok
test identity::doc::test::test_not_found ... ok
test identity::doc::test::test_parse_version ... ok
test identity::doc::test::test_visibility_json ... ok
test identity::doc::update::test::test_can_update_crefs ... ok
test identity::doc::update::test::test_cannot_include_default_branch_rule ... ok
test identity::doc::update::test::test_default_branch_rule_exists_after_verification ... ok
test identity::project::test::test_project_name ... ok
test node::address::store::test::test_alias ... ok
test node::address::store::test::test_disconnected ... ok
test node::address::store::test::test_disconnected_ban ... ok
test node::address::store::test::test_empty ... ok
test node::address::store::test::test_entries ... ok
test node::address::store::test::test_get_none ... ok
test node::address::store::test::test_insert_and_get ... ok
test node::address::store::test::test_insert_and_remove ... ok
test node::address::store::test::test_insert_and_update ... ok
test node::address::store::test::test_insert_duplicate ... ok
test node::address::store::test::test_node_aliases ... ok
test node::address::store::test::test_remove_nothing ... ok
test git::canonical::tests::test_quorum_properties ... ok
test node::db::test::test_version ... ok
test node::config::test::partial ... ok
test node::features::test::test_operations ... ok
test node::notifications::store::test::test_branch_notifications ... ok
test node::notifications::store::test::test_clear ... ok
test node::notifications::store::test::test_cob_notifications ... ok
test node::notifications::store::test::test_counts_by_repo ... ok
test node::notifications::store::test::test_duplicate_notifications ... ok
test node::notifications::store::test::test_notification_status ... ok
test node::policy::store::test::test_follow_and_unfollow_node ... ok
test node::policy::store::test::test_node_policies ... ok
test node::policy::store::test::test_node_aliases ... ok
test node::policy::store::test::test_node_policy ... ok
test node::policy::store::test::test_repo_policies ... ok
test node::policy::store::test::test_repo_policy ... ok
test node::policy::store::test::test_seed_and_unseed_repo ... ok
test node::policy::store::test::test_update_alias ... ok
test node::policy::store::test::test_update_scope ... ok
test node::refs::store::test::test_count ... ok
test node::refs::store::test::test_set_and_delete ... ok
test node::refs::store::test::test_set_and_get ... ok
test node::routing::test::test_count ... ok
test node::routing::test::test_entries ... ok
test node::routing::test::test_insert_and_get_resources ... ok
test node::routing::test::test_insert_and_get ... ok
test node::routing::test::test_insert_duplicate ... ok
test node::routing::test::test_insert_existing_updated_time ... ok
test node::routing::test::test_insert_and_remove ... ok
test node::routing::test::test_len ... ok
test node::routing::test::test_remove_many ... ok
test node::routing::test::test_remove_redundant ... ok
test node::routing::test::test_update_existing_multi ... ok
test node::sync::announce::test::all_synced_nodes_are_preferred_seeds ... ok
test cob::thread::tests::prop_ordering ... ok
test node::sync::announce::test::announcer_preferred_seeds_or_replica_factor ... ok
test node::sync::announce::test::announcer_adapts_target_to_reach ... ok
test node::routing::test::test_prune ... ok
test node::sync::announce::test::announcer_reached_min_replication_target ... ok
test node::sync::announce::test::announcer_reached_preferred_seeds ... ok
test node::sync::announce::test::announcer_synced_with_unknown_node ... ok
test node::sync::announce::test::announcer_timed_out ... ok
test node::sync::announce::test::announcer_with_replication_factor_zero_and_preferred_seeds ... ok
test node::sync::announce::test::announcer_reached_max_replication_target ... ok
test node::sync::announce::test::construct_only_preferred_seeds_provided ... ok
test node::sync::announce::test::construct_node_appears_in_multiple_input_sets ... ok
test node::sync::announce::test::invariant_progress_should_match_state ... ok
test node::sync::announce::test::local_node_in_multiple_sets ... ok
test node::sync::announce::test::cannot_construct_announcer ... ok
test node::sync::announce::test::local_node_in_synced_set ... ok
test node::sync::announce::test::local_node_only_in_all_sets_results_in_no_seeds_error ... ok
test node::sync::announce::test::preferred_seeds_already_synced ... ok
test node::sync::announce::test::local_node_in_preferred_seeds ... ok
test node::sync::announce::test::local_node_in_unsynced_set ... ok
test node::sync::announce::test::synced_with_same_node_multiple_times ... ok
test node::sync::announce::test::timed_out_after_reaching_success ... ok
test node::sync::announce::test::synced_with_local_node_is_ignored ... ok
test node::sync::fetch::test::all_nodes_are_fetchable ... ok
test node::sync::fetch::test::could_not_reach_target ... ok
test node::sync::fetch::test::ignores_duplicates_and_local_node ... ok
test node::sync::fetch::test::all_nodes_are_candidates ... ok
test node::sync::fetch::test::preferred_seeds_target_returned_over_replicas ... ok
test node::sync::fetch::test::reaches_target_of_max_replicas ... ok
test node::sync::fetch::test::reaches_target_of_replicas ... ok
test node::sync::test::ensure_replicas_construction ... ok
test node::sync::fetch::test::reaches_target_of_preferred_seeds ... ok
test node::sync::test::replicas_constrain_to ... ok
test node::test::test_alias ... ok
test node::test::test_command_result ... ok
test node::test::test_user_agent ... ok
test node::timestamp::tests::test_timestamp_max ... ok
test profile::test::canonicalize_home ... ok
test profile::test::test_config ... ok
test rad::tests::test_fork ... ok
test rad::tests::test_checkout ... ok
test serde_ext::test::test_localtime ... ok
test serde_ext::test::test_localtime_ext ... ok
test rad::tests::test_init ... ok
test storage::git::tests::test_references_of ... ok
test profile::config::test::schema ... ok
test storage::git::transport::local::url::test::test_url_parse ... ok
test storage::git::tests::test_sign_refs ... ok
test storage::git::transport::local::url::test::test_url_to_string ... ok
test storage::git::transport::remote::url::test::test_url_parse ... ok
test storage::refs::tests::prop_canonical_roundtrip ... ok
test storage::tests::test_storage ... ok
test test::assert::test::assert_with_message ... ok
test test::assert::test::test_assert_no_move ... ok
test test::assert::test::test_assert_panic_0 - should panic ... ok
test test::assert::test::test_assert_panic_1 - should panic ... ok
test test::assert::test::test_assert_panic_2 - should panic ... ok
test test::assert::test::test_assert_succeed ... ok
test test::assert::test::test_panic_message ... ok
test version::test::test_version ... ok
test storage::git::tests::test_remote_refs ... ok
test storage::refs::tests::test_rid_verification ... ok
test identity::doc::test::prop_encode_decode ... ok
test result: ok. 237 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.40s
Running unittests src/lib.rs (target/debug/deps/radicle_cli-621b4b410a8c352b)
running 14 tests
test commands::inspect::test::test_tree ... ok
test commands::patch::review::builder::tests::test_review_comments_multiline ... ok
test commands::patch::review::builder::tests::test_review_comments_basic ... ok
test commands::patch::review::builder::tests::test_review_comments_split_hunk ... ok
test git::pretty_diff::test::test_pretty ... ignored
test git::ddiff::tests::diff_encode_decode_ddiff_hunk ... ok
test git::unified_diff::test::test_diff_content_encode_decode_content ... ok
test commands::patch::review::builder::tests::test_review_comments_before ... ok
test git::unified_diff::test::test_diff_encode_decode_diff ... ok
test terminal::format::test::test_bytes ... ok
test terminal::format::test::test_strip_comments ... ok
test terminal::patch::test::test_edit_display_message ... ok
test terminal::patch::test::test_create_display_message ... ok
test terminal::patch::test::test_update_display_message ... ok
test result: ok. 13 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/main.rs (target/debug/deps/rad-90c5a176eb08002b)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running tests/commands.rs (target/debug/deps/commands-c121b642be9ff500)
running 104 tests
test framework_home ... ok
test git_push_and_fetch ... ok
test git_push_amend ... ok
test git_push_canonical_annotated_tags ... ok
test git_push_canonical_lightweight_tags ... ok
test git_push_diverge ... ok
test rad_auth ... ok
test rad_auth_errors ... ok
test rad_block ... ok
test git_tag ... ok
test rad_checkout ... ok
test git_push_rollback ... ok
test git_push_converge ... ok
test rad_clone ... ok
test rad_clone_bare ... ok
test rad_clean ... ok
test rad_clone_connect ... ok
test rad_clone_all ... ok
test rad_clone_unknown ... ok
test rad_cob_log ... ok
test rad_cob_multiset ... ok
test rad_cob_migrate ... ok
test rad_clone_directory ... ok
test rad_cob_operations ... ok
test rad_clone_partial_fail ... ok
test rad_cob_show ... ok
test rad_config ... ok
test rad_cob_update ... ok
test rad_cob_update_identity ... ok
test rad_diff ... ok
test rad_id_collaboration ... ignored, slow
test rad_id ... ok
test rad_id_conflict ... ok
test rad_id_private ... ok
test rad_id_multi_delegate ... ok
test rad_id_threshold ... ok
test rad_id_unknown_field ... ok
test rad_id_update_delete_field ... ok
test rad_id_threshold_soft_fork ... ok
test rad_init ... ignored, part of many other tests
test rad_init_bare ... ok
test rad_init_detached_head ... ok
test rad_init_existing ... ok
test rad_init_existing_bare ... ok
test rad_init_no_git ... ok
test rad_init_no_seed ... ok
test rad_init_private ... ok
test rad_inbox ... ok
test rad_init_private_clone ... ok
test rad_init_private_no_seed ... ok
test rad_fetch ... ok
test rad_fork ... ok
test rad_init_private_clone_seed ... ok
test rad_init_sync_not_connected ... ok
test rad_init_private_seed ... ok
test rad_init_sync_preferred ... ok
test rad_init_with_existing_remote ... ok
test rad_inspect ... ok
test rad_issue ... ok
test rad_merge_after_update ... ok
test rad_merge_no_ff ... ok
test rad_merge_via_push ... ok
test rad_node_connect ... ok
test rad_node_connect_without_address ... ok
test rad_patch ... ok
test rad_node ... ok
test rad_patch_ahead_behind ... ok
test rad_patch_change_base ... ok
test rad_patch_checkout ... ok
test rad_patch_checkout_revision ... ok
test rad_patch_checkout_force ... ok
test rad_patch_detached_head ... ok
test rad_patch_diff ... ok
test rad_init_sync_and_clone ... ok
test rad_init_sync_timeout ... ok
test rad_patch_draft ... ok
test rad_patch_edit ... ok
test rad_patch_fetch_2 ... FAILED
test rad_patch_merge_draft ... ok
test rad_patch_fetch_1 ... ok
test rad_patch_delete ... ok
test rad_patch_revert_merge ... ok
test rad_patch_update ... ok
test rad_patch_via_push ... FAILED
test rad_patch_open_explore ... ok
test rad_publish ... ok
test rad_review_by_hunk ... ok
test rad_seed_and_follow ... ok
test rad_remote ... ok
test rad_self ... ok
test rad_seed_many ... ok
test rad_sync_without_node ... ok
test rad_unseed ... ok
test rad_push_and_pull_patches ... ok
test rad_warn_old_nodes ... ok
test rad_unseed_many ... ok
test rad_sync ... ok
test rad_watch ... ok
test test_clone_without_seeds ... ok
test test_cob_deletion ... ok
test test_cob_replication ... ok
test rad_workflow ... ok
test rad_patch_pull_update ... ok
test test_replication_via_seed ... ok
failures:
---- rad_patch_fetch_2 stdout ----
1788880700 test: Using PATH ["/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cli/target/debug", "/usr/local/cargo/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/tmp/radicle-H7kfgg/work/alice"]
1788880700 test: rad-init.md: Running `/8f7701f1-d179-45bd-8861-175d19afae0f/w/target/debug/rad` with ["init", "--name", "heartwood", "--description", "Radicle Heartwood Protocol & Stack", "--no-confirm", "--public", "-v"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-init.md: Running `/8f7701f1-d179-45bd-8861-175d19afae0f/w/target/debug/rad` with ["init"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-init.md: Running `/8f7701f1-d179-45bd-8861-175d19afae0f/w/target/debug/rad` with ["ls"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-init.md: Running `/8f7701f1-d179-45bd-8861-175d19afae0f/w/target/debug/rad` with ["node", "inventory"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: Using PATH ["/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cli/target/debug", "/usr/local/cargo/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/tmp/radicle-H7kfgg/work/alice"]
1788880700 test: rad-patch-fetch-2.md: Running `git` with ["checkout", "-b", "alice/1", "-q"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-patch-fetch-2.md: Running `git` with ["commit", "--allow-empty", "-m", "Changes #1", "-q"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-patch-fetch-2.md: Running `git` with ["push", "rad", "-o", "patch.message=Changes", "HEAD:refs/patches"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-patch-fetch-2.md: Running `git` with ["checkout", "master", "-q"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-patch-fetch-2.md: Running `git` with ["branch", "-D", "alice/1", "-q"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-patch-fetch-2.md: Running `git` with ["update-ref", "-d", "refs/remotes/rad/alice/1"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-patch-fetch-2.md: Running `git` with ["update-ref", "-d", "refs/remotes/rad/patches/5e2dedcc5d515fcbc1cca483d3376609fe889bfb"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-patch-fetch-2.md: Running `git` with ["gc", "--prune=now"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-patch-fetch-2.md: Running `git` with ["branch", "-r"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-patch-fetch-2.md: Running `git` with ["pull"] in `/tmp/radicle-H7kfgg/work/alice`..
1788880700 test: rad-patch-fetch-2.md: Running `git` with ["branch", "-r"] in `/tmp/radicle-H7kfgg/work/alice`..
thread 'rad_patch_fetch_2' panicked at crates/radicle-cli-test/src/lib.rs:491:36:
--- Expected
++++ actual: stdout
1 - rad/HEAD -> rad/master
2 1 | rad/master
3 2 | rad/patches/5e2dedcc5d515fcbc1cca483d3376609fe889bfb
Exit status: 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
---- rad_patch_via_push stdout ----
1788880701 test: Using PATH ["/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cli/target/debug", "/usr/local/cargo/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/tmp/radicle-37gBsG/work/alice"]
1788880701 test: rad-init.md: Running `/8f7701f1-d179-45bd-8861-175d19afae0f/w/target/debug/rad` with ["init", "--name", "heartwood", "--description", "Radicle Heartwood Protocol & Stack", "--no-confirm", "--public", "-v"] in `/tmp/radicle-37gBsG/work/alice`..
1788880701 test: rad-init.md: Running `/8f7701f1-d179-45bd-8861-175d19afae0f/w/target/debug/rad` with ["init"] in `/tmp/radicle-37gBsG/work/alice`..
1788880701 test: rad-init.md: Running `/8f7701f1-d179-45bd-8861-175d19afae0f/w/target/debug/rad` with ["ls"] in `/tmp/radicle-37gBsG/work/alice`..
1788880701 test: rad-init.md: Running `/8f7701f1-d179-45bd-8861-175d19afae0f/w/target/debug/rad` with ["node", "inventory"] in `/tmp/radicle-37gBsG/work/alice`..
1788880701 test: Using PATH ["/8f7701f1-d179-45bd-8861-175d19afae0f/w/crates/radicle-cli/target/debug", "/usr/local/cargo/bin", "/usr/local/sbin", "/usr/local/bin", "/usr/sbin", "/usr/bin", "/sbin", "/bin", "/tmp/radicle-37gBsG/work/alice"]
1788880701 test: rad-patch-via-push.md: Running `git` with ["checkout", "-b", "feature/1"] in `/tmp/radicle-37gBsG/work/alice`..
1788880701 test: rad-patch-via-push.md: Running `git` with ["commit", "-a", "-m", "Add things", "-q", "--allow-empty"] in `/tmp/radicle-37gBsG/work/alice`..
1788880701 test: rad-patch-via-push.md: Running `git` with ["push", "-o", "patch.message=Add things #1", "-o", "patch.message=See commits for details.", "rad", "HEAD:refs/patches"] in `/tmp/radicle-37gBsG/work/alice`..
1788880702 test: rad-patch-via-push.md: Running `/8f7701f1-d179-45bd-8861-175d19afae0f/w/target/debug/rad` with ["patch", "show", "6035d2f582afbe01ff23ea87528ae523d76875b6"] in `/tmp/radicle-37gBsG/work/alice`..
1788880702 test: rad-patch-via-push.md: Running `git` with ["branch", "-vv"] in `/tmp/radicle-37gBsG/work/alice`..
1788880702 test: rad-patch-via-push.md: Running `git` with ["status", "--short", "--branch"] in `/tmp/radicle-37gBsG/work/alice`..
1788880702 test: rad-patch-via-push.md: Running `git` with ["fetch"] in `/tmp/radicle-37gBsG/work/alice`..
1788880702 test: rad-patch-via-push.md: Running `git` with ["push"] in `/tmp/radicle-37gBsG/work/alice`..
1788880702 test: rad-patch-via-push.md: Running `git` with ["show-ref"] in `/tmp/radicle-37gBsG/work/alice`..
thread 'rad_patch_via_push' panicked at crates/radicle-cli-test/src/lib.rs:491:36:
--- Expected
++++ actual: stdout
1 1 | 42d894a83c9c356552a57af09ccdbd5587a99045 refs/heads/feature/1
2 2 | f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/heads/master
3 - f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/remotes/rad/HEAD
4 3 | f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/remotes/rad/master
5 4 | 42d894a83c9c356552a57af09ccdbd5587a99045 refs/remotes/rad/patches/6035d2f582afbe01ff23ea87528ae523d76875b6
Exit status: 0
failures:
rad_patch_fetch_2
rad_patch_via_push
test result: FAILED. 100 passed; 2 failed; 2 ignored; 0 measured; 0 filtered out; finished in 77.96s
error: test failed, to rerun pass `-p radicle-cli --test commands`
Running unittests src/lib.rs (target/debug/deps/radicle_cli_test-f4b09f0a60f43858)
running 3 tests
test tests::test_parse ... ok
test tests::test_run ... ok
test tests::test_example_spaced_brackets ... ok
test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_cob-20cad7953106059c)
running 8 tests
test object::tests::test_serde ... ok
test tests::invalid_parse_refstr ... ok
test tests::parse_refstr ... ok
test tests::roundtrip ... ok
test type_name::test::valid_typenames ... ok
test tests::traverse_cobs ... ok
test tests::list_cobs ... ok
test tests::update_cob ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
Running unittests src/lib.rs (target/debug/deps/radicle_crypto-b4d9cbb5b8695904)
running 12 tests
test ssh::fmt::test::test_key ... ok
test ssh::fmt::test::test_fingerprint ... ok
test ssh::keystore::tests::test_init_no_passphrase ... ok
test ssh::test::test_agent_encoding_remove ... ok
test ssh::test::test_agent_encoding_sign ... ok
test ssh::test::prop_encode_decode_sk ... ok
test tests::prop_encode_decode ... ok
test tests::test_e25519_dh ... ok
test tests::test_encode_decode ... ok
test tests::prop_key_equality ... ok
test ssh::keystore::tests::test_signer ... ok
test ssh::keystore::tests::test_init_passphrase ... ok
test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.79s
Running unittests src/lib.rs (target/debug/deps/radicle_dag-7d941d2839407890)
running 20 tests
test tests::test_cycle ... ok
test tests::test_dependencies ... ok
test tests::test_contains ... ok
test tests::test_diamond ... ok
test tests::test_fold_multiple_roots ... ok
test tests::test_fold_diamond ... ok
test tests::test_fold_reject ... ok
test tests::test_fold_sorting_2 ... ok
test tests::test_is_empty ... ok
test tests::test_get ... ok
test tests::test_complex ... ok
test tests::test_fold_sorting_1 ... ok
test tests::test_len ... ok
test tests::test_merge_2 ... ok
test tests::test_prune_1 ... ok
test tests::test_prune_2 ... ok
test tests::test_merge_1 ... ok
test tests::test_remove ... ok
test tests::test_siblings ... ok
test tests::test_prune_by_sorting ... ok
test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_fetch-34c5800d2ea17feb)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_node-6b1b0cd9f1f21591)
running 70 tests
test control::tests::test_control_socket ... ok
test control::tests::test_seed_unseed ... ok
test tests::e2e::missing_default_branch ... ok
test tests::e2e::missing_delegate_default_branch ... ok
test tests::e2e::test_catchup_on_refs_announcements ... ok
test tests::e2e::test_background_foreground_fetch ... ok
test tests::e2e::test_channel_reader_limit ... ok
test tests::e2e::test_clone ... ok
test tests::e2e::test_dont_fetch_owned_refs ... ok
test tests::e2e::test_connection_crossing ... ok
test tests::e2e::test_fetch_followed_remotes ... ok
test tests::e2e::test_concurrent_fetches ... ok
test tests::e2e::test_fetch_preserve_owned_refs ... ok
test tests::e2e::test_fetch_unseeded ... ok
test tests::e2e::test_fetch_up_to_date ... ok
test tests::e2e::test_inventory_sync_basic ... ok
test tests::e2e::test_fetch_emits_canonical_ref_update ... ok
test tests::e2e::test_large_fetch ... ok
test tests::e2e::test_migrated_clone ... ok
test tests::e2e::test_missing_remote ... ok
test tests::e2e::test_multiple_offline_inits ... ok
test tests::e2e::test_non_fastforward_sigrefs ... ok
test tests::e2e::test_outdated_delegate_sigrefs ... ok
test tests::e2e::test_outdated_sigrefs ... ok
test tests::e2e::test_replication ... ok
test tests::e2e::test_replication_invalid ... ok
test tests::e2e::test_replication_ref_in_sigrefs ... ok
test tests::e2e::test_inventory_sync_bridge ... ok
test tests::e2e::test_inventory_sync_ring ... ok
test tests::test_announcement_rebroadcast ... ok
test tests::e2e::test_inventory_sync_star ... ok
test tests::test_announcement_rebroadcast_duplicates ... ok
test tests::test_announcement_rebroadcast_timestamp_filtered ... ok
test tests::test_connection_kept_alive ... ok
test tests::test_announcement_relay ... ok
test tests::test_disconnecting_unresponsive_peer ... ok
test tests::test_fetch_missing_inventory_on_gossip ... ok
test tests::test_fetch_missing_inventory_on_schedule ... ok
test tests::test_inbound_connection ... ok
test tests::test_inventory_decode ... ok
test tests::test_init_and_seed ... ok
test tests::test_inventory_relay ... ok
test tests::test_inventory_relay_bad_timestamp ... ok
test tests::test_inventory_sync ... ok
test tests::test_maintain_connections ... ok
test tests::test_maintain_connections_failed_attempt ... ok
test tests::test_maintain_connections_transient ... ok
test tests::test_outbound_connection ... ok
test tests::test_persistent_peer_connect ... ok
test tests::test_inventory_pruning ... ok
test tests::test_persistent_peer_reconnect_success ... ok
test tests::test_persistent_peer_reconnect_attempt ... ok
test tests::test_ping_response ... ok
test tests::test_queued_fetch_from_ann_same_rid ... ok
test tests::test_queued_fetch_from_command_same_rid ... ok
test tests::test_redundant_connect ... ok
test tests::test_queued_fetch_max_capacity ... ok
test tests::test_refs_announcement_followed ... ok
test tests::test_refs_announcement_fetch_trusted_no_inventory ... ok
test tests::test_refs_announcement_no_subscribe ... ok
test tests::test_refs_announcement_offline ... ok
test tests::test_refs_announcement_relay_private ... ok
test tests::test_refs_announcement_relay_public ... ok
test tests::test_refs_synced_event ... ok
test tests::test_seeding ... ok
test wire::test::test_inventory_ann_with_extension ... ok
test wire::test::test_pong_message_with_extension ... ok
test tests::test_seed_repo_subscribe ... ok
test tests::prop_inventory_exchange_dense ... ok
test tests::test_announcement_message_amplification ... ok
test result: ok. 70 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 16.75s
Running unittests src/main.rs (target/debug/deps/radicle_node-8806434f547ae0a1)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_protocol-6ad221377aecf8e5)
running 45 tests
test deserializer::test::test_decode_next ... ok
test deserializer::test::test_unparsed ... ok
test service::filter::test::test_parameters ... ok
test deserializer::test::prop_decode_next ... ok
test service::limiter::test::test_limitter_different_rates ... ok
test service::limiter::test::test_limitter_multi ... ok
test service::limiter::test::test_limitter_refill ... ok
test service::filter::test::test_sizes ... ok
test service::gossip::store::test::test_announced ... ok
test service::message::tests::test_ref_remote_limit ... ok
test wire::frame::test::test_encode_git_large ... ok
test wire::frame::test::test_stream_id ... ok
test service::message::tests::test_inventory_limit ... ok
test wire::message::tests::prop_roundtrip_address ... ok
test service::message::tests::prop_refs_announcement_signing ... ok
test wire::message::tests::prop_zero_bytes_encode_decode ... ok
test wire::message::tests::test_inv_ann_max_size ... ok
test wire::message::tests::test_node_ann_max_size ... ok
test wire::message::tests::test_ping_encode_size_overflow - should panic ... ok
test wire::message::tests::test_pingpong_encode_max_size ... ok
test wire::message::tests::test_pong_encode_size_overflow - should panic ... ok
test wire::message::tests::prop_roundtrip_message ... ok
test wire::tests::prop_oid ... ok
test wire::tests::prop_roundtrip_filter ... ok
test wire::tests::prop_roundtrip_publickey ... ok
test wire::tests::prop_roundtrip_refs ... ok
test wire::tests::prop_roundtrip_repoid ... ok
test wire::message::tests::test_refs_ann_max_size ... ok
test wire::tests::prop_roundtrip_tuple ... ok
test wire::tests::prop_roundtrip_u16 ... ok
test wire::tests::prop_roundtrip_u32 ... ok
test wire::tests::prop_roundtrip_u64 ... ok
test wire::tests::prop_roundtrip_vec ... ok
test wire::tests::prop_signature ... ok
test wire::tests::prop_string ... ok
test wire::tests::test_alias ... ok
test wire::tests::test_bounded_vec_limit ... ok
test wire::tests::test_filter_invalid ... ok
test wire::tests::test_string ... ok
test wire::varint::test::prop_roundtrip_varint ... ok
test wire::varint::test::test_encode_overflow - should panic ... ok
test wire::varint::test::test_encoding ... ok
test wire::tests::prop_roundtrip_signed_refs ... ok
test wire::message::tests::prop_message_decoder ... ok
test service::message::tests::test_node_announcement_validate ... ok
test result: ok. 45 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.39s
Running unittests src/main.rs (target/debug/deps/git_remote_rad-78484dcc46e2dc73)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/main.rs (target/debug/deps/radicle_schemars-d76e1c9e1d17652d)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_signals-3340fefd7bdb5980)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_ssh-45829b725338b561)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_systemd-fc0dd6bce1d89188)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/lib.rs (target/debug/deps/radicle_term-a6a1fdc27887c619)
running 21 tests
test ansi::tests::colors_enabled ... ok
test ansi::tests::colors_disabled ... ok
test cell::test::test_width ... ok
test ansi::tests::wrapping ... ok
test element::test::test_spaced ... ok
test table::test::test_table ... ok
test element::test::test_truncate ... ok
test element::test::test_width ... ok
test table::test::test_table_border ... ok
test table::test::test_table_border_truncated ... ok
test table::test::test_table_truncate ... ok
test table::test::test_table_unicode_truncate ... ok
test table::test::test_table_unicode ... ok
test table::test::test_truncate ... ok
test table::test::test_table_border_maximized ... ok
test textarea::test::test_wrapping ... ok
test textarea::test::test_wrapping_code_block ... ok
test textarea::test::test_wrapping_paragraphs ... ok
test textarea::test::test_wrapping_fenced_block ... ok
test vstack::test::test_vstack ... ok
test vstack::test::test_vstack_maximize ... ok
test result: ok. 21 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle
running 1 test
test crates/radicle/src/cob/patch/encoding/review.rs - cob::patch::encoding::review::Review (line 23) ... ignored
test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_cli
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_cli_test
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_cob
running 1 test
test crates/radicle-cob/src/backend/git/stable.rs - backend::git::stable::with_advanced_timestamp (line 56) ... ignored
test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_crypto
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_dag
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_fetch
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_node
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_protocol
running 6 tests
test crates/radicle-protocol/src/bounded.rs - bounded::BoundedVec<T,N>::max (line 96) ... ok
test crates/radicle-protocol/src/bounded.rs - bounded::BoundedVec<T,N>::truncate (line 50) ... ok
test crates/radicle-protocol/src/bounded.rs - bounded::BoundedVec<T,N>::collect_from (line 30) ... ok
test crates/radicle-protocol/src/bounded.rs - bounded::BoundedVec<T,N>::unbound (line 149) ... ok
test crates/radicle-protocol/src/bounded.rs - bounded::BoundedVec<T,N>::with_capacity (line 66) ... ok
test crates/radicle-protocol/src/bounded.rs - bounded::BoundedVec<T,N>::push (line 122) ... ok
test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s
Doc-tests radicle_signals
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_ssh
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_systemd
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Doc-tests radicle_term
running 1 test
test crates/radicle-term/src/table.rs - table (line 4) ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s
error: 1 target failed:
`-p radicle-cli --test commands`
Exit code: 101
{
"response": "finished",
"result": "failure"
}