GNU Readline should be replaced with libedit
Nadie ha tomado este issue todavía.
- #13184 de @petk — cerrado sin fusionar
- Lenguaje dominante
- C
- Estrellas
- 40.4k
- Forks
- 8.1k
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 96
Descripción
Description
The following when using Autotools build system:
./buildconf
./configure --with-readline
# or ./configure --with-readline --enable-phpdbg-readline
make
Results in successful build, but the linked library GNU Readline is licensed under the GNU GPL 3 license, which means that PHP then shouldn't be distributed to anyone. PHP provides linking with the libedit library (--with-libedit) as a replacement in this case. However, build system should not contain such issues. This is not that obvious for people just starting to build PHP and trying to provide it to other users.
There is https://github.com/php/php-src/pull/13184 where the GNU Readline is replaced with libedit only.
Should we target PHP 8.4?
PHP Version
any
Operating System
*nix
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza con la ruta de Autotools en buildconf y las opciones de configure --with-readline, --with-libedit y --enable-phpdbg-readline. Revisa el PR cerrado 13184 y verifica que los comandos de compilación relevantes ya no seleccionen GNU Readline y sigan completándose correctamente; el issue tiene como objetivo PHP 8.4, pero no especifica un objetivo confirmado.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- c
- Área
- build-system
- Tipo de issue
- Refactorización
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 25/100