Skip to content
This repository has been archived by the owner on May 8, 2023. It is now read-only.

Support dotenv files #151

Open
fromz opened this issue Feb 21, 2018 · 5 comments
Open

Support dotenv files #151

fromz opened this issue Feb 21, 2018 · 5 comments

Comments

@fromz
Copy link

fromz commented Feb 21, 2018

Has anyone put any thought into supporting dotenv files for environment variable management natively? I'm happy to do the dev work if we agree it's a good idea

@theothertomelliott
Copy link
Contributor

Interesting idea! Do you have any thoughts on particular use cases for this feature? I think it could be useful, but there's potential for clashes or confusing behavior when launching services that already use dotenv internally.

@fromz
Copy link
Author

fromz commented Feb 22, 2018

Yeah, so we as a dev team heavily rely on edward for our services. Some of us have different environment variable configurations, and it would be good to be able to easily maintain that between machines without having to manage dotenv manually. I think if we made the configuration very distinct between dotenv and the existing "env" configuration, it should be fairly clear, especially if we spell out the order of precedence - e.g. shell set environment variables first, then edward "env" second, then dotenv last, or some such.

@theothertomelliott
Copy link
Contributor

Sounds like a decent order of precedence. Would you imagine dotenv being an "always on" feature, or something you'd enable for a specific Edward config, group or service?

Are the different variable configurations on your team personal settings per developer (perhaps being manually set and listed in gitignore)?

@fromz
Copy link
Author

fromz commented Feb 22, 2018 via email

@theothertomelliott
Copy link
Contributor

theothertomelliott commented Feb 22, 2018

Sounds good, look forward to seeing your PR!
We've been adding features on the develop branch before merging for versioned releases.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants