abra recipe fetch can only fetch a single recipe
#530
Closed
opened 2023-11-05 19:53:54 +00:00 by wykwit
·
1 comment
Labels
Clear labels
abra
awaiting-feedback
backups
bug
build
ci/cd
community organising
contributing
coopcloud.tech
design
documentation
duplicate
enhancement
fedi
fedi-infra
finance
funding
good first issue
help wanted
installer
legal
performance
proposal
question
security
test
wontfix
Everything to do with abra
Ping/pong on comms
Something is not working
Go build related issues
Getting the robots into the mix
Opening this thing up
Contributors stuff
Our main website
Design thinking required
Let's write things together
This issue or pull request already exists
New feature
Democratic decision making
Money things
Anything related to grant funding
Easy start with development
Need some help
Installation related issues
Performance related
Large change which requires feedback & decisin making
More information is needed
Securing our shit
Unit or integration test suite
This won't be fixed
No labels
bug
Milestone
No items
No Milestone
Projects
Clear projects
No projects
Assignees
3wordchant
aadil (Aadil Ayub)
abra-bot (Abra Bot)
ammaratef45
amras (Sarma)
Apfelwurm
BornDeleuze
Brooke
carla
cas (Cassowary)
coopcloud
cyrnel
decentral1se (d1)
dede
devydave
fauno (fauno)
iexos
jade (Jade Ambrose)
jjsfunhouse
jmakdah2 (Jackie Makdah)
joe-irving (Joe Irving)
kawaiipunk (KawaiiPunk)
knoflook
kolaente
lambdabundesverband
linnealovespie (April)
moosemower
moritz
notplants
oxaliq (sorrel)
p4u1
pharaohgraphy (Andrew 🐦🔥❤️🔥✴️)
renovate-bot (Comrade Renovate Bot)
ripclap
simon
sixsmith (Sixsmith)
stevensting
trav (Trav Fryer)
val (val (he/him))
yksflip
Clear assignees
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: toolshed/organising#530
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
description
The behaviour of
recipe fetchcommand has changed in commit 0be532692d (with coop-cloud/abra#353) without changing the description to fit. The command can only fetch a single recipe, it doesn't retrieve all recipes anymore.Current help message:
steps to reproduce
abra recipe fetchwithout specifying a recipeexpected result
Per help message the expected result is to fetch all recipes similar to behaviour of
abra catalogue generate. However, since thecataloguesubcommand seems to cover that use-case well enough already, I would expect this subcommand to require specifying a recipe and displaying help message whenever it is not specified.actual result
comments
The
recipesubcommand should stay simple and deal with single recipes only.The catalogue still seems to evolve and as more changes are made in the code around it, it would be beneficial to keep
catalogueandrecipesubcommands untangled. I would suggest to leave dealing with (multiple) repositories within thecataloguesubcommand's duties and perhaps split off more subsubcommands from there later. This command then would require specifying recipes, and so the description would have to be updated accordingly.My boiling hot take!
Let's get the functionality back, I think it was a bug from me in the arg handling...
A test wasn't written 🙃 one would be good...