-
-
Notifications
You must be signed in to change notification settings - Fork 195
Change the EnvConfigurator to only handle the .env file #423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
In this case, would not it be more prudent to merge it on a branch Or I suggest defining a system like symfony/symfony#28533 to edit all environments and have a recipe structure like this for add values in specific environment :
We would just have to make conditions on the keys in the env configurator without creating a break change. WDYT? |
Now it's the
This PR already requires symfony/symfony#28533 to be merged! The config you propose would be fine, but in another PR (probably after 4.2, as it requires to modify the Flex server, on the hand the current PR works with the current server).
Actually, we need the breaking because of this: symfony/recipes#466 (comment) |
Now that symfony/symfony#28533 is merged, we can move forward here and in symfony/recipes#466 :) |
I'm not sure we need this PR anymore. |
Closing in favor of #434 |
Companion PR for symfony/recipes#466 and symfony/symfony#28533.
As explained in symfony/recipes#466 (comment), it will require to tag a v2 to prevent problems with previous installation.
In a next PR, we may want to allow recipes to add values in specific environment env files (such as
.env.test
. It will require to tweak a bit the Flex server. I'm not sure that it's really needed.