rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5 heartwood94f1d6d93e780c964e5e3dd4c904b9f4dbc4eaf5
{
"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": "be74bfa54fe84ab1ec577b78ecc954206f975589",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"title": "cli: explain public to private changes",
"state": {
"status": "merged",
"conflicts": []
},
"before": "54aacc96197a48b79fcc260f94312d824f5e0a34",
"after": "94f1d6d93e780c964e5e3dd4c904b9f4dbc4eaf5",
"commits": [
"94f1d6d93e780c964e5e3dd4c904b9f4dbc4eaf5"
],
"target": "3fc92f83fe089263c470b328414d923227cf0e4a",
"labels": [],
"assignees": [],
"revisions": [
{
"id": "be74bfa54fe84ab1ec577b78ecc954206f975589",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"description": "Add an example of changing a public repository to a private\nrepository, noting that any replicated data will be public, but any\nnew changes will not be replicated.",
"base": "54aacc96197a48b79fcc260f94312d824f5e0a34",
"oid": "94f1d6d93e780c964e5e3dd4c904b9f4dbc4eaf5",
"timestamp": 1710497755
},
{
"id": "a0c48e60429fd56b8b35ea1132bd0de91c600ad0",
"author": {
"id": "did:key:z6MkireRatUThvd3qzfKht1S44wpm4FEWSSa4PRMTSQZ3voM",
"alias": null
},
"description": "Rebase.",
"base": "a71289f72009737b73505a1283443bcb03a18f3f",
"oid": "ea69168f44b1b5a1cfde6e84def408895f6c0b65",
"timestamp": 1712151715
}
]
}
}
{
"response": "triggered",
"run_id": {
"id": "7f7063b1-df09-411c-86f9-9ae6bb425aa5"
},
"info_url": "https://cci.rad.levitte.org//7f7063b1-df09-411c-86f9-9ae6bb425aa5.html"
}
Started at: 2026-09-08 03:12:22.769852+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/7f7063b1-df09-411c-86f9-9ae6bb425aa5/w/
╭────────────────────────────────────╮
│ heartwood │
│ Radicle Heartwood Protocol & Stack │
│ 189 issues · 38 patches │
╰────────────────────────────────────╯
Run `cd ./.` to go to the repository directory.
Exit code: 0
$ rad patch checkout be74bfa54fe84ab1ec577b78ecc954206f975589
✓ Switched to branch patch/be74bfa at revision be74bfa
✓ Branch patch/be74bfa setup to track rad/patches/be74bfa54fe84ab1ec577b78ecc954206f975589
Exit code: 0
$ git config advice.detachedHead false
Exit code: 0
$ git checkout 94f1d6d93e780c964e5e3dd4c904b9f4dbc4eaf5
HEAD is now at 94f1d6d9 cli: explain public to private changes
Exit code: 0
$ rad patch show be74bfa54fe84ab1ec577b78ecc954206f975589 -p
╭────────────────────────────────────────────────────────────────────────────────╮
│ Title cli: explain public to private changes │
│ Patch be74bfa54fe84ab1ec577b78ecc954206f975589 │
│ Author fintohaps z6Mkire…SQZ3voM │
│ Head 94f1d6d93e780c964e5e3dd4c904b9f4dbc4eaf5 │
│ Base 54aacc96197a48b79fcc260f94312d824f5e0a34 │
│ Target master │
│ Branches patch/be74bfa │
│ Commits ahead 1, behind 1529 │
│ Status merged │
│ │
│ Add an example of changing a public repository to a private │
│ repository, noting that any replicated data will be public, but any │
│ new changes will not be replicated. │
├────────────────────────────────────────────────────────────────────────────────┤
│ 94f1d6d cli: explain public to private changes │
├────────────────────────────────────────────────────────────────────────────────┤
│ ● Revision be74bfa @ 54aacc9..94f1d6d by fintohaps z6Mkire…SQZ3voM 2 years ago │
│ ↑ Revision a0c48e6 @ a71289f..ea69168 by cloudhead z6MksFq…bS9wzpT 2 years ago │
│ └─ ✓ merged by cloudhead z6MksFq…bS9wzpT │
╰────────────────────────────────────────────────────────────────────────────────╯
commit 94f1d6d93e780c964e5e3dd4c904b9f4dbc4eaf5
Author: Fintan Halpenny <fintan.halpenny@gmail.com>
Date: Fri Mar 15 10:12:50 2024 +0000
cli: explain public to private changes
Add an example of changing a public repository to a private
repository, noting that any replicated data will be public, but any
new changes will not be replicated.
Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
diff --git a/radicle-cli/examples/rad-publish.md b/radicle-cli/examples/rad-publish.md
index 63a1785e0..352ad2516 100644
--- a/radicle-cli/examples/rad-publish.md
+++ b/radicle-cli/examples/rad-publish.md
@@ -17,3 +17,45 @@ $ rad publish
✗ Error: repository is already public
✗ Hint: to announce the repository to the network, run `rad sync --inventory`
```
+
+We can also make the repository private again by using `rad id
+update`. However, it's important to note that once the repository is
+published to the network, that set of data will be public until all
+node operators delete it. Any new changes made after making the
+repository private again __will not_ be replicated.
+
+```
+$ rad id update --visibility private --title "Privatise" --description "Reverting the rad publish event"
+✓ Identity revision 774cc1e72641d97d7dc9377745b7f454a9171747 created
+╭───────────────────────────────────────────────────────────────────╮
+│ Title Privatise │
+│ Revision 774cc1e72641d97d7dc9377745b7f454a9171747 │
+│ Blob 88f759a4d46e9535766fccec0cbfe1fed6160b1a │
+│ Author did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi │
+│ State accepted │
+│ Quorum yes │
+│ │
+│ Reverting the rad publish event │
+├───────────────────────────────────────────────────────────────────┤
+│ ✓ did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi (you) │
+╰───────────────────────────────────────────────────────────────────╯
+
+@@ -1,13 +1,16 @@
+ {
+ "payload": {
+ "xyz.radicle.project": {
+ "defaultBranch": "master",
+ "description": "radicle heartwood protocol & stack",
+ "name": "heartwood"
+ }
+ },
+ "delegates": [
+ "did:key:z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi"
+ ],
+- "threshold": 1
++ "threshold": 1,
++ "visibility": {
++ "type": "private"
++ }
+ }
+```
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 7f7063b1-df09-411c-86f9-9ae6bb425aa5 -v /opt/radcis/ci.rad.levitte.org/cci/state/7f7063b1-df09-411c-86f9-9ae6bb425aa5/s:/7f7063b1-df09-411c-86f9-9ae6bb425aa5/s:ro -v /opt/radcis/ci.rad.levitte.org/cci/state/7f7063b1-df09-411c-86f9-9ae6bb425aa5/w:/7f7063b1-df09-411c-86f9-9ae6bb425aa5/w -w /7f7063b1-df09-411c-86f9-9ae6bb425aa5/w -v /opt/radcis/ci.rad.levitte.org/.radicle:/${id}/.radicle:ro -e RAD_HOME=/${id}/.radicle rust:trixie bash /7f7063b1-df09-411c-86f9-9ae6bb425aa5/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"
}