Licence: a README 'licensed under' line warns, and standard text after a preface is recognised

Abierto
#595 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
72/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
tooling

Línea de trabajo

Read tools/licenses.py and policy/license.py, which the issue identifies as the unchanged license handling code; inspect how README declarations and full license texts are recognized. Add fixtures for the README-only LPPL declaration and the EUPL text after a preface, while keeping tmux’s altered ISC text unrecognized. Done means all three fixture cases behave as specified.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Decided (2026-12-02)

  1. A licence declared only in the README (plk/biblatex, LPPL 1.3) is WARN, not FAIL. The detail names the README. This applies only to an explicit "licensed under " line, and the hint says to add a LICENSE file.
  2. A standard licence text that appears whole after a project preface (pi-hole, EUPL) is recognised, and the preface is noted in the details. Altered texts such as tmux's ISC stay not recognised.

Neither is built: tools/licenses.py and policy/license.py are unchanged since #523.

Done when

Fixtures for both cases, plus tmux's altered text still not recognised.

Split from #487. Checked against main at 4b4dbb6c on 2026-12-03: the cases above were reproduced with small fixtures or found in the code.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Lenguaje dominante
Python
Estrellas
4
Forks
1
Merge medio
6 h 31 min
PR fusionados (30 d)
238

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de cpp-best-practices/project_validator

Todos los issues de cpp-best-practices/project_validator

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.