fork of radicle with Git LFS support, backed by IPFS
Go to file
Fintan Halpenny 8e26e4c046
radicle: canonicalize home path
If a path was passed to `Home` in non-canonical form it would not use
the right path for any initialisation or use.

The aim is to use the `canonicalize` function for paths. However, this
may return an error if none of the paths exist. To ensure that the
path exists the `new` constructor for `Home` creates the directory and
canonicalizes the path.

Since `new` now initialises the home directory, it would be useful if
it also initialised all the necessary subdirectories -- which removes
the need for the `init` method.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-02-16 16:35:59 +01:00
.github/workflows ci: Deploy built container images 2023-02-14 20:34:55 +01:00
.nix Rust 1.67 2023-02-04 19:30:29 +01:00
radicle radicle: canonicalize home path 2023-02-16 16:35:59 +01:00
radicle-cli Make `ReadStorage` more usable 2023-02-15 22:08:20 +01:00
radicle-cli-test cli-test: Complete cargo metadata 2023-02-16 14:55:33 +01:00
radicle-cob node: Move to NoiseXK 2023-02-15 22:05:04 +01:00
radicle-crdt Add Op ID string formatting 2023-02-04 12:29:50 +01:00
radicle-crypto node: Move to NoiseXK 2023-02-15 22:05:04 +01:00
radicle-dag Rust 1.67 2023-02-04 19:30:29 +01:00
radicle-httpd Make `ReadStorage` more usable 2023-02-15 22:08:20 +01:00
radicle-node radicle: canonicalize home path 2023-02-16 16:35:59 +01:00
radicle-remote-helper Make `ReadStorage` more usable 2023-02-15 22:08:20 +01:00
radicle-ssh Update to Rust 1.65 2022-11-05 12:47:26 +01:00
radicle-tools Make `ReadStorage` more usable 2023-02-15 22:08:20 +01:00
.dockerignore Dockerize services 2022-12-14 17:15:40 +01:00
.env.seed ci: Deploy built container images 2023-02-14 20:34:55 +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 cli-test: Complete cargo metadata 2023-02-16 14:55:33 +01:00
Cargo.toml cli: Extract crate for md based tests 2023-02-15 15:25:38 +11: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 ci: Deploy built container images 2023-02-14 20:34:55 +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