fork of radicle with Git LFS support, backed by IPFS
Go to file
Vincenzo Palazzo b29321dbf7
cob: Fix recursion bug in TryFrom of Reference
This commit addresses the issue of recursion in the TryFrom
call of Reference by resolving the parent in a lazy way.

Due to constraints posed by the need to access `git2::Repository`
or `git2::Commit` to resolve the parent, this commit decides to
pull out the parent resolution logic from the `cob::object::Commit`
module and move it inside the `cob::store::Store` implementation by adding
a new method `parents_of`.

Suggested-by: Fintan Halpenny <fintan.halpenny@gmail.com>
Tested-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2023-05-09 10:11:36 +02:00
.github/workflows ci: Remove `ci.yaml` 2023-04-17 15:58:55 +02:00
.nix Rust 1.67 2023-02-04 19:30:29 +01:00
radicle cob: Fix recursion bug in TryFrom of Reference 2023-05-09 10:11:36 +02:00
radicle-cli radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
radicle-cli-test cli: Call `rad sync` on `git push rad` 2023-04-25 12:46:25 +02:00
radicle-cob cob: Fix recursion bug in TryFrom of Reference 2023-05-09 10:11:36 +02:00
radicle-crdt Update `fastrand` dependency to 1.9.0 2023-04-14 13:15:52 +02:00
radicle-crypto radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
radicle-dag cob: Don't overwrite nodes during traversal 2023-04-27 14:44:47 +02:00
radicle-httpd radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
radicle-node node: Rename `reactor` module to `io` 2023-05-08 19:31:20 +02:00
radicle-remote-helper cli: Call `rad sync` on `git push rad` 2023-04-25 12:46:25 +02:00
radicle-ssh cli: Auth without ssh-agent 2023-05-03 15:52:33 +02:00
radicle-term cli: Display patches like issues, in `rad patch` 2023-04-26 12:29:32 +02:00
radicle-tools radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
radicle-tui tui: Update navigation design 2023-04-28 11:41:33 +02:00
scripts scripts: Refuse to delete own remote 2023-04-29 11:49:35 +02:00
.dockerignore Dockerize services 2022-12-14 17:15:40 +01:00
.env.seed seed: Update default tracking policy for seed 2023-04-17 21:16:56 +02:00
.gitignore Initial commit 2022-09-13 10:13:13 +02:00
.gitsigners Add `.gitsigners` file with core team 2023-04-05 11:46:57 +02:00
ARCHITECTURE.md Flesh out `HACKING.md` 2023-03-16 13:06:38 +01:00
CONTRIBUTING.md docs: Update contributor guide 2023-04-28 10:59:31 +02:00
Cargo.lock radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
Cargo.toml tui: Add basic framework 2023-03-20 16:27:42 +01:00
DCO Add licenses and contributor information 2022-11-16 12:26:12 +01:00
HACKING.md node: Rename control socket 2023-03-31 17:29:58 +02: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 Flesh out `README` 2023-03-13 12:19:20 +01:00
build.rs Rust 1.67 2023-02-04 19:30:29 +01:00
docker-compose.yml ci: Add git tracing to node deployment 2023-03-16 12:30:15 +01:00
rust-toolchain Rust 1.67 2023-02-04 19:30:29 +01:00

README.md

❤️🪵

Radicle Heartwood Protocol & Stack

Heartwood is the third iteration of the Radicle Protocol, a powerful peer-to-peer code collaboration and publishing stack. The repository contains a full implemention of Heartwood, complete with a user-friendly command-line interface (rad) and network daemon (radicle-node).

Radicle was designed to be a secure, decentralized and powerful alternative to code forges such as GitHub and GitLab that preserves user sovereignty and freedom.

Installation

Requirements

  • Linux or Unix based operating system.
  • Git 2.34 or later
  • OpenSSH 9.1 or later with ssh-agent

📦 From source

Requires the Rust toolchain.

You can install the Radicle stack from source, by running the following commands from inside this repository:

cargo install --path radicle-cli --force --locked
cargo install --path radicle-node --force --locked
cargo install --path radicle-remote-helper --force --locked

Or directly from our seed node:

cargo install --force --locked --git https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git \
    radicle-cli radicle-node radicle-remote-helper

Contributing

See CONTRIBUTING.md and HACKING.md for an introduction to contributing to Radicle.

License

Radicle is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.