You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tern was including commas and other invalid characters in SPDX license
expressions which resulted in failed validation for generated SPDX docs.
This commit removes the inappropriate characters and
replaces them with valid ones (i.e. swapping `&` for `and`) before
checking if a license expression is valid. It also updates the related
function descriptions and comments for clarity.
Fixes: tern-tools#1223
Signed-off-by: Rose Judge <[email protected]>
Tern was including commas and other invalid characters in SPDX license
expressions which resulted in failed validation for generated SPDX docs.
This commit removes the inappropriate characters and
replaces them with valid ones (i.e. swapping `&` for `and`) before
checking if a license expression is valid. It also updates the related
function descriptions and comments for clarity.
Fixes: #1223
Signed-off-by: Rose Judge <[email protected]>
When trying to validate an SPDX file from the
ubuntu:latest
image the resulting file does not validate due to error:This is because the license expression should use
AND
instead of commas:LGPL-2.1+ AND GPL-2.0+ AND LGPL-2.0+
The text was updated successfully, but these errors were encountered: