radicle-heartwood-lfs/radicle-node
Fintan Halpenny 821a6b6c08
node: test do not fetch from owned refs
To ensure the behaviour of ignoring references that are owned by the
local peer a test case is added.

The case has two peers: alice and bob, where alice creates a new
repository. bob fetches to be up-to-date with alice. alice, in turn,
creates an issue and fetches from bob -- which should be successful.

If the refspec:

    ^refs/namespaces/<alice>/*

was not in place, her fetch from bob would fail since the signed
references would not be a fast-forward.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-03-08 11:33:42 +00:00
..
src node: test do not fetch from owned refs 2023-03-08 11:33:42 +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