rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwood94f8f6716413f30f5df263092ca4c10a1363ac00
{
"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": "007f6b3cafc188921fdd1489ad6479bf2035adc4",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"title": "cli: test deletion via `git push -d`",
"state": {
"status": "merged",
"conflicts": []
},
"before": "de1958fab04a95f73b7d7dcc62d66775d0854fc1",
"after": "94f8f6716413f30f5df263092ca4c10a1363ac00",
"commits": [
"94f8f6716413f30f5df263092ca4c10a1363ac00"
],
"target": "919d5c780c4da0b5b9f18f1549bc59dffd7125af",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "007f6b3cafc188921fdd1489ad6479bf2035adc4",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"description": "Ensure that remote branches can be delete via the `-d` flag. This\nincludes the fact that one can delete the `refs/heads/patches`\nbranches, as long as they are owned by the current operator.",
"base": "de1958fab04a95f73b7d7dcc62d66775d0854fc1",
"oid": "94f8f6716413f30f5df263092ca4c10a1363ac00",
"timestamp": 1729775986
},
{
"id": "2d4b235f53a47f23398ec8d9a765211c69e1ea53",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"description": "Rebase.",
"base": "43e08a8e70700168767672f80225b19396460122",
"oid": "ccc0297b5acb5a375cebfa7868dd9b891462fe03",
"timestamp": 1731322850
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "f60d5184-8aca-45fa-9af4-1e16d3afc6c6"
},
"info_url": "https://cci.rad.levitte.org//f60d5184-8aca-45fa-9af4-1e16d3afc6c6.html"
}
Started at: 2026-09-07 18:13:21.427277+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/f60d5184-8aca-45fa-9af4-1e16d3afc6c6/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 189 issues · 37 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout 007f6b3cafc188921fdd1489ad6479bf2035adc4
✓ Switched to branch patch/007f6b3 at revision 007f6b3
✓ Branch patch/007f6b3 setup to track rad/patches/007f6b3cafc188921fdd1489ad6479bf2035adc4
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout 94f8f6716413f30f5df263092ca4c10a1363ac00
HEAD is now at 94f8f671 cli: test deletion via `git push -d`
Exit code: 0
$ rad patch show 007f6b3cafc188921fdd1489ad6479bf2035adc4 -p
╭───────────────────────────────────────────────────────────────────────────────╮
│ Title cli: test deletion via `git push -d` │
│ Patch 007f6b3cafc188921fdd1489ad6479bf2035adc4 │
│ Author fintohaps z6Mkire…SQZ3voM │
│ Head 94f8f6716413f30f5df263092ca4c10a1363ac00 │
│ Base de1958fab04a95f73b7d7dcc62d66775d0854fc1 │
│ Target master │
│ Branches patch/007f6b3 │
│ Commits ahead 1, behind 1174 │
│ Status merged │
│ │
│ Ensure that remote branches can be delete via the `-d` flag. This │
│ includes the fact that one can delete the `refs/heads/patches` │
│ branches, as long as they are owned by the current operator. │
├───────────────────────────────────────────────────────────────────────────────┤
│ 94f8f67 cli: test deletion via `git push -d` │
├───────────────────────────────────────────────────────────────────────────────┤
│ ● Revision 007f6b3 @ de1958f..94f8f67 by fintohaps z6Mkire…SQZ3voM 1 year ago │
│ ↑ Revision 2d4b235 @ 43e08a8..ccc0297 by cloudhead z6MksFq…bS9wzpT 1 year ago │
│ └─ ✓ merged by cloudhead z6MksFq…bS9wzpT │
╰───────────────────────────────────────────────────────────────────────────────╯
commit 94f8f6716413f30f5df263092ca4c10a1363ac00
Author: Fintan Halpenny <fintan.halpenny@gmail.com>
Date: Thu Oct 24 09:43:17 2024 +0100
cli: test deletion via `git push -d`
Ensure that remote branches can be delete via the `-d` flag. This
includes the fact that one can delete the `refs/heads/patches`
branches, as long as they are owned by the current operator.
diff --git a/radicle-cli/examples/git/git-push-delete.md b/radicle-cli/examples/git/git-push-delete.md
index 9ca29cdf7..0d4edb5e5 100644
--- a/radicle-cli/examples/git/git-push-delete.md
+++ b/radicle-cli/examples/git/git-push-delete.md
@@ -18,3 +18,18 @@ $ git ls-remote rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JU
ddcc1f164eacfd7dba41da9bff3261da3ee79fd3 refs/heads/alice/2
f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354 refs/heads/master
```
+
+``` (stderr) RAD_SOCKET=/dev/null
+$ git checkout alice/2
+Switched to a new branch 'alice/2'
+$ git push rad HEAD:refs/patches
+✓ Patch bb9b0d5b8de8d5e2a4cba45f02bd35b3e2678fbe opened
+To [..]
+ * [new reference] HEAD -> refs/patches
+```
+
+``` (stderr) RAD_SOCKET=/dev/null
+$ git push rad alice/2 -d
+To rad://z42hL2jL4XNk6K8oHQaSWfMgCL7ji/z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi
+ - [deleted] alice/2
+```
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 f60d5184-8aca-45fa-9af4-1e16d3afc6c6 -v /opt/radcis/ci.rad.levitte.org/cci/state/f60d5184-8aca-45fa-9af4-1e16d3afc6c6/s:/f60d5184-8aca-45fa-9af4-1e16d3afc6c6/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/f60d5184-8aca-45fa-9af4-1e16d3afc6c6/w:/f60d5184-8aca-45fa-9af4-1e16d3afc6c6/w -w /f60d5184-8aca-45fa-9af4-1e16d3afc6c6/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:trixie bash /f60d5184-8aca-45fa-9af4-1e16d3afc6c6/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 /f60d5184-8aca-45fa-9af4-1e16d3afc6c6/w/radicle-cli/src/commands/clone.rs at line 236:
node: &mut Node,
signer: &G,
storage: &Storage,
-) -> Result<
- (
- raw::Repository,
- storage::git::Repository,
- Doc,
- Project,
- ),
- CloneError,
-> {
+) -> Result<(raw::Repository, storage::git::Repository, Doc, Project), CloneError> {
let me = *signer.public_key();
// Seed repository.
Diff in /f60d5184-8aca-45fa-9af4-1e16d3afc6c6/w/radicle-cli/src/commands/init.rs at line 14:
use radicle::explorer::ExplorerUrl;
use radicle::git::RefString;
use radicle::identity::project::ProjectName;
-use radicle::identity::{RepoId, Doc, Visibility};
+use radicle::identity::{Doc, RepoId, Visibility};
use radicle::node::events::UploadPack;
use radicle::node::policy::Scope;
use radicle::node::{Event, Handle, NodeId, DEFAULT_SUBSCRIBE_TIMEOUT};
Diff in /f60d5184-8aca-45fa-9af4-1e16d3afc6c6/w/radicle-fetch/src/handle.rs at line 4:
use bstr::BString;
use radicle::crypto::PublicKey;
use radicle::git::Oid;
-use radicle::identity::{DocError, Doc};
+use radicle::identity::{Doc, DocError};
use radicle::storage::git::Repository;
use radicle::storage::ReadRepository;
Diff in /f60d5184-8aca-45fa-9af4-1e16d3afc6c6/w/radicle-fetch/src/state.rs at line 4:
use gix_protocol::handshake;
use radicle::crypto::PublicKey;
use radicle::git::{Oid, Qualified};
-use radicle::identity::{Did, DocError, Doc};
+use radicle::identity::{Did, Doc, DocError};
use radicle::prelude::Verified;
use radicle::storage;
Exit code: 1
{
"response": "finished",
"result": "failure"
}