aboutcode-org / aboutcode-org/scancode-toolkit

Inaccurate license detection for SPDX license identifier with trimmed, missing trailing parens

未關閉
#2,290 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug enhancement license scan
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

A text exactly as `SPDX-License-Identifier: (GPL-2.0-or-later WITH Bootloader-exception` (with a missing trailing paren) will be detected as `(gpl-2.0-plus AND bootloader-exception) AND unknown-spdx` where `unknown-spdx` comes from the missing trailing paren making the expression invalid from strict validation perspective.
We should allow and cope with these kind of cases which can be characterized as the presence of a single opening paren.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。