What I’m trying to do:
Collaborate on an open source app where each developer/clone has their own SMTP settings.
What I’ve tried and what’s not working:
I cloned an app from GitHub and then added custom SMTP settings. This created a commit.
Suggestions
I suppose there are two options here:
- Tie the SMTP settings to the APP ID like you do with secrets
- Isolate the SMTP settings from the git repo like the environments and databases
I prefer Option 2 as, ultimately, I don’t want to create commits from editing SMTP settings, and I don’t think it is important to version the SMTP settings.
I suppose I could live with Option 1, but every collaborator would have to push their APP IDs and encrypted settings from the clones to the main repo (like what happens with secrets) which is ugly but isn’t a huge deal.
My workaround
- I have a local-only branch that isn’t synced to GitHub and I use that when I need to use email. I just merge changes from the master branch when needed.