CI: merge test.yml into test_new.yml and drop the leftover i386 setup
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 62/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- github-actions, nginx, yaml
- 領域
- build-system
調査の方向性
まず .github/workflows/test.yml と .github/workflows/test_new.yml、そして .github/scripts/resolve-nginx-ref.sh のリゾルバーを確認してください。最初に sudo dpkg --add-architecture i386 の行を削除し、次に test_new.yml の nginx_version マトリクスに master を追加して、スクリプトがそれを受け付けるか確認します。i386 の行が削除され、test_new.yml が nginx の tip と PCRE1 のケースをカバーし、test.yml が削除されていれば完了です。PCRE1 のエントリを残すかどうか、またブランチ保護でジョブ名の更新が必要かどうかは、メンテナーが決める必要があります。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Perl
- スター
- 1.9k
- フォーク
- 312
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
owasp-modsecurity/ModSecurity-nginx のほかの issue
-
:1st_place_medal: good first issue enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
owasp-modsecurity/ModSecurity-nginx#359 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Relative Location response header is seen by the rules, nginx sends it absolute対応中かも @fzipi が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
owasp-modsecurity/ModSecurity-nginx#422 ·
メンテナーはふだん 1 日以内に返信
-
Transfer-Encoding and Connection response headers seen by the rules don't match the chunked filter's対応中かも @fzipi が今日担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
owasp-modsecurity/ModSecurity-nginx#420 ·
メンテナーはふだん 1 日以内に返信
-
Documentation: Clarify dynamic module ABI compatibility with distribution-patched NGINX packages対応中かも @airween が今日担当しました。 オープンenhancement
owasp-modsecurity/ModSecurity-nginx#419 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Connection response header is seen by the rules on HTTP/2 responses対応中かも @fzipi が今日担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
owasp-modsecurity/ModSecurity-nginx#415 ·
メンテナーはふだん 1 日以内に返信
owasp-modsecurity/ModSecurity-nginx の issue をすべて見る
似ている issue
-
fix(rodex): sent mail loses the last character of title and body対応中かも @baphomello が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
inverse-inc/packetfence#9768 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
Package Update Update Bot
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
priv-kweihmann/meta-sca#13307 ·