Skip to content

Provides a way to override cache and log folders from the ENV #13819

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
merged 1 commit into from
Jun 13, 2020
Merged

Provides a way to override cache and log folders from the ENV #13819

merged 1 commit into from
Jun 13, 2020

Conversation

Plopix
Copy link
Contributor

@Plopix Plopix commented Jun 11, 2020

Related to this new feature symfony/symfony#37114.

But I wonder if we have not oversimplified this PR: symfony/symfony#37114

Actually doing the documentation #13787 I figured that with #37114 we removed the important split per env.

In development mode (docker or not) we could definitely have the same project working in N Symfony different environments and this new APP_CACHE_DIR will only set the same path for all environments.

That would be manageable in the Virtualhost but in CLI that would be a pain to manage.
Also, we could rely on the DotEnv mechanism, but that could be really easy to forget.

I wonder if we should not change the code to: symfony/symfony#37232

Depending on the decisions I will update the doc here.

fabpot added a commit to symfony/symfony that referenced this pull request Jun 12, 2020
…g that new variable (Plopix)

This PR was merged into the 5.2-dev branch.

Discussion
----------

[APP_CACHE_DIR] Ensure a split per environment when using that new variable

| Q             | A
| ------------- | ---
| Branch       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| License       | MIT
| Doc PR        | symfony/symfony-docs#13819

All the explanation here: symfony/symfony-docs#13819

Commits
-------

06b793f Ensure a split per environment
symfony-splitter pushed a commit to symfony/framework-bundle that referenced this pull request Jun 12, 2020
…g that new variable (Plopix)

This PR was merged into the 5.2-dev branch.

Discussion
----------

[APP_CACHE_DIR] Ensure a split per environment when using that new variable

| Q             | A
| ------------- | ---
| Branch       | master
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| License       | MIT
| Doc PR        | symfony/symfony-docs#13819

All the explanation here: symfony/symfony-docs#13819

Commits
-------

06b793f59e Ensure a split per environment
@xabbuh xabbuh added this to the 5.2 milestone Jun 12, 2020
@javiereguiluz javiereguiluz added Waiting Code Merge Docs for features pending to be merged and removed Waiting Code Merge Docs for features pending to be merged labels Jun 12, 2020
@javiereguiluz
Copy link
Member

Thank you Sébastien.

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

Successfully merging this pull request may close these issues.

4 participants