about summary refs log tree commit diff
path: root/users/wpcarro/website/sandbox
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2021-12-23T23·30-0500
committerwpcarro <wpcarro@gmail.com>2021-12-24T01·46+0000
commitc1e381eeccaa7246ac40e5a58ae5202ead0dfd5f (patch)
tree2de383ed7bd7adaa20face2c09e4857ee48c7515 /users/wpcarro/website/sandbox
parent87981e7afd221f76a4361429a043881d6351e657 (diff)
refactor(wpcarro): Remove briefcase references r/3340
TL;DR:
- prefer WPCARRO env-var to BRIEFCASE
- remove repository URLs from Emacs libraries
- prefer tvl-depot-path where possible
- reduce the scope of constants.el
- prune (some not all) stale CI configuration

Change-Id: I21e9130402502ec6fa2fc4b46753c890069be62d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4545
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/website/sandbox')
-rw-r--r--users/wpcarro/website/sandbox/contentful/.envrc5
-rw-r--r--users/wpcarro/website/sandbox/learnpianochords/src/server/.envrc5
2 files changed, 6 insertions, 4 deletions
diff --git a/users/wpcarro/website/sandbox/contentful/.envrc b/users/wpcarro/website/sandbox/contentful/.envrc
index 848d74e8b5e6..e9d0356aaa63 100644
--- a/users/wpcarro/website/sandbox/contentful/.envrc
+++ b/users/wpcarro/website/sandbox/contentful/.envrc
@@ -1,4 +1,5 @@
 source_up
 use_nix
-export CONTENTFUL_SPACE_ID="$(jq -j '.contentful | .spaceId' < ~/briefcase/secrets.json)"
-export CONTENTFUL_ACCESS_TOKEN="$(jq -j '.contentful | .accessToken' < ~/briefcase/secrets.json)"
+# TODO(wpcarro): Prefer age-nix solution if possible.
+export CONTENTFUL_SPACE_ID="$(jq -j '.contentful | .spaceId' < $WPCARRO/secrets.json)"
+export CONTENTFUL_ACCESS_TOKEN="$(jq -j '.contentful | .accessToken' < $WPCARRO/secrets.json)"
diff --git a/users/wpcarro/website/sandbox/learnpianochords/src/server/.envrc b/users/wpcarro/website/sandbox/learnpianochords/src/server/.envrc
index db08eac38e8e..9e714732fe85 100644
--- a/users/wpcarro/website/sandbox/learnpianochords/src/server/.envrc
+++ b/users/wpcarro/website/sandbox/learnpianochords/src/server/.envrc
@@ -2,5 +2,6 @@ source_up
 use_nix
 export SERVER_PORT=3000
 export CLIENT_PORT=8000
-export GOOGLE_CLIENT_ID="$(jq -j '.google | .clientId' < ~/briefcase/secrets.json)"
-export STRIPE_API_KEY="$(jq -j '.stripe | .apiKey' < ~/briefcase/secrets.json)"
+# TODO(wpcarro): Prefer age-nix solution if possible.
+export GOOGLE_CLIENT_ID="$(jq -j '.google | .clientId' < $WPCARRO/secrets.json)"
+export STRIPE_API_KEY="$(jq -j '.stripe | .apiKey' < $WPCARRO/secrets.json)"