aboutcode-org / aboutcode-org/scancode-toolkit

`UPL-1.0 or Apache-2.0` is detected instead of just `Apache-2.0`

未关闭
#2,274 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
2.6k
派生
791
平均合并
1 天 12 小时
30 天内合并 PR
5

描述

### Description

Scannning [this line](https://github.com/lightbend/scala-logging/blob/6d0edaf12ee64257b377f7b407eb5d3002e28654/project/Common.scala#L53) results in `upl-1.0` being detected in addition to `apache-2.0` via this [rule](https://github.com/nexB/scancode-toolkit/blob/develop/src/licensedcode/data/rules/upl-1.0_or_apache-2.0_1.RULE).

### How To Reproduce

./scancode in.txt -l --json-pp out.txt

### System configuration

* Ubuntu 20.04
* scancode 3.2.1rc2
* release archive

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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