feat(cli): Name filter (glob + fuzzy) for project, team, repo and other list commands
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cli, typescript
- 領域
- cli
調査の方向性
Start with packages/cli/src/lib/list-filter.ts and the existing org list implementation to see how filtering and pagination work. Then trace project list and buildOrgListCommand for the listed commands, including how positional arguments and --cursor are handled. Done means the requested filters work with pagination, --limit, and --platform as described; the issue leaves dashboard fuzzy filtering as a separate decision.
索引モデルが issue の本文から書いたものです。
説明
Follow-up from review of #1537 (thread).
sentry org list [filter] filters organizations by slug or name: a glob (acme-*) has to match a whole slug or name, and plain text goes through the shared fuzzy search (exact, prefix, substring, then small typos). #1537 moved that logic into packages/cli/src/lib/list-filter.ts (filterByName) so other list commands can use it. Right now only org list does.
Proposal
Add the same name filter to the other list commands, as an optional positional argument after the target, following sentry dashboard list [<org/project>] [<name-glob>]:
sentry project list my-org/ 'web-*' # glob on project slug or name
sentry project list my-org/ frontnd # fuzzy: finds "frontend"
sentry project list 'web-*' # auto-detected org(s); a glob can't be a slug, so it's a filter
sentry team list my-org/ backend
sentry repo list my-org/ 'sentry-*'
Commands:
project list: slug and name- org-list framework commands (
buildOrgListCommand):team list,repo list,monitor list,integration list dashboard list: already has glob-only title filtering applied while it pages; switching it tofilterByName(adding fuzzy text) is a separate decision because it filters page by page
Open questions and constraints
- Pagination: fuzzy ranking needs the whole set, so a filter fetches every page.
--cursorwith a filter should be rejected rather than filtering one page at a time.--limitapplies after filtering, as it does inorg list. - Argument grammar: a single bare argument is still a project search (
sentry project list web). Only a second positional, or a single argument containing glob characters, is treated as a filter. --platform:project list --platformstays as it is and combines with the name filter.
via byk.
--
- 主要言語
- TypeScript
- スター
- 961
- フォーク
- 179
- 平均マージ
- 15時間 33分
- マージ済み PR(30日)
- 476
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/toolkit のほかの issue
-
MCP mcp-feedback-pattern
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
getsentry/toolkit#2276 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
CLI enhancement MCP
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
getsentry/toolkit#1908 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getsentry/toolkit#1471 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
get_sentry_resource gives no guidance for Explore > Errors list URLs対応中かも @sentry-junior が今日担当しました。 オープンMCP mcp-feedback-pattern
難易度 2/5 1〜3時間 初心者へのやさしさ 32/100
getsentry/toolkit#2278 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
getsentry/toolkit#2275 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
getsentry/toolkit の issue をすべて見る
似ている issue
-
Add: BOM Cineオープンapproved check:passed streams:add
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug platform-android
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Termix-SSH/Mobile#146 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
devswha/herdr-web-ui#3875 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100