aboutcode-org / aboutcode-org/scancode-toolkit

Incomplete copyright detection for regular name

Abierto
#4,941 1 comentario 1 reacción 0 asignados Ver en GitHub
bug copyright scan
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.