Skip to content

docs: align root README license references - #5501

Merged
Scottcjn merged 2 commits into
Scottcjn:mainfrom
kekehanshujun:fix-root-doc-license-references-2754
May 18, 2026
Merged

Scottcjn merged 2 commits into
Scottcjn:mainfrom
kekehanshujun:fix-root-doc-license-references-2754

Conversation

@kekehanshujun

Copy link
Copy Markdown
Contributor

Summary

  • Align remaining root-facing README/deployment license references with the repository root Apache License 2.0 license.
  • Update the MIT badges in the top-level translated READMEs to the Apache 2.0 badge.
  • Update the top-level Chinese/German/deployment license text that still pointed readers to MIT.

Scope note

This intentionally avoids SDKs, tools, examples, and bundled subprojects that may have their own MIT licensing. It covers the root README/deployment files called out during review of PR #5492 and does not touch that PR's docs/** files.

Validation

  • Root LICENSE begins with Apache License Version 2.0.
  • rg -n "MIT License|MIT ???|MIT Lizenz|MIT???|License-MIT|License: MIT" DOCKER_DEPLOYMENT.md README.zh-CN.md README_DE.md README_ES.md README_HI.md README_JA.md README_RU.md README_ZH-TW.md README_ZH.md returns no matches.
  • rg -n "Apache License 2\.0|License-Apache_2\.0" DOCKER_DEPLOYMENT.md README.zh-CN.md README_DE.md README_ES.md README_HI.md README_JA.md README_RU.md README_ZH-TW.md README_ZH.md shows the corrected references.
  • git diff --check -- DOCKER_DEPLOYMENT.md README.zh-CN.md README_DE.md README_ES.md README_HI.md README_JA.md README_RU.md README_ZH-TW.md README_ZH.md

Related to #2754.

RTC wallet: RTC02811ff5e2bb4bb4b95eee44c5429cd9525496e7

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

@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.

@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 #5501 at head 7dac774.

Validation performed:

  • Checked issue #2754, which documents root-project license references drifting from the repository root Apache License 2.0 license.
  • git fetch origin pull/5501/head:review-pr-5501 --force
  • git diff --check origin/main...review-pr-5501 -- DOCKER_DEPLOYMENT.md README.zh-CN.md README_DE.md README_ES.md README_HI.md README_JA.md README_RU.md README_ZH-TW.md README_ZH.md -> passed.
  • Confirmed the root LICENSE begins with Apache License, Version 2.0.
  • Ran rg for MIT license references in the touched root-facing files and found no remaining matches.
  • Ran rg for Apache License 2.0 / License-Apache_2.0 in the touched files and confirmed the corrected badge/text references are present.

This keeps the root-facing README/deployment license references aligned with the repository root license while staying scoped away from SDKs, examples, and bundled subprojects. Approving.

@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!

@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. I verified the license-reference cleanup against head 7dac7740c7ef4622ecf5abe65d0db43b9736a65e.

Validation run:

  • git diff --check origin/main...HEAD -- DOCKER_DEPLOYMENT.md README.zh-CN.md README_DE.md README_ES.md README_HI.md README_JA.md README_RU.md README_ZH-TW.md README_ZH.md
  • Python source probe over the changed files:
    • LICENSE first non-empty lines are Apache License and Version 2.0, January 2004.
    • All 9 changed docs files now contain an Apache 2.0 license reference.
    • No stale MIT License, MIT许可证, MIT Lizenz, or License-MIT strings remain in those changed files.
    • The translated README badge files now use License-Apache_2.0 and still link to the repository LICENSE file.

This is a docs-only change, but it fixes a real repository-contract mismatch and keeps the localized README/license links aligned with the actual Apache-2.0 license file.

@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. 🚀

@iamdinhthuan iamdinhthuan 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 because the license cleanup still leaves localized MIT references in files this PR already touches.

Validation at head 7dac7740c7ef4622ecf5abe65d0db43b9736a65e:

  • git diff --check origin/main...HEAD -- DOCKER_DEPLOYMENT.md README.zh-CN.md README_DE.md README_ES.md README_HI.md README_JA.md README_RU.md README_ZH-TW.md README_ZH.md passes.
  • python3 tools/bcos_spdx_check.py --base-ref origin/main passes.
  • rg -n "MIT|License-MIT|Lizenz-MIT|Licencia MIT|MITライセンス|MIT 授權條款" DOCKER_DEPLOYMENT.md README.zh-CN.md README_DE.md README_ES.md README_HI.md README_JA.md README_RU.md README_ZH-TW.md README_ZH.md still reports:
    • README_ZH-TW.md:336:MIT 授權條款 - ...
    • README_JA.md:450:MITライセンス - ...
    • README_ES.md:457:Licencia MIT - ...
    • README_DE.md:5:[![Lizenz](https://img.shields.io/badge/Lizenz-MIT-blue.svg)](LICENSE)

The PR updates several translated badge/footer references from MIT to Apache 2.0, but these remaining translated strings still point readers at MIT in the same root-facing README set. Please update the residual localized license labels/text to Apache 2.0 as part of this cleanup.

@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. 🚀

@strongkeep-debug strongkeep-debug 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 current head 292da230a3d6278a59991155b9c96a0f3448577c.

The previous blocker was the residual localized MIT references in the root-facing README/deployment set. This head resolves that specific gap: the touched files no longer contain the stale MIT badge/text variants called out in the change request, and each target file now has an Apache 2.0 reference aligned with the repository root LICENSE.

Validation run on the current head:

git diff --check origin/main...HEAD -- DOCKER_DEPLOYMENT.md README.zh-CN.md README_DE.md README_ES.md README_HI.md README_JA.md README_RU.md README_ZH-TW.md README_ZH.md
# passed

python license/reference probe over LICENSE plus the 9 touched docs files
# LICENSE first non-empty lines: Apache License / Version 2.0, January 2004
# stale MIT references in target files: []
# all target files have an Apache reference: true

python tools/bcos_spdx_check.py --base-ref origin/main
# passed

rg -n "MIT|License-MIT|Lizenz-MIT|Licencia MIT|MIT?????|MIT ????" <target docs>
# no matches

rg -n "Apache License 2\.0|License-Apache_2\.0|Apache 2\.0" <target docs>
# matches present in the target docs

This stays within the intended root README/deployment license-reference scope and avoids changing SDKs, examples, or bundled subprojects that may have their own licensing.

@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 51635fc into Scottcjn:main May 18, 2026
2 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.

8 participants