radicle-dev / radicle-link

The second iteration of the Radicle code collaboration protocol.
Other
421 stars 39 forks source link

replication: create rad/id and rad/self symref #709

Closed FintanH closed 3 years ago

FintanH commented 3 years ago

Fixes #708

We add rad/id at the top level and create a symbolic ref between rad/id and rad/self for each tracked peer.

In the daemon code I changed the get_user function to return a regular Person document and added get_local for getting the local identity.

I chose to add the test to daemon/replication because I thought it would have fitted with the menage tests but they're no bueno right now.