aboutcode-org / aboutcode-org/scancode-toolkit

Detect "All rights reserved." on subsequent line

未關閉
#3,741 4 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
bug
主要語言
Python
星號
2.6k
分支
791
平均合併
1 天 12 小時
30 天內合併 PR
5

描述

### 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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。