radicle-heartwood-lfs/radicle-crypto/src
Fintan Halpenny 8508eab8fa
radicle: update radicle-git-ext
This change updates to the latest radicle-git-ext, which required a
few changes within the radicle family of crates.

One set of changes is that the radicle-git-ext crate subsumes
git-commit, git-trailers, and git-ref-format -- so all those imports
go through radicle-git-ext.

The commit code requires that parent `Oid`s point to commits, which
made some tests fail. One of the reasons for these failures is that
the patch tests used fabricated `Oid`s and so the verification would
fail. This is fixed by allowing the test context code to create
`PatchRequest`s that create valid commits.
The other reason for failure was that the identity `Action` passed an
`Oid` that pointed to a blob. This is fixed by removing that code and
making a note of it in documentation.

The final major change was moving the Refspec type into git-ref-format
and removing the AsRefspecs trait. The trait was not required and
could its usage could be replaced by simpler code.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-05-08 10:36:15 +01:00
..
ssh node: Move to NoiseXK 2023-02-15 22:05:04 +01:00
test crypto: Cleanup `hash` module 2023-02-17 10:51:27 +01:00
lib.rs radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
ssh.rs crypto: Use `ssh-key` crate for signatures 2023-02-17 11:53:46 +01:00
test.rs radicle-crypto: split out from radicle 2022-10-27 20:40:39 +01:00