Thanks to visit codestin.com
Credit goes to github.com

Skip to content

added clean option to assets install command #24216

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
Dec 7, 2017
Merged

added clean option to assets install command #24216

merged 1 commit into from
Dec 7, 2017

Conversation

robinlehrmann
Copy link

@robinlehrmann robinlehrmann commented Sep 15, 2017

Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #24204, #23416
License MIT

@linaori
Copy link
Contributor

linaori commented Sep 15, 2017

Should probably go into 3.4 as it's a new feature, even though I know why it "broke".

@nicolas-grekas
Copy link
Member

@iltar this tries to remove a behavior change introduced in #23195

@nicolas-grekas nicolas-grekas added this to the 2.7 milestone Sep 16, 2017
@nicolas-grekas
Copy link
Member

nicolas-grekas commented Sep 16, 2017

So, ping @stof, original reporter of #23177.

@nicolas-grekas
Copy link
Member

I'd propose to reverse the flag, and submit it on 3.4, as a new feature, so that people can opt-out if they want (yes, that'd mean keeping the BC break, I know, let's live with that.)

@robinlehrmann robinlehrmann changed the base branch from 2.7 to master November 24, 2017 13:37
@xabbuh xabbuh added Feature and removed Bug labels Nov 24, 2017
@xabbuh xabbuh modified the milestones: 2.7, 4.1 Nov 24, 2017
@@ -58,6 +58,7 @@ protected function configure()
))
->addOption('symlink', null, InputOption::VALUE_NONE, 'Symlinks the assets instead of copying it')
->addOption('relative', null, InputOption::VALUE_NONE, 'Make relative symlinks')
->addOption('clean', null, InputOption::VALUE_NONE, 'Remove the assets of the bundles that no longer exist')
Copy link
Member

Choose a reason for hiding this comment

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

@nicolas-grekas suggested the opposite (i.e. having a no-cleanup option or something similar) which would need to be passed if you do not want to have old assets removed.

@robinlehrmann
Copy link
Author

@xabbuh Okay, I changed it. Good point 👍

@fabpot
Copy link
Member

fabpot commented Dec 7, 2017

Thank you @robinlehrmann.

@fabpot fabpot merged commit 771f11b into symfony:master Dec 7, 2017
fabpot added a commit that referenced this pull request Dec 7, 2017
…rmann)

This PR was merged into the 4.1-dev branch.

Discussion
----------

added clean option to assets install command

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #24204, #23416
| License       | MIT

Commits
-------

771f11b added clean option to assets install command
@robinlehrmann robinlehrmann deleted the added-clean-option-assets-install branch December 7, 2017 16:22
@fabpot fabpot mentioned this pull request May 7, 2018
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.

7 participants