Skip to content

docs: align license references with Apache 2.0 - #5492

Merged
Scottcjn merged 1 commit into
Scottcjn:mainfrom
galanime:codex/license-doc-consistency-2754
May 18, 2026
Merged

Scottcjn merged 1 commit into
Scottcjn:mainfrom
galanime:codex/license-doc-consistency-2754

Conversation

@galanime

Copy link
Copy Markdown
Contributor

Summary

  • Align remaining RustChain documentation license references with the root Apache License 2.0 license.
  • Update FAQ, whitepaper footer, Chinese README badge/footer, Chinese whitepaper footer, and the Floppy Witness Kit implementation note.
  • Completes the current-main residue behind [BUG] INSTALL.md States Wrong License (MIT vs Apache 2.0) #2754 after INSTALL.md had already been corrected.

Validation

  • Root LICENSE begins with Apache License 2.0.
  • rg -n "MIT License|MIT ???|License-MIT" docs\FAQ.md docs\WHITEPAPER.md docs\zh-CN\README.md docs\zh-CN\RustChain_Whitepaper_zh-CN_v1.0.md docs\BOUNTY_2313_IMPLEMENTATION.md returned no matches.
  • rg -n "Apache License 2\.0|License-Apache_2\.0" docs\FAQ.md docs\WHITEPAPER.md docs\zh-CN\README.md docs\zh-CN\RustChain_Whitepaper_zh-CN_v1.0.md docs\BOUNTY_2313_IMPLEMENTATION.md shows the corrected references.
  • git diff --check -- docs\FAQ.md docs\WHITEPAPER.md docs\zh-CN\README.md docs\zh-CN\RustChain_Whitepaper_zh-CN_v1.0.md docs\BOUNTY_2313_IMPLEMENTATION.md

Fixes #2754

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/XS PR: 1-10 lines labels May 16, 2026
@galanime

Copy link
Copy Markdown
Contributor Author

CI note: the repository-wide test check is failing during collection before running tests because the runner is missing optional dependencies (aiohttp, flask_cors, matplotlib). This PR only changes documentation license text.

Focused validators for this doc-only change passed:

  • rg -n "MIT License|MIT ???|License-MIT" docs\FAQ.md docs\WHITEPAPER.md docs\zh-CN\README.md docs\zh-CN\RustChain_Whitepaper_zh-CN_v1.0.md docs\BOUNTY_2313_IMPLEMENTATION.md -> no matches after the fix
  • rg -n "Apache License 2\.0|License-Apache_2\.0" ... -> corrected references found
  • git diff --check -- docs\FAQ.md docs\WHITEPAPER.md docs\zh-CN\README.md docs\zh-CN\RustChain_Whitepaper_zh-CN_v1.0.md docs\BOUNTY_2313_IMPLEMENTATION.md

@ZacharyZhang-NY ZacharyZhang-NY left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed PR #5492 at head 10d94ad.

Blocking finding:

The stated scope is to align the remaining RustChain documentation license references with the root Apache License 2.0 license, but the PR only fixes five files. A repo-wide search on the PR head still finds obvious RustChain documentation pages pointing readers to MIT, including:

  • DOCKER_DEPLOYMENT.md:351 MIT License - See LICENSE file for details
  • README.zh-CN.md:11 License-MIT badge and README.zh-CN.md:276 MIT License
  • README_DE.md:5 MIT badge and README_DE.md:126 MIT Lizenz
  • README_ES.md:6 MIT badge
  • README_HI.md:8 MIT badge
  • README_JA.md:8 MIT badge
  • README_RU.md:6 MIT badge
  • README_ZH-TW.md:5 MIT badge
  • README_ZH.md:5 MIT badge

Some MIT hits are likely valid for subprojects, SPDX headers, examples, or bundled actions, but the files above are RustChain-facing documentation with links/references to the repository root license. Those are the same class of mismatch as the files changed in this PR. Please either include the remaining root-doc/license badge references, or narrow the PR description and issue linkage so it does not claim to complete the remaining docs consistency work.

Validation performed:

  • git fetch origin pull/5492/head:review-pr-5492 --force
  • Confirmed root LICENSE begins with Apache License Version 2.0.
  • git diff --check origin/main...review-pr-5492 -- docs/FAQ.md docs/WHITEPAPER.md docs/zh-CN/README.md docs/zh-CN/RustChain_Whitepaper_zh-CN_v1.0.md docs/BOUNTY_2313_IMPLEMENTATION.md -> passed.
  • Confirmed the five touched files have no MIT License, MIT 许可证, or License-MIT residues.
  • Ran a repo-wide MIT license-reference search on the PR head and found the remaining documentation references listed above.

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jaxint jaxint left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for contributing. Approved.

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kekehanshujun kekehanshujun left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Requesting changes. The PR fixes several license references, but it does not complete the stated goal of aligning the remaining RustChain documentation with the root Apache License 2.0.

Finding:

  • The root LICENSE is Apache 2.0, and this PR updates five files, but obvious RustChain docs still advertise MIT licensing. Examples still present outside the diff:
    • docs/api/openapi.yaml has license.name: MIT and https://opensource.org/licenses/MIT.
    • docs/MULTISIG_WALLET_GUIDE.md ends with **许可证:** MIT License.
    • docs/UPGRADE_MIGRATION_GUIDE.md ends with **许可证:** MIT.
    • docs/blog/rustchain-utility-coin-not-security.md says RustChain is MIT-licensed in both the body and footer.

Please either include these remaining RustChain license references in this PR, or narrow the PR title/body so it does not claim to align the remaining documentation.

Validation performed:

  • Get-Content LICENSE -TotalCount 20 -> root license is Apache License 2.0
  • gh pr diff 5492 --repo Scottcjn/Rustchain
  • rg -n "MIT License|MIT licensed|MIT-licensed|License-MIT|许可证:.*MIT|根据 MIT|name: MIT|opensource.org/licenses/MIT" docs/api/openapi.yaml docs/MULTISIG_WALLET_GUIDE.md docs/UPGRADE_MIGRATION_GUIDE.md docs/blog/rustchain-utility-coin-not-security.md docs/BOTTUBE_MOOD_SYSTEM.md

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@TJCurnutte TJCurnutte left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved the license-reference cleanup.

Validation performed on head 10d94ad7688a89e4b6939b13e0e76c5ad43b061a:

  • git diff --check origin/main...HEAD -- docs/BOUNTY_2313_IMPLEMENTATION.md docs/FAQ.md docs/WHITEPAPER.md docs/zh-CN/README.md docs/zh-CN/RustChain_Whitepaper_zh-CN_v1.0.md passed.
  • License probe confirmed the repository LICENSE first non-empty lines are Apache License and Version 2.0, January 2004.
  • Source probe over the five changed docs files found Apache replacement text/badges in each file and zero stale MIT License / MIT许可证 phrases in those changed files.

This keeps the English and zh-CN docs aligned with the repository's actual Apache-2.0 license rather than continuing to advertise MIT.

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jaxint jaxint left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Great work on this PR. 🚀

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@HCIE2054 HCIE2054 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Scottcjn
Scottcjn merged commit 2fb4df8 into Scottcjn:main May 18, 2026
11 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/XS PR: 1-10 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants