Commit Graph

34 Commits

Author SHA1 Message Date
Alexis Sellier d1ccf1b807
node: Rename folder to `radicle-node`
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-09-21 11:38:09 +02:00
Alexis Sellier 8760eee729
node: Implement canonical identity function
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-09-20 16:59:01 +02:00
Alexis Sellier bc226a9c38
node: Function to load quorum identity
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-09-19 22:08:52 +02:00
Alexis Sellier 4ad8583805
node: Implement identity updates
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-09-18 23:58:12 +02:00
Alexis Sellier 84119b0265
node: Start on identity history verification
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-09-18 23:39:53 +02:00
Alexis Sellier 73d62de0cc
node: Move doc stuff to its own module
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-09-18 23:39:53 +02:00
Alexis Sellier 3e9a4eedae
node: Identity document verification
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-09-18 23:39:53 +02:00
Alexis Sellier d7a2520ad3
node: Make sure not to prune on initial fetch
Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
2022-09-14 18:27:02 +02:00
Alexis Sellier 59ccfdda77
node: Improve verification function 2022-09-14 18:20:57 +02:00
Alexis Sellier 38dc571f2e
node: Add verification on fetch 2022-09-14 16:01:32 +02:00
Alexis Sellier 651513c757
node: Re-think gossip messages and signing
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier db6932d58c
node: Propagate ref updates
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 9d3030a093
node: Move over to binary protocol
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 927f062dc9
node: Rename `ProjId` -> `Id`
Remove `UserId` type.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier c80ba01ed9
node: Use CJSON for identities
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 46ee08aaf3
node: Rename "user"
In some cases to "public key" and in other cases to "remote".

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 4e9b60dee0
node: Implement project checkout
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 7be6fe3414
node: Turn remotes into an iterator
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier c3b7a6fbd7
node: Implement project retrieval
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier e4e4d9dcaa
node: Use stronger types for refs
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier cd7421eb86
node: Implement signed refs
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 6830a044d7
node: Fix repository layout
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 14395ad873
node: Handle refs update announcement
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 12dd6d4a5d
node: Start control socket server
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier e663e8c516
node: Implement `Client`
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 68099688e6
node: Finalize `init`
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 3e173a18ab
node: Cleanup a few things
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier ad1f25b3f5
node: Add `NodeId`
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 92f17d71c3
node: Implement auto-fetching of projects
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier a5a7af57b5
node: Add `Storage::open`
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 2c519f5b5f
node: Minimize inventory, fix tests
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier 45d6de80e8
node: Use `Url` type
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier f18afb793c
node: Change storage layout
Projects now have their own repos.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:05 +02:00
Alexis Sellier aa28e40f67
node: Get `git::fetch` working
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-09-13 10:16:04 +02:00