Conversation
Change the KeY license from "GPL-2.0-only" to "GPL-2.0-or-later" (SPDX GPL-2.0-or-later), i.e. "GNU General Public License Version 2, or (at your option) any later version". License headers (set by spotless via Gradle): - Update the spotless header template gradle/header to the new wording and run `spotlessApply` to rewrite the headers of all Java files in the main build (~2770 files). - Update the headers of the taclet rule files (*.key, where the spotless Key-format header step is currently disabled) and of the standalone scripts/tools/mt project. - Update the header template embedded in the source generators GenerateUnitTests/GenerateUnitTestsUtil so generated tests carry the new notice, and fix the two files spotless did not cover (package-info.java, fully commented-out AssertCommand.java). Maven POM generation: - Declare "GNU General Public License (GPL), Version 2, or later" in the mavenPublishing licenses block used to generate the per-module POMs. License dialog: - Update the KEY_FALLBACK text of LicenseAction to "GNU General Public License v2, or (at your option) any later version". Documentation and license texts: - LICENSE.TXT: the declaration now reads "either version 2 of the License, or (at your option) any later version". - README.md, CONTRIBUTING.md and .github/pull_request_template.md updated; removed the "(no later versions)" and "GPLv2 (only)" wording. Deliberately left unchanged: - key.ui/examples/case-studies/timsort/.../TimSort.java: verbatim third-party OpenJDK copy (Oracle copyright) used as the case-study subject. - scripts/mvndeploy/*.pom.xml: POMs describing third-party libraries (recoder, docking-frames). Validation: `spotlessCheck` passes; no GPL-2.0-only references remain in tracked files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
By AI in 140 kTokens. The prompt:
Change the KeY license from "GPL-2.0-only" to "GPL-2.0-or-later" (SPDX GPL-2.0-or-later), i.e. "GNU General Public License Version 2, or (at your option) any later version".
License headers (set by spotless via Gradle):
spotlessApplyto rewrite the headers of all Java files in the main build (~2770 files).Maven POM generation:
License dialog:
Documentation and license texts:
Deliberately left unchanged:
Validation:
spotlessCheckpasses; no GPL-2.0-only references remain in tracked files.