-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Fix redundant command line sample #6190
Conversation
Hi @sylozof! Can you please explain why you made this change? Without this option, Composer will only update the specified package. This means that dependencies aren't updated. Updating to Symfony 2.8 resulted in errors, as it needed a twig update as well. This is why we introduced this option. Anyway, as you took the time to submit an update, there must be some reason (maybe this is the best fix, or we should add some note/comment). |
Hi @wouterj ! Maybe I was two concise in the PR but I have given more explanations in the related issue #6189. The fact is that when you look at the concerned page for major version upgrade, section 2), you have twice the same command line sample, each with the So I thought it was redundant and my PR aimed at having something similar to what is found in the page for minor version upgrade, same section 2) : one sample command line without the option, and the next one with the option. But maybe my proposal was not relevant if an upgrade to a major version always need the I hope I was clear, don't hesitate to ask for clarifications again. Also, I'm kind of a beginner with Git and Github, so I'm not sure I'm doing my suggestion the right way, even if I have read the guidelines for contribution before. |
From what I understand from your issue description, the change looks valid to me. However, it seems that the pull request contains a lot of changes that a unrelated to the changes you did. Would you be able to rebase your changes on the |
Well, I'm not very familiar with Git and Github but I will try anyway. |
@sylozof this guide explains how to contribute to Symfony Docs step by step and from scratch: http://symfony.com/doc/current/contributing/documentation/overview.html Could you please follow that guide to tell us if it's OK or if it's missing some information? And if you have any question or problem, please ask us for help. Thanks! |
@sylozof if you can't do it, just tell us and we'll do it for your (while making sure you still get credits for your work). The GIT commands you have to run is something like:
|
@javiereguiluz @wouterj thanks a lot for your help. I will try to do it by myself, because learning a new thing is always a good thing. I'm a bit in a hurry right now but I will do it within the next days. Thanks again. |
Removed option '--with-dependencies' from the first command line example for upgrade.
Ok, I've followed the different steps. I'm not sure I've grasped every subtleties of what I've done, but I got no errors so I think everything got well. Don't hesitate to notify me if something else needs to be done. And thanks again for your help. |
This PR was merged into the 2.3 branch. Discussion ---------- Fix redundant command line sample | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | #6189 Removed option ``--with-dependencies`` from the first command line example for composer upgrade. Commits ------- c8618e1 Update major_version.rst
Great job! Thank you @sylozof! |
You're welcome @xabbuh, but this is more a drop in an ocean than a world-changing contribution :-) |
Removed option
--with-dependencies
from the first command line example for composer upgrade.