8000 Document composer sync recipe force option by noniagriconomie · Pull Request #14001 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Document composer sync recipe force option #14001

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

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions setup/_update_all_packages.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,16 @@ this safely by running:
breaking changes.

.. _`version constraints`: https://getcomposer.org/doc/articles/versions.md

If you are in a default Symfony application that uses :ref:`Symfony Flex <symfony-flex>`
and Symfony Recipes, you may also want to reinstall them to their latest version:

.. code-block:: terminal

$ composer sync-recipes --force
Copy link
Contributor

Choose a reason for hiding this comment

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

We should recommend this command composer recipes:install vendor/package --force -v to update one by one and -v for more information about the update

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@maxhelias yes i see your idea
but as the upper code is a full composer update, that is why i added here a full "recipes update"

the -v option can be added indeed :)

Copy link
Contributor

Choose a reason for hiding this comment

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

So just composer recipes:install --force -v will have the same behavior


.. caution::

By doing this, you reinstall all the recipes again for all packages.
It is your job to carefully verify the code changes as it may override
your custom code.
0