Skip to content

GPL-2.0 licenses: "Lesser|Library" #2747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 28, 2025
Merged

Conversation

snazy
Copy link
Contributor

@snazy snazy commented May 20, 2025

The LGPL license was originally called the "GNU LIbrary General Public License" and some license tests refer to the "original" term "Library" instead of "Lesser".

This change is to let license matchers yield a positive match for the usage of "Library" for the "GPL-2.0*" licenses. This change does not add an <alt> to every occurence of "Lesser" in all licenses. It's rather there to support a special case.

See also JDK-8355388.

The LGPL license was originally called the "GNU LIbrary General Public License" and some license tests refer to the "original" term "Library" instead of "Lesser".

This change is to let license matchers yield a positive match for the usage of "Library" for the "GPL-2.0*" licenses. See also [JDK-8355388](https://bugs.openjdk.org/browse/JDK-8355388). This change does not add an `<alt>` to every occurence of "Lesser" in all licenses.
@snazy
Copy link
Contributor Author

snazy commented May 20, 2025

Reference also on wikipedia

@xsuchy
Copy link
Collaborator

xsuchy commented May 20, 2025

It would be great if you add at least one occurrence of the variant to crossRef tag.

@jlovejoy
Copy link
Member

needed word Lesser and ending alt tag, so added those directly

@snazy
Copy link
Contributor Author

snazy commented Jun 26, 2025

Hm - but it ends with </a>?

swinslow added a commit that referenced this pull request Jun 28, 2025
GPL-2.0 licenses: "Lesser|Library" (replacement for #2747)
@swinslow swinslow merged commit 03e6b70 into spdx:main Jun 28, 2025
1 of 2 checks passed
@swinslow
Copy link
Member

Because of issues with resolving some (largely unrelated) problems with expected warnings for duplicate licenses, I pulled these commits into #2770 which now appears to be passing.

@swinslow swinslow added the XML markup change potential change or addition to XML markup in license label Jun 28, 2025
@swinslow swinslow added this to the 3.27.0 milestone Jun 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
XML markup change potential change or addition to XML markup in license
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants