radicle-heartwood-lfs/radicle-cli/src
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
..
commands node: Simplify configuration 2024-06-04 14:08:15 +02:00
git cli: Don't highlight unknown languages 2024-03-12 16:12:16 +01:00
terminal cli: upload-pack events 2024-05-17 21:05:43 +02:00
commands.rs cli: add "debug" subcommand 2024-03-08 23:50:01 +01:00
git.rs Rename `Id` to `RepoId` 2024-01-22 15:51:44 +01:00
lib.rs cli: sync on patch and issue updates 2023-12-19 14:19:55 +01:00
main.rs Implement new versioning system 2024-03-25 11:54:08 +01:00
node.rs cli: Simplify private repo fetching 2024-05-16 15:46:24 +02:00
pager.rs cli: Add pager to `rad diff` 2023-11-03 14:20:16 +01:00
project.rs Rename `Id` to `RepoId` 2024-01-22 15:51:44 +01:00
terminal.rs cli: upload-pack events 2024-05-17 21:05:43 +02:00