Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
Update license for `radicle-cob`
Alexis Sellier committed 3 years ago
commit d74535a5a51433bf35bd4c4f11ff6441989f4fef
parent 7f8526ff766bb0a4a8a13b415ec8d547927c8683
27 files changed +2 -79
modified radicle-cob/Cargo.toml
@@ -6,7 +6,7 @@ authors = [
  "Fintan Halpenny <fintan.halpenny@gmail.com>",
]
edition = "2021"
-
license = "GPL-3.0-or-later"
+
license = "MIT OR Apache-2.0"
description = "Library for implementing Radicle Collaborative Objects"
keywords = ["radicle", "collaborative objects", "cob", "cobs"]

modified radicle-cob/src/backend.rs
@@ -1,6 +1,3 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

pub mod git;
modified radicle-cob/src/backend/git.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

pub mod change;

modified radicle-cob/src/backend/git/change.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use std::collections::BTreeMap;
use std::convert::TryFrom;
modified radicle-cob/src/change.rs
@@ -1,7 +1,4 @@
// Copyright © 2021 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use git_ext::Oid;

modified radicle-cob/src/change/store.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use std::{error::Error, fmt};

modified radicle-cob/src/change_graph.rs
@@ -1,7 +1,4 @@
// Copyright © 2021 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use std::{collections::BTreeSet, convert::TryInto};

modified radicle-cob/src/change_graph/evaluation.rs
@@ -1,7 +1,4 @@
// Copyright © 2021 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use std::{collections::HashMap, ops::ControlFlow};

modified radicle-cob/src/history.rs
@@ -1,7 +1,4 @@
// Copyright © 2021 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use std::{
    collections::{BTreeSet, HashMap},
modified radicle-cob/src/history/entry.rs
@@ -1,7 +1,5 @@
// Copyright © 2021 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.
+

use std::fmt;
use std::ops::Deref;
use std::str::FromStr;
modified radicle-cob/src/lib.rs
@@ -1,7 +1,4 @@
// Copyright © 2021 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

//! # Collaborative Objects
//!
modified radicle-cob/src/object.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use std::{convert::TryFrom as _, fmt, ops::Deref, str::FromStr};

modified radicle-cob/src/object/collaboration.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use std::collections::BTreeSet;

modified radicle-cob/src/object/collaboration/create.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use nonempty::NonEmpty;

modified radicle-cob/src/object/collaboration/error.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use thiserror::Error;

modified radicle-cob/src/object/collaboration/get.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use crate::{change_graph::ChangeGraph, CollaborativeObject, ObjectId, Store, TypeName};

modified radicle-cob/src/object/collaboration/info.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

//! [`ChangeGraphInfo`] provides a useful debugging structure for
//! representing a single [`crate::CollaborativeObject`]'s underlying
modified radicle-cob/src/object/collaboration/list.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use crate::{change_graph::ChangeGraph, CollaborativeObject, Store, TypeName};

modified radicle-cob/src/object/collaboration/remove.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use crate::{ObjectId, Store, TypeName};

modified radicle-cob/src/object/collaboration/update.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use git_ext::Oid;
use nonempty::NonEmpty;
modified radicle-cob/src/object/storage.rs
@@ -1,7 +1,4 @@
// Copyright © 2021 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use std::{collections::HashMap, error::Error};

modified radicle-cob/src/pruning_fold.rs
@@ -1,7 +1,4 @@
// Copyright © 2021 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use std::{
    borrow::Borrow,
modified radicle-cob/src/sign.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

pub mod signatures;
pub use signatures::{Signature, Signatures};
modified radicle-cob/src/signatures.rs
@@ -1,7 +1,4 @@
// Copyright © 2019-2020 The Radicle Foundation <hello@radicle.foundation>
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use std::{
    collections::BTreeMap,
modified radicle-cob/src/signatures/error.rs
@@ -1,7 +1,4 @@
// Copyright © 2019-2020 The Radicle Foundation <hello@radicle.foundation>
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use radicle_crypto::ssh::ExtendedSignatureError;
use thiserror::Error;
modified radicle-cob/src/trailers.rs
@@ -1,7 +1,4 @@
// Copyright © 2019-2020 The Radicle Foundation <hello@radicle.foundation>
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use git_trailers::{OwnedTrailer, Token, Trailer};
use radicle_git_ext as ext;
modified radicle-cob/src/type_name.rs
@@ -1,7 +1,4 @@
// Copyright © 2022 The Radicle Link Contributors
-
//
-
// This file is part of radicle-link, distributed under the GPLv3 with Radicle
-
// Linking Exception. For full terms see the included LICENSE file.

use std::{fmt, str::FromStr};