radicle-heartwood-lfs/radicle-cli
Fintan Halpenny 82a53e3a53
radicle: UserInfo for Repository::create
The fetch V2 improvements introduced a `UserInfo` type that is used to
set the Git config's name and email when cloning a repository. This
`UserInfo` can also be used when creating a new `Repository`.

The `Storage` type now takes a `UserInfo` so that it can be passed to
`Repository::create`, for creating a new repository.

For testing, this requires adding a new `fixtures::user` so that
testing `Storage` instances can be easily constructed.

It also means that the `radicle-cli` tests all changed with new SHAs
since the name and email are used as part of the hashing input.

N.b. the order of the timelines while testing the identity cob
changed. It's not clear why that is.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-11-09 16:43:34 +01:00
..
examples radicle: UserInfo for Repository::create 2023-11-09 16:43:34 +01:00
src cli: use `WriteStorage::remove` in `rm` 2023-11-09 16:42:41 +01:00
tests cli: Improve `rad diff` 2023-11-09 13:04:40 +01:00
Cargo.toml cli: Add pager to `rad diff` 2023-11-03 14:20:16 +01:00