aboutcode-org / aboutcode-org/scancode-toolkit

False positive detection on unknown-license-reference_332.RULE

未关闭
#3,379 1 条评论 0 个 reaction 已指派 1 人 已被 @AyanSinhaMahapatra 认领 在 GitHub 查看
bug license-review
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

A recent scan of `CHANGELOG.md` in package `which-2.0.2.tgz` returned a detection of unknown-license-reference with a score of 80 on the unknown-license-reference_332.RULE which is based on this rule text: `{{License 1.0}}`

The problem is that the actual text in the CHANGELOG.md file, starting at line 135, is this:
```
## v1.0.6

* isc license

## 1.0.5

* Awful typo
```

Since standard license detection behavior is to ignore punctuation, one can see why this would happen, but it is definitely a false positive detection, although I am afraid I do not have (yet) a good suggestion for an approach to fix this problem. Basically the unknown license should not have been detected and reported at all.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。