Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Revert "feature #21038 [FrameworkBundle] deprecated cache:clear with warmup (fabpot)"#23825

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:3.3fromnicolas-grekas:revert-no-warmup-deprec
Aug 18, 2017

Conversation

@nicolas-grekas
Copy link
Member

This reverts commit3495b35, reversing
changes made to7f7b897.

QA
Branch?3.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#21038
LicenseMIT
Doc PR-

Sibling to#23792: there is no need to trigger the deprecation in 3.3 if we un-deprecate in 3.4.

haroldiedema reacted with thumbs up emoji
@nicolas-grekasnicolas-grekas added this to the3.3 milestoneAug 8, 2017
@nicolas-grekasnicolas-grekas changed the base branch frommaster to3.3August 8, 2017 06:42
* @param string $realCacheDir
* @param bool $enableOptionalWarmers
*
* @internal to be removed in 4.0
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

note that in 3.4, the command class is@final so we can still make them private in 4.0. I'll take care of it when merging up.

@nicolas-grekasnicolas-grekas changed the titleRevert "feature #21038 [FrameworkBundle] deprecated cache:clear with warmup (fabpot)Revert "feature #21038 [FrameworkBundle] deprecated cache:clear with warmup (fabpot)"Aug 8, 2017
…r with warmup (fabpot)"This reverts commit3495b35, reversingchanges made to7f7b897.
@fabpot
Copy link
Member

I would not revert this in 3.3 as it helps with Flex. Here is the output right now when doingcache:clear on a Symfony 3.3 project using Flex:

image

As you can see, the warning helps explain the fatal error and provide a way to fix the issue. Instead, I would change the warning to explain that without the--no-warmup flag, the command does not work in 3.3 (but that it will work again in 3.4). Far from ideal, but at least, it provides a better experience for our users.

@fabpot
Copy link
Member

Investigating the issue a bit more, fixing thecache:clear in Flex is quite easy: seesymfony/recipes#154.

So, let's remove thefinal keyword in Flex's Kernel and merge this one.

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commit9009970 intosymfony:3.3Aug 18, 2017
fabpot added a commit that referenced this pull requestAug 18, 2017
…clear with warmup (fabpot)" (nicolas-grekas)This PR was merged into the 3.3 branch.Discussion----------Revert "feature#21038 [FrameworkBundle] deprecated cache:clear with warmup (fabpot)"This reverts commit3495b35, reversingchanges made to7f7b897.| Q             | A| ------------- | ---| Branch?       | 3.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#21038| License       | MIT| Doc PR        | -Sibling to#23792: there is no need to trigger the deprecation in 3.3 if we un-deprecate in 3.4.Commits-------9009970 Revert "feature#21038 [FrameworkBundle] deprecated cache:clear with warmup (fabpot)"
@nicolas-grekasnicolas-grekas deleted the revert-no-warmup-deprec branchAugust 18, 2017 15:11
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhxabbuh approved these changes

@chalasrchalasrchalasr approved these changes

+1 more reviewer

@ogizanagiogizanagiogizanagi approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

3.3

Development

Successfully merging this pull request may close these issues.

6 participants

@nicolas-grekas@fabpot@xabbuh@ogizanagi@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp