stackabletech / stackabletech/stackablectl

Include/Exclude filters do not split comma-separated values

未關閉
#375 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

type/bug
主要語言
Rust
星號
10
分支
5
平均合併
4 小時 41 分鐘
30 天內合併 PR
4

描述

@xeniape found this bug

Affected version

25.3.0

Current and expected behavior

Current Behaviour:

stackablectl release install 25.3 -e airflow,druid

This installs all operators. None are excluded, because there is no operator named airflow,druid.

Expected behaviour:

The help text suggest you can specify multiple values (INCLUDED_PRODUCTS and EXCLUDED_PRODUCTS):

Options:
  -i, --include <INCLUDED_PRODUCTS>
          Whitelist of product operators to install

  -e, --exclude <EXCLUDED_PRODUCTS>
          Blacklist of product operators to install
stackablectl release install 25.3 -e airflow,druid

This should install all operators for the release, except airflow and druid.

Possible solution

Try to unmarshall the comma-separated list of operators (or at least error out).

Additional context

No response

Environment

No response

Would you like to work on fixing this bug?

maybe

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從 stackablectl release install 命令開始,追蹤 --include 和 --exclude 選項的解析方式。使用 stackablectl release install 25.3 -e airflow,druid 重現此問題;當逗號分隔的值排除兩個 Operator,或命令明確回報值無效時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
rust
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。