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
Activity
Freed-Wu commentedon Nov 7, 2024
#19 (comment)
It should support SPDX. I heard
LicenseRef-*firstly. Sounds like all string matchLicenseRef-.*are legal?[-]Arch uses SPDX license identifiers[/-][+]Add SPDX `LicenseRef-.*` for PKGBUILD's license[/+]txtsd commentedon Nov 7, 2024
Correct!
txtsd commentedon Nov 7, 2024
But also SPDX expressions like
MIT OR GPL-3.0-or-later WITH GPL-3.0-linking-source-exceptionare valid.EDIT: along with parentheses
Freed-Wu commentedon Nov 7, 2024
SPDX expression looks a little complex. Now this project just use regex to match some legal string.
[-]Add SPDX `LicenseRef-.*` for PKGBUILD's license[/-][+][pkgbuild] support SPDX `LicenseRef-.*`[/+]