feat(cli): Name filter (glob + fuzzy) for project, team, repo and other list commands
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Feature
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- cli, typescript
- Bereich
- cli
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
--
- Vorherrschende Sprache
- TypeScript
- Sterne
- 961
- Forks
- 179
- Ø Merge
- 15 Std. 33 Min.
- Gemergte PRs (30 T.)
- 476
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus getsentry/toolkit
-
MCP mcp-feedback-pattern
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
getsentry/toolkit#2276 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
CLI enhancement MCP
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 63/100
getsentry/toolkit#1908 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
getsentry/toolkit#1471 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
get_sentry_resource gives no guidance for Explore > Errors list URLsEvtl. vergeben @sentry-junior hat das heute übernommen. OffenMCP mcp-feedback-pattern
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 32/100
getsentry/toolkit#2278 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 3/5 1-2 Tage Anfängerfreundlichkeit 65/100
getsentry/toolkit#2275 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in getsentry/toolkit
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
AykutSarac/jsoncrack.com#616 ·
-
nip27: long hashtag swallows the rest of the content, lone # gives an empty hashtagEvtl. vergeben @bardrop hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
nbd-wtf/nostr-tools#578 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
backnotprop/plannotator#3427 ·
Maintainer antworten meist innerhalb von 1 Tag
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
microsoft/Power-CAT-Copilot-Studio-Kit#942 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument pageOffenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
AOSSIE-Org/DebateAI#801 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag