aboutcode-org / aboutcode-org/scancode-toolkit

Improve handling of license exceptions

Abierto
#2,855 12 comentarios 1 reacción 0 asignados Ver en GitHub
improve-license-detection license scan
Lenguaje dominante
Python
Estrellas
2.6k
Forks
791
Merge medio
1 d 12 h
PR fusionados (30 d)
5

Descripción

There are cases where a notice may not be amenable to a clean detection such as when we would have:
- a gpl-2.0
- a classpath-exception-2.0

both detected separately. Yet these we could instead report a single `gpl-2.0 WITH classpath-exception-2.0`.

To achieve this we should IMHO:
1. use the upcoming LicenseDetection post-processing approach
2. tag all exceptions with the list of license keys that they would typically except
3. when we have a detected solo exception preceded by license tag or notice of its excepted license then we could return the combined expression as a new detection from the two separate detections.

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.