update the recipes documentation to use the new syntax #356

Closed
opened 2022-11-07 14:11:35 +00:00 by knoflook · 2 comments
Owner

there are still recipes that are using the old format of abra app <appname> deploy in their READMEs, these should be replaced with the proper syntax.

there are still recipes that are using the old format of `abra app <appname> deploy` in their READMEs, these should be replaced with the proper syntax.
knoflook added the documentation label 2022-11-07 14:11:35 +00:00
3wordchant added this to the (deleted) project 2023-01-11 16:14:37 +00:00
3wordchant modified the project from (deleted) to Federation & abra fixes 2023-01-11 16:17:45 +00:00
Owner

From what I remember I did update the example repo README to avoid this in the future, see https://git.coopcloud.tech/coop-cloud/example/src/branch/main/README.md#quick-start. Maybe folks wanna tweaks that as well? Please go for it. I guess to close this off we need some mega rename Bash scripting once more 🙃 I seem to have lost mine since the new laptop, have you got some Bash stuff you can share @3wordchant?

From what I remember I did update the `example` repo README to avoid this in the future, see https://git.coopcloud.tech/coop-cloud/example/src/branch/main/README.md#quick-start. Maybe folks wanna tweaks that as well? Please go for it. I guess to close this off we need some mega rename Bash scripting once more 🙃 I seem to have lost mine since the new laptop, have you got some Bash stuff you can share @3wordchant?
Owner

$infinite_spam_commits later, it's done!

What I did:

rg -l 'abra app YOURAPPDOMAIN config' | xargs sed 's/abra app YOURAPPDOMAIN \([^ `]*\)\(.*\)`/abra app \1 YOURAPPDOMAIN\2`/'
mosh run *
> git ci -m 'Update abra syntax in examples (finally) [mass update]' README.md
> git pull -r && git push

rg could be replaced with grep -R, mosh run * could be a for loop (e.g. for f in recipes/*; do ...)

`$infinite_spam_commits` later, it's done! What I did: ``` rg -l 'abra app YOURAPPDOMAIN config' | xargs sed 's/abra app YOURAPPDOMAIN \([^ `]*\)\(.*\)`/abra app \1 YOURAPPDOMAIN\2`/' mosh run * > git ci -m 'Update abra syntax in examples (finally) [mass update]' README.md > git pull -r && git push ``` `rg` could be replaced with `grep -R`, `mosh run *` could be a for loop (e.g. `for f in recipes/*; do ...`)
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: toolshed/organising#356