Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Feature: Support multiple `AND`ed search terms via `xbps-query -s term1 term2`

Abierto
#484 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
c
Área
cli

Línea de trabajo

Start at the xbps-query -s command entry point and trace how multiple search terms are parsed and matched. The finished behavior should accept term1 term2, match packages containing both terms regardless of order, and include coverage for the two-term search behavior.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

It would be nice if xbps-query could support searching packages via xbps-query -s term1 term2 so that the search terms are logically ANDed, i.e. that it would return packages that match both term1 and term2. Theoretically it's already possible with an ERE, but cumbersome for a quick search (remember that the order of term1 term2 should not matter for the search).

Just for the record, multiple other package managers support this type of search, and it seems that users are used to that, see e.g. https://www.reddit.com/r/voidlinux/comments/nubnn4/confuse_to_xbpsquery/

Two random examples where it's useful: "arc theme", "python lsp".

(I know about fuzzypkg, and I also know that one could -s term1 | grep term2, but IMO a built-in solution would be nice here.)

Lenguaje dominante
C
Estrellas
1.2k
Forks
152
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de void-linux/xbps

Todos los issues de void-linux/xbps

Issues similares

Más issues de C

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.