radicle-heartwood-lfs/radicle/src
Fintan Halpenny e937cdd79a
node: improve fetch
The fetch implementation will potentially fetch the local operator's
remote, which is unnecessary and could result in deleted data.

Fix this by threading the local operator's public key and add an
ignore refspec to the fetch arguments, i.e.

    ^refs/namespaces/<local>/*

The implementation also strictly fetches all or one namespace. This is
improved upon by introducing a new variant for specifying a set of
namespaces.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-03-08 11:29:34 +00:00
..
canonical radicle: custom CanonicalFormatter 2023-02-24 11:59:36 +01:00
cob Use commit oid for COB parent 2023-03-06 15:39:34 +01:00
identity radicle: populate MockRepository 2023-03-08 11:29:33 +00:00
node node: store Scope in tracking config 2023-03-08 11:29:34 +00:00
storage Sign COB refs after modification 2023-03-06 10:42:26 +01:00
test radicle: populate MockRepository 2023-03-08 11:29:33 +00:00
canonical.rs radicle: custom CanonicalFormatter 2023-02-24 11:59:36 +01:00
cob.rs cob: Don't require a local fork to exist 2023-03-01 15:40:30 +01:00
collections.rs Split repository into two creates 2022-09-21 15:11:17 +02:00
git.rs Rust 1.67 2023-02-04 19:30:29 +01:00
identity.rs cob: Don't require a local fork to exist 2023-03-01 15:40:30 +01:00
lib.rs cob: Use hashes for operation ids 2023-02-27 17:11:48 +01:00
node.rs radicle: accept Scope as track_repo argument 2023-03-08 11:29:34 +00:00
profile.rs cli: Simplify & improve CLI output 2023-02-27 17:10:52 +01:00
rad.rs cob: Don't require a local fork to exist 2023-03-01 15:40:30 +01:00
serde_ext.rs node: Use JSON for control commands 2023-02-07 10:46:12 +01:00
sql.rs Make `Id` to string conversion more explicit 2023-01-24 13:49:03 +01:00
storage.rs node: improve fetch 2023-03-08 11:29:34 +00:00
test.rs radicle: canonicalize home path 2023-02-16 16:35:59 +01:00