CI: merge test.yml into test_new.yml and drop the leftover i386 setup
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 62/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, nginx, yaml
- Área
- build-system
Línea de trabajo
Empieza por .github/workflows/test.yml y .github/workflows/test_new.yml, y por el resolutor en .github/scripts/resolve-nginx-ref.sh. Primero elimina la línea sudo dpkg --add-architecture i386, luego añade master a la matriz nginx_version en test_new.yml y comprueba que el script lo acepta. Está terminado cuando se haya eliminado la línea i386, test_new.yml cubra el tip de nginx y los casos de PCRE1, y se haya eliminado test.yml. Los mantenedores todavía tienen que decidir si mantienen la entrada de PCRE1 y si la protección de ramas necesita que se actualicen los nombres de los jobs.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
Two workflows build and test the connector on every push and pull request: .github/workflows/test.yml ("Quality Assurance", added in dc6a525) and .github/workflows/test_new.yml ("Quality Assurance new", added in 6b37cc3). test_new.yml covers almost everything test.yml does, so CI runs mostly the same jobs twice.
test.yml also still has a leftover from a 32-bit build:
sudo dpkg --add-architecture i386
No i386 package is installed and nothing builds with -m32; both jobs build 64-bit on ubuntu-22.04. The line only adds the i386 package lists to apt-get update. Nothing in this repo (or in libModSecurity's workflows) builds or tests a 32-bit target, so there is no i386 build to deprecate, only this line to remove.
What test.yml covers that test_new.yml doesn't
test.yml |
test_new.yml |
|
|---|---|---|
| nginx | nginx/nginx default branch (unpinned tip) |
1.30.x, 1.29.x, 1.28.x via .github/scripts/resolve-nginx-ref.sh |
| PCRE | --without-pcre2 (PCRE1) |
PCRE2 |
| runner | ubuntu-22.04 |
ubuntu-24.04 |
| Linux/Windows jobs | gcc, clang, Windows | gcc, clang, Windows |
So removing test.yml would lose:
- the build against nginx's development tip, which catches upstream API breakage before a release;
- the
--without-pcre2build.
Proposal
- Remove the
dpkg --add-architecture i386line (can be done right away). - Fold the remaining coverage into
test_new.yml: addmasterto thenginx_versionmatrix (resolve-nginx-ref.shalready acceptsmaster), and decide whether the PCRE1 build is still worth keeping (as a single matrix entry if so). - Delete
test.yml. Optionally renametest_new.ymlback totest.yml/ "Quality Assurance", keeping in mind that branch protection may reference the job names.
- Lenguaje dominante
- Perl
- Estrellas
- 1.9k
- Forks
- 312
- Merge medio
- 2 d 22 h
- PR fusionados (30 d)
- 4
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin 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.
Más de owasp-modsecurity/ModSecurity-nginx
-
Possible dereference of NullAbierto:1st_place_medal: good first issue enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
owasp-modsecurity/ModSecurity-nginx#359 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Relative Location response header is seen by the rules, nginx sends it absolutePosiblemente ocupada @fzipi la tomó hoy. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
owasp-modsecurity/ModSecurity-nginx#422 ·
Los mantenedores suelen responder en 1 día
-
Transfer-Encoding and Connection response headers seen by the rules don't match the chunked filter'sPosiblemente ocupada @fzipi la tomó hoy. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
owasp-modsecurity/ModSecurity-nginx#420 ·
Los mantenedores suelen responder en 1 día
-
Documentation: Clarify dynamic module ABI compatibility with distribution-patched NGINX packagesPosiblemente ocupada @airween la tomó hoy. Abiertoenhancement
owasp-modsecurity/ModSecurity-nginx#419 · 2 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Connection response header is seen by the rules on HTTP/2 responsesPosiblemente ocupada @fzipi la tomó hoy. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
owasp-modsecurity/ModSecurity-nginx#415 ·
Los mantenedores suelen responder en 1 día
Todos los issues de owasp-modsecurity/ModSecurity-nginx
Issues similares
-
fix(rodex): sent mail loses the last character of title and bodyPosiblemente ocupada @baphomello la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
inverse-inc/packetfence#9768 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
-
Package Update Update Bot
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
priv-kweihmann/meta-sca#13307 ·