-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Updating example README to match note below it #7117
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
Conversation
The note below says the instructions installs the latest stable version, but it was actually installing "~1"
👍 Status: Reviewed |
👍 A minor change but I love it! Thanks @darrylhein |
Thanks for indentifying the inconsistency and fixing it @darrylhein! However, I'm 👎 on the change. Having the version constraint in here is very important. So instead of updating the example, the note below it should be updated imo. In case you wonder why the version constraint is important imo, imagine this: The docs of bundle A show |
@wouterj I'm fine either way; just trying to make sure the docs are clear. But I would disagree slightly because composer will install the latest stable (with the caret) by default, thus keeping within the current major version (if my understanding is correct). The bundle creator should make it clear which version their docs are for. ....But we all know that doesn't always happen. If it's preferred, I can make the change or leave as is. |
I tend to agree with @wouterj and IIRC that also was the reason why we did it this way initially. |
I'd like you to consider again this proposal. I'm strongly in favor of it for several reasons:
|
@javiereguiluz But this is the template we offer as a starting point to bundle authors. Thus, our own versioning policy does not necessarily (very likely) not apply there. |
@xabbuh ask yourself: when what's the last time you provided the version number explicitly when installing a bundle? Personally I can't remember. I'd say that we can safely remove this ... and if you do too advanced things with your bundle, you already know what to do here (if you are that advanced, you won't read these instructions anyway). |
I can't see how this functions as an argument in favor/against this PR. The problem here is that documentation is versioned, but removing the version from install isn't: It'll always be the latest stable. So when reading the, clearly versioned, 1.0 documentation, |
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.
Please, merge this proposal. It may be not perfect (as Wouter said) but it's much better than keeping the strange "~1"
version constraint.
@darrylhein it took us too long to merge this, but we finally did it. Thank you! |
This PR was submitted for the 3.1 branch but it was merged into the 3.3 branch instead (closes #7117). Discussion ---------- Updating example README to match note below it The note below says the instructions installs the latest stable version, but it was actually installing "~1" Commits ------- c09b6e3 Updating example README to match note below it
The note below says the instructions installs the latest stable version, but it was actually installing "~1"