Allow recipes to skip "generate secrets?" prompt on "abra app new" #418

Closed
opened 2023-02-15 00:06:14 +00:00 by decentral1se · 2 comments
Owner

Related to coop-cloud/organising#309 somewhat. It'd be nice if recipes could flag to abra that it shouldn't prompt to generate secrets on abra app new <recipe>.

In the case of Mastodon, this is confusing because there is a script invocation required to generate secrets in a way that Mastodon wants them: abra app cmd <domain> secrets -l.

Glaxy brain is that abra could somehow defer to the abra.sh custom secret generation for a recipe. However, the Mastodon secret generation script is kinda fragile and we probably don't want to explode in users faces when creating new apps. So that could be too tight a coupling for now.

Related to https://git.coopcloud.tech/coop-cloud/organising/issues/309 somewhat. It'd be nice if recipes could flag to `abra` that it shouldn't prompt to generate secrets on `abra app new <recipe>`. In the case of Mastodon, this is confusing because there is a script invocation required to generate secrets in a way that Mastodon wants them: `abra app cmd <domain> secrets -l`. Glaxy brain is that `abra` could somehow defer to the `abra.sh` custom secret generation for a recipe. However, the Mastodon secret generation script is kinda fragile and we probably don't want to explode in users faces when creating new apps. So that could be too tight a coupling for now.
decentral1se added the
enhancement
abra
labels 2023-02-15 00:06:15 +00:00
Author
Owner

Perhaps:

# abra.sh
GENERATE_SECRETS_PROMPT=false

And then some docs + small env check in abra and this would be good.

Perhaps: ```bash # abra.sh GENERATE_SECRETS_PROMPT=false ``` And then some docs + small env check in `abra` and this would be good.
decentral1se changed title from Allow reicpes to skip "generate secrets?" prompt on "abra app new" to Allow recipes to skip "generate secrets?" prompt on "abra app new" 2023-02-18 22:50:16 +00:00
decentral1se self-assigned this 2023-10-04 13:30:35 +00:00
decentral1se added this to the (deleted) project 2023-10-06 09:27:58 +00:00
decentral1se removed this from the (deleted) project 2023-11-27 10:47:01 +00:00
decentral1se removed their assignment 2023-11-27 10:47:06 +00:00
Author
Owner

Let's do #461 instead.

Let's do https://git.coopcloud.tech/toolshed/organising/issues/461 instead.
Sign in to join this conversation.
No description provided.