aboutcode-org / aboutcode-org/scancode-toolkit

License detection issues in python library METADATA

Abierto
#4,431 0 comentarios 1 reacción 1 asignado Reclamado por @AyanSinhaMahapatra Ver en GitHub
bug improve-license-detection
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

See METADATA file in [METADATA.zip](https://github.com/user-attachments/files/20799221/METADATA.zip)
The file is extracted from [django_altcha-0.2.0-py3-none-any.whl](https://files.pythonhosted.org/packages/b4/c9/9b0e69197012ee9d448eded1e649b9e5ce07aacc9c0239b55739e739d79f/django_altcha-0.2.0-py3-none-any.whl)

1. The `License-Expression: MIT` line is ignored. It should return `mit`
2. The `License-File: LICENSE` line is detected as `unknown-license-reference`. Instead it should be ignored as it's a reference to the LICENSE file.
3. The following is detected as `apache-2.0`, it should be `mit`:
```
This project is licensed under the **MIT License**.
See the [LICENSE](./LICENSE) file for details.
```

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.