Trigger a failure if not all files are added to SVN
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
Línea de trabajo
Comienza con deploy.sh alrededor de la línea 125 y el registro de build fallido enlazado; después revisa cómo se añaden archivos a SVN y cómo afecta svn:ignore a ese paso. El cambio estará completo cuando la action detecte archivos presentes que no se añadieron y falle antes del despliegue, con cobertura para el escenario de vendor-directory.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your enhancement related to a problem? Please describe.
There were some files missing from the most recent release of one of my plugins on wordpress.org, despite the .gitignore and .gitattributes configuration being correct. Everything with the build is fine right up to the point where the plugin gets deployed to the plugin directory.
The problem appears to be caused by an existing svn:ignore prop on the plugin directory, which I historically used to prevent files from being deployed before I switched to using this GitHub action. In the most recent release of the plugin I added files which matched the svn:ignore prop, hence when this action added the files they were actually ignored.
Here's the related portion of the script: https://github.com/10up/action-wordpress-plugin-deploy/blob/de0553e7b3e232ad24cf49c9548734568c5956fe/deploy.sh#L125
Describe the solution you'd like
It would be great if this action trigger a failure when some files that are present have not been added to svn, to prevent a broken release from being deployed to wordpress.org. I'm not yet sure how this could work.
Additional context
- Build where the missing files (the
vendordirectory in this case) were not added due tovendorbeing present in thesvn:ignoreprop: https://github.com/johnbillion/wp-crontrol/runs/7270118515?check_suite_focus=true#step:8:70 - Discovery of the root cause: https://github.com/johnbillion/wp-crontrol/issues/85
- Lenguaje dominante
- Shell
- Estrellas
- 665
- Forks
- 115
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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 10up/action-wordpress-plugin-deploy
-
help wanted
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
-
help wanted
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
10up/action-wordpress-plugin-deploy#172 · 2 comentarios ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
10up/action-wordpress-plugin-deploy#146 · 10 comentarios ·
Todos los issues de 10up/action-wordpress-plugin-deploy
Issues similares
-
Broken app label: nvivo15/nvivoAbiertoapplication-issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Installomator/Installomator#3657 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Own-agent checks: reject the Actions bot id in admit.mjs and test the source label in pr-verifyAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
melodic-software/claude-code-plugins#17374 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
out-of-date
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
CachyOS/CachyOS-PKGBUILDS#2154 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
eip-work/kuboard-press#723 ·