radicle-heartwood-lfs/radicle-fetch/src
Fintan Halpenny eb095c109b
fetch: allow missing default branch
When fetching, the validation logic would prune a delegate if it was missing the
default branch. Originally, this was done to prevent any broken state, but later
it was realised that this can be too restrictive and would not allow nodes to
recover into an improved state.

Remove this check so thtat nodes can still fetch from each other when the
default branch is missing.

An e2e test is added to show that nodes can still fetch from each other and
still receive other references, even when a delegate is missing their default
branch.
2024-11-06 16:47:01 +01:00
..
git fetch: remove `.keep` files 2024-05-16 15:47:14 +02:00
transport Update `rust-toolchain` to 1.80 2024-08-06 14:37:21 +02:00
git.rs fetch: upgrade gix crates 2024-05-17 13:27:18 +02:00
handle.rs fmt: Run `cargo fmt` 2024-10-23 16:17:24 +02:00
lib.rs node: Don't depend on `gix` directly 2024-07-16 15:57:27 +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: refactor doc 2024-10-22 14:58:12 +01:00
state.rs fetch: allow missing default branch 2024-11-06 16:47:01 +01:00
transport.rs fetch: upgrade gix crates 2024-05-17 13:27:18 +02:00