Trigger a failure if not all files are added to SVN
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Bắt đầu với deploy.sh quanh dòng 125 và build log bị lỗi được liên kết, sau đó xem xét cách các tệp được thêm vào SVN và svn:ignore ảnh hưởng đến bước đó như thế nào. Thay đổi được hoàn tất khi action phát hiện các tệp đang tồn tại nhưng chưa được thêm vào và thất bại trước khi triển khai, với coverage cho kịch bản vendor-directory.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Shell
- Star
- 665
- Fork
- 115
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của 10up/action-wordpress-plugin-deploy
-
help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
-
help wanted
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
10up/action-wordpress-plugin-deploy#172 · 2 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
10up/action-wordpress-plugin-deploy#146 · 10 bình luận ·
Tất cả issue của 10up/action-wordpress-plugin-deploy
Issue tương tự
-
Broken app label: nvivo15/nvivoĐang mởapplication-issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Installomator/Installomator#3657 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Own-agent checks: reject the Actions bot id in admit.mjs and test the source label in pr-verifyĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
melodic-software/claude-code-plugins#17374 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
-
out-of-date
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
CachyOS/CachyOS-PKGBUILDS#2154 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
eip-work/kuboard-press#723 ·