-
-
Notifications
You must be signed in to change notification settings - Fork 496
Fix recipe: make consistent with symfony/flex 1.0 new env handling #482
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
symfony/flex/1.0/.env.dist
Outdated
@@ -0,0 +1,3 @@ | |||
# This file is a "template" of which env vars need to be defined for your application | |||
# Copy this file to .env file for development, create environment variables when deploying to production | |||
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-added until symfony/flex#434 is merged. Until then, if you don't have a .env.dist
file, the "env" configurator won't work - i.e. it won't change your .env
file when you install things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request passes validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll need to remove .env.dist once flex is patched to not require it anymore. For now it's required.
Thanks!
Flex PR is symfony/flex#434 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
In #481, the symfony/flex 1.0 recipe was changed so that the user gets a
.env
file and NOT a.env.dist
. The gitignore recipe for FWBundle 4.2 was updated, but not 3.3.Cheers!