`xbps-query`: Add more fine-grained selectors for listing packages
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
Direzione di ricerca
Start at the xbps-query command entry point and trace how its mutually exclusive MODES are parsed and applied. Review how package states are represented, especially dependency and half-removed states. Done means the supported state selectors and their combinations are clearly defined and xbps-query can list packages matching them.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
It would be nice to be able to ask xbps-query to only list packages in a certain state, like "is a dep" (the invert of -m) or "is half-removed". For half-removed one could xbps-query -l | grep -e '^hr', but this would not work for selecting dependencies, since there currently is no "state descriptor" for that (I mean like ii).
While selecting e.g. only dependencies may not seem directly useful at first, there will always be corner-cases where such an option will be useful, and I think a great package manager like xbps should support that. To support this, maybe it would be best if xbps-query had a more generic interface, where you could combine several MODES together (or rather, split out some flags which are currently MODES and call them SELECTORS, and then allow them to be combined arbitrarily). Right now the modes for xbps-query are mutually exclusive.
PS: In case this is a welcome addition to xbps-query I'm happy to work on this, but it will take me some time since I'm currently quite busy, and I'm not familiar with the xbps codebase yet.
- Lingua principale
- C
- Stelle
- 1.2k
- Fork
- 152
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi 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 88/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
containers/bubblewrap#813 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
tree-sitter/tree-sitter#6005 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
kubernetes-sigs/security-profiles-operator#3537 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
darktable-org/darktable#22502 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno