aboutcode-org / aboutcode-org/scancode-toolkit

Detect "All rights reserved." on subsequent line

Đang mở
#3,741 4 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ả

### Description
We have found a scenario where the copyright is stated on two consecutive lines:

https://github.com/d3/d3-shape/blob/v1.3.7/LICENSE

> Copyright 2010-2015 Mike Bostock
> All rights reserved.

However ScanCode only reports the first line:

```
{
"path": "d3-shape-1.3.7/LICENSE",
"type": "file",
"name": "LICENSE",
"status": "application-package",
...
"copyrights": [
{
"end_line": 1,
"copyright": "Copyright 2010-2015 Mike Bostock",
"start_line": 1
}
],
...
```

### How To Reproduce

Run scancode and check result.

### System configuration

scancode.io with pkg:pypi/scancode-toolkit@32.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.