From 9f23eb9d2bb6c04c167d7fa05ae479ea41dba34c Mon Sep 17 00:00:00 2001 From: Nelson Spence Date: Mon, 25 May 2026 19:56:24 -0500 Subject: [PATCH] fix: rename LICENSE-APACHE to LICENSE-APACHE-2.0 for Scorecard detection OpenSSF Scorecard's License check matches by filename only (it never reads file content) and scores only the first license file alphabetically. LICENSE-APACHE yields the SPDX id "APACHE", which is not FSF/OSI-recognized, so the check scored 9/10 ("does not contain an FSF or OSI license"). LICENSE-APACHE-2.0 yields the valid SPDX id "Apache-2.0" and scores 10/10 (verified locally with `scorecard --local . --checks=License`). Also remove the bare LICENSE wrapper: it was a short dual-license pointer that licensee could not content-match (GitHub reported the license as unknown/NOASSERTION), and Scorecard selected it first and failed on its empty SPDX id. Its contribution note moves into the README License section per the Rust API Guidelines. Apply the same rename to the ordvec-python binding's license copy and update both README Apache links. License text is unchanged (pure git renames); LICENSE-APACHE-2.0 is byte-identical to the canonical rust-lang/rust LICENSE-APACHE. Signed-off-by: Nelson Spence --- LICENSE | 20 ------------------- LICENSE-APACHE => LICENSE-APACHE-2.0 | 0 README.md | 8 +++++++- .../{LICENSE-APACHE => LICENSE-APACHE-2.0} | 0 ordvec-python/README.md | 2 +- 5 files changed, 8 insertions(+), 22 deletions(-) delete mode 100644 LICENSE rename LICENSE-APACHE => LICENSE-APACHE-2.0 (100%) rename ordvec-python/{LICENSE-APACHE => LICENSE-APACHE-2.0} (100%) diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 5effe81c..00000000 --- a/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -Copyright (c) 2026 Nelson Spence - -ordvec is dual-licensed under either of: - - * Apache License, Version 2.0 - (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0) - * MIT license - (LICENSE-MIT or https://opensource.org/licenses/MIT) - -at your option. - -SPDX-License-Identifier: MIT OR Apache-2.0 - -The complete text of each license is provided in LICENSE-APACHE and -LICENSE-MIT in the root of this repository. - -Unless you explicitly state otherwise, any contribution intentionally -submitted for inclusion in this project by you, as defined in the -Apache-2.0 license, shall be dual licensed as above, without any -additional terms or conditions. diff --git a/LICENSE-APACHE b/LICENSE-APACHE-2.0 similarity index 100% rename from LICENSE-APACHE rename to LICENSE-APACHE-2.0 diff --git a/README.md b/README.md index 1cdcde0b..f823ca1a 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,12 @@ minor-version change. Licensed under either of - MIT License ([LICENSE-MIT](LICENSE-MIT)) -- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE)) +- Apache License, Version 2.0 ([LICENSE-APACHE-2.0](LICENSE-APACHE-2.0)) at your option. + +### Contribution + +Unless you explicitly state otherwise, any contribution intentionally submitted +for inclusion in the work by you, as defined in the Apache-2.0 license, shall be +dual licensed as above, without any additional terms or conditions. diff --git a/ordvec-python/LICENSE-APACHE b/ordvec-python/LICENSE-APACHE-2.0 similarity index 100% rename from ordvec-python/LICENSE-APACHE rename to ordvec-python/LICENSE-APACHE-2.0 diff --git a/ordvec-python/README.md b/ordvec-python/README.md index 6cbfdd38..24649a4e 100644 --- a/ordvec-python/README.md +++ b/ordvec-python/README.md @@ -42,5 +42,5 @@ the origin project. Dual-licensed under either of [MIT](https://github.com/Fieldnote-Echo/ordvec/blob/main/LICENSE-MIT) or -[Apache-2.0](https://github.com/Fieldnote-Echo/ordvec/blob/main/LICENSE-APACHE) +[Apache-2.0](https://github.com/Fieldnote-Echo/ordvec/blob/main/LICENSE-APACHE-2.0) at your option.