aboutcode-org / aboutcode-org/scancode-toolkit

False positive SSPL license detection

Đang mở
#2,975 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
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ả

`#define PEX_ROOT_CMPLX_SSPL_REG(if) ((MV_PEX_IF_REGS_BASE(if)) + 0x1A0C)` gets detected incorrectly this way:
```
licenses:
- key: mongodb-sspl-1.0
score: '90.0'
name: Server Side Public License (SSPL) 1.0
short_name: SSPL 1.0
category: Source-available
is_exception: no
is_unknown: no
owner: MongoDB
homepage_url: https://www.mongodb.com/licensing/server-side-public-license
text_url:
reference_url: https://scancode-licensedb.aboutcode.org/mongodb-sspl-1.0
scancode_text_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mongodb-sspl-1.0.LICENSE
scancode_data_url: https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/mongodb-sspl-1.0.yml
spdx_license_key: SSPL-1.0
spdx_url: https://spdx.org/licenses/SSPL-1.0
start_line: 1
end_line: 1
matched_rule:
identifier: mongodb-sspl-1.0_60.RULE
license_expression: mongodb-sspl-1.0
licenses:
- mongodb-sspl-1.0
referenced_filenames: []
is_license_text: no
is_license_notice: no
is_license_reference: yes
is_license_tag: no
is_license_intro: no
has_unknown: no
matcher: 2-aho
rule_length: 1
matched_length: 1
match_coverage: '100.0'
rule_relevance: 90
matched_text: SSPL_
license_expressions:
- mongodb-sspl-1.0
```

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.