fork of radicle with Git LFS support, backed by IPFS
Go to file
Slack Coder 3c202564bf
cli: split into patch::create and patch::update
Simplify codebase by splitting patch::create::run() into patch::create::run() and
patch::update::run().

Patch has the subcommands `create` and `update` but both use the same
method to do the heavy lifting.  Spitting the code allows us to detangle
the code path making it easier to follow.

Also, reduce cognitive load by minimizing the amount of variables used
and isolating them to utility functions.  For instance, `head_branch` can be passed to
these methods instead of `head_oid` and `head_branch`.

Signed-off-by: Slack Coder <slackcoder@server.ky>
2023-02-06 13:53:31 +01:00
.github/workflows Rust 1.67 2023-02-04 19:30:29 +01:00
.nix Rust 1.67 2023-02-04 19:30:29 +01:00
radicle Rust 1.67 2023-02-04 19:30:29 +01:00
radicle-cli cli: split into patch::create and patch::update 2023-02-06 13:53:31 +01:00
radicle-cob Rust 1.67 2023-02-04 19:30:29 +01:00
radicle-crdt Add Op ID string formatting 2023-02-04 12:29:50 +01:00
radicle-crypto Rust 1.67 2023-02-04 19:30:29 +01:00
radicle-dag Rust 1.67 2023-02-04 19:30:29 +01:00
radicle-httpd Extract `json!` into `api::json` 2023-02-04 19:42:14 +01:00
radicle-node node: Elaborate --help message 2023-02-04 20:03:31 +01:00
radicle-remote-helper Rust 1.67 2023-02-04 19:30:29 +01:00
radicle-ssh Update to Rust 1.65 2022-11-05 12:47:26 +01:00
radicle-tools Rust 1.67 2023-02-04 19:30:29 +01:00
.dockerignore Dockerize services 2022-12-14 17:15:40 +01:00
.gitignore Initial commit 2022-09-13 10:13:13 +02:00
CONTRIBUTING.md Add licenses and contributor information 2022-11-16 12:26:12 +01:00
Cargo.lock Add Op ID string formatting 2023-02-04 12:29:50 +01:00
Cargo.toml Update `radicle-surf` 2023-01-28 20:19:23 +01:00
DCO Add licenses and contributor information 2022-11-16 12:26:12 +01:00
LICENSE-APACHE Add licenses and contributor information 2022-11-16 12:26:12 +01:00
LICENSE-MIT Add licenses and contributor information 2022-11-16 12:26:12 +01:00
README.md README: Add install instructions 2023-01-12 13:15:37 +01:00
build.rs Rust 1.67 2023-02-04 19:30:29 +01:00
docker-compose.yml Build container images for deployment 2022-12-14 17:15:40 +01:00
rust-toolchain Rust 1.67 2023-02-04 19:30:29 +01:00

README.md

❤️🪵

Radicle Heartwood Protocol & Stack

Heartwood is in the early development phase and is not yet ready for use.

Installation

# Command line tools
$ cargo install --locked --path ./radicle-cli

# The radicle node
$ cargo install --locked --path ./radicle-node

# Git tool to support the 'rad://' remote scheme
$ cargo install --locked --path ./radicle-remote-helper