aboutcode-org / aboutcode-org/scancode-toolkit

mpl-2.0 detected as apache-2.0

オープン
#3,133 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
2.6k
フォーク
791
平均マージ
1日 12時間
マージ済み PR(30日)
5

説明

### Description

The following line:
```
*pathspec* is licensed under the `Mozilla Public License Version 2.0`_.
```
is detected as `apache-2.0`

### How To Reproduce

Using ScanCode version: 31.2.1

Using the file [METADATA.txt](https://github.com/nexB/scancode-toolkit/files/9849766/METADATA.txt) as input (extracted from https://files.pythonhosted.org/packages/63/82/2179fdc39bc1bb43296f638ae1dfe2581ec2617b4e87c28b0d23d44b997f/pathspec-0.10.1-py3-none-any.whl)

```
scancode -l METADATA.txt --json-pp -
```

```
"license_expressions": [
"mpl-2.0",
"mpl-2.0",
"apache-2.0",
"mpl-2.0",
"mpl-2.0",
"mpl-2.0"
],
```

The `apache-2.0` match is problematic.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。