rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwood0cb40e011d720424b86c882fdd739c8590ab9622
{
"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": "0866819acc9414f83f2c57ff65917bc8b79bbfd2",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"title": "Add clap for parsing cli args",
"state": {
"status": "draft",
"conflicts": []
},
"before": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"after": "0cb40e011d720424b86c882fdd739c8590ab9622",
"commits": [
"0cb40e011d720424b86c882fdd739c8590ab9622",
"b0dbfd5932e2125bdad4d2525c6eff2990b3844a",
"476d67f1ec3fae11b0b1a5520481fe1ac933bf39",
"b34a818cbbcd6e822324d6082170071e1be6597d",
"0d17c8f4bac11abfd806dbfccedc1ee543ae25f5",
"db664c8aefc249130c0f6bc63027465f22da505f"
],
"target": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "0866819acc9414f83f2c57ff65917bc8b79bbfd2",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Refactored the issue command using clap\n\n\nSet clap help_template\n\n\ncli: issue command shouldn't ask for passphrase on read-only operations\n\n\ncli: remove cli.rs and set default value for issue list --assigned\n\n\ncli: Add completion stubs for bash/zsh/fish\n\n\nPoint clap fork dep to github.com/icetan instead of local path\n\n\nBump nixpkgs to support latest version of clap",
"base": "54aacc96197a48b79fcc260f94312d824f5e0a34",
"oid": "195bae992f9ac5adc8f5e0554443f0bda2489a48",
"timestamp": 1710518037
},
{
"id": "31f6309a5f0f387bbd3e565371e729ab150b0b2f",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Changes:\n- Pin Nix back to release\n- WIP adding zsh completion to flake.nix\n- Some clean up",
"base": "064ece32ac0a0bd0efe4f459dcb0462bafc236e6",
"oid": "89de84f7491dab3b0066dccc62a730597e55e295",
"timestamp": 1716315598
},
{
"id": "391d2721520c45a93ad692e9c03dda505ce8efa7",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Changes:\n- reorganise args and commands into a module",
"base": "064ece32ac0a0bd0efe4f459dcb0462bafc236e6",
"oid": "8c8a2036b8aab7cc353f50b66b5fc6591ebe6477",
"timestamp": 1716453594
},
{
"id": "80b01629088d0dc2b1d0b7a226940d08345d3d88",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Changes:\n- Clean up on state transition argument\n- Show off the power of forcing documentation to ensure all fields are\n documented for the help output",
"base": "064ece32ac0a0bd0efe4f459dcb0462bafc236e6",
"oid": "15c4e1774946669877a781efd467db2f1e4b19b3",
"timestamp": 1716469647
},
{
"id": "6aef9c73473ca73f56f23bbd863b75ee732c23c0",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Rebase. Does not require icetan's fork anymore.",
"base": "01bed73a60ab429c3f90a90bdc31a138ed54c78e",
"oid": "62e4ff4e9ca9e0fa1641f72914bf50f59afcc628",
"timestamp": 1755447227
},
{
"id": "b58ccaba25524e4febd24f4bab5de5cbc5a6723f",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Here are some changes to the clap proposal.\n\nI used `git commit --fixup` for the smaller stuff and properly committed bigger changes.\n\nThe fixup commits are:\n\n* I rewrote a comment to be more accurate\n* I renamed the `Commands` enum to `Command`, because that's only ever one, not multiple\n\nFeel free to squash them away or, if you want them to be individual commits (be\nmy guest!) rewrite their commit message (or order me to do it)!",
"base": "01bed73a60ab429c3f90a90bdc31a138ed54c78e",
"oid": "3c581d9df5e24b183e0478f43e3e20f8928d5b14",
"timestamp": 1755452435
},
{
"id": "c0dcf6b4e19632014e147b7a59e8d2e735865886",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Squash in Matthias' improvements. Thanks!",
"base": "01bed73a60ab429c3f90a90bdc31a138ed54c78e",
"oid": "88b6728e8127044855311997334b337d7bdc7c77",
"timestamp": 1755454563
},
{
"id": "48e2bcf08c6a06053d9c0d8e693c5b54f699441d",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Rebase",
"base": "55cdd880bfee08124d5b6a38cc05036402c7ab6e",
"oid": "8f5f7b596f22c68e6bebfd180beafb10eaa63a15",
"timestamp": 1756585509
},
{
"id": "6a1599d3cc78a825cce22b5893743bc0aff74ad0",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Some changes for converting the `rad patch` command to clap\n\nRight now this is in-flight. It does not even compile. But I am out of\nbrain-power now, so this will not be continued right now.\n\nI am publishing this in the state it is, though, so that it is visible that I\nam working on it, so we do not duplicate work here.",
"base": "55cdd880bfee08124d5b6a38cc05036402c7ab6e",
"oid": "cb34d688533c6e42d0df840f86e823d5b9b3b03b",
"timestamp": 1757082445
},
{
"id": "377bce2a8474071107464235b1c0f6408e8b7b77",
"author": {
"id": "did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz",
"alias": "lorenz"
},
"description": "Rebase",
"base": "646d4360e7d905f0a9ec87d32c6768c5390eabf3",
"oid": "0cb40e011d720424b86c882fdd739c8590ab9622",
"timestamp": 1757575566
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "e052bfb6-377d-4126-a309-8d6e1746c9ce"
},
"info_url": "https://cci.rad.levitte.org//e052bfb6-377d-4126-a309-8d6e1746c9ce.html"
}
Started at: 2025-09-11 09:26:14.043527+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/e052bfb6-377d-4126-a309-8d6e1746c9ce/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 112 issues · 17 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout 0866819acc9414f83f2c57ff65917bc8b79bbfd2
✓ Switched to branch patch/0866819 at revision 0866819
✓ Branch patch/0866819 setup to track rad/patches/0866819acc9414f83f2c57ff65917bc8b79bbfd2
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout 0cb40e011d720424b86c882fdd739c8590ab9622
HEAD is now at 0cb40e01 fixup! cli/patch: Use clap
Exit code: 0
$ git show 0cb40e011d720424b86c882fdd739c8590ab9622
commit 0cb40e011d720424b86c882fdd739c8590ab9622
Author: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
Date: Thu Sep 11 09:22:40 2025 +0200
fixup! cli/patch: Use clap
diff --git a/crates/radicle-cli/src/commands/patch.rs b/crates/radicle-cli/src/commands/patch.rs
index 2745b718..d06a1157 100644
--- a/crates/radicle-cli/src/commands/patch.rs
+++ b/crates/radicle-cli/src/commands/patch.rs
@@ -31,7 +31,7 @@ use radicle::patch::cache::Patches as _;
use radicle::storage::git::transport;
use radicle::{prelude::*, Node};
-use crate::commands::rad_patch::args::{Command, CommentSubcommand};
+use crate::commands::patch::args::{Command, CommentSubcommand};
use crate::git::Rev;
use crate::node;
use crate::terminal as term;
@@ -224,7 +224,7 @@ pub fn run(args: Args, ctx: impl term::Context) -> anyhow::Result<()> {
Some(Command::Update {
ref patch_id,
ref base_id,
- message: crate::commands::rad_patch::args::UpdateMessageArg { message, no_message: _ },
+ message: crate::commands::patch::args::UpdateMessageArg { message, no_message: _ },
}) => {
let patch_id = patch_id.resolve(&repository.backend)?;
let base_id = base_id
diff --git a/crates/radicle-cli/src/commands/patch/args.rs b/crates/radicle-cli/src/commands/patch/args.rs
index 8eb49e53..26bbbc1c 100644
--- a/crates/radicle-cli/src/commands/patch/args.rs
+++ b/crates/radicle-cli/src/commands/patch/args.rs
@@ -75,12 +75,12 @@ pub struct ReviewOptions {
pub delete: bool,
}
-impl From<ReviewOptions> for crate::commands::rad_patch::review::Options {
+impl From<ReviewOptions> for crate::commands::patch::review::Options {
fn from(value: ReviewOptions) -> Self {
Self {
message: value.message.into(),
op: if value.delete {
- crate::commands::rad_patch::review::Operation::Delete
+ crate::commands::patch::review::Operation::Delete
} else {
todo!()
}
@@ -131,7 +131,7 @@ pub struct CheckoutOptions {
pub force: bool,
}
-impl From<CheckoutOptions> for crate::commands::rad_patch::checkout::Options {
+impl From<CheckoutOptions> for crate::commands::patch::checkout::Options {
fn from(value: CheckoutOptions) -> Self {
Self {
name: value.name,
diff --git a/crates/radicle-cli/src/main.rs b/crates/radicle-cli/src/main.rs
index 6f73a557..ee47cdc1 100644
--- a/crates/radicle-cli/src/main.rs
+++ b/crates/radicle-cli/src/main.rs
@@ -10,7 +10,7 @@ use clap_complete::Shell;
use radicle::version::Version;
use radicle_cli::commands::rad_issue;
-use radicle_cli::commands::rad_patch;
+use radicle_cli::commands::patch;
use radicle_cli::commands::*;
use radicle_cli::terminal as term;
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 e052bfb6-377d-4126-a309-8d6e1746c9ce -v /opt/radcis/ci.rad.levitte.org/cci/state/e052bfb6-377d-4126-a309-8d6e1746c9ce/s:/e052bfb6-377d-4126-a309-8d6e1746c9ce/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/e052bfb6-377d-4126-a309-8d6e1746c9ce/w:/e052bfb6-377d-4126-a309-8d6e1746c9ce/w -w /e052bfb6-377d-4126-a309-8d6e1746c9ce/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:bookworm bash /e052bfb6-377d-4126-a309-8d6e1746c9ce/s/script.sh
time="2025-09-11T09:26:16+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-11T09:26:16+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
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `,`
--> /e052bfb6-377d-4126-a309-8d6e1746c9ce/w/crates/radicle-cli/src/commands/patch.rs:438:29
|
438 | unimplemented!(),
| ^ expected one of `.`, `;`, `?`, `}`, or an operator
Error writing files: failed to resolve mod `patch`: cannot parse /e052bfb6-377d-4126-a309-8d6e1746c9ce/w/crates/radicle-cli/src/commands/patch.rs
Diff in /e052bfb6-377d-4126-a309-8d6e1746c9ce/w/crates/radicle-cli/src/main.rs:9:
use clap_complete::Shell;
use radicle::version::Version;
-use radicle_cli::commands::rad_issue;
use radicle_cli::commands::patch;
+use radicle_cli::commands::rad_issue;
use radicle_cli::commands::*;
use radicle_cli::terminal as term;
Exit code: 1
{
"response": "finished",
"result": "failure"
}