Trigger a failure if not all files are added to SVN
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 42/100
Piste de recherche
Commencez par deploy.sh vers la ligne 125 et le journal de build échoué associé, puis examinez comment les fichiers sont ajoutés à SVN et comment svn:ignore affecte cette étape. La modification est terminée lorsque l'Action détecte les fichiers présents qui n'ont pas été ajoutés et échoue avant le déploiement, avec une couverture pour le scénario vendor-directory.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- Shell
- Étoiles
- 665
- Forks
- 115
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de 10up/action-wordpress-plugin-deploy
-
help wanted
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
-
help wanted
Difficulté 3/5 1-2 jours Accessibilité débutants 65/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
10up/action-wordpress-plugin-deploy#172 · 2 commentaires ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 45/100
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
10up/action-wordpress-plugin-deploy#146 · 10 commentaires ·
Toutes les issues de 10up/action-wordpress-plugin-deploy
Issues similaires
-
meta::needs triage
Difficulté 1/5 1-3 heures Accessibilité débutants 70/100
docker-mailserver/docker-mailserver#4864 ·
Les mainteneurs répondent en général sous 1 jour
-
Bump zig to >= 0.17.1 in main images: 0.17.0 emits duplicate LC_LOAD_DYLIB, darwin binaries abort in dyldPeut-être pris @SuperQ l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
prometheus/golang-builder#417 ·
Les mainteneurs répondent en général sous 1 jour
-
Broken app label: nvivo15/nvivoOuverteapplication-issue
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
Installomator/Installomator#3657 · 1 commentaire ·
Les mainteneurs répondent en général sous 3 jours
-
Own-agent checks: reject the Actions bot id in admit.mjs and test the source label in pr-verifyOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 74/100
melodic-software/claude-code-plugins#17374 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100