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 摘要。