aboutcode-org / aboutcode-org/scancode-toolkit

gpl-2.0 detected as gpl-3.0-plus

Đang mở
#5,039 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

The following "matched_text" is clearly a gpl-2.0 notice, but SCTK detected it as 'gpl-3.0-plus`
> "matched_text": " * This driver is free software; you can redistribute it and/or modify\n * it under the terms of version 2 only of the GNU General Public License as\n * published by the Free Software Foundation.\n *\n * It is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
```
"tool_name": "scancode-toolkit",
"tool_version": "32.5.0",
```
```
{
"license_expression": "gpl-3.0-plus",
"license_expression_spdx": "GPL-3.0-or-later",
"matches": [
{
"license_expression": "gpl-3.0-plus",
"license_expression_spdx": "GPL-3.0-or-later",
"from_file": "linux-2.6/linux-2.6.30/drivers/net/wireless/ray_cs.c",
"start_line": 10,
"end_line": 21,
"matcher": "3-seq",
"score": 93.33,
"matched_length": 98,
"match_coverage": 93.33,
"rule_relevance": 100,
"rule_identifier": "gpl-3.0-plus_101.RULE",
"rule_url": "https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/gpl-3.0-plus_101.RULE",
"matched_text": " * This driver is free software; you can redistribute it and/or modify\n * it under the terms of version 2 only of the GNU General Public License as\n * published by the Free Software Foundation.\n *\n * It is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA"
}
],
"identifier": "gpl_3_0_plus-50a35d34-9a1a-73d8-8010-25c11aaad4ad"
},
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.