rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwoode2444a72f031233e78932eeaf31a9937cdde781b
{
"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:z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW",
"did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
"did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
]
},
"action": "Updated",
"patch": {
"id": "976756d8bf1f4e157ec8c1dc6818f670f8b4d726",
"author": {
"id": "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
"alias": "erikli"
},
"title": "cli: Migrate `rad issue` to `clap`",
"state": {
"status": "open",
"conflicts": []
},
"before": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"after": "e2444a72f031233e78932eeaf31a9937cdde781b",
"commits": [
"e2444a72f031233e78932eeaf31a9937cdde781b",
"41636c92307a8d4007039644aacfe05a998d0387"
],
"target": "6a43e83dd66c83cee523b612805e4e6b5c0485a3",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "976756d8bf1f4e157ec8c1dc6818f670f8b4d726",
"author": {
"id": "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
"alias": "erikli"
},
"description": "This is a split-off of `rad patch show 0866819`, that only migrates `rad issue`.",
"base": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"oid": "b34a818cbbcd6e822324d6082170071e1be6597d",
"timestamp": 1757588048
},
{
"id": "fddbeb7383d6a215b2fa88539e9e020b9ed9205b",
"author": {
"id": "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
"alias": "erikli"
},
"description": "Migrate `rad issue` only, remove everything auto-completion and improve help output.",
"base": "8c9966b9d97d93131e766828b9d1ecff7d561afb",
"oid": "29dc820b6b7980e6c1d4e7427c9bcbe5cc98a473",
"timestamp": 1758111300
},
{
"id": "222584aa3a415afd3c9c9239a78a9c21b611bf1e",
"author": {
"id": "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
"alias": "erikli"
},
"description": "Disallow `--reply-to` together with `--edit` in `rad issue comment`.",
"base": "7d1db6a0131e560589a4b25f5d472fdf23998a67",
"oid": "bc7bff9d01d4e9528b11e6b0cc1df5466fd3f279",
"timestamp": 1758116557
},
{
"id": "00a0fef27973701394f29a341212a20da183bfa0",
"author": {
"id": "did:key:z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz",
"alias": "erikli"
},
"description": "- reword initial commit message\n- remove `--version` from subcommands\n- bring back old (incorrect) announcing behaviour for `rad issue comment --edit`",
"base": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"oid": "e2444a72f031233e78932eeaf31a9937cdde781b",
"timestamp": 1758210185
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "632e50d3-46aa-4262-91f2-6950db05304c"
},
"info_url": "https://cci.rad.levitte.org//632e50d3-46aa-4262-91f2-6950db05304c.html"
}
Started at: 2025-09-18 17:50:22.638366+02:00
Commands:
$ rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 .
✓ Creating checkout in ./...
✓ Remote cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT added
✓ Remote-tracking branch cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT/master created for z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT
✓ Remote cloudhead@z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW added
✓ Remote-tracking branch cloudhead@z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW/master created for z6MktaNvN1KVFMkSRAiN4qK5yvX1zuEEaseeX5sffhzPZRZW
✓ Remote fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM added
✓ Remote-tracking branch fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM/master created for z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM
✓ Remote erikli@z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz added
✓ Remote-tracking branch erikli@z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz/master created for z6MkgFq6z5fkF2hioLLSNu1zP2qEL1aHXHZzGH1FLFGAnBGz
✓ 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/632e50d3-46aa-4262-91f2-6950db05304c/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 119 issues · 16 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout 976756d8bf1f4e157ec8c1dc6818f670f8b4d726
✓ Switched to branch patch/976756d at revision 00a0fef
✓ Branch patch/976756d setup to track rad/patches/976756d8bf1f4e157ec8c1dc6818f670f8b4d726
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout e2444a72f031233e78932eeaf31a9937cdde781b
HEAD is now at e2444a72 cli/issue: Use clap
Exit code: 0
$ git show e2444a72f031233e78932eeaf31a9937cdde781b
commit e2444a72f031233e78932eeaf31a9937cdde781b
Author: Christopher Fredén <me@icetan.org>
Date: Tue Aug 12 17:42:48 2025 +0200
cli/issue: Use clap
A rewrite of the argument parsing portions of the `rad issue`
subcommand using `clap` instead of `lexopt`.
Co-authored-by: Matthias Beyer <mail@beyermatthias.de>
Co-authored-by: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
diff --git a/crates/radicle-cli/src/commands/help.rs b/crates/radicle-cli/src/commands/help.rs
index a4c6d85a..56253fca 100644
--- a/crates/radicle-cli/src/commands/help.rs
+++ b/crates/radicle-cli/src/commands/help.rs
@@ -22,7 +22,6 @@ const COMMANDS: &[Help] = &[
crate::commands::init::HELP,
crate::commands::inbox::HELP,
crate::commands::inspect::HELP,
- crate::commands::issue::HELP,
crate::commands::ls::HELP,
crate::commands::node::HELP,
crate::commands::patch::HELP,
diff --git a/crates/radicle-cli/src/commands/issue.rs b/crates/radicle-cli/src/commands/issue.rs
index 0fbb030c..d7a90a0a 100644
--- a/crates/radicle-cli/src/commands/issue.rs
+++ b/crates/radicle-cli/src/commands/issue.rs
@@ -1,526 +1,99 @@
+mod args;
mod cache;
-use std::collections::BTreeSet;
-use std::ffi::OsString;
-use std::str::FromStr;
+use anyhow::Context as _;
-use anyhow::{anyhow, Context as _};
-
-use radicle::cob::common::{Label, Reaction};
+use radicle::cob::common::Label;
use radicle::cob::issue::{CloseReason, State};
use radicle::cob::{issue, thread, Title};
+
use radicle::crypto;
use radicle::git::Oid;
use radicle::issue::cache::Issues as _;
use radicle::node::device::Device;
use radicle::node::NodeId;
-use radicle::prelude::{Did, RepoId};
+use radicle::prelude::Did;
use radicle::profile;
use radicle::storage;
-use radicle::storage::{ReadRepository, WriteRepository, WriteStorage};
+use radicle::storage::{WriteRepository, WriteStorage};
use radicle::Profile;
use radicle::{cob, Node};
+pub use args::Args;
+use args::{Assigned, Command, StateArg};
+
use crate::git::Rev;
use crate::node;
use crate::terminal as term;
-use crate::terminal::args::{Args, Error, Help};
+use crate::terminal::args::Error;
use crate::terminal::format::Author;
use crate::terminal::issue::Format;
use crate::terminal::patch::Message;
use crate::terminal::Element;
-pub const HELP: Help = Help {
- name: "issue",
- description: "Manage issues",
- version: env!("RADICLE_VERSION"),
- usage: r#"
-Usage
-
- rad issue [<option>...]
- rad issue delete <issue-id> [<option>...]
- rad issue edit <issue-id> [--title <title>] [--description <text>] [<option>...]
- rad issue list [--assigned <did>] [--all | --closed | --open | --solved] [<option>...]
- rad issue open [--title <title>] [--description <text>] [--label <label>] [<option>...]
- rad issue react <issue-id> [--emoji <char>] [--to <comment>] [<option>...]
- rad issue assign <issue-id> [--add <did>] [--delete <did>] [<option>...]
- rad issue label <issue-id> [--add <label>] [--delete <label>] [<option>...]
- rad issue comment <issue-id> [--message <message>] [--reply-to <comment-id>] [--edit <comment-id>] [<option>...]
- rad issue show <issue-id> [<option>...]
- rad issue state <issue-id> [--closed | --open | --solved] [<option>...]
- rad issue cache [<issue-id>] [--storage] [<option>...]
-
-Assign options
-
- -a, --add <did> Add an assignee to the issue (may be specified multiple times).
- -d, --delete <did> Delete an assignee from the issue (may be specified multiple times).
-
- Note: --add takes precedence over --delete
-
-Label options
-
- -a, --add <label> Add a label to the issue (may be specified multiple times).
- -d, --delete <label> Delete a label from the issue (may be specified multiple times).
-
- Note: --add takes precedence over --delete
-
-Show options
-
- -v, --verbose Show additional information about the issue
-
-Options
-
- --repo <rid> Operate on the given repository (default: cwd)
- --no-announce Don't announce issue to peers
- --header Show only the issue header, hiding the comments
- -q, --quiet Don't print anything
- --help Print help
-"#,
-};
-
-#[derive(Default, Debug, PartialEq, Eq)]
-pub enum OperationName {
- Assign,
- Edit,
- Open,
- Comment,
- Delete,
- Label,
- #[default]
- List,
- React,
- Show,
- State,
- Cache,
-}
-
-/// Command line Peer argument.
-#[derive(Default, Debug, PartialEq, Eq)]
-pub enum Assigned {
- #[default]
- Me,
- Peer(Did),
-}
-
-#[derive(Debug, PartialEq, Eq)]
-pub enum Operation {
- Edit {
- id: Rev,
- title: Option<Title>,
- description: Option<String>,
- },
- Open {
- title: Option<Title>,
- description: Option<String>,
- labels: Vec<Label>,
- assignees: Vec<Did>,
- },
- Show {
- id: Rev,
- format: Format,
- verbose: bool,
- },
- CommentEdit {
- id: Rev,
- comment_id: Rev,
- message: Message,
- },
- Comment {
- id: Rev,
- message: Message,
- reply_to: Option<Rev>,
- },
- State {
- id: Rev,
- state: State,
- },
- Delete {
- id: Rev,
- },
- React {
- id: Rev,
- reaction: Option<Reaction>,
- comment_id: Option<thread::CommentId>,
- },
- Assign {
- id: Rev,
- opts: AssignOptions,
- },
- Label {
- id: Rev,
- opts: LabelOptions,
- },
- List {
- assigned: Option<Assigned>,
- state: Option<State>,
- },
- Cache {
- id: Option<Rev>,
- storage: bool,
- },
-}
-
-#[derive(Debug, Default, PartialEq, Eq)]
-pub struct AssignOptions {
- pub add: BTreeSet<Did>,
- pub delete: BTreeSet<Did>,
-}
-
-#[derive(Debug, Default, PartialEq, Eq)]
-pub struct LabelOptions {
- pub add: BTreeSet<Label>,
- pub delete: BTreeSet<Label>,
-}
-
-#[derive(Debug)]
-pub struct Options {
- pub op: Operation,
- pub repo: Option<RepoId>,
- pub announce: bool,
- pub quiet: bool,
-}
-
-impl Args for Options {
- fn from_args(args: Vec<OsString>) -> anyhow::Result<(Self, Vec<OsString>)> {
- use lexopt::prelude::*;
-
- let mut parser = lexopt::Parser::from_args(args);
- let mut op: Option<OperationName> = None;
- let mut id: Option<Rev> = None;
- let mut assigned: Option<Assigned> = None;
- let mut title: Option<Title> = None;
- let mut reaction: Option<Reaction> = None;
- let mut comment_id: Option<thread::CommentId> = None;
- let mut description: Option<String> = None;
- let mut state: Option<State> = Some(State::Open);
- let mut labels = Vec::new();
- let mut assignees = Vec::new();
- let mut format = Format::default();
- let mut message = Message::default();
- let mut reply_to = None;
- let mut edit_comment = None;
- let mut announce = true;
- let mut quiet = false;
- let mut verbose = false;
- let mut assign_opts = AssignOptions::default();
- let mut label_opts = LabelOptions::default();
- let mut repo = None;
- let mut cache_storage = false;
-
- while let Some(arg) = parser.next()? {
- match arg {
- Long("help") | Short('h') => {
- return Err(Error::Help.into());
- }
-
- // List options.
- Long("all") if op.is_none() || op == Some(OperationName::List) => {
- state = None;
- }
- Long("closed") if op.is_none() || op == Some(OperationName::List) => {
- state = Some(State::Closed {
- reason: CloseReason::Other,
- });
- }
- Long("open") if op.is_none() || op == Some(OperationName::List) => {
- state = Some(State::Open);
- }
- Long("solved") if op.is_none() || op == Some(OperationName::List) => {
- state = Some(State::Closed {
- reason: CloseReason::Solved,
- });
- }
-
- // Open/Edit options.
- Long("title")
- if op == Some(OperationName::Open) || op == Some(OperationName::Edit) =>
- {
- let val = parser.value()?;
- title = Some(term::args::string(&val).try_into()?);
- }
- Long("description")
- if op == Some(OperationName::Open) || op == Some(OperationName::Edit) =>
- {
- description = Some(parser.value()?.to_string_lossy().into());
- }
- Short('l') | Long("label") if matches!(op, Some(OperationName::Open)) => {
- let val = parser.value()?;
- let name = term::args::string(&val);
- let label = Label::new(name)?;
-
- labels.push(label);
- }
- Long("assign") if op == Some(OperationName::Open) => {
- let val = parser.value()?;
- let did = term::args::did(&val)?;
-
- assignees.push(did);
- }
-
- // State options.
- Long("closed") if op == Some(OperationName::State) => {
- state = Some(State::Closed {
- reason: CloseReason::Other,
- });
- }
- Long("open") if op == Some(OperationName::State) => {
- state = Some(State::Open);
- }
- Long("solved") if op == Some(OperationName::State) => {
- state = Some(State::Closed {
- reason: CloseReason::Solved,
- });
- }
-
- // React options.
- Long("emoji") if op == Some(OperationName::React) => {
- if let Some(emoji) = parser.value()?.to_str() {
- reaction =
- Some(Reaction::from_str(emoji).map_err(|_| anyhow!("invalid emoji"))?);
- }
- }
- Long("to") if op == Some(OperationName::React) => {
- let oid: String = parser.value()?.to_string_lossy().into();
- comment_id = Some(oid.parse()?);
- }
-
- // Show options.
- Long("format") if op == Some(OperationName::Show) => {
- let val = parser.value()?;
- let val = term::args::string(&val);
-
- match val.as_str() {
- "header" => format = Format::Header,
- "full" => format = Format::Full,
- _ => anyhow::bail!("unknown format '{val}'"),
- }
- }
- Long("verbose") | Short('v') if op == Some(OperationName::Show) => {
- verbose = true;
- }
-
- // Comment options.
- Long("message") | Short('m') if op == Some(OperationName::Comment) => {
- let val = parser.value()?;
- let txt = term::args::string(&val);
-
- message.append(&txt);
- }
- Long("reply-to") if op == Some(OperationName::Comment) => {
- let val = parser.value()?;
- let rev = term::args::rev(&val)?;
-
- reply_to = Some(rev);
- }
- Long("edit") if op == Some(OperationName::Comment) => {
- let val = parser.value()?;
- let rev = term::args::rev(&val)?;
-
- edit_comment = Some(rev);
- }
-
- // Assign options
- Short('a') | Long("add") if op == Some(OperationName::Assign) => {
- assign_opts.add.insert(term::args::did(&parser.value()?)?);
- }
- Short('d') | Long("delete") if op == Some(OperationName::Assign) => {
- assign_opts
- .delete
- .insert(term::args::did(&parser.value()?)?);
- }
- Long("assigned") | Short('a') if assigned.is_none() => {
- if let Ok(val) = parser.value() {
- let peer = term::args::did(&val)?;
- assigned = Some(Assigned::Peer(peer));
- } else {
- assigned = Some(Assigned::Me);
- }
- }
-
- // Label options
- Short('a') | Long("add") if matches!(op, Some(OperationName::Label)) => {
- let val = parser.value()?;
- let name = term::args::string(&val);
- let label = Label::new(name)?;
-
- label_opts.add.insert(label);
- }
- Short('d') | Long("delete") if matches!(op, Some(OperationName::Label)) => {
- let val = parser.value()?;
- let name = term::args::string(&val);
- let label = Label::new(name)?;
-
- label_opts.delete.insert(label);
- }
-
- // Cache options.
- Long("storage") if matches!(op, Some(OperationName::Cache)) => {
- cache_storage = true;
- }
-
- // Options.
- Long("no-announce") => {
- announce = false;
- }
- Long("quiet") | Short('q') => {
- quiet = true;
- }
- Long("repo") => {
- let val = parser.value()?;
- let rid = term::args::rid(&val)?;
-
- repo = Some(rid);
- }
-
- Value(val) if op.is_none() => match val.to_string_lossy().as_ref() {
- "c" | "comment" => op = Some(OperationName::Comment),
- "w" | "show" => op = Some(OperationName::Show),
- "d" | "delete" => op = Some(OperationName::Delete),
- "e" | "edit" => op = Some(OperationName::Edit),
- "l" | "list" => op = Some(OperationName::List),
- "o" | "open" => op = Some(OperationName::Open),
- "r" | "react" => op = Some(OperationName::React),
- "s" | "state" => op = Some(OperationName::State),
- "assign" => op = Some(OperationName::Assign),
- "label" => op = Some(OperationName::Label),
- "cache" => op = Some(OperationName::Cache),
-
- unknown => anyhow::bail!("unknown operation '{}'", unknown),
- },
- Value(val) if op.is_some() => {
- let val = term::args::rev(&val)?;
- id = Some(val);
- }
- _ => {
- return Err(anyhow!(arg.unexpected()));
- }
- }
- }
-
- let op = match op.unwrap_or_default() {
- OperationName::Edit => Operation::Edit {
- id: id.ok_or_else(|| anyhow!("an issue must be provided"))?,
- title,
- description,
- },
- OperationName::Open => Operation::Open {
- title,
- description,
- labels,
- assignees,
- },
- OperationName::Comment => match (reply_to, edit_comment) {
- (None, None) => Operation::Comment {
- id: id.ok_or_else(|| anyhow!("an issue must be provided"))?,
- message,
- reply_to: None,
- },
- (None, Some(comment_id)) => Operation::CommentEdit {
- id: id.ok_or_else(|| anyhow!("an issue must be provided"))?,
- comment_id,
- message,
- },
- (reply_to @ Some(_), None) => Operation::Comment {
- id: id.ok_or_else(|| anyhow!("an issue must be provided"))?,
- message,
- reply_to,
- },
- (Some(_), Some(_)) => anyhow::bail!("you cannot use --reply-to with --edit"),
- },
- OperationName::Show => Operation::Show {
- id: id.ok_or_else(|| anyhow!("an issue must be provided"))?,
- format,
- verbose,
- },
- OperationName::State => Operation::State {
- id: id.ok_or_else(|| anyhow!("an issue must be provided"))?,
- state: state.ok_or_else(|| anyhow!("a state operation must be provided"))?,
- },
- OperationName::React => Operation::React {
- id: id.ok_or_else(|| anyhow!("an issue must be provided"))?,
- reaction,
- comment_id,
- },
- OperationName::Delete => Operation::Delete {
- id: id.ok_or_else(|| anyhow!("an issue to remove must be provided"))?,
- },
- OperationName::Assign => Operation::Assign {
- id: id.ok_or_else(|| anyhow!("an issue to label must be provided"))?,
- opts: assign_opts,
- },
- OperationName::Label => Operation::Label {
- id: id.ok_or_else(|| anyhow!("an issue to label must be provided"))?,
- opts: label_opts,
- },
- OperationName::List => Operation::List { assigned, state },
- OperationName::Cache => Operation::Cache {
- id,
- storage: cache_storage,
- },
- };
-
- Ok((
- Options {
- op,
- repo,
- announce,
- quiet,
- },
- vec![],
- ))
- }
-}
-
-pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
+pub fn run(args: Args, ctx: impl term::Context) -> anyhow::Result<()> {
let profile = ctx.profile()?;
- let rid = if let Some(rid) = options.repo {
+ let rid = if let Some(rid) = args.repo {
rid
} else {
radicle::rad::cwd().map(|(_, rid)| rid)?
};
let repo = profile.storage.repository_mut(rid)?;
- let announce = options.announce
+
+ let command = args.command.unwrap_or_default();
+ let announce = !args.no_announce
&& matches!(
- &options.op,
- Operation::Open { .. }
- | Operation::React { .. }
- | Operation::State { .. }
- | Operation::Delete { .. }
- | Operation::Assign { .. }
- | Operation::Label { .. }
- | Operation::Edit { .. }
- | Operation::Comment { .. }
+ &command,
+ Command::Open { .. }
+ | Command::React { .. }
+ | Command::State { .. }
+ | Command::Delete { .. }
+ | Command::Assign { .. }
+ | Command::Label { .. }
+ | Command::Edit { .. }
+ // TODO(erikli): Remove special handling for `--edit` and
+ // make it also announce.
+ | Command::Comment { edit: None, .. }
);
+
let mut issues = term::cob::issues_mut(&profile, &repo)?;
- match options.op {
- Operation::Edit {
+ match command {
+ Command::Edit {
id,
title,
description,
} => {
let signer = term::signer(&profile)?;
let issue = edit(&mut issues, &repo, id, title, description, &signer)?;
- if !options.quiet {
- term::issue::show(&issue, issue.id(), Format::Header, false, &profile)?;
+ if !args.quiet {
+ term::issue::show(&issue, issue.id(), Format::Header, args.verbose, &profile)?;
}
}
- Operation::Open {
- title: Some(title),
- description: Some(description),
- labels,
- assignees,
+ Command::Open {
+ ref title,
+ ref description,
+ ref labels,
+ ref assignees,
} => {
let signer = term::signer(&profile)?;
- let issue = issues.create(title, description, &labels, &assignees, [], &signer)?;
- if !options.quiet {
- term::issue::show(&issue, issue.id(), Format::Header, false, &profile)?;
- }
+ open(
+ title.clone(),
+ description.clone(),
+ labels.to_vec(),
+ assignees.to_vec(),
+ args.verbose,
+ args.quiet,
+ &mut issues,
+ &signer,
+ &profile,
+ )?;
}
- Operation::Comment {
+ Command::Comment {
id,
message,
reply_to,
+ edit: None,
} => {
let reply_to = reply_to
.map(|rev| rev.resolve::<radicle::git::Oid>(repo.raw()))
@@ -529,23 +102,23 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
let signer = term::signer(&profile)?;
let issue_id = id.resolve::<cob::ObjectId>(&repo.backend)?;
let mut issue = issues.get_mut(&issue_id)?;
-
let (root_comment_id, _) = issue.root();
let body = prompt_comment(message, issue.thread(), reply_to, None)?;
let comment_id =
issue.comment(body, reply_to.unwrap_or(*root_comment_id), vec![], &signer)?;
- if options.quiet {
+ if args.quiet {
term::print(comment_id);
} else {
let comment = issue.thread().comment(&comment_id).unwrap();
term::comment::widget(&comment_id, comment, &profile).print();
}
}
- Operation::CommentEdit {
+ Command::Comment {
id,
- comment_id,
message,
+ reply_to: None,
+ edit: Some(comment_id),
} => {
let signer = term::signer(&profile)?;
let issue_id = id.resolve::<cob::ObjectId>(&repo.backend)?;
@@ -563,20 +136,26 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
comment.reply_to(),
Some(comment.body()),
)?;
+
issue.edit_comment(comment_id, body, vec![], &signer)?;
- if options.quiet {
+ if args.quiet {
term::print(comment_id);
} else {
let comment = issue.thread().comment(&comment_id).unwrap();
term::comment::widget(&comment_id, comment, &profile).print();
}
}
- Operation::Show {
- id,
- format,
- verbose,
- } => {
+ Command::Comment { .. } => {
+ unreachable!("the argument '--reply-to' cannot be used with '--edit'");
+ }
+ Command::Show { id } => {
+ let format = if args.header {
+ term::issue::Format::Header
+ } else {
+ term::issue::Format::Full
+ };
+
let id = id.resolve(&repo.backend)?;
let issue = issues
.get(&id)
@@ -585,14 +164,17 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
hint: "reset the cache with `rad issue cache` and try again",
})?
.context("No issue with the given ID exists")?;
- term::issue::show(&issue, &id, format, verbose, &profile)?;
+ term::issue::show(&issue, &id, format, args.verbose, &profile)?;
}
- Operation::State { id, state } => {
- let signer = term::signer(&profile)?;
+ Command::State { id, target_state } => {
+ let to: StateArg = target_state.into();
let id = id.resolve(&repo.backend)?;
+ let signer = term::signer(&profile)?;
let mut issue = issues.get_mut(&id)?;
+ let state = to.into();
issue.lifecycle(state, &signer)?;
- if !options.quiet {
+
+ if !args.quiet {
let success =
|status| term::success!("Issue {} is now {status}", term::format::cob(&id));
match state {
@@ -604,7 +186,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
};
}
}
- Operation::React {
+ Command::React {
id,
reaction,
comment_id,
@@ -613,7 +195,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
if let Ok(mut issue) = issues.get_mut(&id) {
let signer = term::signer(&profile)?;
let comment_id = match comment_id {
- Some(cid) => cid,
+ Some(cid) => cid.resolve(&repo.backend)?,
None => *term::io::comment_select(&issue).map(|(cid, _)| cid)?,
};
let reaction = match reaction {
@@ -624,28 +206,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
issue.react(comment_id, reaction, true, &signer)?;
}
}
- Operation::Open {
- ref title,
- ref description,
- ref labels,
- ref assignees,
- } => {
- let signer = term::signer(&profile)?;
- open(
- title.clone(),
- description.clone(),
- labels.to_vec(),
- assignees.to_vec(),
- &options,
- &mut issues,
- &signer,
- &profile,
- )?;
- }
- Operation::Assign {
- id,
- opts: AssignOptions { add, delete },
- } => {
+ Command::Assign { id, add, delete } => {
let signer = term::signer(&profile)?;
let id = id.resolve(&repo.backend)?;
let Ok(mut issue) = issues.get_mut(&id) else {
@@ -659,11 +220,7 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
.collect::<Vec<_>>();
issue.assign(assignees, &signer)?;
}
- Operation::Label {
- id,
- opts: LabelOptions { add, delete },
- } => {
- let signer = term::signer(&profile)?;
+ Command::Label { id, add, delete } => {
let id = id.resolve(&repo.backend)?;
let Ok(mut issue) = issues.get_mut(&id) else {
anyhow::bail!("Issue `{id}` not found");
@@ -674,17 +231,19 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
.chain(add.iter())
.cloned()
.collect::<Vec<_>>();
+ let signer = term::signer(&profile)?;
issue.label(labels, &signer)?;
}
- Operation::List { assigned, state } => {
- list(issues, &assigned, &state, &profile)?;
+ Command::List(list_args) => {
+ let assigned = list_args.assigned.clone();
+ list(issues, &assigned, &list_args.into(), &profile, args.verbose)?;
}
- Operation::Delete { id } => {
- let signer = term::signer(&profile)?;
+ Command::Delete { id } => {
let id = id.resolve(&repo.backend)?;
+ let signer = term::signer(&profile)?;
issues.remove(&id, &signer)?;
}
- Operation::Cache { id, storage } => {
+ Command::Cache { id, storage } => {
let mode = if storage {
cache::CacheMode::Storage
} else {
@@ -719,6 +278,7 @@ fn list<C>(
assigned: &Option<Assigned>,
state: &Option<State>,
profile: &profile::Profile,
+ verbose: bool,
) -> anyhow::Result<()>
where
C: issue::cache::Issues,
@@ -786,7 +346,7 @@ where
let assigned: String = issue
.assignees()
.map(|did| {
- let (alias, _) = Author::new(did.as_key(), profile, false).labels();
+ let (alias, _) = Author::new(did.as_key(), profile, verbose).labels();
alias.content().to_owned()
})
@@ -797,7 +357,7 @@ where
labels.sort();
let author = issue.author().id;
- let (alias, did) = Author::new(&author, profile, false).labels();
+ let (alias, did) = Author::new(&author, profile, verbose).labels();
mk_issue_row(id, issue, assigned, labels, alias, did)
}));
@@ -844,13 +404,14 @@ fn open<R, G>(
description: Option<String>,
labels: Vec<Label>,
assignees: Vec<Did>,
- options: &Options,
+ verbose: bool,
+ quiet: bool,
cache: &mut issue::Cache<issue::Issues<'_, R>, cob::cache::StoreWriter>,
signer: &Device<G>,
profile: &Profile,
) -> anyhow::Result<()>
where
- R: ReadRepository + WriteRepository + cob::Store<Namespace = NodeId>,
+ R: WriteRepository + cob::Store<Namespace = NodeId>,
G: crypto::signature::Signer<crypto::Signature>,
{
let (title, description) = if let (Some(t), Some(d)) = (title.as_ref(), description.as_ref()) {
@@ -869,8 +430,8 @@ where
signer,
)?;
- if !options.quiet {
- term::issue::show(&issue, issue.id(), Format::Header, false, profile)?;
+ if !quiet {
+ term::issue::show(&issue, issue.id(), Format::Header, verbose, profile)?;
}
Ok(())
}
@@ -884,7 +445,7 @@ fn edit<'a, 'g, R, G>(
signer: &Device<G>,
) -> anyhow::Result<issue::IssueMut<'a, 'g, R, cob::cache::StoreWriter>>
where
- R: WriteRepository + ReadRepository + cob::Store<Namespace = NodeId>,
+ R: WriteRepository + cob::Store<Namespace = NodeId>,
G: crypto::signature::Signer<crypto::Signature>,
{
let id = id.resolve(&repo.backend)?;
@@ -935,7 +496,6 @@ pub fn prompt_comment(
let (chase, missing) = {
let mut chase = Vec::with_capacity(thread.len());
let mut missing = None;
-
while let Some(id) = reply_to {
if let Some(comment) = thread.comment(&id) {
chase.push(comment);
@@ -981,23 +541,23 @@ pub fn prompt_comment(
"\n<!-- The contents of the comment you are editing follow below this line. -->\n",
);
}
+
buffer.reserve(2 + edit.len());
buffer.push('\n');
buffer.push_str(edit);
}
let body = message.get(&buffer)?;
-
if body.is_empty() {
anyhow::bail!("aborting operation due to empty comment");
}
+
Ok(body)
}
fn comment_quoted(comment: &thread::Comment, buffer: &mut String) {
let body = comment.body();
let lines = body.lines();
-
let hint = {
let (lower, upper) = lines.size_hint();
upper.unwrap_or(lower)
@@ -1011,6 +571,7 @@ fn comment_quoted(comment: &thread::Comment, buffer: &mut String) {
if !line.is_empty() {
buffer.push(' ');
}
+
buffer.push_str(line);
buffer.push('\n');
}
diff --git a/crates/radicle-cli/src/commands/issue/args.rs b/crates/radicle-cli/src/commands/issue/args.rs
new file mode 100644
index 00000000..4f092539
--- /dev/null
+++ b/crates/radicle-cli/src/commands/issue/args.rs
@@ -0,0 +1,344 @@
+#![warn(missing_docs)]
+#![warn(clippy::missing_docs_in_private_items)]
+
+//! Argument parsing for the `radicle-issue` command
+
+use std::str::FromStr;
+
+use clap::{Parser, Subcommand};
+use radicle::{
+ cob::{Label, Reaction, Title},
+ identity::{did::DidError, Did, RepoId},
+ issue::{CloseReason, State},
+};
+
+use crate::{git::Rev, terminal::patch::Message};
+
+/// Command line Peer argument.
+#[derive(Default, Debug, Clone, PartialEq, Eq)]
+pub enum Assigned {
+ /// Filter issues assigned to the local `NID`
+ #[default]
+ Me,
+ /// Filter issues assigned to the given `DID`
+ Peer(Did),
+}
+
+/// Commands and arguments for the `radicle issue` command
+#[derive(Parser, Debug)]
+#[command(disable_version_flag = true)]
+pub struct Args {
+ /// Subcommand for `radicle issue`
+ #[command(subcommand)]
+ pub(crate) command: Option<Command>,
+
+ /// Don't print anything
+ #[arg(short, long)]
+ #[clap(global = true)]
+ pub(crate) quiet: bool,
+
+ /// Don't announce issue to peers
+ #[arg(long)]
+ #[arg(value_name = "no-announce")]
+ #[clap(global = true)]
+ pub(crate) no_announce: bool,
+
+ /// Show only the issue header, hiding the comments
+ #[arg(long)]
+ #[clap(global = true)]
+ pub(crate) header: bool,
+
+ /// Operate on the given repository (default: cwd)
+ #[arg(value_name = "RID")]
+ #[arg(long, short)]
+ #[clap(global = true)]
+ pub(crate) repo: Option<RepoId>,
+
+ /// Enable verbose output
+ #[arg(long, short)]
+ #[clap(global = true)]
+ pub(crate) verbose: bool,
+}
+
+/// Commands to create, view, and edit Radicle issues
+#[derive(Subcommand, Debug)]
+pub(crate) enum Command {
+ /// Manage assignees of an issue
+ Assign {
+ /// The issue to assign a DID to
+ #[arg(value_name = "ISSUE_ID")]
+ id: Rev,
+
+ /// Add an assignee (may be specified multiple times)
+ #[arg(long, short)]
+ #[arg(value_name = "DID")]
+ #[arg(action = clap::ArgAction::Append)]
+ add: Vec<Did>,
+
+ /// Delete an assignee (may be specified multiple times)
+ #[arg(long, short)]
+ #[arg(value_name = "DID")]
+ #[arg(action = clap::ArgAction::Append)]
+ delete: Vec<Did>,
+ },
+ /// Re-cache all issues that can be found in Radicle storage
+ Cache {
+ /// Optionally choose an issue to re-cache
+ #[arg(value_name = "ISSUE_ID")]
+ id: Option<Rev>,
+
+ /// Operate on storage
+ #[arg(long)]
+ storage: bool,
+ },
+ /// Add a comment to an issue
+ Comment {
+ /// The issue to comment on
+ id: Rev,
+
+ /// The body of the comment
+ #[arg(long, short)]
+ #[arg(value_name = "MESSAGE")]
+ message: Message,
+
+ /// Optionally, the comment to reply to. If not specified, the comment
+ /// will be in reply to the issue itself
+ #[arg(long, value_name = "COMMENT_ID")]
+ #[arg(conflicts_with = "edit")]
+ reply_to: Option<Rev>,
+
+ /// The comment to edit (if any)
+ #[arg(long, value_name = "COMMENT_ID")]
+ #[arg(conflicts_with = "reply_to")]
+ edit: Option<Rev>,
+ },
+ /// Edit an issue
+ Edit {
+ /// The issue to edit
+ #[arg(value_name = "ISSUE_ID")]
+ id: Rev,
+
+ /// The new title to set
+ #[arg(long, short)]
+ title: Option<Title>,
+
+ /// The new description to set
+ #[arg(long, short)]
+ description: Option<String>,
+ },
+ /// Delete an issue
+ Delete {
+ /// The issue to delete
+ #[arg(value_name = "ISSUE_ID")]
+ id: Rev,
+ },
+ /// Update labels on an issue
+ Label {
+ /// The issue to label
+ id: Rev,
+
+ /// Add an assignee (may be specified multiple times)
+ ///
+ /// Note: --add takes precedence over --delete
+ #[arg(long, short)]
+ #[arg(value_name = "label")]
+ #[arg(action = clap::ArgAction::Append)]
+ add: Vec<Label>,
+
+ /// Delete an assignee (may be specified multiple times)
+ ///
+ /// Note: --add takes precedence over --delete
+ #[arg(long, short)]
+ #[arg(value_name = "label")]
+ #[arg(action = clap::ArgAction::Append)]
+ delete: Vec<Label>,
+ },
+ /// List issues, optionally filtering them
+ List(ListArgs),
+ /// Open a new issue
+ Open {
+ /// The new title to set
+ #[arg(long, short)]
+ title: Option<Title>,
+
+ /// The new description to set
+ #[arg(long, short)]
+ description: Option<String>,
+
+ /// A set of labels to associate
+ #[arg(long)]
+ labels: Vec<Label>,
+
+ /// A set of DIDs to assign
+ #[arg(value_name = "DID")]
+ #[arg(long)]
+ assignees: Vec<Did>,
+ },
+ /// Add a reaction emoji to an issue or comment
+ React {
+ /// The issue to react to
+ #[arg(value_name = "ISSUE_ID")]
+ id: Rev,
+
+ /// The emoji reaction to react with
+ #[arg(long = "emoji")]
+ #[arg(value_name = "CHAR")]
+ reaction: Option<Reaction>,
+
+ /// Optionally react to a given comment
+ #[arg(long = "to")]
+ #[arg(value_name = "COMMENT_ID")]
+ comment_id: Option<Rev>,
+ },
+ /// Show a specific issue
+ Show {
+ /// The issue to display
+ id: Rev,
+ },
+ /// Set the state of an issue
+ State {
+ /// The issue to be transitioned
+ #[arg(value_name = "ISSUE_ID")]
+ id: Rev,
+
+ /// The desired target state
+ #[clap(flatten)]
+ target_state: StateArgs,
+ },
+}
+
+impl Default for Command {
+ fn default() -> Self {
+ Self::List(ListArgs::default())
+ }
+}
+
+/// Arguments for the [`Command::List`] subcommand.
+#[derive(Parser, Debug)]
+pub(crate) struct ListArgs {
+ /// List issues assigned to <DID> (default: me)
+ #[arg(long, name = "DID")]
+ #[arg(default_missing_value = "me")]
+ #[arg(num_args = 0..=1)]
+ #[arg(require_equals = true)]
+ pub(crate) assigned: Option<Assigned>,
+
+ /// List all issues
+ #[arg(long, group = "state")]
+ all: bool,
+
+ /// List only open issues (default)
+ #[arg(long, group = "state")]
+ open: bool,
+
+ /// List only closed issues
+ #[arg(long, group = "state")]
+ closed: bool,
+
+ /// List only solved issues
+ #[arg(long, group = "state")]
+ solved: bool,
+}
+
+impl Default for ListArgs {
+ fn default() -> Self {
+ Self {
+ assigned: None,
+ all: false,
+ open: true,
+ closed: false,
+ solved: false,
+ }
+ }
+}
+
+impl From<ListArgs> for Option<State> {
+ fn from(value: ListArgs) -> Self {
+ if value.open {
+ Some(State::Open)
+ } else if value.closed {
+ Some(State::Closed {
+ reason: CloseReason::Other,
+ })
+ } else if value.solved {
+ Some(State::Closed {
+ reason: CloseReason::Solved,
+ })
+ } else {
+ None
+ }
+ }
+}
+
+/// Arguments for the [`Command::State`] subcommand.
+#[derive(Parser, Debug)]
+#[group(id = "state", required = true, multiple = false)]
+pub(crate) struct StateArgs {
+ /// Change state to open
+ #[arg(long)]
+ #[arg(group = "state")]
+ pub(crate) open: bool,
+
+ /// Change state to closed
+ #[arg(long)]
+ #[arg(group = "state")]
+ pub(crate) closed: bool,
+
+ /// Change state to solved
+ #[arg(long)]
+ #[arg(group = "state")]
+ pub(crate) solved: bool,
+}
+
+impl From<StateArgs> for StateArg {
+ fn from(state: StateArgs) -> Self {
+ // These are mutually exclusive, guaranteed by clap grouping
+ match (state.open, state.closed, state.solved) {
+ (true, _, _) => StateArg::Open,
+ (_, true, _) => StateArg::Closed,
+ (_, _, true) => StateArg::Solved,
+ _ => unreachable!(),
+ }
+ }
+}
+
+/// Argument value for transition an issue to the given [`State`].
+#[derive(Clone, Copy, Debug)]
+pub(crate) enum StateArg {
+ /// Open issues.
+ /// Maps to [`State::Open`].
+ Open,
+ /// Closed issues.
+ /// Maps to [`State::Closed`] and [`CloseReason::Other`].
+ Closed,
+ /// Solved issues.
+ /// Maps to [`State::Closed`] and [`CloseReason::Solved`].
+ Solved,
+}
+
+impl From<StateArg> for State {
+ fn from(value: StateArg) -> Self {
+ match value {
+ StateArg::Open => Self::Open,
+ StateArg::Closed => Self::Closed {
+ reason: CloseReason::Other,
+ },
+ StateArg::Solved => Self::Closed {
+ reason: CloseReason::Solved,
+ },
+ }
+ }
+}
+
+impl FromStr for Assigned {
+ type Err = DidError;
+
+ fn from_str(s: &str) -> Result<Self, Self::Err> {
+ if s == "me" {
+ Ok(Assigned::Me)
+ } else {
+ let value = s.parse::<Did>()?;
+ Ok(Assigned::Peer(value))
+ }
+ }
+}
diff --git a/crates/radicle-cli/src/main.rs b/crates/radicle-cli/src/main.rs
index 37774ea9..0ad733ee 100644
--- a/crates/radicle-cli/src/main.rs
+++ b/crates/radicle-cli/src/main.rs
@@ -3,16 +3,22 @@ use std::io::{self, Write};
use std::{io::ErrorKind, iter, process};
use anyhow::anyhow;
+use clap::builder::styling::AnsiColor;
+use clap::builder::Styles;
+use clap::{Parser, Subcommand};
use radicle::version::Version;
use radicle_cli::commands::*;
use radicle_cli::terminal as term;
pub const NAME: &str = "rad";
+pub const GIT_HEAD: &str = env!("GIT_HEAD");
pub const PKG_VERSION: &str = env!("CARGO_PKG_VERSION");
pub const RADICLE_VERSION: &str = env!("RADICLE_VERSION");
+pub const RADICLE_VERSION_LONG: &str =
+ concat!(env!("RADICLE_VERSION"), " (", env!("GIT_HEAD"), ")");
pub const DESCRIPTION: &str = "Radicle command line interface";
-pub const GIT_HEAD: &str = env!("GIT_HEAD");
+pub const LONG_DESCRIPTION: &str = "Radicle is a sovereign code forge built on Git.";
pub const TIMESTAMP: &str = env!("SOURCE_DATE_EPOCH");
pub const VERSION: Version = Version {
name: NAME,
@@ -20,6 +26,31 @@ pub const VERSION: Version = Version {
commit: GIT_HEAD,
timestamp: TIMESTAMP,
};
+const STYLES: Styles = Styles::styled()
+ .header(AnsiColor::Yellow.on_default().bold())
+ .usage(AnsiColor::Yellow.on_default().bold())
+ .literal(AnsiColor::Cyan.on_default().bold())
+ .placeholder(AnsiColor::Cyan.on_default());
+
+/// Radicle command line interface
+#[derive(Parser, Debug)]
+#[command(name = NAME)]
+#[command(version = RADICLE_VERSION)]
+#[command(long_version = RADICLE_VERSION_LONG)]
+#[command(propagate_version = true)]
+#[command(styles = STYLES)]
+struct CliArgs {
+ #[command(subcommand)]
+ pub command: Option<Commands>,
+}
+
+#[derive(Subcommand, Debug)]
+enum Commands {
+ /// Manage issues
+ ///
+ /// Manage issues by using operations to open, view, edit, comment or close them.
+ Issue(issue::Args),
+}
#[derive(Debug)]
enum Command {
@@ -133,6 +164,13 @@ fn run(command: Command) -> Result<(), Option<anyhow::Error>> {
Ok(())
}
+/// Runs a `rad` command. `exe` expects the command's name, e.g. `issue`,
+/// `args` expects all other arguments.
+///
+/// For commands that are already migrated to `clap`, we need to parse the
+/// arguments again. This needs to be done for each migrated command
+/// individually, otherwise `clap` would fail to parse on an non-migrated and
+/// therefor unknown command.
fn run_other(exe: &str, args: &[OsString]) -> Result<(), Option<anyhow::Error>> {
match exe {
"auth" => {
@@ -189,7 +227,9 @@ fn run_other(exe: &str, args: &[OsString]) -> Result<(), Option<anyhow::Error>>
);
}
"issue" => {
- term::run_command_args::<issue::Options, _>(issue::HELP, issue::run, args.to_vec());
+ if let Some(Commands::Issue(args)) = CliArgs::parse().command {
+ term::run_command_fn(issue::run, args);
+ }
}
"ls" => {
term::run_command_args::<ls::Options, _>(ls::HELP, ls::run, args.to_vec());
diff --git a/crates/radicle-cli/src/terminal.rs b/crates/radicle-cli/src/terminal.rs
index 86712223..fe16cde2 100644
--- a/crates/radicle-cli/src/terminal.rs
+++ b/crates/radicle-cli/src/terminal.rs
@@ -2,6 +2,7 @@ pub mod args;
pub use args::{Args, Error, Help};
pub mod format;
pub mod io;
+use clap::Parser;
pub use io::signer;
pub mod cob;
pub mod comment;
@@ -53,6 +54,22 @@ where
}
}
+/// Execute a function `cmd` that runs a command with parsed the `args`
+/// and a default context.
+pub fn run_command_fn<F, P: Parser>(cmd: F, args: P) -> !
+where
+ F: FnOnce(P, DefaultContext) -> anyhow::Result<()>,
+{
+ match cmd(args, DefaultContext) {
+ Ok(()) => process::exit(0),
+ Err(err) => {
+ // First parameter is not used and can just be empty.
+ fail("", &err);
+ process::exit(1);
+ }
+ }
+}
+
pub fn run_command<A, C>(help: Help, cmd: C) -> !
where
A: Args,
diff --git a/crates/radicle-cli/src/terminal/patch.rs b/crates/radicle-cli/src/terminal/patch.rs
index 9bebb24f..db5bf89f 100644
--- a/crates/radicle-cli/src/terminal/patch.rs
+++ b/crates/radicle-cli/src/terminal/patch.rs
@@ -112,6 +112,14 @@ impl Message {
}
}
+impl From<String> for Message {
+ fn from(value: String) -> Self {
+ let mut message = Message::default();
+ message.append(&value);
+ message
+ }
+}
+
pub const PATCH_MSG: &str = r#"
<!--
Please enter a patch message for your changes. An empty
Exit code: 0
shell: '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 632e50d3-46aa-4262-91f2-6950db05304c -v /opt/radcis/ci.rad.levitte.org/cci/state/632e50d3-46aa-4262-91f2-6950db05304c/s:/632e50d3-46aa-4262-91f2-6950db05304c/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/632e50d3-46aa-4262-91f2-6950db05304c/w:/632e50d3-46aa-4262-91f2-6950db05304c/w -w /632e50d3-46aa-4262-91f2-6950db05304c/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:bookworm bash /632e50d3-46aa-4262-91f2-6950db05304c/s/script.sh
time="2025-09-18T17:50:24+02:00" level=error msg="User-selected graph driver \"overlay\" overwritten by graph driver \"vfs\" from database - delete libpod local files (\"/opt/radcis/ci.rad.levitte.org/.local/share/containers/storage\") to resolve. May prevent use of images created by other tools"
time="2025-09-18T17:50:24+02:00" level=error msg="User-selected graph driver \"overlay\" overwritten by graph driver \"vfs\" from database - delete libpod local files (\"/opt/radcis/ci.rad.levitte.org/.local/share/containers/storage\") to resolve. May prevent use of images created by other tools"
+ 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 num v0.4.3
Downloaded nu-ansi-term v0.46.0
Downloaded num-cmp v0.1.0
Downloaded num-complex v0.4.6
Downloaded sec1 v0.7.3
Downloaded qcheck-macros v1.0.0
Downloaded smallvec v1.13.2
Downloaded serde_json v1.0.140
Downloaded icu_normalizer v1.5.0
Downloaded pin-project-lite v0.2.16
Downloaded icu_properties v1.5.1
Downloaded snapbox-macros v0.3.8
Downloaded multibase v0.9.1
Downloaded object v0.36.7
Downloaded tracing v0.1.41
Downloaded referencing v0.30.0
Downloaded rfc6979 v0.4.0
Downloaded phf_shared v0.11.3
Downloaded convert_case v0.7.1
Downloaded aes-gcm v0.10.3
Downloaded socks5-client v0.4.1
Downloaded linux-raw-sys v0.9.4
Downloaded siphasher v1.0.1
Downloaded sharded-slab v0.1.7
Downloaded unicode-normalization v0.1.23
Downloaded rustix v0.38.34
Downloaded inout v0.1.3
Downloaded gix-hash v0.15.1
Downloaded prodash v29.0.2
Downloaded signature v1.6.4
Downloaded gix-validate v0.9.4
Downloaded gix-transport v0.44.0
Downloaded gix-traverse v0.43.1
Downloaded gix-sec v0.10.12
Downloaded icu_provider v1.5.0
Downloaded litemap v0.7.5
Downloaded icu_locid_transform_data v1.5.1
Downloaded email_address v0.2.9
Downloaded idna v1.0.3
Downloaded gix-hashtable v0.6.0
Downloaded gix-revwalk v0.17.0
Downloaded uuid-simd v0.8.0
Downloaded spin v0.9.8
Downloaded lazy_static v1.5.0
Downloaded gix-object v0.46.1
Downloaded url v2.5.4
Downloaded tracing-core v0.1.34
Downloaded gix-pack v0.56.0
Downloaded tree-sitter-bash v0.23.3
Downloaded writeable v0.5.5
Downloaded zeroize v1.7.0
Downloaded vsimd v0.8.0
Downloaded generic-array v0.14.7
Downloaded tree-sitter-json v0.24.8
Downloaded tar v0.4.40
Downloaded litrs v0.4.1
Downloaded icu_locid_transform v1.5.0
Downloaded is_executable v1.0.4
Downloaded hmac v0.12.1
Downloaded iana-time-zone v0.1.60
Downloaded icu_locid v1.5.0
Downloaded zerovec-derive v0.10.3
Downloaded icu_collections v1.5.0
Downloaded fluent-uri v0.3.2
Downloaded uuid v1.16.0
Downloaded gix-prompt v0.9.1
Downloaded write16 v1.0.0
Downloaded thiserror-impl v2.0.12
Downloaded num-iter v0.1.45
Downloaded gix-negotiate v0.17.0
Downloaded gix-date v0.9.4
Downloaded filetime v0.2.23
Downloaded gix-protocol v0.47.0
Downloaded xattr v1.3.1
Downloaded gix-diff v0.49.0
Downloaded keccak v0.1.5
Downloaded lexopt v0.3.0
Downloaded tree-sitter-typescript v0.23.2
Downloaded git-ref-format-macro v0.3.1
Downloaded form_urlencoded v1.2.1
Downloaded stable_deref_trait v1.2.0
Downloaded matchers v0.1.0
Downloaded tree-sitter-highlight v0.24.4
Downloaded tree-sitter-toml-ng v0.6.0
Downloaded synstructure v0.13.1
Downloaded libm v0.2.8
Downloaded jobserver v0.1.31
Downloaded jsonschema v0.30.0
Downloaded document-features v0.2.11
Downloaded tree-sitter-c v0.23.2
Downloaded syn v1.0.109
Downloaded toml_datetime v0.7.0
Downloaded flate2 v1.1.1
Downloaded syn v2.0.89
Downloaded tree-sitter-ruby v0.23.1
Downloaded ssh-key v0.6.6
Downloaded tree-sitter-md v0.3.2
Downloaded tree-sitter-rust v0.23.2
Downloaded test-log v0.2.18
Downloaded test-log-macros v0.2.18
Downloaded streaming-iterator v0.1.9
Downloaded bitflags v2.9.1
Downloaded diff v0.1.13
Downloaded tree-sitter-css v0.23.1
Downloaded toml v0.9.5
Downloaded tinyvec v1.6.0
Downloaded derive_more-impl v2.0.1
Downloaded tree-sitter-go v0.23.4
Downloaded emojis v0.6.4
Downloaded crossterm v0.29.0
Downloaded zerocopy v0.7.35
Downloaded jiff v0.2.1
Downloaded clap_builder v4.5.44
Downloaded chrono v0.4.38
Downloaded vcpkg v0.2.15
Downloaded aho-corasick v1.1.3
Downloaded fraction v0.15.3
Downloaded cyphernet v0.5.2
Downloaded base64 v0.21.7
Downloaded libc v0.2.174
Downloaded crossterm v0.25.0
Downloaded cc v1.2.2
Downloaded bstr v1.9.1
Downloaded linux-raw-sys v0.4.13
Downloaded crossbeam-channel v0.5.15
Downloaded chacha20poly1305 v0.10.1
Downloaded base64 v0.22.1
Downloaded derive_more v2.0.1
Downloaded clap v4.5.44
Downloaded base64 v0.13.1
Downloaded timeago v0.4.2
Downloaded elliptic-curve v0.13.8
Downloaded crossbeam-utils v0.8.19
Downloaded thread_local v1.1.9
Downloaded thiserror-impl v1.0.69
Downloaded anstyle-parse v0.2.3
Downloaded typeid v1.0.3
Downloaded systemd-journal-logger v2.2.2
Downloaded yoke-derive v0.7.5
Downloaded tinystr v0.7.6
Downloaded subtle v2.5.0
Downloaded strsim v0.11.1
Downloaded maybe-async v0.2.10
Downloaded version_check v0.9.4
Downloaded gix-features v0.39.1
Downloaded escargot v0.5.10
Downloaded ecdsa v0.16.9
Downloaded digest v0.10.7
Downloaded clap_derive v4.5.41
Downloaded amplify_derive v4.0.0
Downloaded erased-serde v0.4.6
Downloaded backtrace v0.3.75
Downloaded ascii v1.1.0
Downloaded localtime v1.3.1
Downloaded zerovec v0.10.4
Downloaded zerofrom v0.1.6
Downloaded displaydoc v0.2.5
Downloaded clap_lex v0.7.5
Downloaded cbc v0.1.2
Downloaded block-padding v0.3.3
Downloaded miniz_oxide v0.8.8
Downloaded data-encoding v2.5.0
Downloaded anstyle v1.0.11
Downloaded env_filter v0.1.3
Downloaded either v1.11.0
Downloaded cyphergraphy v0.3.0
Downloaded anstyle-query v1.0.2
Downloaded sqlite3-src v0.5.1
Downloaded fast-glob v0.3.3
Downloaded crc32fast v1.4.0
Downloaded cpufeatures v0.2.12
Downloaded clap_complete v4.5.57
Downloaded libgit2-sys v0.17.0+1.8.1
Downloaded git2 v0.19.0
Downloaded cipher v0.4.4
Downloaded bytecount v0.6.8
Downloaded unicode-ident v1.0.12
Downloaded dunce v1.0.5
Downloaded env_logger v0.11.8
Downloaded memchr v2.7.2
Downloaded winnow v0.6.26
Downloaded log v0.4.27
Downloaded lock_api v0.4.11
Downloaded itertools v0.14.0
Downloaded fxhash v0.2.1
Downloaded ssh-encoding v0.2.0
Downloaded yoke v0.7.5
Downloaded thiserror v1.0.69
Downloaded ssh-cipher v0.2.0
Downloaded sqlite3-sys v0.15.2
Downloaded tempfile v3.10.1
Downloaded memmap2 v0.9.4
Downloaded tree-sitter v0.24.4
Downloaded tree-sitter-language v0.1.2
Downloaded tracing-subscriber v0.3.19
Downloaded errno v0.3.13
Downloaded data-encoding-macro-internal v0.1.12
Downloaded ct-codecs v1.1.1
Downloaded crypto-common v0.1.6
Downloaded fancy-regex v0.14.0
Downloaded bcrypt-pbkdf v0.10.0
Downloaded gix-packetline v0.18.4
Downloaded gix-odb v0.66.0
Downloaded faster-hex v0.9.0
Downloaded ctr v0.9.2
Downloaded colored v2.1.0
Downloaded bit-set v0.8.0
Downloaded autocfg v1.2.0
Downloaded tracing-log v0.2.0
Downloaded indexmap v2.2.6
Downloaded ed25519 v1.5.3
Downloaded dyn-clone v1.0.17
Downloaded cypheraddr v0.4.0
Downloaded gimli v0.31.1
Downloaded tinyvec_macros v0.1.1
Downloaded itoa v1.0.11
Downloaded gix-lock v15.0.1
Downloaded hashbrown v0.14.3
Downloaded icu_provider_macros v1.5.0
Downloaded data-encoding-macro v0.1.14
Downloaded inquire v0.7.5
Downloaded utf8parse v0.2.1
Downloaded typenum v1.17.0
Downloaded salsa20 v0.10.2
Downloaded thiserror v2.0.12
Downloaded gix-config-value v0.14.12
Downloaded gix-commitgraph v0.25.1
Downloaded utf8_iter v1.0.4
Downloaded utf16_iter v1.0.5
Downloaded universal-hash v0.5.1
Downloaded unicode-display-width v0.3.0
Downloaded bytes v1.10.1
Downloaded base16ct v0.2.0
Downloaded ghash v0.5.1
Downloaded borrow-or-share v0.2.2
Downloaded anyhow v1.0.82
Downloaded human-panic v2.0.3
Downloaded group v0.13.0
Downloaded gix-revision v0.31.1
Downloaded gix-refspec v0.27.0
Downloaded git-ref-format-core v0.3.1
Downloaded amplify_num v0.5.2
Downloaded getrandom v0.2.15
Downloaded byteorder v1.5.0
Downloaded arc-swap v1.7.1
Downloaded io-reactor v0.5.2
Downloaded home v0.5.9
Downloaded unicode-segmentation v1.11.0
Downloaded sha3 v0.10.8
Downloaded gix-utils v0.1.14
Downloaded gix-url v0.28.2
Downloaded ec25519 v0.1.0
Downloaded der v0.7.9
Downloaded bitflags v1.3.2
Downloaded regex-automata v0.4.9
Downloaded amplify v4.6.0
Downloaded gix-credentials v0.26.0
Downloaded zerofrom-derive v0.1.6
Downloaded walkdir v2.5.0
Downloaded unicode-width v0.1.11
Downloaded tree-sitter-python v0.23.4
Downloaded icu_properties_data v1.5.1
Downloaded fastrand v2.1.0
Downloaded equivalent v1.0.1
Downloaded cfg-if v1.0.0
Downloaded base64ct v1.6.0
Downloaded amplify_syn v2.0.1
Downloaded aead v0.5.2
Downloaded gix-actor v0.33.2
Downloaded mio v0.8.11
Downloaded chacha20 v0.9.1
Downloaded mio v1.0.4
Downloaded socket2 v0.5.7
Downloaded netservices v0.8.0
Downloaded bit-vec v0.8.0
Downloaded yansi v0.5.1
Downloaded heck v0.5.0
Downloaded tree-sitter-html v0.23.2
Downloaded snapbox v0.4.17
Downloaded toml_writer v1.0.2
Downloaded sqlite v0.32.0
Downloaded spki v0.7.3
Downloaded crypto-bigint v0.5.5
Downloaded base32 v0.4.0
Downloaded base-x v0.2.11
Downloaded colorchoice v1.0.0
Downloaded bytesize v2.0.1
Downloaded bloomy v1.2.0
Downloaded blowfish v0.9.1
Downloaded anstream v0.6.13
Downloaded icu_normalizer_data v1.5.1
Downloaded block-buffer v0.10.4
Downloaded gix-ref v0.49.1
Downloaded gix-command v0.4.1
Downloaded gix-trace v0.1.12
Downloaded gix-shallow v0.1.0
Downloaded regex-automata v0.1.10
Downloaded radicle-surf v0.22.0
Downloaded const-oid v0.9.6
Downloaded gix-fs v0.12.1
Downloaded gix-chunk v0.4.11
Downloaded schemars v1.0.4
Downloaded signal-hook-registry v1.4.5
Downloaded sha1_smol v1.0.0
Downloaded serde_spanned v1.0.0
Downloaded serde_derive_internals v0.29.1
Downloaded serde v1.0.219
Downloaded scrypt v0.11.0
Downloaded scopeguard v1.2.0
Downloaded rustix v1.0.7
Downloaded ref-cast-impl v1.0.24
Downloaded rand_core v0.6.4
Downloaded rand_chacha v0.3.1
Downloaded ppv-lite86 v0.2.17
Downloaded pkcs1 v0.7.5
Downloaded phf v0.11.3
Downloaded normalize-line-endings v0.3.0
Downloaded nonempty v0.5.0
Downloaded idna_adapter v1.2.0
Downloaded gix-quote v0.4.15
Downloaded git-ref-format v0.3.1
Downloaded getrandom v0.3.3
Downloaded regex-syntax v0.8.5
Downloaded polyval v0.6.2
Downloaded p521 v0.13.3
Downloaded once_cell v1.21.3
Downloaded shlex v1.3.0
Downloaded libz-sys v1.1.16
Downloaded num-bigint-dig v0.8.4
Downloaded sha2 v0.10.8
Downloaded sem_safe v0.2.0
Downloaded same-file v1.0.6
Downloaded ryu v1.0.17
Downloaded rustc-demangle v0.1.26
Downloaded ref-cast v1.0.24
Downloaded radicle-std-ext v0.1.0
Downloaded quote v1.0.36
Downloaded qcheck v1.0.0
Downloaded proc-macro-error-attr v1.0.4
Downloaded popol v3.0.0
Downloaded pkcs8 v0.10.2
Downloaded pem-rfc7468 v0.7.0
Downloaded paste v1.0.15
Downloaded parking_lot_core v0.9.9
Downloaded p384 v0.13.0
Downloaded overload v0.1.1
Downloaded outref v0.5.2
Downloaded opaque-debug v0.3.1
Downloaded num-traits v0.2.19
Downloaded num-rational v0.4.2
Downloaded nonempty v0.9.0
Downloaded siphasher v0.3.11
Downloaded signature v2.2.0
Downloaded signal-hook-mio v0.2.4
Downloaded serde_derive v1.0.219
Downloaded proc-macro-error v1.0.4
Downloaded pretty_assertions v1.4.0
Downloaded poly1305 v0.8.0
Downloaded ahash v0.8.11
Downloaded aes v0.8.4
Downloaded gix-tempfile v15.0.0
Downloaded gix-path v0.10.15
Downloaded similar v2.5.0
Downloaded signal-hook v0.3.18
Downloaded serde-untagged v0.1.7
Downloaded schemars_derive v1.0.4
Downloaded rsa v0.9.6
Downloaded regex-syntax v0.6.29
Downloaded regex v1.11.1
Downloaded rand v0.8.5
Downloaded p256 v0.13.2
Downloaded proc-macro2 v1.0.92
Downloaded parking_lot v0.12.3
Downloaded addr2line v0.24.2
Downloaded signals_receipts v0.2.0
Downloaded shell-words v1.1.0
Downloaded radicle-git-ext v0.8.1
Downloaded pkg-config v0.3.30
Downloaded os_info v3.12.0
Downloaded newline-converter v0.3.0
Downloaded ff v0.13.0
Downloaded primeorder v0.13.6
Downloaded percent-encoding v2.3.1
Downloaded pbkdf2 v0.12.2
Downloaded num-integer v0.1.46
Downloaded num-bigint v0.4.6
Downloaded noise-framework v0.4.0
Downloaded adler2 v2.0.0
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 jobserver v0.1.31
Compiling autocfg v1.2.0
Compiling syn v2.0.89
Compiling cc v1.2.2
Checking log v0.4.27
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
Checking regex-automata v0.4.9
Compiling lock_api v0.4.11
Checking crypto-common v0.1.6
Compiling parking_lot_core v0.9.9
Checking scopeguard v1.2.0
Checking stable_deref_trait v1.2.0
Checking subtle v2.5.0
Checking parking_lot v0.12.3
Compiling syn v1.0.109
Checking tinyvec_macros v0.1.1
Checking once_cell v1.21.3
Checking tinyvec v1.6.0
Compiling synstructure v0.13.1
Checking zeroize v1.7.0
Checking unicode-normalization v0.1.23
Checking cpufeatures v0.2.12
Compiling thiserror v2.0.12
Checking bstr v1.9.1
Checking litemap v0.7.5
Compiling icu_locid_transform_data v1.5.1
Checking writeable v0.5.5
Compiling crc32fast v1.4.0
Checking block-padding v0.3.3
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 icu_provider_macros v1.5.0
Checking zerovec v0.10.4
Compiling thiserror-impl v2.0.12
Compiling icu_properties_data v1.5.1
Checking tinystr v0.7.6
Checking inout v0.1.3
Checking icu_locid v1.5.0
Checking block-buffer v0.10.4
Checking hashbrown v0.14.3
Compiling pkg-config v0.3.30
Checking icu_provider v1.5.0
Compiling icu_normalizer_data v1.5.1
Checking itoa v1.0.11
Checking icu_locid_transform v1.5.0
Checking digest v0.10.7
Checking cipher v0.4.4
Checking icu_collections v1.5.0
Compiling thiserror v1.0.69
Checking utf16_iter v1.0.5
Checking utf8_iter v1.0.4
Checking adler2 v2.0.0
Checking write16 v1.0.0
Checking icu_properties v1.5.1
Compiling thiserror-impl v1.0.69
Checking miniz_oxide v0.8.8
Compiling rustix v0.38.34
Checking percent-encoding v2.3.1
Checking linux-raw-sys v0.4.13
Checking sha2 v0.10.8
Checking form_urlencoded v1.2.1
Checking universal-hash v0.5.1
Compiling vcpkg v0.2.15
Checking opaque-debug v0.3.1
Compiling amplify_syn v2.0.1
Checking icu_normalizer v1.5.0
Compiling libz-sys v1.1.16
Checking idna_adapter v1.2.0
Checking idna v1.0.3
Checking gix-trace v0.1.12
Compiling data-encoding v2.5.0
Checking tempfile v3.10.1
Checking url v2.5.4
Compiling amplify_derive v4.0.0
Checking amplify_num v0.5.2
Checking ascii v1.1.0
Compiling data-encoding-macro-internal v0.1.12
Checking signature v1.6.4
Checking ed25519 v1.5.3
Checking faster-hex v0.9.0
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 byteorder v1.5.0
Checking ct-codecs v1.1.1
Checking base-x v0.2.11
Checking ec25519 v0.1.0
Checking multibase v0.9.1
Checking poly1305 v0.8.0
Checking chacha20 v0.9.1
Checking gix-utils v0.1.14
Compiling proc-macro-error v1.0.4
Checking amplify v4.6.0
Checking cyphergraphy v0.3.0
Checking gix-hash v0.15.1
Checking keccak v0.1.5
Checking same-file v1.0.6
Compiling crossbeam-utils v0.8.19
Checking walkdir v2.5.0
Checking flate2 v1.1.1
Checking sha3 v0.10.8
Compiling git-ref-format-core v0.3.1
Checking polyval v0.6.2
Checking hmac v0.12.1
Compiling sqlite3-src v0.5.1
Checking prodash v29.0.2
Checking ppv-lite86 v0.2.17
Checking sha1_smol v1.0.0
Checking base64ct v1.6.0
Compiling serde_json v1.0.140
Checking base32 v0.4.0
Checking equivalent v1.0.1
Checking indexmap v2.2.6
Checking cypheraddr v0.4.0
Checking pem-rfc7468 v0.7.0
Checking gix-features v0.39.1
Checking rand_chacha v0.3.1
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 rand v0.8.5
Checking socks5-client v0.4.1
Checking ssh-encoding v0.2.0
Checking blowfish v0.9.1
Checking cbc v0.1.2
Compiling ref-cast v1.0.24
Checking home v0.5.9
Checking radicle-std-ext v0.1.0
Checking gix-path v0.10.15
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 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-ssh)
Compiling typeid v1.0.3
Checking lazy_static v1.5.0
Checking dyn-clone v1.0.17
Checking siphasher v1.0.1
Checking anstyle-query v1.0.2
Checking nonempty v0.9.0
Compiling serde_derive_internals v0.29.1
Checking radicle-dag v0.10.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-dag)
Checking utf8parse v0.2.1
Checking anstyle-parse v0.2.3
Checking erased-serde v0.4.6
Checking iana-time-zone v0.1.60
Checking anstyle v1.0.11
Compiling schemars_derive v1.0.4
Checking colorchoice v1.0.0
Checking jiff v0.2.1
Checking schemars v1.0.4
Checking anstream v0.6.13
Checking chrono v0.4.38
Checking gix-date v0.9.4
Checking serde-untagged v0.1.7
Checking colored v2.1.0
Checking bytesize v2.0.1
Checking localtime v1.3.1
Checking winnow v0.6.26
Checking base64 v0.21.7
Checking tree-sitter-language v0.1.2
Checking dunce v1.0.5
Checking fast-glob v0.3.3
Checking gix-hashtable v0.6.0
Checking gix-validate v0.9.4
Checking memmap2 v0.9.4
Compiling rustix v1.0.7
Checking gix-actor v0.33.2
Checking gix-chunk v0.4.11
Checking gix-object v0.46.1
Checking linux-raw-sys v0.9.4
Checking gix-commitgraph v0.25.1
Checking gix-revwalk v0.17.0
Checking gix-fs v0.12.1
Checking sem_safe v0.2.0
Checking errno v0.3.13
Checking either v1.11.0
Checking signals_receipts v0.2.0
Checking gix-tempfile v15.0.0
Compiling signal-hook v0.3.18
Checking signal-hook-registry v1.4.5
Checking shell-words v1.1.0
Compiling getrandom v0.3.3
Checking gix-command v0.4.1
Checking radicle-signals v0.11.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-signals)
Compiling tree-sitter v0.24.4
Checking mio v0.8.11
Checking mio v1.0.4
Compiling unicode-segmentation v1.11.0
Compiling anyhow v1.0.82
Compiling convert_case v0.7.1
Checking signal-hook-mio v0.2.4
Checking gix-lock v15.0.1
Checking gix-url v0.28.2
Checking gix-config-value v0.14.12
Checking gix-quote v0.4.15
Checking regex v1.11.1
Checking gix-sec v0.10.12
Checking gix-prompt v0.9.1
Checking uuid v1.16.0
Compiling xattr v1.3.1
Checking sqlite3-sys v0.15.2
Compiling derive_more-impl v2.0.1
Checking sqlite v0.32.0
Compiling filetime v0.2.23
Checking gix-traverse v0.43.1
Checking gix-revision v0.31.1
Checking gix-diff v0.49.0
Checking gix-packetline v0.18.4
Compiling litrs v0.4.1
Compiling object v0.36.7
Checking lexopt v0.3.0
Checking bitflags v1.3.2
Checking crossterm v0.25.0
Checking gix-transport v0.44.0
Compiling document-features v0.2.11
Checking derive_more v2.0.1
Checking gix-pack v0.56.0
Checking gix-refspec v0.27.0
Compiling tar v0.4.40
Checking gix-credentials v0.26.0
Checking newline-converter v0.3.0
Checking gix-ref v0.49.1
Checking gix-shallow v0.1.0
Checking gix-negotiate v0.17.0
Checking fxhash v0.2.1
Compiling maybe-async v0.2.10
Compiling heck v0.5.0
Checking strsim v0.11.1
Checking arc-swap v1.7.1
Checking unicode-width v0.1.11
Checking streaming-iterator v0.1.9
Checking gimli v0.31.1
Checking clap_lex v0.7.5
Checking clap_builder v4.5.44
Checking gix-protocol v0.47.0
Checking gix-odb v0.66.0
Checking inquire v0.7.5
Checking addr2line v0.24.2
Compiling clap_derive v4.5.41
Compiling radicle-surf v0.22.0
Checking crossterm v0.29.0
Checking unicode-display-width v0.3.0
Checking serde_spanned v1.0.0
Checking toml_datetime v0.7.0
Compiling tree-sitter-toml-ng v0.6.0
Compiling tree-sitter-bash v0.23.3
Compiling tree-sitter-md v0.3.2
Compiling tree-sitter-typescript v0.23.2
Compiling tree-sitter-rust v0.23.2
Compiling tree-sitter-go v0.23.4
Compiling tree-sitter-json v0.24.8
Compiling tree-sitter-c v0.23.2
Compiling tree-sitter-python v0.23.4
Compiling tree-sitter-css v0.23.1
Compiling tree-sitter-ruby v0.23.1
Compiling tree-sitter-html v0.23.2
Checking rustc-demangle v0.1.26
Checking toml_writer v1.0.2
Checking backtrace v0.3.75
Checking toml v0.9.5
Checking clap v4.5.44
Checking snapbox-macros v0.3.8
Checking os_info v3.12.0
Checking salsa20 v0.10.2
Checking is_executable v1.0.4
Checking base64 v0.13.1
Checking normalize-line-endings v0.3.0
Compiling radicle-cli v0.16.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-cli)
Checking nonempty v0.5.0
Checking similar v2.5.0
Checking siphasher v0.3.11
Checking bloomy v1.2.0
Checking clap_complete v4.5.57
Checking scrypt v0.11.0
Checking human-panic v2.0.3
Checking snapbox v0.4.17
Checking tree-sitter-highlight v0.24.4
Checking systemd-journal-logger v2.2.2
Checking itertools v0.14.0
Checking popol v3.0.0
Checking bytes v1.10.1
Checking timeago v0.4.2
Checking io-reactor v0.5.2
Checking socket2 v0.5.7
Checking diff v0.1.13
Compiling radicle-node v0.15.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-node)
Checking yansi v0.5.1
Checking pretty_assertions v1.4.0
Checking netservices v0.8.0
Checking radicle-systemd v0.10.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-systemd)
Checking num-integer v0.1.46
Compiling escargot v0.5.10
Compiling qcheck-macros v1.0.0
Checking num-bigint v0.4.6
Compiling ahash v0.8.11
Compiling radicle-remote-helper v0.13.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-remote-helper)
Checking num-iter v0.1.45
Checking num-complex v0.4.6
Checking num-rational v0.4.2
Checking env_filter v0.1.3
Checking zerocopy v0.7.35
Checking borrow-or-share v0.2.2
Checking bit-vec v0.8.0
Checking fluent-uri v0.3.2
Checking bit-set v0.8.0
Checking num v0.4.3
Checking env_logger v0.11.8
Checking phf_shared v0.11.3
Compiling test-log-macros v0.2.18
Checking vsimd v0.8.0
Compiling paste v1.0.15
Checking outref v0.5.2
Checking uuid-simd v0.8.0
Checking phf v0.11.3
Checking referencing v0.30.0
Checking test-log v0.2.18
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 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-term)
Checking radicle-crypto v0.13.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-crypto)
Checking radicle-cob v0.16.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-cob)
Checking radicle v0.19.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle)
Checking radicle-fetch v0.15.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-fetch)
Checking radicle-cli-test v0.13.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-cli-test)
Checking radicle-protocol v0.3.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-protocol)
Checking radicle-schemars v0.5.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-schemars)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.31s
+ 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 jobserver v0.1.31
Compiling getrandom v0.2.15
Compiling cc v1.2.2
Compiling smallvec v1.13.2
Compiling aho-corasick v1.1.3
Compiling regex-syntax v0.8.5
Compiling typenum v1.17.0
Compiling rand_core v0.6.4
Compiling bitflags v2.9.1
Compiling generic-array v0.14.7
Compiling regex-automata v0.4.9
Compiling crypto-common v0.1.6
Compiling fastrand v2.1.0
Compiling scopeguard v1.2.0
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 parking_lot v0.12.3
Compiling tinyvec_macros v0.1.1
Compiling once_cell v1.21.3
Compiling tinyvec v1.6.0
Compiling zerovec v0.10.4
Compiling zeroize v1.7.0
Compiling cpufeatures v0.2.12
Compiling writeable v0.5.5
Compiling unicode-normalization v0.1.23
Compiling litemap v0.7.5
Compiling tinystr v0.7.6
Compiling adler2 v2.0.0
Compiling icu_locid v1.5.0
Compiling miniz_oxide v0.8.8
Compiling bstr v1.9.1
Compiling block-padding v0.3.3
Compiling thiserror v2.0.12
Compiling icu_provider v1.5.0
Compiling inout v0.1.3
Compiling icu_locid_transform_data v1.5.1
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 crc32fast v1.4.0
Compiling icu_properties_data v1.5.1
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 icu_properties v1.5.1
Compiling utf16_iter v1.0.5
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 form_urlencoded v1.2.1
Compiling universal-hash v0.5.1
Compiling opaque-debug v0.3.1
Compiling libz-sys v1.1.16
Compiling gix-trace v0.1.12
Compiling amplify_num v0.5.2
Compiling data-encoding v2.5.0
Compiling icu_normalizer v1.5.0
Compiling tempfile v3.10.1
Compiling idna_adapter v1.2.0
Compiling idna v1.0.3
Compiling ascii v1.1.0
Compiling signature v1.6.4
Compiling data-encoding-macro v0.1.14
Compiling libgit2-sys v0.17.0+1.8.1
Compiling url v2.5.4
Compiling amplify v4.6.0
Compiling ed25519 v1.5.3
Compiling aead v0.5.2
Compiling faster-hex v0.9.0
Compiling byteorder v1.5.0
Compiling base-x v0.2.11
Compiling ct-codecs v1.1.1
Compiling multibase v0.9.1
Compiling ec25519 v0.1.0
Compiling poly1305 v0.8.0
Compiling chacha20 v0.9.1
Compiling gix-utils v0.1.14
Compiling cyphergraphy v0.3.0
Compiling num-traits v0.2.19
Compiling gix-hash v0.15.1
Compiling keccak v0.1.5
Compiling same-file v1.0.6
Compiling sha3 v0.10.8
Compiling walkdir v2.5.0
Compiling polyval v0.6.2
Compiling git-ref-format-core v0.3.1
Compiling flate2 v1.1.1
Compiling hmac v0.12.1
Compiling sqlite3-src v0.5.1
Compiling prodash v29.0.2
Compiling ppv-lite86 v0.2.17
Compiling sha1_smol v1.0.0
Compiling base64ct v1.6.0
Compiling equivalent v1.0.1
Compiling base32 v0.4.0
Compiling indexmap v2.2.6
Compiling pem-rfc7468 v0.7.0
Compiling cypheraddr v0.4.0
Compiling rand_chacha v0.3.1
Compiling gix-features v0.39.1
Compiling git-ref-format-macro v0.3.1
Compiling pbkdf2 v0.12.2
Compiling ghash v0.5.1
Compiling crossbeam-utils v0.8.19
Compiling chacha20poly1305 v0.10.1
Compiling ctr v0.9.2
Compiling aes v0.8.4
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 rand v0.8.5
Compiling socks5-client v0.4.1
Compiling ssh-encoding v0.2.0
Compiling blowfish v0.9.1
Compiling cbc v0.1.2
Compiling home v0.5.9
Compiling radicle-std-ext v0.1.0
Compiling ssh-cipher v0.2.0
Compiling gix-path v0.10.15
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 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-ssh)
Compiling dyn-clone v1.0.17
Compiling lazy_static v1.5.0
Compiling siphasher v1.0.1
Compiling anstyle-query v1.0.2
Compiling typeid v1.0.3
Compiling radicle-dag v0.10.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-dag)
Compiling nonempty v0.9.0
Compiling utf8parse v0.2.1
Compiling anstyle-parse v0.2.3
Compiling erased-serde v0.4.6
Compiling colorchoice v1.0.0
Compiling iana-time-zone v0.1.60
Compiling anstyle v1.0.11
Compiling jiff v0.2.1
Compiling anstream v0.6.13
Compiling serde-untagged v0.1.7
Compiling chrono v0.4.38
Compiling schemars v1.0.4
Compiling gix-date v0.9.4
Compiling colored v2.1.0
Compiling localtime v1.3.1
Compiling bytesize v2.0.1
Compiling winnow v0.6.26
Compiling base64 v0.21.7
Compiling dunce v1.0.5
Compiling tree-sitter-language v0.1.2
Compiling fast-glob v0.3.3
Compiling gix-actor v0.33.2
Compiling gix-hashtable v0.6.0
Compiling gix-validate v0.9.4
Compiling memmap2 v0.9.4
Compiling gix-object v0.46.1
Compiling gix-chunk v0.4.11
Compiling linux-raw-sys v0.9.4
Compiling rustix v1.0.7
Compiling gix-commitgraph v0.25.1
Compiling gix-revwalk v0.17.0
Compiling sqlite3-sys v0.15.2
Compiling sqlite v0.32.0
Compiling gix-fs v0.12.1
Compiling errno v0.3.13
Compiling sem_safe v0.2.0
Compiling either v1.11.0
Compiling unicode-segmentation v1.11.0
Compiling signals_receipts v0.2.0
Compiling gix-tempfile v15.0.0
Compiling signal-hook-registry v1.4.5
Compiling shell-words v1.1.0
Compiling gix-command v0.4.1
Compiling signal-hook v0.3.18
Compiling radicle-signals v0.11.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-signals)
Compiling tree-sitter v0.24.4
Compiling mio v0.8.11
Compiling mio v1.0.4
Compiling signal-hook-mio v0.2.4
Compiling getrandom v0.3.3
Compiling gix-lock v15.0.1
Compiling convert_case v0.7.1
Compiling gix-url v0.28.2
Compiling gix-config-value v0.14.12
Compiling gix-quote v0.4.15
Compiling regex v1.11.1
Compiling gix-sec v0.10.12
Compiling gix-prompt v0.9.1
Compiling xattr v1.3.1
Compiling derive_more-impl v2.0.1
Compiling uuid v1.16.0
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 filetime v0.2.23
Compiling bitflags v1.3.2
Compiling lexopt v0.3.0
Compiling crossterm v0.25.0
Compiling derive_more v2.0.1
Compiling gix-transport v0.44.0
Compiling tar v0.4.40
Compiling gix-pack v0.56.0
Compiling gix-refspec v0.27.0
Compiling gix-credentials v0.26.0
Compiling anyhow v1.0.82
Compiling gix-shallow v0.1.0
Compiling gix-ref v0.49.1
Compiling newline-converter v0.3.0
Compiling gix-negotiate v0.17.0
Compiling fxhash v0.2.1
Compiling strsim v0.11.1
Compiling streaming-iterator v0.1.9
Compiling clap_lex v0.7.5
Compiling gimli v0.31.1
Compiling arc-swap v1.7.1
Compiling unicode-width v0.1.11
Compiling inquire v0.7.5
Compiling gix-odb v0.66.0
Compiling clap_builder v4.5.44
Compiling addr2line v0.24.2
Compiling gix-protocol v0.47.0
Compiling radicle-surf v0.22.0
Compiling crossterm v0.29.0
Compiling object v0.36.7
Compiling unicode-display-width v0.3.0
Compiling tree-sitter-json v0.24.8
Compiling tree-sitter-html v0.23.2
Compiling tree-sitter-c v0.23.2
Compiling tree-sitter-typescript v0.23.2
Compiling tree-sitter-css v0.23.1
Compiling tree-sitter-bash v0.23.3
Compiling tree-sitter-go v0.23.4
Compiling tree-sitter-rust v0.23.2
Compiling tree-sitter-python v0.23.4
Compiling tree-sitter-ruby v0.23.1
Compiling tree-sitter-md v0.3.2
Compiling tree-sitter-toml-ng v0.6.0
Compiling toml_datetime v0.7.0
Compiling serde_spanned v1.0.0
Compiling rustc-demangle v0.1.26
Compiling toml_writer v1.0.2
Compiling toml v0.9.5
Compiling backtrace v0.3.75
Compiling clap v4.5.44
Compiling snapbox-macros v0.3.8
Compiling salsa20 v0.10.2
Compiling os_info v3.12.0
Compiling radicle-cli v0.16.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-cli)
Compiling nonempty v0.5.0
Compiling is_executable v1.0.4
Compiling base64 v0.13.1
Compiling normalize-line-endings v0.3.0
Compiling siphasher v0.3.11
Compiling similar v2.5.0
Compiling bloomy v1.2.0
Compiling clap_complete v4.5.57
Compiling snapbox v0.4.17
Compiling human-panic v2.0.3
Compiling scrypt v0.11.0
Compiling tree-sitter-highlight v0.24.4
Compiling systemd-journal-logger v2.2.2
Compiling itertools v0.14.0
Compiling popol v3.0.0
Compiling timeago v0.4.2
Compiling bytes v1.10.1
Compiling io-reactor v0.5.2
Compiling socket2 v0.5.7
Compiling yansi v0.5.1
Compiling radicle-node v0.15.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-node)
Compiling diff v0.1.13
Compiling pretty_assertions v1.4.0
Compiling netservices v0.8.0
Compiling radicle-systemd v0.10.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-systemd)
Compiling num-integer v0.1.46
Compiling escargot v0.5.10
Compiling num-bigint v0.4.6
Compiling radicle-remote-helper v0.13.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-remote-helper)
Compiling num-iter v0.1.45
Compiling num-complex v0.4.6
Compiling num-rational v0.4.2
Compiling env_filter v0.1.3
Compiling zerocopy v0.7.35
Compiling bit-vec v0.8.0
Compiling borrow-or-share v0.2.2
Compiling fluent-uri v0.3.2
Compiling ahash v0.8.11
Compiling bit-set v0.8.0
Compiling env_logger v0.11.8
Compiling num v0.4.3
Compiling phf_shared v0.11.3
Compiling vsimd v0.8.0
Compiling outref v0.5.2
Compiling test-log v0.2.18
Compiling referencing v0.30.0
Compiling phf v0.11.3
Compiling uuid-simd v0.8.0
Compiling fraction v0.15.3
Compiling fancy-regex v0.14.0
Compiling email_address v0.2.9
Compiling base64 v0.22.1
Compiling num-cmp v0.1.0
Compiling bytecount v0.6.8
Compiling jsonschema v0.30.0
Compiling emojis v0.6.4
Compiling git2 v0.19.0
Compiling radicle-git-ext v0.8.1
Compiling radicle-term v0.15.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-term)
Compiling radicle-crypto v0.13.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-crypto)
Compiling radicle-cob v0.16.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-cob)
Compiling radicle v0.19.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle)
Compiling radicle-fetch v0.15.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-fetch)
Compiling radicle-protocol v0.3.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-protocol)
Compiling radicle-cli-test v0.13.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-cli-test)
Compiling radicle-schemars v0.5.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-schemars)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s
+ 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 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-ssh)
Compiling num-traits v0.2.19
Checking url v2.5.4
Checking radicle-dag v0.10.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-dag)
Checking git2 v0.19.0
Checking chrono v0.4.38
Checking bstr v1.9.1
Compiling amplify_syn v2.0.1
Compiling proc-macro-error v1.0.4
Checking gix-path v0.10.15
Checking git-ref-format-core v0.3.1
Checking gix-date v0.9.4
Compiling data-encoding-macro-internal v0.1.12
Compiling git-ref-format-macro v0.3.1
Checking gix-actor v0.33.2
Checking gix-validate v0.9.4
Compiling amplify_derive v4.0.0
Checking gix-object v0.46.1
Checking data-encoding-macro v0.1.14
Checking multibase v0.9.1
Checking gix-commitgraph v0.25.1
Checking git-ref-format v0.3.1
Checking radicle-git-ext v0.8.1
Checking gix-command v0.4.1
Checking radicle-signals v0.11.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-signals)
Checking regex v1.11.1
Checking gix-revwalk v0.17.0
Checking gix-url v0.28.2
Checking gix-config-value v0.14.12
Checking tree-sitter v0.24.4
Checking gix-quote v0.4.15
Checking gix-revision v0.31.1
Checking gix-prompt v0.9.1
Checking gix-traverse v0.43.1
Checking uuid v1.16.0
Checking gix-diff v0.49.0
Checking gix-packetline v0.18.4
Compiling radicle-cli v0.16.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-cli)
Checking radicle-surf v0.22.0
Checking gix-pack v0.56.0
Checking gix-transport v0.44.0
Checking human-panic v2.0.3
Checking gix-credentials v0.26.0
Checking gix-refspec v0.27.0
Checking tree-sitter-toml-ng v0.6.0
Checking tree-sitter-highlight v0.24.4
Checking gix-negotiate v0.17.0
Checking amplify v4.6.0
Checking gix-ref v0.49.1
Checking gix-shallow v0.1.0
Checking radicle-term v0.15.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-term)
Checking gix-odb v0.66.0
Checking cyphergraphy v0.3.0
Checking cypheraddr v0.4.0
Checking noise-framework v0.4.0
Checking gix-protocol v0.47.0
Checking socks5-client v0.4.1
Checking io-reactor v0.5.2
Compiling radicle-node v0.15.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-node)
Checking cyphernet v0.5.2
Checking radicle-crypto v0.13.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-crypto)
Checking netservices v0.8.0
Checking radicle-cob v0.16.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-cob)
Checking radicle-systemd v0.10.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-systemd)
Documenting radicle-cob v0.16.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-cob)
Documenting radicle-crypto v0.13.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-crypto)
Documenting radicle-systemd v0.10.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-systemd)
Checking radicle v0.19.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle)
Documenting radicle v0.19.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle)
Documenting radicle-term v0.15.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-term)
Documenting radicle-signals v0.11.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-signals)
Documenting radicle-ssh v0.10.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-ssh)
Documenting radicle-dag v0.10.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-dag)
Checking radicle-fetch v0.15.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-fetch)
Documenting radicle-cli v0.16.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-cli)
Documenting radicle-cli-test v0.13.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-cli-test)
Checking radicle-protocol v0.3.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-protocol)
Documenting radicle-protocol v0.3.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-protocol)
Documenting radicle-node v0.15.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-node)
Checking radicle-remote-helper v0.13.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-remote-helper)
Documenting radicle-remote-helper v0.13.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-remote-helper)
Documenting radicle-schemars v0.5.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-schemars)
Documenting radicle-fetch v0.15.0 (/632e50d3-46aa-4262-91f2-6950db05304c/w/crates/radicle-fetch)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.81s
Generated /632e50d3-46aa-4262-91f2-6950db05304c/w/target/doc/radicle/index.html and 16 other files
+ cargo test --workspace --no-fail-fast
Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
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::securesystemslib_asserts ... ok
test canonical::formatter::test::ordered_nested_object ... ok
test cob::cache::migrations::_2::tests::test_patch_json_deserialization ... ok
test cob::cache::tests::test_migrate_to ... 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::migrations::_2::tests::test_migration_2 ... ok
test cob::identity::test::prop_json_eq_str ... ok
test cob::identity::test::test_identity_remove_delegate_concurrent ... ok
test cob::identity::test::test_identity_redact_revision ... ok
test cob::identity::test::test_identity_reject_concurrent ... ok
test cob::identity::test::test_identity_update_rejected ... 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_identity_updates_concurrent ... ok
test cob::identity::test::test_valid_identity ... ok
test cob::issue::test::test_embeds ... ok
test cob::identity::test::test_identity_updates_concurrent_outdated ... ok
test cob::issue::test::test_embeds_edit ... ok
test cob::issue::test::test_invalid_actions ... ok
test cob::issue::test::test_invalid_cob ... ok
test cob::issue::test::test_invalid_tx_reference ... ok
test cob::issue::test::test_invalid_tx ... ok
test cob::issue::test::test_issue_all ... ok
test cob::issue::test::test_issue_comment ... ok
test cob::issue::test::test_concurrency ... ok
test cob::issue::test::test_issue_comment_redact ... 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_assign ... ok
test cob::issue::test::test_issue_create_and_unassign ... ok
test cob::issue::test::test_issue_create_and_reassign ... 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_list ... ok
test cob::patch::cache::tests::test_get ... ok
test cob::patch::cache::tests::test_list_by_status ... 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_counts ... ok
test cob::patch::cache::tests::test_remove ... ok
test cob::patch::test::test_patch_merge ... ok
test cob::patch::test::test_patch_create_and_get ... ok
test cob::patch::test::test_patch_discussion ... ok
test cob::patch::test::test_patch_review_comment ... ok
test cob::patch::test::test_patch_redact ... ok
test cob::patch::test::test_patch_review ... ok
test cob::patch::test::test_patch_review_edit ... ok
test cob::patch::test::test_patch_review_duplicate ... ok
test cob::patch::test::test_patch_review_edit_comment ... 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_revision_review_merge_redacted ... ok
test cob::stream::tests::test_all_from ... ok
test cob::patch::test::test_patch_review_revision_redact ... ok
test cob::stream::tests::test_all_from_until ... ok
test cob::stream::tests::test_all_until ... ok
test cob::patch::test::test_patch_update ... ok
test cob::stream::tests::test_from_until ... ok
test cob::thread::tests::test_comment_edit_missing ... ok
test cob::stream::tests::test_regression_from_until ... ok
test cob::thread::tests::test_comment_edit_redacted ... ok
test cob::thread::tests::test_comment_redact_missing ... ok
test cob::thread::tests::test_edit_comment ... ok
test cob::thread::tests::test_redact_comment ... ok
test cob::thread::tests::test_duplicate_comments ... 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 git::canonical::rules::tests::test_canonical ... 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_rule_validate_failures ... 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 cob::thread::tests::prop_ordering ... 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 git::canonical::tests::test_quorum_properties ... 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 identity::doc::test::test_max_delegates ... ok
test node::address::store::test::test_empty ... 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_entries ... ok
test node::address::store::test::test_insert_and_update ... ok
test node::address::store::test::test_insert_and_remove ... ok
test node::address::store::test::test_insert_duplicate ... ok
test node::address::store::test::test_node_aliases ... ok
test node::config::test::partial ... ok
test node::db::test::test_version ... 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::address::store::test::test_remove_nothing ... ok
test node::notifications::store::test::test_counts_by_repo ... ok
test node::notifications::store::test::test_notification_status ... ok
test node::notifications::store::test::test_duplicate_notifications ... 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_entries ... ok
test node::routing::test::test_count ... 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_and_remove ... ok
test node::routing::test::test_insert_duplicate ... ok
test node::routing::test::test_len ... ok
test node::routing::test::test_insert_existing_updated_time ... 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 node::routing::test::test_prune ... 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::sync::announce::test::announcer_reached_max_replication_target ... ok
test node::sync::announce::test::announcer_reached_min_replication_target ... ok
test node::sync::announce::test::announcer_synced_with_unknown_node ... ok
test cob::patch::cache::tests::test_find_by_revision ... 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_preferred_seeds ... ok
test node::sync::announce::test::cannot_construct_announcer ... ok
test node::sync::announce::test::construct_node_appears_in_multiple_input_sets ... ok
test node::sync::announce::test::construct_only_preferred_seeds_provided ... 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::local_node_in_preferred_seeds ... ok
test node::sync::announce::test::local_node_only_in_all_sets_results_in_no_seeds_error ... ok
test node::sync::announce::test::local_node_in_synced_set ... 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::synced_with_local_node_is_ignored ... ok
test node::sync::announce::test::preferred_seeds_already_synced ... ok
test node::sync::announce::test::timed_out_after_reaching_success ... ok
test node::sync::fetch::test::all_nodes_are_candidates ... 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::preferred_seeds_target_returned_over_replicas ... ok
test node::sync::fetch::test::reaches_target_of_max_replicas ... ok
test node::sync::test::ensure_replicas_construction ... 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 node::sync::fetch::test::reaches_target_of_preferred_seeds ... ok
test profile::test::canonicalize_home ... ok
test profile::test::test_config ... ok
test node::sync::fetch::test::reaches_target_of_replicas ... ok
test rad::tests::test_checkout ... ok
test rad::tests::test_fork ... ok
test serde_ext::test::test_localtime ... ok
test serde_ext::test::test_localtime_ext ... ok
test storage::git::tests::test_references_of ... ok
test rad::tests::test_init ... ok
test profile::config::test::schema ... ok
test storage::git::transport::local::url::test::test_url_parse ... 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::git::tests::test_sign_refs ... 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 identity::doc::test::prop_encode_decode ... ok
test storage::refs::tests::test_rid_verification ... ok
test result: ok. 237 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.37s
Running unittests src/lib.rs (target/debug/deps/radicle_cli-ae516ae54815c8ab)
running 14 tests
test commands::inspect::test::test_tree ... ok
test commands::patch::review::builder::tests::test_review_comments_before ... ok
test commands::patch::review::builder::tests::test_review_comments_basic ... ok
test commands::patch::review::builder::tests::test_review_comments_multiline ... ok
test commands::patch::review::builder::tests::test_review_comments_split_hunk ... ok
test git::ddiff::tests::diff_encode_decode_ddiff_hunk ... ok
test git::pretty_diff::test::test_pretty ... ignored
test git::unified_diff::test::test_diff_content_encode_decode_content ... 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.01s
Running unittests src/main.rs (target/debug/deps/rad-597f7faaf04d48a1)
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-6d4e4b633599de01)
running 101 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_push_rollback ... ok
test rad_checkout ... ok
test git_tag ... ok
test git_push_converge ... ok
test rad_clone ... ok
test rad_clean ... ok
test rad_clone_connect ... ok
test rad_clone_unknown ... ok
test rad_clone_directory ... ok
test rad_clone_all ... ok
test rad_cob_multiset ... ok
test rad_cob_log ... ok
test rad_cob_operations ... ok
test rad_cob_migrate ... ok
test rad_clone_partial_fail ... ok
test rad_cob_show ... ok
test rad_cob_update_identity ... ok
test rad_config ... ok
test rad_cob_update ... 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_detached_head ... ok
test rad_init_existing ... ok
test rad_init_no_git ... ok
test rad_init_no_seed ... ok
test rad_init_private ... ok
test rad_init_private_clone ... ok
test rad_inbox ... 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_with_existing_remote ... ok
test rad_init_sync_preferred ... 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_node ... ok
test rad_patch ... ok
test rad_patch_change_base ... ok
test rad_patch_ahead_behind ... 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_patch_draft ... ok
test rad_init_sync_and_clone ... ok
test rad_init_sync_timeout ... ok
test rad_patch_edit ... ok
test rad_patch_fetch_2 ... ok
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_open_explore ... ok
test rad_publish ... ok
test rad_patch_via_push ... 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_push_and_pull_patches ... ok
test rad_unseed ... ok
test rad_warn_old_nodes ... ok
test rad_unseed_many ... ok
test rad_watch ... ok
test rad_sync ... 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
test result: ok. 99 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 74.12s
Running unittests src/lib.rs (target/debug/deps/radicle_cli_test-02c49dd618f210d3)
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.01s
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::list_cobs ... ok
test type_name::test::valid_typenames ... ok
test tests::roundtrip ... ok
test tests::update_cob ... ok
test tests::traverse_cobs ... ok
test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
Running unittests src/lib.rs (target/debug/deps/radicle_crypto-b4d9cbb5b8695904)
running 12 tests
test ssh::fmt::test::test_fingerprint ... ok
test ssh::fmt::test::test_key ... 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_key_equality ... ok
test tests::test_e25519_dh ... ok
test tests::test_encode_decode ... ok
test tests::prop_encode_decode ... 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.83s
Running unittests src/lib.rs (target/debug/deps/radicle_dag-7d941d2839407890)
running 20 tests
test tests::test_complex ... ok
test tests::test_contains ... ok
test tests::test_dependencies ... ok
test tests::test_fold_diamond ... ok
test tests::test_diamond ... ok
test tests::test_fold_multiple_roots ... ok
test tests::test_fold_sorting_1 ... ok
test tests::test_fold_reject ... ok
test tests::test_cycle ... ok
test tests::test_is_empty ... ok
test tests::test_len ... ok
test tests::test_fold_sorting_2 ... ok
test tests::test_get ... ok
test tests::test_merge_1 ... ok
test tests::test_merge_2 ... ok
test tests::test_prune_1 ... ok
test tests::test_prune_2 ... ok
test tests::test_remove ... ok
test tests::test_prune_by_sorting ... ok
test tests::test_siblings ... 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-7faa0695db1998fb)
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_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_concurrent_fetches ... ok
test tests::e2e::test_fetch_emits_canonical_ref_update ... ok
test tests::e2e::test_inventory_sync_basic ... 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_inventory_sync_bridge ... ok
test tests::e2e::test_inventory_sync_ring ... ok
test tests::e2e::test_replication_invalid ... ok
test tests::e2e::test_inventory_sync_star ... ok
test tests::e2e::test_replication_ref_in_sigrefs ... ok
test tests::test_announcement_rebroadcast ... ok
test tests::test_announcement_rebroadcast_duplicates ... ok
test tests::test_announcement_relay ... ok
test tests::test_announcement_rebroadcast_timestamp_filtered ... ok
test tests::test_connection_kept_alive ... 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_persistent_peer_reconnect_attempt ... ok
test tests::test_inventory_pruning ... ok
test tests::test_persistent_peer_reconnect_success ... 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_seed_repo_subscribe ... ok
test tests::test_refs_synced_event ... ok
test wire::test::test_inventory_ann_with_extension ... ok
test wire::test::test_pong_message_with_extension ... ok
test tests::test_seeding ... 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 18.64s
Running unittests src/main.rs (target/debug/deps/radicle_node-d75b9f4083a63ba9)
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 deserializer::test::prop_decode_next ... ok
test service::filter::test::test_parameters ... ok
test service::limiter::test::test_limitter_different_rates ... ok
test service::limiter::test::test_limitter_refill ... ok
test service::filter::test::test_sizes ... ok
test service::limiter::test::test_limitter_multi ... 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::tests::prop_roundtrip_signed_refs ... 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::message::tests::test_refs_ann_max_size ... 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.55s
Running unittests src/lib.rs (target/debug/deps/radicle_remote_helper-1b5aa713d043edb9)
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
Running unittests src/git-remote-rad.rs (target/debug/deps/git_remote_rad-385aadb82d5bf542)
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-c91a52763de42ebe)
running 21 tests
test cell::test::test_width ... ok
test ansi::tests::colors_disabled ... ok
test ansi::tests::colors_enabled ... ok
test ansi::tests::wrapping ... ok
test element::test::test_spaced ... ok
test element::test::test_truncate ... ok
test table::test::test_table ... ok
test element::test::test_width ... ok
test table::test::test_table_truncate ... ok
test table::test::test_table_border_maximized ... ok
test table::test::test_table_border ... ok
test table::test::test_table_border_truncated ... ok
test table::test::test_table_unicode ... ok
test table::test::test_truncate ... ok
test textarea::test::test_wrapping ... ok
test table::test::test_table_unicode_truncate ... ok
test textarea::test::test_wrapping_fenced_block ... ok
test vstack::test::test_vstack ... ok
test textarea::test::test_wrapping_paragraphs ... ok
test vstack::test::test_vstack_maximize ... ok
test textarea::test::test_wrapping_code_block ... 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.57s
Doc-tests radicle_remote_helper
running 0 tests
test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
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.50s
Exit code: 0
{
"response": "finished",
"result": "success"
}