[Bug] CI build script accepts flags as values for required options
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 74/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- cmake, shell
- 領域
- build-system, cli
研究方向
從 ci/scripts/build_paimon.sh 開始,重現列出的命令,以追蹤必要的選項值和 --build_type 如何進行驗證。為缺少的值、看起來像選項的值,以及不受支援的建置類型新增腳本層級的涵蓋;完成的標準是無效引數在呼叫建置目錄或 CMake 之前失敗,同時列出的四種 CMake 建置類型仍維持接受。
由索引模型根據 Issue 內容生成。
描述
Search before asking
- I searched in the issues and found nothing similar.
Paimon-cpp version
Paimon version
Current main branch.
Minimal reproduce step
Run one of the following commands:
ci/scripts/build_paimon.sh --source_dir --enable_asan
ci/scripts/build_paimon.sh \
--source_dir . \
--build_type --enable_asan
ci/scripts/build_paimon.sh \
--source_dir . \
--lint_git_target_commit --enable_asan
The script treats the following option as the value of the preceding option and continues until a later command fails or CMake is invoked with an invalid value.
The script also accepts unsupported build types:
ci/scripts/build_paimon.sh \
--source_dir . \
--build_type Profile
What doesn't meet your expectations?
Options that require a value should reject an empty value or another --option with a clear error message.
The --build_type option should only accept the standard CMake build types used by the project:
DebugReleaseRelWithDebInfoMinSizeRel
Invalid arguments should be rejected before creating build directories or invoking CMake.
The argument validation behavior is currently not covered by dedicated script-level tests.
Anything else?
No response
Are you willing to submit a PR?
- I'm willing to submit a PR!
- 主要語言
- C++
- 星號
- 65
- 分支
- 31
- 平均合併
- 1 天 23 小時
- 30 天內合併 PR
- 64
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
apache/paimon-cpp 的其他 Issue
-
[Feature] Support writing MAP<K, BLOB> fields可能已有人在做 @SteNicholas 於 1 天前認領。 未關閉enhancement
apache/paimon-cpp#415 · 已指派 1 人 ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 35/100
apache/paimon-cpp#410 ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 25/100
apache/paimon-cpp#409 ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 35/100
apache/paimon-cpp#408 ·
維護者通常 1 天內回覆
-
enhancement
難度 5/5 一週以上 新手友好度 35/100
apache/paimon-cpp#407 ·
維護者通常 1 天內回覆
查看 apache/paimon-cpp 的全部 Issue
相似的 Issue
-
bug chart-audit
難度 1/5 1 小時以內 新手友好度 92/100
維護者通常 1 天內回覆
-
HasBacktrace Priority-Critical
難度 2/5 1-3 小時 新手友好度 78/100
azerothcore/azerothcore-wotlk#27921 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 88/100
yhirose/cpp-peglib#344 ·