radicle-heartwood-lfs/crates/radicle-cli
Fintan Halpenny 8a6e55502c radicle: Announcer can exit on preferred seeds or replication factor
The `Announcer` logic was subtly different to the fetching logic, where the
preferred seeds need to be announced to *and* the replication factor had to be
reached.

This patch relaxes that constraint, and allows it to hit either targets before
exiting.

This also surfaced an issue with the with the `Progress` calculation, where
calculating the `unsynced` used the `synced` value to subtract. However, this
was not required because `to_sync` is mutated, so the value is simply
`to_sync.len()`. A test case was added to ensure this is correct by checking
that invariant that the total between synced and unsynced nodes always matches
the total of synced and unsynced progress.
2025-08-13 11:09:49 +02:00
..
examples canonical: Support Annotated Tags 2025-08-04 17:00:54 +02:00
src radicle: Announcer can exit on preferred seeds or replication factor 2025-08-13 11:09:49 +02:00
tests radicle: Move logging setup calls to binaries 2025-08-07 08:30:59 +01:00
Cargo.toml release: prepare crates 2025-08-12 12:13:49 +02:00
build.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00