-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Fix cache:clear on vagrant #27231
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
$fs->rename($oldCacheDir.'/'.$containerDir, $realCacheDir.'/'.$containerDir); | ||
touch($realCacheDir.'/'.$containerDir.'.legacy'); | ||
if (0 === strpos($realCacheDir, $mount)) { | ||
$io->note('For better performances, you should move the cache/ and log/ directories to a non-shared folder of your vm.'); |
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.
VM
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.
"cache/"
and "log/"
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.
log or logs depending on how you created the project (Flex vs SE)
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.
I removed the slash instead, to tell about the concept, not the actual dirs. Ok for you?
Thank you @nicolas-grekas. |
This PR was merged into the 3.4 branch. Discussion ---------- [FrameworkBundle] Fix cache:clear on vagrant | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #27154 | License | MIT | Doc PR | - What a mess, shared folder on vbox...  Commits ------- 3381611 [FrameworkBundle] Fix cache:clear on vagrant
What a mess, shared folder on vbox...