radicle-heartwood-lfs/radicle-fetch/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
..
git fetch: remove `.keep` files 2024-05-16 15:47:14 +02:00
transport fetch: upgrade gix crates 2024-05-17 13:27:18 +02:00
git.rs fetch: upgrade gix crates 2024-05-17 13:27:18 +02:00
handle.rs Rename `Id` to `RepoId` 2024-01-22 15:51:44 +01:00
lib.rs fetch: Improve logging of clone 2024-04-08 17:06:38 +02:00
policy.rs node: Simplify configuration 2024-06-04 14:08:15 +02:00
refs.rs Update toolchain to Rust 1.77 2024-03-26 10:03:11 +01:00
sigrefs.rs radicle: fault tolerant thresholds 2024-04-03 14:30:05 +02:00
stage.rs radicle: fault tolerant thresholds 2024-04-03 14:30:05 +02:00
state.rs fetch: remove `.keep` files 2024-05-16 15:47:14 +02:00
transport.rs fetch: upgrade gix crates 2024-05-17 13:27:18 +02:00