radicle-heartwood-lfs/radicle-node/src
Fintan Halpenny 511165bfc5
fetch: prevent missing default branch
If a delegate is missing the default branch for a project certain
computations will fail, e.g. getting the canonical mainline branch.

One prevention for corrupting data is refusing to fetch a delegate
that does not have the default branch, when the repository is a
project. It is assumed that the repository is not a project if calling
`Doc::project` returns an error, since the error variants are not
found and parsing errors.

This is only checked in the case of a delegate since non-delegates are
safe to created COBs that don't require the default branch,
e.g. creating an issue.
2023-11-30 13:50:39 +01:00
..
runtime radicle: return RefsAt for announce_refs 2023-11-17 16:29:02 +01:00
service radicle: Consolidate databases 2023-11-30 13:00:59 +01:00
test radicle: Consolidate databases 2023-11-30 13:00:59 +01:00
tests fetch: prevent missing default branch 2023-11-30 13:50:39 +01:00
wire radicle: Consolidate databases 2023-11-30 13:00:59 +01:00
worker radicle: temporary repository helper 2023-11-16 12:01:10 +00:00
bounded.rs node: loosen BoundedVec::collect_from bounds 2023-11-17 16:09:42 +01:00
control.rs node: `info` announcements 2023-11-17 16:29:29 +01:00
deserializer.rs node: Implement protocol multiplexing 2023-04-10 14:41:55 +02:00
lib.rs radicle: Make addresses.db accessible from profile 2023-06-02 14:49:20 +02:00
logger.rs cli: Implement `rad node start` with support for deamonizing 2023-04-28 14:19:20 +02:00
main.rs node: remove git-daemon code 2023-11-06 12:07:27 +01:00
runtime.rs radicle: Consolidate databases 2023-11-30 13:00:59 +01:00
service.rs radicle: Consolidate databases 2023-11-30 13:00:59 +01:00
signals.rs node: Handle `SIGINT` and `SIGTERM` properly 2023-02-14 13:28:16 +01:00
test.rs node: Create shared test environment 2023-02-07 10:46:12 +01:00
tests.rs radicle: Consolidate databases 2023-11-30 13:00:59 +01:00
wire.rs node: `info` announcements 2023-11-17 16:29:29 +01:00
worker.rs radicle: temporary repository helper 2023-11-16 12:01:10 +00:00