cob: Don't require a local fork to exist

Before this change, the identity document would be loaded for the
COB signer. This meant that a fork would be needed for that signer.

After this change, it's no longer necessary, since the identity doc
head is computed from available remotes.

While making those changes, it was also apparent that some of the
identity-related functions had bad names and error types, this
was fixed as well.
This commit is contained in:
Alexis Sellier
2023-03-01 15:40:30 +01:00
parent 9efea143ab
commit 78132a14ea
+2 -2
View File
@@ -38,9 +38,9 @@ pub enum Error {
#[error(transparent)]
CobStore(#[from] radicle::cob::store::Error),
/// Git project error.
/// Identity error.
#[error(transparent)]
GitProject(#[from] radicle::storage::git::ProjectError),
Identity(#[from] radicle::identity::IdentityError),
/// Project doc error.
#[error(transparent)]