feat(cli): Name filter (glob + fuzzy) for project, team, repo and other list commands
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cli, typescript
- Área
- cli
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
--
- Lenguaje dominante
- TypeScript
- Estrellas
- 961
- Forks
- 179
- Merge medio
- 15 h 33 min
- PR fusionados (30 d)
- 476
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de getsentry/toolkit
-
MCP mcp-feedback-pattern
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
getsentry/toolkit#2276 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
CLI enhancement MCP
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
getsentry/toolkit#1908 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
getsentry/toolkit#1471 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
get_sentry_resource gives no guidance for Explore > Errors list URLsPosiblemente ocupada @sentry-junior la tomó hoy. AbiertoMCP mcp-feedback-pattern
Dificultad 2/5 1-3 horas Aptitud para principiantes 32/100
getsentry/toolkit#2278 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 65/100
getsentry/toolkit#2275 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de getsentry/toolkit
Issues similares
-
Add: BOM CineAbiertoapproved check:passed streams:add
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
bug platform-android
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Termix-SSH/Mobile#146 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
devswha/herdr-web-ui#3875 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100