Trigger a failure if not all files are added to SVN
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
調査の方向性
deploy.sh の 125 行目付近と、リンクされている失敗したビルドログから始め、次にファイルが SVN に追加される仕組みと、svn:ignore がその手順にどのように影響するかを確認します。action が存在するものの追加されていないファイルを検出し、デプロイ前に失敗するようになり、vendor-directory のケースをカバーできれば、変更は完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- Shell
- スター
- 665
- フォーク
- 115
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
10up/action-wordpress-plugin-deploy のほかの issue
-
help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
-
help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
10up/action-wordpress-plugin-deploy#172 · コメント 2 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
10up/action-wordpress-plugin-deploy#146 · コメント 10 件 ·
10up/action-wordpress-plugin-deploy の issue をすべて見る
似ている issue
-
application-issue
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
Installomator/Installomator#3657 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
Own-agent checks: reject the Actions bot id in admit.mjs and test the source label in pr-verifyオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
melodic-software/claude-code-plugins#17374 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
-
out-of-date
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
CachyOS/CachyOS-PKGBUILDS#2154 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
eip-work/kuboard-press#723 ·