fix: switch back to replacing <recipe>.example.com #228

Merged
3wordchant merged 2 commits from unsmart-templating into main 2022-11-24 17:34:01 +00:00
Owner

Fixes coop-cloud/organising#355

Test plan:

  1. abra app new dashy
  2. abra app config <domain>

Domain name filled in correctly!

Fixes coop-cloud/organising#355 Test plan: 1. `abra app new dashy` 2. `abra app config <domain>` Domain name filled in correctly!
3wordchant added 1 commit 2022-11-14 15:49:59 +00:00
continuous-integration/drone/pr Build is passing Details
continuous-integration/drone/push Build is passing Details
9927bbbea2
fix: switch back to replacing <recipe>.example.com
Fixes #355
decentral1se reviewed 2022-11-14 16:04:23 +00:00
decentral1se left a comment
Owner

💯

TODO for me is to fix up this then:

grep -iR "\{ \.Domain \}" .
./hometown/.env.sample:DOMAIN={{ .Domain }}
./amusewiki/.env.sample:DOMAIN={{ .Domain }}
./rsshub/.env.sample:DOMAIN={{ .Domain }}
./traefik/.env.sample:DOMAIN={{ .Domain }}
./mycorrhiza/.env.sample:DOMAIN={{ .Domain }}
./gancio/.env.sample:DOMAIN={{ .Domain }}
./nextcloud/.env.sample:DOMAIN={{ .Domain }}
./gitea/.env.sample:DOMAIN={{ .Domain }}
💯 TODO for me is to fix up this then: ``` grep -iR "\{ \.Domain \}" . ./hometown/.env.sample:DOMAIN={{ .Domain }} ./amusewiki/.env.sample:DOMAIN={{ .Domain }} ./rsshub/.env.sample:DOMAIN={{ .Domain }} ./traefik/.env.sample:DOMAIN={{ .Domain }} ./mycorrhiza/.env.sample:DOMAIN={{ .Domain }} ./gancio/.env.sample:DOMAIN={{ .Domain }} ./nextcloud/.env.sample:DOMAIN={{ .Domain }} ./gitea/.env.sample:DOMAIN={{ .Domain }} ```
@ -342,1 +330,3 @@
return err
err = ioutil.WriteFile(appEnvPath, []byte(newContents), 0)
if err != nil {
panic(err)
Owner

return err

`return err`
Author
Owner

ugh thought i caught all my half-baked copypasta, fixing!

ugh thought i caught all my half-baked copypasta, fixing!
3wordchant marked this conversation as resolved
3wordchant added 1 commit 2022-11-14 17:58:56 +00:00
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details
ad38907a04
fix: don't panic() 😅
Author
Owner

💯

TODO for me is to fix up this then:

grep -iR "\{ \.Domain \}" .
./hometown/.env.sample:DOMAIN={{ .Domain }}
./amusewiki/.env.sample:DOMAIN={{ .Domain }}
./rsshub/.env.sample:DOMAIN={{ .Domain }}
./traefik/.env.sample:DOMAIN={{ .Domain }}
./mycorrhiza/.env.sample:DOMAIN={{ .Domain }}
./gancio/.env.sample:DOMAIN={{ .Domain }}
./nextcloud/.env.sample:DOMAIN={{ .Domain }}
./gitea/.env.sample:DOMAIN={{ .Domain }}

@decentral1se I don't mind doing that find'n'replace, up to you!

> 💯 > > TODO for me is to fix up this then: > > ``` > grep -iR "\{ \.Domain \}" . > ./hometown/.env.sample:DOMAIN={{ .Domain }} > ./amusewiki/.env.sample:DOMAIN={{ .Domain }} > ./rsshub/.env.sample:DOMAIN={{ .Domain }} > ./traefik/.env.sample:DOMAIN={{ .Domain }} > ./mycorrhiza/.env.sample:DOMAIN={{ .Domain }} > ./gancio/.env.sample:DOMAIN={{ .Domain }} > ./nextcloud/.env.sample:DOMAIN={{ .Domain }} > ./gitea/.env.sample:DOMAIN={{ .Domain }} > ``` @decentral1se I don't mind doing that find'n'replace, up to you!
Owner

@decentral1se I don't mind doing that find'n'replace, up to you!

@3wordchant that'd be amazing if you wanna sort that out, thanks!

This LGTM, merge away 🥇

> @decentral1se I don't mind doing that find'n'replace, up to you! @3wordchant that'd be amazing if you wanna sort that out, thanks! This LGTM, merge away 🥇
3wordchant merged commit a21d431541 into main 2022-11-24 17:34:01 +00:00
3wordchant deleted branch unsmart-templating 2022-11-24 17:34:04 +00:00
Sign in to join this conversation.
No description provided.