From d74535a5a51433bf35bd4c4f11ff6441989f4fef Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Sun, 23 Apr 2023 15:20:35 +0200 Subject: [PATCH] Update license for `radicle-cob` Now that we've obtained permission from the original author, we're able to update the license to MIT/Apache. --- radicle-cob/Cargo.toml | 2 +- radicle-cob/src/backend.rs | 3 --- radicle-cob/src/backend/git.rs | 3 --- radicle-cob/src/backend/git/change.rs | 3 --- radicle-cob/src/change.rs | 3 --- radicle-cob/src/change/store.rs | 3 --- radicle-cob/src/change_graph.rs | 3 --- radicle-cob/src/change_graph/evaluation.rs | 3 --- radicle-cob/src/history.rs | 3 --- radicle-cob/src/history/entry.rs | 4 +--- radicle-cob/src/lib.rs | 3 --- radicle-cob/src/object.rs | 3 --- radicle-cob/src/object/collaboration.rs | 3 --- radicle-cob/src/object/collaboration/create.rs | 3 --- radicle-cob/src/object/collaboration/error.rs | 3 --- radicle-cob/src/object/collaboration/get.rs | 3 --- radicle-cob/src/object/collaboration/info.rs | 3 --- radicle-cob/src/object/collaboration/list.rs | 3 --- radicle-cob/src/object/collaboration/remove.rs | 3 --- radicle-cob/src/object/collaboration/update.rs | 3 --- radicle-cob/src/object/storage.rs | 3 --- radicle-cob/src/pruning_fold.rs | 3 --- radicle-cob/src/sign.rs | 3 --- radicle-cob/src/signatures.rs | 3 --- radicle-cob/src/signatures/error.rs | 3 --- radicle-cob/src/trailers.rs | 3 --- radicle-cob/src/type_name.rs | 3 --- 27 files changed, 2 insertions(+), 79 deletions(-) diff --git a/radicle-cob/Cargo.toml b/radicle-cob/Cargo.toml index eee39c788..b038c03e8 100644 --- a/radicle-cob/Cargo.toml +++ b/radicle-cob/Cargo.toml @@ -6,7 +6,7 @@ authors = [ "Fintan Halpenny ", ] 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"] diff --git a/radicle-cob/src/backend.rs b/radicle-cob/src/backend.rs index 3c5c0ce5e..8baeba422 100644 --- a/radicle-cob/src/backend.rs +++ b/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; diff --git a/radicle-cob/src/backend/git.rs b/radicle-cob/src/backend/git.rs index 131f4057c..78179c38c 100644 --- a/radicle-cob/src/backend/git.rs +++ b/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; diff --git a/radicle-cob/src/backend/git/change.rs b/radicle-cob/src/backend/git/change.rs index 109028d46..9d4c6a8bb 100644 --- a/radicle-cob/src/backend/git/change.rs +++ b/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; diff --git a/radicle-cob/src/change.rs b/radicle-cob/src/change.rs index e3e592343..1a9a0fb6d 100644 --- a/radicle-cob/src/change.rs +++ b/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; diff --git a/radicle-cob/src/change/store.rs b/radicle-cob/src/change/store.rs index 934c4fb4d..b83062528 100644 --- a/radicle-cob/src/change/store.rs +++ b/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}; diff --git a/radicle-cob/src/change_graph.rs b/radicle-cob/src/change_graph.rs index db1b6e379..c98a90b49 100644 --- a/radicle-cob/src/change_graph.rs +++ b/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}; diff --git a/radicle-cob/src/change_graph/evaluation.rs b/radicle-cob/src/change_graph/evaluation.rs index 67b4aa360..358561de4 100644 --- a/radicle-cob/src/change_graph/evaluation.rs +++ b/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}; diff --git a/radicle-cob/src/history.rs b/radicle-cob/src/history.rs index 455c6dadd..d6c300c8f 100644 --- a/radicle-cob/src/history.rs +++ b/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}, diff --git a/radicle-cob/src/history/entry.rs b/radicle-cob/src/history/entry.rs index f1679065d..c4a2633ed 100644 --- a/radicle-cob/src/history/entry.rs +++ b/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; diff --git a/radicle-cob/src/lib.rs b/radicle-cob/src/lib.rs index b4508f301..03c8e8d65 100644 --- a/radicle-cob/src/lib.rs +++ b/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 //! diff --git a/radicle-cob/src/object.rs b/radicle-cob/src/object.rs index d0d6b7ed1..25382f8ee 100644 --- a/radicle-cob/src/object.rs +++ b/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}; diff --git a/radicle-cob/src/object/collaboration.rs b/radicle-cob/src/object/collaboration.rs index e8f2c0755..149aded30 100644 --- a/radicle-cob/src/object/collaboration.rs +++ b/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; diff --git a/radicle-cob/src/object/collaboration/create.rs b/radicle-cob/src/object/collaboration/create.rs index c86f5e7ab..10d130b4a 100644 --- a/radicle-cob/src/object/collaboration/create.rs +++ b/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; diff --git a/radicle-cob/src/object/collaboration/error.rs b/radicle-cob/src/object/collaboration/error.rs index 0b1d45afc..829e1001f 100644 --- a/radicle-cob/src/object/collaboration/error.rs +++ b/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; diff --git a/radicle-cob/src/object/collaboration/get.rs b/radicle-cob/src/object/collaboration/get.rs index 433978af3..28cb67125 100644 --- a/radicle-cob/src/object/collaboration/get.rs +++ b/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}; diff --git a/radicle-cob/src/object/collaboration/info.rs b/radicle-cob/src/object/collaboration/info.rs index e3fb34bdc..211196a34 100644 --- a/radicle-cob/src/object/collaboration/info.rs +++ b/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 diff --git a/radicle-cob/src/object/collaboration/list.rs b/radicle-cob/src/object/collaboration/list.rs index dd84f3cfd..1780b6d1b 100644 --- a/radicle-cob/src/object/collaboration/list.rs +++ b/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}; diff --git a/radicle-cob/src/object/collaboration/remove.rs b/radicle-cob/src/object/collaboration/remove.rs index 503ab0289..4969ccc57 100644 --- a/radicle-cob/src/object/collaboration/remove.rs +++ b/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}; diff --git a/radicle-cob/src/object/collaboration/update.rs b/radicle-cob/src/object/collaboration/update.rs index 0739d46e2..d13e5cde2 100644 --- a/radicle-cob/src/object/collaboration/update.rs +++ b/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; diff --git a/radicle-cob/src/object/storage.rs b/radicle-cob/src/object/storage.rs index d0ce33827..6b44375ba 100644 --- a/radicle-cob/src/object/storage.rs +++ b/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}; diff --git a/radicle-cob/src/pruning_fold.rs b/radicle-cob/src/pruning_fold.rs index 73561c5a4..32f717aa0 100644 --- a/radicle-cob/src/pruning_fold.rs +++ b/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, diff --git a/radicle-cob/src/sign.rs b/radicle-cob/src/sign.rs index 1cf94bab4..c8d7aea48 100644 --- a/radicle-cob/src/sign.rs +++ b/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}; diff --git a/radicle-cob/src/signatures.rs b/radicle-cob/src/signatures.rs index 4d04a89d4..12cb77a19 100644 --- a/radicle-cob/src/signatures.rs +++ b/radicle-cob/src/signatures.rs @@ -1,7 +1,4 @@ // Copyright © 2019-2020 The 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, diff --git a/radicle-cob/src/signatures/error.rs b/radicle-cob/src/signatures/error.rs index 2804c1322..45e5cacca 100644 --- a/radicle-cob/src/signatures/error.rs +++ b/radicle-cob/src/signatures/error.rs @@ -1,7 +1,4 @@ // Copyright © 2019-2020 The 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; diff --git a/radicle-cob/src/trailers.rs b/radicle-cob/src/trailers.rs index aa47ca2c0..215da098d 100644 --- a/radicle-cob/src/trailers.rs +++ b/radicle-cob/src/trailers.rs @@ -1,7 +1,4 @@ // Copyright © 2019-2020 The 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; diff --git a/radicle-cob/src/type_name.rs b/radicle-cob/src/type_name.rs index c34600325..b6d9f3ecf 100644 --- a/radicle-cob/src/type_name.rs +++ b/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};