radicle-heartwood-lfs/crates/radicle/src
Fintan Halpenny 1cab036c33 protocol/service: Wire up `FetcherService`
Wire up the new `FetcherService`. This reduces the `Service` fetch
methods down to:
- `fetch`
- `fetched`
- `dequeue_fetches`
- `fetch_refs_at`

This simplifies the code by off-loading the logic to the `fetcher`
family of types, rather than handling the intricacies in the `Service`
itself.

The `Service` now just performs the necessary I/O based on the
returned events from the `fetcher`.

This also removes the fetching state from the node sessions. This
follows the single responsibility, and sessions now only care about
their connectivity.

Breaking changes:
- The `Connected` state of a peer no longer contains fetching
  information, which was being returned as part of the JSON payload
  result.
- The `rad debug` information for ongoing fetches contained the number
  listeners awaiting for results, this was removed.
2026-02-05 20:04:28 +01:00
..
canonical radicle/canonical: provide public Canonical JSON link 2026-01-22 09:10:53 +00:00
cob radicle: add new error type for unauthorized non-delegates 2026-01-22 10:24:26 +00:00
git chore: Fix spelling errors with codespell 2025-11-01 12:11:02 +01:00
identity radicle: Re-export `radicle_core::RepoId` 2026-01-09 14:04:18 +01:00
logger radicle: Move logging setup calls to binaries 2025-08-07 08:30:59 +01:00
node protocol/service: Wire up `FetcherService` 2026-02-05 20:04:28 +01:00
profile radicle: improve config errors 2025-06-24 13:51:55 +02:00
storage radicle/storage/refs: Derive `Hash` for `RefsAt` 2026-02-05 20:04:28 +01:00
test radicle: Re-export `radicle_core::RepoId` 2026-01-09 14:04:18 +01:00
canonical.rs radicle/canonical: provide public Canonical JSON link 2026-01-22 09:10:53 +00:00
cli.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
cob.rs workspace: A Little Less `git2` 2025-10-13 16:14:23 +02:00
collections.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
explorer.rs radicle/explorer: Allow overriding default URL 2025-09-04 16:44:05 +03:00
git.rs workspace/rust/clippy: Fix all warnings 2025-10-17 12:56:43 +02:00
identity.rs radicle: canonical references payload 2025-07-16 16:41:16 +02:00
io.rs radicle: Only set file limits on Unix 2025-07-23 10:31:13 +02:00
lib.rs localtime: localise the localtime dependency 2026-01-08 14:58:41 +01:00
logger.rs radicle: Move logging setup calls to binaries 2025-08-07 08:30:59 +01:00
node.rs protocol/service: Wire up `FetcherService` 2026-02-05 20:04:28 +01:00
profile.rs chore: Fix spelling errors with codespell 2025-11-01 12:11:02 +01:00
rad.rs radicle/rad: Fix typo 2025-10-20 15:09:43 +01:00
schemars_ext.rs localtime: localise the localtime dependency 2026-01-08 14:58:41 +01:00
serde_ext.rs localtime: localise the localtime dependency 2026-01-08 14:58:41 +01:00
sql.rs radicle: Re-export `radicle_core::RepoId` 2026-01-09 14:04:18 +01:00
storage.rs chore: Fix spelling errors with codespell 2025-11-01 12:11:02 +01:00
test.rs workspace: A Little Less `git2` 2025-10-13 16:14:23 +02:00
version.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
web.rs radicle: Keep pinned repos ordered in config 2025-07-19 12:59:02 +01:00