Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#484 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
42/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
c
Ambito
cli

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.)

Lingua principale
C
Stelle
1.1k
Fork
151
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di void-linux/xbps

Tutte le issue di void-linux/xbps

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.