From 652ea763603517ba4d13325a405e3124844ded31 Mon Sep 17 00:00:00 2001 From: Codex Date: Mon, 23 Nov 2026 22:58:10 +0800 Subject: [PATCH] Use Apache-2.0 as the sole project license --- Cargo.toml | 2 +- LICENSE-MIT | 21 --------------------- docs/releasing.md | 2 +- tools/release/package.py | 3 +-- 4 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 LICENSE-MIT diff --git a/Cargo.toml b/Cargo.toml index 589373b..c54d882 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ members = [ version = "3.0.0-rc.2" edition = "2021" rust-version = "1.89" -license = "MIT OR Apache-2.0" +license = "Apache-2.0" repository = "https://github.com/cflmy/marqdo-cli" authors = ["Marqdo contributors"] diff --git a/LICENSE-MIT b/LICENSE-MIT deleted file mode 100644 index 28772dd..0000000 --- a/LICENSE-MIT +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2026 Marqdo contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/docs/releasing.md b/docs/releasing.md index 8972bb5..14c57bc 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -120,7 +120,7 @@ python3 tools/release/package.py --version "$version" --source-sha "$sha" Contents: `marqdo` **and** `marqdo-provider-worker` in the same directory, the **complete verified `stdlib/` bundle** (`stdlib.json`, every `.mq.md` module -and self-test), `LICENSE-*`, `README.md`, `CHANGELOG.md`, `COMPATIBILITY.md`, +and self-test), `LICENSE-APACHE`, `README.md`, `CHANGELOG.md`, `COMPATIBILITY.md`, `RELEASE_INFO.json`, `SOURCE_SHA`, `KNOWN_LIMITATIONS.md`, `spec/`, `docs/developers/`, `examples/` (with host-built plugin/provider/math-backend artifacts so the examples run without a compiler) and `tests/consumers/`. diff --git a/tools/release/package.py b/tools/release/package.py index 0c6b2bd..1aa695b 100644 --- a/tools/release/package.py +++ b/tools/release/package.py @@ -219,8 +219,7 @@ def stage(stage_dir: Path, version: str, source_sha: str, target: str) -> dict: for name in ("README.md", "CHANGELOG.md", "COMPATIBILITY.md"): shutil.copy2(ROOT / name, stage_dir / name) - for license_name in ("LICENSE-MIT", "LICENSE-APACHE"): - shutil.copy2(ROOT / license_name, stage_dir / license_name) + shutil.copy2(ROOT / "LICENSE-APACHE", stage_dir / "LICENSE-APACHE") copy_tree(ROOT / "spec", stage_dir / "spec") copy_tree(ROOT / "docs" / "developers", stage_dir / "docs" / "developers")