`xbps-query`: Add more fine-grained selectors for listing packages
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 30/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- C
- Estrelas
- 1.2k
- Forks
- 156
- Merge médio
- 1h 39min
- PRs com merge (30d)
- 1
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de void-linux/xbps
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 68/100
void-linux/xbps#475 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 45/100
void-linux/xbps#701 ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
void-linux/xbps#700 ·
-
xbps-query -RX repository overridesTalvez já em andamento @naevui assumiu há 59 dias. Abertabug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 45/100
void-linux/xbps#696 ·
-
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 52/100
void-linux/xbps#695 · 7 comentários ·
Todas as issues de void-linux/xbps
Issues semelhantes
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 75/100
ly05010419/MacNativeGames#1796 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
jniebuhr/gaggimate#1009 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
Bug :bug:
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
sonic-net/sonic-buildimage#30563 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
llvm/offload-test-suite#1698 ·
Mantenedores costumam responder em até 1 dia