-
-
Couldn't load subscription status.
- Fork 195
UpdateRecipesCommand: add --next option
#1059
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
base: 2.x
Are you sure you want to change the base?
Conversation
|
I'm not sure why my new test case fails with
But first I want to ask what do you think about this new option? |
26d22f1 to
af3a64b
Compare
af3a64b to
8c6348b
Compare
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.
Makes sense to me.
| } | ||
| } | ||
| }, | ||
| "repositories": [ |
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.
The changes in composer.json should be removed, right?
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.
Without the changes I get this error for the new phpunit test case:
1) Symfony\Flex\Tests\Command\UpdateRecipesCommandTest::testCommandUpdatesRecipe with data set #1 (array(true))
Failed asserting that '<warning>Symfony recipes are disabled: "symfony/flex" not found in the root composer.json\n
All packages appear to be up-to-date!\n
' contains "Recipe updated".
That's why I added symfony/flex to this composer.json (it is not the main one). Don't know if there is maybe a better solution?
|
Looks like running in non-interactive mode provides the same experience, no?
|
With
symfony:recipes:updateyou can update the recipes, but you have to do it one by one.I suggest to add a
--nextoption to update the next outdated package. So you do not need to select the next package interactively.