Repository navigation
docs: align root README license references - #5501
Conversation
jaxint
left a comment
There was a problem hiding this comment.
LGTM! Thanks for contributing. Approved.
ZacharyZhang-NY
left a comment
There was a problem hiding this comment.
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
rgfor MIT license references in the touched root-facing files and found no remaining matches. - Ran
rgforApache License 2.0/License-Apache_2.0in 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.
TJCurnutte
left a comment
There was a problem hiding this comment.
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:
LICENSEfirst non-empty lines areApache LicenseandVersion 2.0, January 2004.- All 9 changed docs files now contain an Apache 2.0 license reference.
- No stale
MIT License,MIT许可证,MIT Lizenz, orLicense-MITstrings remain in those changed files. - The translated README badge files now use
License-Apache_2.0and still link to the repositoryLICENSEfile.
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.
jaxint
left a comment
There was a problem hiding this comment.
LGTM! Great work on this PR. 🚀
iamdinhthuan
left a comment
There was a problem hiding this comment.
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.mdpasses.python3 tools/bcos_spdx_check.py --base-ref origin/mainpasses.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.mdstill reports:README_ZH-TW.md:336:MIT 授權條款 - ...README_JA.md:450:MITライセンス - ...README_ES.md:457:Licencia MIT - ...README_DE.md:5:[](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.
jaxint
left a comment
There was a problem hiding this comment.
LGTM! Great work on this PR. 🚀
strongkeep-debug
left a comment
There was a problem hiding this comment.
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.
Summary
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
LICENSEbegins 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.mdreturns 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.mdshows 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.mdRelated to #2754.
RTC wallet: RTC02811ff5e2bb4bb4b95eee44c5429cd9525496e7