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

Add SPDX LicenseRef-.* for PKGBUILD's license #24

Open
txtsd opened this issue Nov 7, 2024 · 4 comments
Open

Add SPDX LicenseRef-.* for PKGBUILD's license #24

txtsd opened this issue Nov 7, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@txtsd
Copy link

txtsd commented Nov 7, 2024

Which means SPDX license expressions, and LicenseRef-* for custom licenses, are possible.

Reference:
https://spdx.github.io/spdx-spec/v3.0.1/annexes/spdx-license-expressions/#composite-license-expressions
https://spdx.org/licenses/exceptions-index.html

@Freed-Wu
Copy link
Collaborator

Freed-Wu commented Nov 7, 2024

#19 (comment)

It should support SPDX. I heard LicenseRef-* firstly. Sounds like all string match LicenseRef-.* are legal?

@Freed-Wu Freed-Wu changed the title Arch uses SPDX license identifiers Add SPDX LicenseRef-.* for PKGBUILD's license Nov 7, 2024
@Freed-Wu Freed-Wu added the enhancement New feature or request label Nov 7, 2024
@txtsd
Copy link
Author

txtsd commented Nov 7, 2024

Correct!

@txtsd
Copy link
Author

txtsd commented Nov 7, 2024

But also SPDX expressions like MIT OR GPL-3.0-or-later WITH GPL-3.0-linking-source-exception are valid.

EDIT: along with parentheses

@Freed-Wu
Copy link
Collaborator

Freed-Wu commented Nov 7, 2024

SPDX expression looks a little complex. Now this project just use regex to match some legal string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants