Skip to content

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

Merged
2 commits merged into from
Nov 9, 2018
Merged

Fix recipe: make consistent with symfony/flex 1.0 new env handling #482

2 commits merged into from
Nov 9, 2018

Conversation

weaverryan
Copy link
Member

Q A
License MIT

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!

Copy link

@ghost ghost left a 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.

Copy link

@ghost ghost left a 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.

@@ -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
Copy link
Member Author

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.

Copy link

@ghost ghost left a 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.

Copy link
Member

@nicolas-grekas nicolas-grekas left a 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!

@nicolas-grekas
Copy link
Member

Flex PR is symfony/flex#434

Copy link
Member

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@ghost ghost merged commit 2f6c4cd into symfony:master Nov 9, 2018
ghost pushed a commit that referenced this pull request Nov 9, 2018
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants