aboutcode-org / aboutcode-org/scancode-toolkit

Incomplete copyright detection for regular name

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

描述

### Description

Seemingly regular copyright holders are not detected correctly.

### How To Reproduce

* `wget https://raw.githubusercontent.com/arthurdejong/python-stdnum/52d316200c347b4f3d2b61a77ce746f3d28a3815/stdnum/eu/ecnumber.py`
* `scancode --copyright --json-pp out ecnumber.py`

We get

```json
{
"path": "ecnumber.py",
"type": "file",
"copyrights": [
{
"copyright": "Copyright (c) 2023 Daniel",
"start_line": 3,
"end_line": 3
}
],
"holders": [
{
"holder": "Daniel",
"start_line": 3,
"end_line": 3
}
],
"authors": [],
"scan_errors": []
}
```

instead of the full `Copyright (c) 2023 Daniel Weber`.

### System configuration

* What OS are you running on? Linux
* What version of scancode-toolkit was used to generate the scan file? 32.5.0
* What installation method was used to install/run scancode? pip

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

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

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