Re-License to "MIT OR Aapache-2.0"

The main dependant of `radicle-git`, and its crates, is [`heartwood`].
It is licensed under MIT or Apache-2.0, which has been incompatible with the GPL-3.0 license.
Since the intellectual property of this code base is with the Better Internet Foundation, it was
decided to re-license code in this repository to make the upstream repository compatible.

 - Remove the license headers (and instructions to add them)
 - Add MIT and Apache-2.0 licenses
 - Remove the GPL-3.0 license
 - Change the license declarations in the `Cargo.toml` files

[`heartwood`]: https://app.radicle.xyz/nodes/seed.radicle.xyz/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
This commit is contained in:
Fintan Halpenny
2025-11-14 12:52:22 +01:00
committed by Lorenz Leutgeb
parent 7d68eaff7b
commit b570fa1435
74 changed files with 208 additions and 1126 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
name = "tests"
version = "0.1.0"
edition = "2021"
license = "GPL-3.0-or-later"
license = "MIT OR Apache-2.0"
publish = false
-3
View File
@@ -1,4 +1 @@
// Copyright © 2022 The Radicle Link Contributors
// SPDX-License-Identifier: GPL-3.0-or-later
//! This page intentionally left blank.
+1 -1
View File
@@ -2,7 +2,7 @@
name = "test-helpers"
version = "0.1.0"
edition = "2021"
license = "GPL-3.0-or-later"
license = "MIT OR Apache-2.0"
publish = false
description = "Test helpers"
-3
View File
@@ -1,4 +1 @@
// Copyright © 2022 The Radicle Link Contributors
// SPDX-License-Identifier: GPLv3-or-later
pub mod std_net;
-3
View File
@@ -1,6 +1,3 @@
// Copyright © 2022 The Radicle Link Contributors
// SPDX-License-Identifier: GPLv3-or-later
use std::net::{Ipv4Addr, Ipv6Addr, SocketAddr, SocketAddrV4, SocketAddrV6};
use proptest::prelude::*;
-3
View File
@@ -1,6 +1,3 @@
// Copyright © 2022 The Radicle Link Contributors
// SPDX-License-Identifier: GPLv3-or-later
pub mod gen;
pub mod logging;
pub mod roundtrip;
-5
View File
@@ -1,8 +1,3 @@
// 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::env;
use log::{log_enabled, Level};
-5
View File
@@ -1,8 +1,3 @@
// 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::{
fmt::{Debug, Display},
str::FromStr,
-5
View File
@@ -1,8 +1,3 @@
// 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::{
io,
ops::{Deref, DerefMut},