Skip to content
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

Use SPDX identifiers for licenses #2605

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

leoheitmannruiz
Copy link
Contributor

Before:

matrix.org$ grep -hr licence ./content/ecosystem | sort | uniq
licence = "AFL-3.0"
licence = "AGPL-3.0"
licence = "AGPL-3.0-only OR Element Commercial License"
licence = "AGPL-3.0-only"
licence = "AGPL-3.0-or-later"
licence = "AGPLv3"
licence = "Apache-2.0 OR MIT"
licence = "Apache-2.0"
licence = "Artistic2"
licence = "BSD"
licence = "CC0-1.0"
licence = "EUPL-1.2"
licence = "GNU GPLv3"
licence = "GPL-1.0-or-later"
licence = "GPL-2.0-only"
licence = "GPL-3.0"
licence = "GPL-3.0-only"
licence = "GPL-3.0-or-later"
licence = "ISC"
licence = "LGPL-2.1-only"
licence = "LGPL-3.0-or-later"
licence = "MIT"
licence = "MIT-Modern-Variant"
licence = "MPL-2.0"
licence = "None"
licence = "Unknown"
licence = "WTFPL"

After:

matrix.org$ grep -hr licence ./content/ecosystem | sort | uniq
licence = "AFL-3.0"
licence = "AGPL-3.0-only OR Element Commercial License"
licence = "AGPL-3.0-only"
licence = "AGPL-3.0-or-later"
licence = "Apache-2.0 OR MIT"
licence = "Apache-2.0"
licence = "Artistic-2.0"
licence = "BSD"
licence = "CC0-1.0"
licence = "EUPL-1.2"
licence = "GPL-1.0-or-later"
licence = "GPL-2.0-only"
licence = "GPL-3.0-only"
licence = "GPL-3.0-or-later"
licence = "ISC"
licence = "LGPL-2.1-only"
licence = "LGPL-3.0-or-later"
licence = "MIT"
licence = "MIT-Modern-Variant"
licence = "MPL-2.0"
licence = "None"
licence = "WTFPL"

Not sure what to do about

as the license text is not assigned an SPDX identifier matrix-construct/construct#203.

For licenses in the GPL family: when there was no reason to assume
-or-later I used -only. Of course, when -or-later was stated in the
source code or documentation, I used it:

Chatty
https://gitlab.gnome.org/World/Chatty/-/blob/1bf14775c548d7d54ac0154322c7a70f3c285504/src/chatty-application.c#L5-L8
Copy link
Contributor

@thibaultamartin thibaultamartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very welcome change, thanks!

@thibaultamartin thibaultamartin merged commit 7c55693 into matrix-org:main Jan 17, 2025
2 checks passed
@leoheitmannruiz
Copy link
Contributor Author

Thanks!

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.

2 participants