psi-header
psi-header copied to clipboard
SPDX expressions with more that one element don't work correclty
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.
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