rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwood9801ac16d5295ea3a59c09767d94d29cc0c49f39
{
"request": "trigger",
"version": 1,
"event_type": "patch",
"repository": {
"id": "rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5",
"name": "heartwood",
"description": "Radicle Heartwood Protocol & Stack",
"private": false,
"default_branch": "master",
"delegates": [
"did:key:z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT",
"did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"did:key:z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz"
]
},
"action": "Created",
"patch": {
"id": "dcc973839c7372b310c34c838c93bbb2e035b282",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"title": "cli: document `rad inbox show`",
"state": {
"status": "merged",
"conflicts": []
},
"before": "9767b485c2aad1e23097d2b5165287ba84cfa452",
"after": "9801ac16d5295ea3a59c09767d94d29cc0c49f39",
"commits": [
"9801ac16d5295ea3a59c09767d94d29cc0c49f39"
],
"target": "3fc92f83fe089263c470b328414d923227cf0e4a",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "dcc973839c7372b310c34c838c93bbb2e035b282",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"description": "The documentation for `rad inbox show` was missing.\n\nAdd documentation into the help message.",
"base": "f46d396e12e880825cfbd10db471db4f4cae5b34",
"oid": "57a23d0dfa6b9ab7b54241975c4cbae17ca87f05",
"timestamp": 1707317108
},
{
"id": "39dc91960ae95f90686deb536f11f9a285552ec1",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"description": "Changes:\n- mention that show marks notifications as read\n- document `rad inbox clear`",
"base": "9767b485c2aad1e23097d2b5165287ba84cfa452",
"oid": "799f13a22d7fc36dd3a1ec86160fb3bf6b93e15b",
"timestamp": 1708089778
},
{
"id": "39ef4685ad588d537ca1aa6f78565da310208be9",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"description": "Changes:\n- fixup commits",
"base": "9767b485c2aad1e23097d2b5165287ba84cfa452",
"oid": "9801ac16d5295ea3a59c09767d94d29cc0c49f39",
"timestamp": 1708091356
},
{
"id": "2d7246b859f74310a31abaa092b687dfdfac08e0",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"description": "Rebase.",
"base": "b6e1385e39e3d454fbe16088207f5a027742a11b",
"oid": "50833d88d9ce10f1f056598148a010e28d03278f",
"timestamp": 1709938918
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "0e92b981-077f-4630-9183-cc9177a56472"
},
"info_url": "https://cci.rad.levitte.org//0e92b981-077f-4630-9183-cc9177a56472.html"
}
Started at: 2026-09-08 04:23:01.635312+02:00
Commands:
$ rad clone rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 .
✓ Creating checkout in ./...
✓ Remote cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT added
✓ Remote-tracking branch cloudhead@z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT/master created for z6MksFqXN3Yhqk8pTJdUGLwATkRfQvwZXPqR2qMEhbS9wzpT
✓ Remote fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM added
✓ Remote-tracking branch fintohaps@z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM/master created for z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM
✓ Remote lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz added
✓ Remote-tracking branch lorenz@z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz/master created for z6MkkPvBfjP4bQmco5Dm7UGsX2ruDBieEHi8n9DVJWX5sTEz
✓ Repository successfully cloned under /opt/radcis/ci.rad.levitte.org/cci/state/0e92b981-077f-4630-9183-cc9177a56472/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 189 issues · 38 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout dcc973839c7372b310c34c838c93bbb2e035b282
✓ Switched to branch patch/dcc9738 at revision 39ef468
✓ Branch patch/dcc9738 setup to track rad/patches/dcc973839c7372b310c34c838c93bbb2e035b282
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout 9801ac16d5295ea3a59c09767d94d29cc0c49f39
HEAD is now at 9801ac16 cli: document `rad inbox` further
Exit code: 0
$ rad patch show dcc973839c7372b310c34c838c93bbb2e035b282 -p
╭────────────────────────────────────────────────────────────────────────────────╮
│ Title cli: document `rad inbox show` │
│ Patch dcc973839c7372b310c34c838c93bbb2e035b282 │
│ Author fintohaps z6Mkire…SQZ3voM │
│ Head 9801ac16d5295ea3a59c09767d94d29cc0c49f39 │
│ Base 9767b485c2aad1e23097d2b5165287ba84cfa452 │
│ Target master │
│ Branches patch/dcc9738 │
│ Commits ahead 1, behind 1609 │
│ Status merged │
│ │
│ The documentation for `rad inbox show` was missing. │
│ │
│ Add documentation into the help message. │
├────────────────────────────────────────────────────────────────────────────────┤
│ 9801ac1 cli: document `rad inbox` further │
├────────────────────────────────────────────────────────────────────────────────┤
│ ● Revision dcc9738 @ f46d396..57a23d0 by fintohaps z6Mkire…SQZ3voM 2 years ago │
│ ↑ Revision 39dc919 @ 9767b48..799f13a by fintohaps z6Mkire…SQZ3voM 2 years ago │
│ ↑ Revision 39ef468 @ 9767b48..9801ac1 by fintohaps z6Mkire…SQZ3voM 2 years ago │
│ ↑ Revision 2d7246b @ b6e1385..50833d8 by cloudhead z6MksFq…bS9wzpT 2 years ago │
│ └─ ✓ merged by cloudhead z6MksFq…bS9wzpT │
╰────────────────────────────────────────────────────────────────────────────────╯
commit 9801ac16d5295ea3a59c09767d94d29cc0c49f39
Author: Fintan Halpenny <fintan.halpenny@gmail.com>
Date: Wed Feb 7 14:44:08 2024 +0000
cli: document `rad inbox` further
The documentation for `rad inbox show` and `rad inbox clear` were
missing.
Add documentation into the help message for both.
Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
diff --git a/radicle-cli/src/commands/inbox.rs b/radicle-cli/src/commands/inbox.rs
index 702676c5f..51ea18d7b 100644
--- a/radicle-cli/src/commands/inbox.rs
+++ b/radicle-cli/src/commands/inbox.rs
@@ -27,12 +27,19 @@ Usage
rad inbox [<option>...]
rad inbox list [<option>...]
+ rad inbox show <id> [<option>...]
rad inbox clear [<option>...]
By default, this command lists all items in your inbox.
If your working directory is a Radicle repository, it only shows item
belonging to this repository, unless `--all` is used.
+ The `rad inbox show` command takes a notification ID (which can be found in
+ the `list` command) and displays the information related to that
+ notification. This will mark the notification as read.
+
+ The `rad inbox clear` command will delete all notifications in the inbox.
+
Options
--all Operate on all repositories
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 0e92b981-077f-4630-9183-cc9177a56472 -v /opt/radcis/ci.rad.levitte.org/cci/state/0e92b981-077f-4630-9183-cc9177a56472/s:/0e92b981-077f-4630-9183-cc9177a56472/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/0e92b981-077f-4630-9183-cc9177a56472/w:/0e92b981-077f-4630-9183-cc9177a56472/w -w /0e92b981-077f-4630-9183-cc9177a56472/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:trixie bash /0e92b981-077f-4630-9183-cc9177a56472/s/script.sh
+ cargo --version
info: syncing channel updates for '1.74-x86_64-unknown-linux-gnu'
info: latest update on 2023-12-07, rust version 1.74.1 (a28077b28 2023-12-04)
info: downloading component 'cargo'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: installing component 'cargo'
info: installing component 'rust-std'
info: installing component 'rustc'
cargo 1.74.1 (ecb9851af 2023-10-18)
+ rustc --version
rustc 1.74.1 (a28077b28 2023-12-04)
+ cargo fmt --check
error: 'cargo-fmt' is not installed for the toolchain '1.74-x86_64-unknown-linux-gnu'.
To install, run `rustup component add --toolchain 1.74-x86_64-unknown-linux-gnu rustfmt`
Exit code: 1
{
"response": "finished",
"result": "failure"
}