Feature: Support multiple `AND`ed search terms via `xbps-query -s term1 term2`
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di void-linux/xbps
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
void-linux/xbps#475 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
void-linux/xbps#701 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
void-linux/xbps#700 ·
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
void-linux/xbps#696 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 52/100
void-linux/xbps#695 · 7 commenti ·
Tutte le issue di void-linux/xbps
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NVIDIA/k8s-device-plugin#2061 · 1 commento ·
-
task
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vsanthanam/JBird#429 ·