fork of radicle with Git LFS support, backed by IPFS
Go to file
Fintan Halpenny cb2d83daae
radicle: wire up radicle-cob
To wire up radicle-cob, it is necessary to implement the traits for
the following types:
* `Repository`: `change::Storage`, `object::Storage`, and `Store`
* `project::Identity`: `identity::Identity`

For `Repository`, the `change::Storage` implementation is trivial, as
it uses the underlying `git2::Repository` implementation. Then
`object::Storage` simply defines the required references names and
does lookups or updates.

The aforementioned reference naming scheme is:

  refs/namespaces/<ns>/refs/cobs/<typename>/<object_id>

For `project::Identity`, the `identity::Identity` implementation is
straight-forward.

To finalise the work, a simplified API is exposed as `radicle::cob`
where the `create`, `update`, `get`, and `list` functions are
redefined in terms of `radicle` specific types.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2022-11-08 18:13:54 +00:00
.github/workflows Update to Rust 1.65 2022-11-05 12:47:26 +01:00
.nix nix: update sources for rust-1.65 2022-11-05 12:48:02 +01:00
radicle radicle: wire up radicle-cob 2022-11-08 18:13:54 +00:00
radicle-cli Add `rad-self` command 2022-11-08 11:16:32 +01:00
radicle-cob radicle-cob: simplify Objects and remove identifier 2022-11-08 18:13:54 +00:00
radicle-crypto Update `sqlite` dependency 2022-11-08 09:39:23 +01:00
radicle-httpd Remove redundant `Options` type 2022-10-19 11:47:29 +02:00
radicle-node Use database transactions where appropriate 2022-11-08 09:39:23 +01:00
radicle-remote-helper Use `Signer::try_sign` in interactive contexts 2022-11-03 13:06:00 +01:00
radicle-ssh Update to Rust 1.65 2022-11-05 12:47:26 +01:00
radicle-tools Add `rad-init` command 2022-11-07 22:01:49 +01:00
.gitignore Initial commit 2022-09-13 10:13:13 +02:00
Cargo.lock radicle: wire up radicle-cob 2022-11-08 18:13:54 +00:00
Cargo.toml Add `radicle-cli` crate's `terminal` module 2022-11-07 14:48:01 +01:00
README.md Add placeholder README 2022-10-14 13:19:28 +02:00
build.rs httpd: implement `git` fetch-only server 2022-10-19 11:36:16 +02:00
rust-toolchain Update to Rust 1.65 2022-11-05 12:47:26 +01:00

README.md

❤️🪵

Radicle Heartwood Protocol & Stack