CI: merge test.yml into test_new.yml and drop the leftover i386 setup
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 62/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github-actions, nginx, yaml
- Lĩnh vực
- build-system
Hướng nghiên cứu
Bắt đầu từ .github/workflows/test.yml và .github/workflows/test_new.yml, cùng với bộ phân giải tại .github/scripts/resolve-nginx-ref.sh. Trước tiên xóa dòng sudo dpkg --add-architecture i386, sau đó thêm master vào ma trận nginx_version trong test_new.yml và kiểm tra xem script có chấp nhận giá trị này không. Công việc hoàn tất khi dòng i386 đã được xóa, test_new.yml bao phủ nginx tip và các trường hợp PCRE1, và test.yml đã được xóa. Maintainer vẫn cần quyết định có giữ mục PCRE1 hay không và branch protection có cần cập nhật tên job hay không.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Perl
- Star
- 1.9k
- Fork
- 312
- Merge trung bình
- 2 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không 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 owasp-modsecurity/ModSecurity-nginx
-
Possible dereference of NullĐang mở:1st_place_medal: good first issue enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
owasp-modsecurity/ModSecurity-nginx#359 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Relative Location response header is seen by the rules, nginx sends it absoluteCó thể đã có người làm @fzipi đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
owasp-modsecurity/ModSecurity-nginx#422 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Transfer-Encoding and Connection response headers seen by the rules don't match the chunked filter'sCó thể đã có người làm @fzipi đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
owasp-modsecurity/ModSecurity-nginx#420 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Documentation: Clarify dynamic module ABI compatibility with distribution-patched NGINX packagesCó thể đã có người làm @airween đã nhận hôm nay. Đang mởenhancement
owasp-modsecurity/ModSecurity-nginx#419 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Connection response header is seen by the rules on HTTP/2 responsesCó thể đã có người làm @fzipi đã nhận hôm nay. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
owasp-modsecurity/ModSecurity-nginx#415 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của owasp-modsecurity/ModSecurity-nginx
Issue tương tự
-
fix(rodex): sent mail loses the last character of title and bodyCó thể đã có người làm @baphomello đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
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 74/100
inverse-inc/packetfence#9768 ·
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 68/100
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 85/100
-
Package Update Update Bot
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
priv-kweihmann/meta-sca#13307 ·