radicle-heartwood-lfs/radicle/src
Alexis Sellier c0271c303f
Prevent divergences in canonical head
On push, we check whether the resulting state would cause a
divergence/fork in the canonical head, and if so, prevent the push from
happening.

This is to avoid situations where delegates have to then rollback their
heads.

Note that this doesn't prevent forks from happening altogether, as they
could happen asychronously, but it mitigates the problem.
2023-09-27 12:25:14 +02:00
..
canonical Update toolchain to Rust 1.71 2023-08-09 18:49:13 +02:00
cob cli: Allow checking out a specific revision 2023-09-21 16:18:24 +02:00
identity cli: Update commands for private repos 2023-09-01 12:13:45 +02:00
node node: Slightly increase rate limit defaults 2023-09-18 11:14:19 +02:00
storage Prevent divergences in canonical head 2023-09-27 12:25:14 +02:00
test Improve computation of canonical head 2023-09-27 12:25:14 +02:00
canonical.rs radicle: custom CanonicalFormatter 2023-02-24 11:59:36 +01:00
cob.rs cob: Evaluate COB state eagerly 2023-09-11 23:25:28 +02:00
collections.rs Introduce `cargo-deny` 2023-08-22 14:33:00 +02:00
git.rs Rename our custom `HashMap` to `RandomMap` 2023-08-10 16:51:02 +02:00
identity.rs Improve computation of canonical head 2023-09-27 12:25:14 +02:00
lib.rs cob: Add support for media embeds in COBs 2023-08-22 14:29:23 +02:00
node.rs cli: Add `node config` command 2023-09-18 11:14:19 +02:00
profile.rs cli: Auto-connect on sync 2023-08-11 11:45:27 +02:00
rad.rs cli: Add `rad patch set` command 2023-09-06 20:03:58 +02:00
serde_ext.rs radicle: Fix config deserialization 2023-08-14 10:31:35 +02:00
sql.rs node: Keep track of connection attempts 2023-05-05 17:23:52 +02:00
storage.rs node: Implement private repos 2023-09-01 12:13:45 +02:00
test.rs cob: Evaluate COB state eagerly 2023-09-11 23:25:28 +02:00
version.rs Add `--version` flag to binaries 2023-07-25 11:36:50 +02:00