stackabletech / stackabletech/stackablectl

Include/Exclude filters do not split comma-separated values

オープン
#375 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

type/bug
主要言語
Rust
スター
10
フォーク
5
平均マージ
4時間 41分
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. 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 を短くまとめたダイジェスト。