radicle-heartwood-lfs/radicle-node
Fintan Halpenny 1e8f5b2259
node: determine fetching namespace based on repo policy
To determine the correct Namespaces to use, the repo Policy and Scope
are consulted.

If the policy is Block then this is a failure state and is reported to
the other end.

Otherwise, if the policy is Track, then the scope is checked. For the
Trusted Scope then the Namespaces should consist of all tracked nodes
and delegates for the given repository. However, the repository might
not exist and so it is necessary for the whole repository to be
fetched.

For the All Scope, all Namespaces are fetched.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-03-08 11:33:41 +00:00
..
src node: determine fetching namespace based on repo policy 2023-03-08 11:33:41 +00:00
Cargo.toml node: Update `localtime` crate 2023-03-07 10:47:12 +01:00
Dockerfile Build container images for deployment 2022-12-14 17:15:40 +01:00