10000 Allowing specific recipes to be "re-installed" by weaverryan · Pull Request #583 · symfony/flex · GitHub
[go: up one dir, main page]

Skip to content

Allowing specific recipes to be "re-installed" #583

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 11, 2019
Merged

Allowing specific recipes to be "re-installed" #583

merged 1 commit into from
Dec 11, 2019

Conversation

weaverryan
Copy link
Member

Hi!

Very simple: you can now re-install/update just one (or specific) recipes:

composer symfony:sync-recipes symfony/console --force

That's very helpful, as there are a few specific recipes (this is one of them) that really do need to be "updated", at the very least, when upgrading to Symfony 5 (as some important files have evolved over time).

This relates to #575 (will help with upgrading), #518 and should go along with the PRs #562 and #565

Thanks!

Copy link
Contributor
@maxhelias maxhelias left a comment

Choose a reason for hiding this comment

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

That's great! 👌

Copy link
Member
@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

There is one thing that we need to check, it's the symfony.lock file: does it update the version hash of the listed recipes only or for all recipes?

Copy link
Member
@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

does it update the version hash of the listed recipes only or for all recipes?

I just verified: all good, only the updated recipes are changed in the symfony.lock

@weaverryan
Copy link
Member Author

This is ready to go

@fabpot
Copy link
Member
fabpot commented Dec 11, 2019

Thank you @weaverryan.

fabpot added a commit that referenced this pull request Dec 11, 2019
This PR was merged into the 1.5-dev branch.

Discussion
----------

Allowing specific recipes to be "re-installed"

Hi!

Very simple: you can now re-install/update just one (or specific) recipes:

```
composer symfony:sync-recipes symfony/console --force
```

That's very helpful, as there are a few specific recipes (this is one of them) that really *do* need to be "updated", at the very least, when upgrading to Symfony 5 (as some important files have evolved over time).

This relates to #575 (will help with upgrading), #518 and should go along with the PRs #562 and #565

Thanks!

Commits
-------

a9dad87 Allowing specific recipes to be "re-installed"
@fabpot fabpot merged commit a9dad87 into symfony:master Dec 11, 2019
tgalopin pushed a commit to tgalopin/flex that referenced this pull request Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0