Lorenz Leutgeb
8bac24d6ab
rust/edition/fmt: 2021 → 2024
...
Reformat code with `rustfmt`, now that the edition changed from
Rust 2021 to Rust 2024.
2026-03-30 16:57:51 +02:00
Lorenz Leutgeb
ec36d1c3ae
radicle/sigrefs: Merge `SignedRefs{,At}`
...
Since now all callers expect `SignedRefsAt`, merge the two structs
and name the result just `SignedRefs`.
2026-03-25 08:07:49 +00:00
Lorenz Leutgeb
07011233eb
radicle/sigrefs: Use `SignedRefsAt` everywhere
...
To make more information available to callers, prefer returning
`SignedRefsAt` everywhere.
2026-03-25 08:07:49 +00:00
Lorenz Leutgeb
748ddade2f
fetch: Make `RemoteRefs` an alias
2026-03-17 21:31:42 +01:00
Lorenz Leutgeb
35d71f5909
fetch: Remove `DelegateStatus`
...
This `enum` is only used in `state.rs` and a very thin wrapper around
`delegates.contains`.
2026-03-17 21:31:42 +01:00
Fintan Halpenny
725ced09d5
fetch: Prune remotes with sigrefs failures
...
Previously, trying to load `SignedRefs` for any given remote would
result in a fetch failure.
Teach the fetch to be more resilient by pruning remotes that result in
an error when loading `SignedRefs`, and add the error to the
validation failures.
2026-03-17 21:31:42 +01:00
Lorenz Leutgeb
304a66311a
radicle: Remove generics for verification markers
...
`SignedRefs` are now always verified.
2026-03-17 21:31:42 +01:00
Fintan Halpenny
d40fa9a347
radicle/sigrefs: Switch to new implementation
2026-03-17 21:31:42 +01:00
Fintan Halpenny
e40fe86ff8
fetch: use `AsRef<Repository>`
...
Allow the fetch interface to accept anything that implements
`AsRef<Repository>`. This allows flexibility in the types that the `Handle` can
accept.
This change is motivated by wanting to introduce a type that is a temporary
repository that wraps a `Repository`.
2025-10-06 11:52:42 +02:00
Lorenz Leutgeb
5bc2dc677b
repo: Move workspace crates into `crates` subdirectory
...
This keeps the top level of the repo cleaner, e.g.
<https://github.com/radicle-dev/heartwood > scrolls less and
<https://app.radicle.xyz/nodes/rosa.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5/ >
might show more files at the top level.
This way we also don't have to explicitly name all crates in
`Cargo.toml`.
2025-06-09 15:09:21 +02:00