radicle-heartwood-lfs/radicle-cli/examples
Alexis Sellier 3ae7e305bd
node: Simplify configuration
This is a change to the `config.json` file which removes certain options
that are best not touched and changes some options to make them easier
to work with.

1. We change the default journaling mode to "wal" and remove the config
   option.
2. We remove the option to set the peer connection "target", as it's not
   a good idea to set this to a different value, as it affects the
   network.
3. We combine seeding policy & scope, since there's no need to set the
   scope when the policy is "block". In that case, we always want to
   block "all" remotes. The new policy configuration has the following
   schema:

   { seedingPolicy: { default: "block" | "allow", scope?: "all" | "followed" } }

   The "scope" key is not used when "default" is set to "block".

4. We add an `extra` field to the node config for options that are not
   recognized. We use this to warn the user.
2024-06-04 14:08:15 +02:00
..
framework cli-test: Update framework with new features 2023-08-04 12:23:49 +02:00
git helper: Allow pushing a raw SHA-1 2024-04-18 17:09:45 +02:00
workflow cli: show reviews on `rad patch list` 2024-03-11 13:22:14 +01:00
rad-auth-errors.md radicle: Fix config loading with bad alias 2024-03-21 14:44:04 +01:00
rad-auth.md radicle: Fix config loading with bad alias 2024-03-21 14:44:04 +01:00
rad-block.md node: Simplify configuration 2024-06-04 14:08:15 +02:00
rad-checkout-repo-config-linux.md cli: Add canonical remote to `init` and `checkout` 2023-04-24 15:42:00 +02:00
rad-checkout-repo-config-macos.md cli: Add canonical remote to `init` and `checkout` 2023-04-24 15:42:00 +02:00
rad-checkout.md cli: Add canonical remote to `init` and `checkout` 2023-04-24 15:42:00 +02:00
rad-clean.md radicle: remove repo iff there's no local rad/sigrefs 2023-11-30 10:48:14 +01:00
rad-clone-all.md Use "repository" consistently over "project" 2024-01-22 21:18:54 +01:00
rad-clone-connect.md cli: Simplify private repo fetching 2024-05-16 15:46:24 +02:00
rad-clone-directory.md Use "repository" consistently over "project" 2024-01-22 21:18:54 +01:00
rad-clone-partial-fail.md cli: Simplify private repo fetching 2024-05-16 15:46:24 +02:00
rad-clone-unknown.md node: Rename node `tracking` module 2023-12-06 10:00:45 +01:00
rad-clone.md cli: Rename `rad ls --seeds` flag 2024-03-11 10:46:09 +01:00
rad-cob-log.md cli: `rad cob {show → log}` 2024-05-22 11:47:09 +02:00
rad-cob-show.md cli: Implement `rad cob show` with new meaning 2024-05-22 11:56:01 +02:00
rad-config.md node: Simplify configuration 2024-06-04 14:08:15 +02:00
rad-diff.md cli: Improve `rad diff` 2023-11-09 13:04:40 +01:00
rad-fetch.md cli: From "tracking" to "seeding" and "following" 2023-12-06 09:56:57 +01:00
rad-fork.md Use "repository" consistently over "project" 2024-01-22 21:18:54 +01:00
rad-id-collaboration.md radicle: fault tolerant thresholds 2024-04-03 14:30:05 +02:00
rad-id-conflict.md radicle: UserInfo for Repository::create 2023-11-09 16:43:34 +01:00
rad-id-multi-delegate.md cli: Don't fork on clone 2023-12-13 12:14:06 +01:00
rad-id-threshold.md cli: Simplify private repo fetching 2024-05-16 15:46:24 +02:00
rad-id-unknown-field.md cli: Add test for unknown field in identity doc 2024-05-07 10:21:07 +02:00
rad-id-update-delete-field.md cli: reject `rad id` proposals that do not verify 2024-05-16 10:11:48 +01:00
rad-id.md cli: Fix `rad id show` delegate output 2024-06-04 11:10:29 +02:00
rad-inbox.md cli: fix rad inbox clear output 2024-04-09 16:09:44 +02:00
rad-init-no-git.md cli: Improve `rad init` wording 2024-03-11 13:08:03 +01:00
rad-init-private-clone-seed.md cli: Simplify private repo fetching 2024-05-16 15:46:24 +02:00
rad-init-private-clone.md cli: Simplify private repo fetching 2024-05-16 15:46:24 +02:00
rad-init-private-seed.md cli: Simplify private repo fetching 2024-05-16 15:46:24 +02:00
rad-init-private.md cli: Show full path in `rad init` 2024-02-26 12:40:17 +01:00
rad-init-sync-not-connected.md cli: Show full path in `rad init` 2024-02-26 12:40:17 +01:00
rad-init-sync-preferred.md cli: watch for upload-pack events in `rad init` 2024-05-15 10:07:56 +01:00
rad-init-sync-timeout.md cli: Show full path in `rad init` 2024-02-26 12:40:17 +01:00
rad-init-sync.md cli: Show full path in `rad init` 2024-02-26 12:40:17 +01:00
rad-init-with-existing-remote.md cli: Show full path in `rad init` 2024-02-26 12:40:17 +01:00
rad-init.md cli: Show full path in `rad init` 2024-02-26 12:40:17 +01:00
rad-inspect-noauth.md cli: Improve messaging when config doesn't load 2023-12-13 12:30:11 +01:00
rad-inspect.md cli: Add `rad inspect --sigrefs` command 2023-11-17 16:56:20 +01:00
rad-issue.md cob: Properly authorize root actions 2024-02-23 12:31:13 +01:00
rad-merge-after-update.md cob: Properly authorize root actions 2024-02-23 12:31:13 +01:00
rad-merge-no-ff.md cob: Properly authorize root actions 2024-02-23 12:31:13 +01:00
rad-merge-via-push.md cli: show reviews on `rad patch list` 2024-03-11 13:22:14 +01:00
rad-node.md cli: Fix some tests 2024-03-09 14:01:30 +01:00
rad-patch-ahead-behind.md cli: show reviews on `rad patch list` 2024-03-11 13:22:14 +01:00
rad-patch-change-base.md cob: Properly authorize root actions 2024-02-23 12:31:13 +01:00
rad-patch-checkout-force.md cli: show revision on rad patch checkout 2024-03-11 11:56:11 +01:00
rad-patch-checkout-revision.md cli: show revision on rad patch checkout 2024-03-11 11:56:11 +01:00
rad-patch-checkout.md cli: show revision on rad patch checkout 2024-03-11 11:56:11 +01:00
rad-patch-delete.md node: handle removal of cob from cache 2024-04-09 16:06:51 +02:00
rad-patch-diff.md cob: Properly authorize root actions 2024-02-23 12:31:13 +01:00
rad-patch-draft.md cob: Properly authorize root actions 2024-02-23 12:31:13 +01:00
rad-patch-edit.md cob: Properly authorize root actions 2024-02-23 12:31:13 +01:00
rad-patch-fetch-1.md cli: use `git` for anonymous fetch 2024-01-02 15:04:49 +01:00
rad-patch-fetch-2.md cob: Properly authorize root actions 2024-02-23 12:31:13 +01:00
rad-patch-merge-draft.md cob: Properly authorize root actions 2024-02-23 12:31:13 +01:00
rad-patch-open-explore.md cob: Properly authorize root actions 2024-02-23 12:31:13 +01:00
rad-patch-pull-update.md cli: show revision on rad patch checkout 2024-03-11 11:56:11 +01:00
rad-patch-update.md cob: Properly authorize root actions 2024-02-23 12:31:13 +01:00
rad-patch-via-push.md cli: show reviews on `rad patch list` 2024-03-11 13:22:14 +01:00
rad-patch.md cli: show reviews on `rad patch list` 2024-03-11 13:22:14 +01:00
rad-publish.md cli: explain public to private changes 2024-04-03 15:41:48 +02:00
rad-push-and-pull-patches.md cli: show revision on rad patch checkout 2024-03-11 11:56:11 +01:00
rad-remote.md cli: Improve `rad remote add` 2024-01-08 17:28:01 +01:00
rad-review-by-hunk.md cob: Properly authorize root actions 2024-02-23 12:31:13 +01:00
rad-seed-and-follow.md cli: Fix some tests 2024-03-09 14:01:30 +01:00
rad-self.md cli: Move node addresses command 2024-02-26 14:23:13 +01:00
rad-sync-without-node.md cli: From "tracking" to "seeding" and "following" 2023-12-06 09:56:57 +01:00
rad-sync.md cli: Use current local tip in `rad sync status` 2024-05-21 13:32:40 +02:00
rad-unseed.md cli: Rename `rad ls --seeds` flag 2024-03-11 10:46:09 +01:00
rad-watch.md cli: Add `watch` command 2023-12-11 12:04:26 +01:00