psi-header icon indicating copy to clipboard operation
psi-header copied to clipboard

SPDX expressions with more that one element don't work correclty

Open dcbaker opened this issue 1 year ago • 1 comments

If the license of a project is Apache-2.0 WITH LLVM-exception then <<spdxid>> and the related variables are not populated, despite the fact that the license is a well formed SPDX expression using the WITH operator. I haven't checked whether AND or OR work.

dcbaker avatar Jan 14 '25 23:01 dcbaker

The extension does not support SPDX Expressions - only SPDX IDs. It uses the spdx-license-list package which is a wrapper around the SPDX Json lists - it does not support SPDX Expressions. I am happy to consider a PR that adds the ability to use SPDX Expressions.

Regards D

davidquinn avatar Jan 15 '25 11:01 davidquinn