release-verify-rc: the Nexus staging id shape refuses Maven's maven-NNNN ids
メンテナーはふだん 1 日以内に返信
評価
調査の方向性
Start with tools/release-management/src/release_management/verify_rc/nexus.py: inspect ID_SHAPE, its error text, and the --profile output parser. Then review the affected Nexus documentation and eval fixture listed in the issue, and regenerate the plugin mirror from the source. Done when Maven maven-NNNN IDs and the existing orgapache...-NNNN IDs are handled, unsafe IDs still fail closed, and snapshots remains skipped.
索引モデルが issue の本文から書いたものです。
説明
Summary
verify_rc/nexus.py validates the staging repository id against ^orgapache[a-z0-9]+-[0-9]+$ (ID_SHAPE) before any probe is rendered, and the --profile output parse only keeps rows whose first cell starts with orgapache. Apache Maven's staging repositories do not match that shape: Nexus names them maven-NNNN (the last three votes on [email protected] used maven-2471, maven-2472 and maven-2473), while Commons gets orgapachecommons-1965. The prefix is not always derived from the groupId.
For a Maven RC that sets nexus_staging_repo, Step 6c therefore reports the id as malformed and skips the probe, even when the RM supplies the full, valid URL.
Raised on PR #2150 by @slachiewicz. That PR widened the vote-draft check (tools/release-management/src/release_management/vote_draft/render.py) to accept ^[a-z0-9]+-[0-9]+$, which covers both families and still excludes the literal snapshots; the verify-rc side was kept out of scope there and is tracked here.
Affected places
tools/release-management/src/release_management/verify_rc/nexus.py:ID_SHAPE, the error text built from it, and thestartswith("orgapache")in the--profileoutput parsetools/asf-nexus/operations.md: the id-shape wording and thegrep -i "orgapache<name>"filter on theprofile_repositorieslistingtools/asf-nexus/staging-verification.mdandtools/asf-nexus/tool.md: the id-shape wordingplugins/magpie-release-management/skills/verify-rc/nexus-staging.md: the shape sentenceplugins/magpie-setup/templates/release-build.md: thenexus_staging_reporow describes the id asorgapache<name>-NNNNtools/skill-evals/evals/release-verify-rc/step-6c-nexus-staging/fixtures/output-spec.md: the shape sentence- the plugin mirror under
plugins/magpie-security-tools/tools/release-management/needs regenerating fromtools/release-management/after the source changes
Suggestion
Accept ^[a-z0-9]+-[0-9]+$ for the id fullmatch. It covers maven-2471 and orgapachecommons-1965, and still refuses the literal snapshots, which stays a skip by design. For the --profile listing, match the row on the repository id itself instead of the orgapache prefix, or keep the prefix filter but treat a miss as STATE-UNVERIFIED (a warn) rather than a gate.
Whatever is chosen, the id is spliced into curl URLs, so the check must keep failing closed on anything carrying /, .. or uppercase letters.
- 主要言語
- Python
- スター
- 152
- フォーク
- 133
- 平均マージ
- 12時間 39分
- マージ済み PR(30日)
- 384
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/magpie のほかの issue
-
vote-tally: date_order_mismatches compares ISO dates as text, so UTC offsets are misread対応中かも @leninworld が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
family:tools substrate:sandbox
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
apache/magpie#2176 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
ci: start each shipped tool once from its packaged plugin copy対応中かも @Anurag-S1ngh が 3 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
メンテナーはふだん 1 日以内に返信
-
capability:fix capability:intake family:docs family:security family:tools substrate:sandbox
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
メンテナーはふだん 1 日以内に返信
-
feat(issue): interactive duplicate-picker pane mod for issue-deduplicate対応中かも @Kaap10 が 8 日前に担当しました。 オープンcapability:resolve enhancement family:ci family:dev family:docs family:issue family:setup family:tools substrate:framework-dev
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
apache/magpie#2075 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
OpenFreeEnergy/openfe#2371 ·
メンテナーはふだん 2 日以内に返信
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
NCATSTranslator/Babel#1269 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 半日 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
404 on sample dataオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
bcgov/nr-hydrometric-rating-curve#443 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100