Skip to content

docs: align README license to GPL-3.0-or-later#412

Open
shaun0927 wants to merge 1 commit intoEvoMap:mainfrom
shaun0927:docs/align-readme-license-to-gpl3
Open

docs: align README license to GPL-3.0-or-later#412
shaun0927 wants to merge 1 commit intoEvoMap:mainfrom
shaun0927:docs/align-readme-license-to-gpl3

Conversation

@shaun0927
Copy link
Copy Markdown

Problem

The license is declared four times and the declarations do not agree:

Location Value
README.md:4 (shields badge) MIT
README.md:428 (Section "License") MIT
README.zh-CN.md:4 MIT
README.zh-CN.md:424 MIT
package.json:20 \"license\": \"GPL-3.0-or-later\"
LICENSE GNU General Public License, Version 3

See #407 for the full rationale.

Fix

This PR aligns the four README locations to the authoritative
declaration already present in the LICENSE file and package.json.

  • Shields badge targets https://www.gnu.org/licenses/gpl-3.0.
  • License section in both languages reads GPL-3.0-or-later.

Why this direction

Three signals point to GPL-3.0 as the intended license:

  1. LICENSE file is legally binding for redistribution. It contains
    the full GPL-3.0 text, not an MIT text.
  2. package.json:20 uses the SPDX identifier
    GPL-3.0-or-later, which is what npm, SPDX scanners, and GitHub's
    dependency graph record.
  3. Obfuscated release artifacts (src/gep/*.js) imply that the
    publisher is exercising GPL-3.0 §6 terms for object-code
    distribution; that is not a posture the MIT license contemplates.

If MIT is actually the intended license, the direction should be
reversed: LICENSE and package.json would change instead. Aligning the
README to the LICENSE file is the safer default — the README is
documentation, the LICENSE file is the contract with redistributors.

Testing

Markdown only. No runtime behaviour change.

$ grep -n -i \"license\" README.md README.zh-CN.md | head
README.md:4:[![License: GPL-3.0-or-later](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
README.md:426:## License
README.md:428:[GPL-3.0-or-later](https://www.gnu.org/licenses/gpl-3.0)
README.zh-CN.md:4:[![License: GPL-3.0-or-later](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
README.zh-CN.md:424:[GPL-3.0-or-later](https://www.gnu.org/licenses/gpl-3.0)

Scope

Two files, +4/−4 lines.

Closes #407.

The repository declares GPL-3.0-or-later in both legally-binding
locations (the LICENSE file at the repository root and package.json
line 20), while README.md and README.zh-CN.md advertise MIT in the
shields badge and the License section. npm consumers, SPDX scanners,
and GitHub's dependency graph record the package as GPL-3.0 because
they read package.json; human readers see MIT.

This PR aligns the README to the authoritative declaration (the
LICENSE file). The badge target is updated to
https://www.gnu.org/licenses/gpl-3.0, and the License section quotes
the same SPDX identifier used in package.json.

If MIT is actually the intended license, the direction of this PR
should be reversed — the LICENSE file and package.json would change,
not the README. Aligning to the LICENSE file is the safe default
because that is the legally binding source for redistribution.

Closes EvoMap#407
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: license is declared as MIT in README but GPL-3.0-or-later in package.json and LICENSE

1 participant