Add "abra recipe <command>" to generate apps.json, where <command> is a bike-shed.. #40

Closed
opened 2021-08-03 11:31:04 +00:00 by 3wordchant · 3 comments
Owner

.. and I insist that the bike-shed be green 🙃

At minimum, this should do the same thing as abra's app-json.py, i.e. generating apps.json by checking out all the recipe repos and parsing them.

It might help with automation to add an optional <recipe> argument, to be able to specify which recipe to update, to save scanning every single repo any time any one of them changes.

.. and I insist that the bike-shed be green 🙃 At minimum, this should do the same thing [as abra's `app-json.py`](https://git.coopcloud.tech/coop-cloud/abra/src/branch/main/bin/app-json.py), i.e. generating `apps.json` by checking out all the recipe repos and parsing them. It might help with automation to add an optional `<recipe>` argument, to be able to specify which recipe to update, to save scanning every single repo any time any one of them changes.
3wordchant added the
enhancement
question
labels 2021-08-03 11:31:04 +00:00
Owner

abra recipe cookbook generate/gen <recipe>

abra recipe catalogue generate/gen [--all] <recipe>

abra recipe index [--all] <recipe>

abra recipe catalogue/index [<recipe>] (where missing recipe arg runs all)

(last one maybe favourite bike-shed colour, catalogue is my preference)

I like the idea of this living in go-abra because then it will be handy to run on our local machines without much fuss.

`abra recipe cookbook generate/gen <recipe>` `abra recipe catalogue generate/gen [--all] <recipe>` `abra recipe index [--all] <recipe>` `abra recipe catalogue/index [<recipe>]` (where missing recipe arg runs all) (last one maybe favourite bike-shed colour, catalogue is my preference) I like the idea of this living in `go-abra` because then it will be handy to run on our local machines without much fuss.
Owner

client/registry.go now has code that can help make this work.

[`client/registry.go`](https://git.coopcloud.tech/coop-cloud/go-abra/src/branch/main/client/registry.go) now has code that can help make this work.
Owner

Just generated a new apps.json with the python script and it took too long.

Thinking about doing this shortly if time allows.

Just generated a new `apps.json` with the python script and it took too long. Thinking about doing this shortly if time allows.
decentral1se added this to the (deleted) milestone 2021-09-08 12:27:11 +00:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/abra#40
No description provided.