rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwoodc86a732c154fde75caee5b574d0a8ce79532bc52
{
"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": "Created",
"patch": {
"id": "940f3e1fd375f533e535ab3b0bfd28fb8ea19a52",
"author": {
"id": "did:key:z6MkrnXJWPndzPBxpBUaE3L3BnMeWpaQdT1V1FvkoCPFSFS3",
"alias": "yorgos-laptop"
},
"title": "cli: add `--title` and `--description` options to `rad issue edit`",
"state": {
"status": "merged",
"conflicts": []
},
"before": "eb095c109b176eb9594ab5f99881bccf06213459",
"after": "c86a732c154fde75caee5b574d0a8ce79532bc52",
"commits": [
"c86a732c154fde75caee5b574d0a8ce79532bc52"
],
"target": "6cfed884bf37cba1e0d8e97fa8b0e94df4a04b1f",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "940f3e1fd375f533e535ab3b0bfd28fb8ea19a52",
"author": {
"id": "did:key:z6MkrnXJWPndzPBxpBUaE3L3BnMeWpaQdT1V1FvkoCPFSFS3",
"alias": "yorgos-laptop"
},
"description": "These were missing, causing an `invalid option` error.\n\nSigned-off-by: Yorgos Saslis <yorgos.work@proton.me>",
"base": "eb095c109b176eb9594ab5f99881bccf06213459",
"oid": "d814686e5745bf4b60a55de15de01abece2809a3",
"timestamp": 1733502805
},
{
"id": "61d989058749be26870930d1487db58ff5376bfd",
"author": {
"id": "did:key:z6MkrnXJWPndzPBxpBUaE3L3BnMeWpaQdT1V1FvkoCPFSFS3",
"alias": "yorgos-laptop"
},
"description": "",
"base": "eb095c109b176eb9594ab5f99881bccf06213459",
"oid": "c86a732c154fde75caee5b574d0a8ce79532bc52",
"timestamp": 1733503353
},
{
"id": "f4930bfd73914e1554ef84d31991f9088b0dc223",
"author": {
"id": "did:key:z6MkrnXJWPndzPBxpBUaE3L3BnMeWpaQdT1V1FvkoCPFSFS3",
"alias": "yorgos-laptop"
},
"description": "Changes:\n- Rebased on d9c76893a144fd787654613f2bfb919613014a71\n- Fixed formatting",
"base": "d9c76893a144fd787654613f2bfb919613014a71",
"oid": "bc5b0d68c8fd4e2f5c0e05c88caff90a0a320740",
"timestamp": 1733505114
},
{
"id": "b35b58f7ae3858f6b2ed258e4d82b1ad7d1fbb7a",
"author": {
"id": "did:key:z6MkrnXJWPndzPBxpBUaE3L3BnMeWpaQdT1V1FvkoCPFSFS3",
"alias": "yorgos-laptop"
},
"description": "Rebase.",
"base": "87cb7bf52da9ea5def8fd6ba80703dbdf5104d21",
"oid": "a1cd0e2fdc9416a6841e15bb1075db0e7a99424c",
"timestamp": 1736858701
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "c9262cb2-535d-4a94-997d-778fe5520bef"
},
"info_url": "https://cci.rad.levitte.org//c9262cb2-535d-4a94-997d-778fe5520bef.html"
}
Started at: 2025-10-21 20:00:25.119956+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/c9262cb2-535d-4a94-997d-778fe5520bef/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 125 issues · 15 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout 940f3e1fd375f533e535ab3b0bfd28fb8ea19a52
✓ Switched to branch patch/940f3e1 at revision 61d9890
✓ Branch patch/940f3e1 setup to track rad/patches/940f3e1fd375f533e535ab3b0bfd28fb8ea19a52
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout c86a732c154fde75caee5b574d0a8ce79532bc52
HEAD is now at c86a732c cli: Add `--title` and `--description` edit option
Exit code: 0
$ git show c86a732c154fde75caee5b574d0a8ce79532bc52
commit c86a732c154fde75caee5b574d0a8ce79532bc52
Author: Yorgos Saslis <yorgos.work@proton.me>
Date: Fri Dec 6 18:32:57 2024 +0200
cli: Add `--title` and `--description` edit option
These were missing, causing an `invalid option` error.
Signed-off-by: Yorgos Saslis <yorgos.work@proton.me>
diff --git a/radicle-cli/src/commands/issue.rs b/radicle-cli/src/commands/issue.rs
index 08220e89..1ac172eb 100644
--- a/radicle-cli/src/commands/issue.rs
+++ b/radicle-cli/src/commands/issue.rs
@@ -38,7 +38,7 @@ Usage
rad issue [<option>...]
rad issue delete <issue-id> [<option>...]
- rad issue edit <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>...]
@@ -222,10 +222,13 @@ impl Args for Options {
});
}
- // Open options.
- Long("title") if op == Some(OperationName::Open) => {
+ // Open/Edit options.
+ Long("title") if op == Some(OperationName::Open) || op == Some(OperationName::Edit) => {
title = Some(parser.value()?.to_string_lossy().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);
@@ -239,9 +242,6 @@ impl Args for Options {
assignees.push(did);
}
- Long("description") if op == Some(OperationName::Open) => {
- description = Some(parser.value()?.to_string_lossy().into());
- }
// State options.
Long("closed") if op == Some(OperationName::State) => {
Exit code: 0
shell: 'cargo --version rustc --version cargo fmt --check cargo clippy --all-targets --workspace -- --deny clippy::all cargo build --all-targets --workspace cargo doc --workspace cargo test --workspace --no-fail-fast '
Commands:
$ podman run --name c9262cb2-535d-4a94-997d-778fe5520bef -v /opt/radcis/ci.rad.levitte.org/cci/state/c9262cb2-535d-4a94-997d-778fe5520bef/s:/c9262cb2-535d-4a94-997d-778fe5520bef/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/c9262cb2-535d-4a94-997d-778fe5520bef/w:/c9262cb2-535d-4a94-997d-778fe5520bef/w -w /c9262cb2-535d-4a94-997d-778fe5520bef/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:bookworm bash /c9262cb2-535d-4a94-997d-778fe5520bef/s/script.sh
+ cargo --version
info: syncing channel updates for '1.80-x86_64-unknown-linux-gnu'
info: latest update on 2024-08-08, rust version 1.80.1 (3f5fd8dd4 2024-08-06)
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.80.1 (376290515 2024-07-16)
+ rustc --version
rustc 1.80.1 (3f5fd8dd4 2024-08-06)
+ cargo fmt --check
Diff in /c9262cb2-535d-4a94-997d-778fe5520bef/w/radicle-cli/src/commands/issue.rs at line 223:
}
// Open/Edit options.
- Long("title") if op == Some(OperationName::Open) || op == Some(OperationName::Edit) => {
+ Long("title")
+ if op == Some(OperationName::Open) || op == Some(OperationName::Edit) =>
+ {
title = Some(parser.value()?.to_string_lossy().into());
}
- Long("description") if op == Some(OperationName::Open) || op == Some(OperationName::Edit) => {
+ 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)) => {
Exit code: 1
{
"response": "finished",
"result": "failure"
}