mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 10:30:41 +08:00
Make sure our inventory is up to date with the policy changes, as well as when publishing private repositories.
46 lines
3.0 KiB
Markdown
46 lines
3.0 KiB
Markdown
Let's say we have a local repository we've initialized:
|
|
|
|
```
|
|
$ rad ls
|
|
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ Name RID Visibility Head Description │
|
|
├───────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
|
│ heartwood rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji public f2de534 Radicle Heartwood Protocol & Stack │
|
|
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
```
|
|
|
|
We could stop seeding it if we didn't want other nodes to fetch it from us:
|
|
|
|
```
|
|
$ rad unseed rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji
|
|
✓ Seeding policy for rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji removed
|
|
```
|
|
|
|
Now, if we run `rad ls`, we see it's gone:
|
|
|
|
```
|
|
$ rad ls
|
|
Nothing to show.
|
|
$ rad ls --seeded
|
|
Nothing to show.
|
|
```
|
|
|
|
However, with the `--all` flag, we can see it still, but as local-only:
|
|
|
|
```
|
|
$ rad ls --all
|
|
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
|
|
│ Name RID Visibility Head Description │
|
|
├───────────────────────────────────────────────────────────────────────────────────────────────────────────┤
|
|
│ heartwood rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji local f2de534 Radicle Heartwood Protocol & Stack │
|
|
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
|
|
```
|
|
|
|
Hence, we also see that it isn't in our inventory and isn't seeded:
|
|
|
|
```
|
|
$ rad node inventory
|
|
$ rad seed
|
|
No seeding policies to show.
|
|
```
|