Files
heartwood/radicle-cli/examples/rad-init-no-seed.md
T
cloudhead f0e2018ac5 cli: Correctly update inventory with seed commands
Make sure our inventory is up to date with the policy changes, as well
as when publishing private repositories.
2024-06-12 15:36:34 +02:00

917 B

If we initialize a public repository without seeding it, it won't be advertized:

$ rad init --name heartwood --description "radicle heartwood protocol & stack" --no-confirm --public --no-seed

Initializing public radicle 👾 repository in [..]

✓ Repository heartwood created.

Your Repository ID (RID) is rad:zhbMU4DUXrzB8xT6qAJh6yZ7bFMK.
You can show it any time by running `rad .` from this directory.

Your repository will be announced to the network when you start your node.
You can start your node with `rad node start`.
To push changes, run `git push`.
$ rad node inventory

If we then seed it, it becomes advertized in our inventory:

$ rad seed rad:zhbMU4DUXrzB8xT6qAJh6yZ7bFMK
✓ Inventory updated with rad:zhbMU4DUXrzB8xT6qAJh6yZ7bFMK
✓ Seeding policy updated for rad:zhbMU4DUXrzB8xT6qAJh6yZ7bFMK with scope 'all'
$ rad node inventory
rad:zhbMU4DUXrzB8xT6qAJh6yZ7bFMK