-
Notifications
You must be signed in to change notification settings - Fork 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
Consider revisiting yarn update policy #547
Comments
This might be worth considering now. The current policy was adopted when Yarn was still at the 0.x stage and every update carried a risk of introducing new bugs. Now that it has reached 1.x, SemVer PATCH updates should be much more likely to fix existing bugs, rather than introduce new ones (cc @Daniel15 @bestander for their opinion). @Hypnosphi care to propose a PR updating the policy (in |
I disagree. This should be the same as with npm - we don't update that even if it's buggy between releases either. If a very critical bug is there, I'd rather have exceptions. Having yarn change from under my feet would be annoying (and the tag of the image should match the node version) |
Is it possible to update I will make a PR as soon as there is some agreement about it |
BTW, what to you do with version when the image code itself needs a bugfix? |
We should stick with the same approach as npm. I agree with @SimenB, I'd rather make exceptions for critical bug fixes. |
Maybe overly complicated, but what about adding a Line 20 in d3ca6d8
That would match what is in the CONTRIBUTING.md, and prevent accidental bumps when running update.sh with no version parameter |
IMHO @nschonni is recommending the correct solution:
NOTE: I'm about to create one myself because I have requirements and expectations to meet for my project and they include docker, [email protected], and [email protected]. |
Here in my environment we had problems with the version Yarn 1.2.0 and subtree dependencies. The bugfix in the 1.2.1 solve the problem. We need some approach for this kind of release. |
I'd rather change how we install yarn in the first place to allow users to update it themselves without too much hassle |
I agree. |
If you want to allow users to easily update Yarn, probably the best
approach (at least for the Debian based images) is to switch to using the
Debian package. I think there's already an issue for that. A user that
wants to use a different version of Yarn could simply have their own layer
on top of this image that installs a different version (eg. `apt-get
install yarn=1.0.0-1`).
Users can upgrade Yarn at the moment, but they need to know to manually
extract the tarball into the correct directory.
Sent from my phone.
…On Oct 21, 2017 8:49 AM, "Christopher Horrell" ***@***.***> wrote:
I agree.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#547 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAFnHVXW4gSvxyqSSQ5Wucl2qDg1nCmLks5suhKYgaJpZM4P4gwA>
.
|
Yarn is here for the long term, it is driven by the people who use large and complex JS systems in production. |
@rayfoss this issue isn't about whether yarn should be in the image at all. I'm not sure what downsides you think there are by having yarn included, but this issue is not the place to discuss it. If you want to discuss it you should open up a separate issue, but I can say with some certainty that we won't be reversing this decision anytime soon, it has been by far our most requested change. See #243 for original request. |
Any progress on this? I'd like to move to yarn 1.5.1 |
yarn 1.5.1 will be in the v6.13.1 and v8.10.0 images |
Why not 9.7.x too? |
Ah - already in place - never mind me! |
Closing since we update to the latest yarn whenever we push out a new node.js version. |
Sometimes patch updates contain some critical bugfixes. This is the case for yarn 1.2.1 (1.2.0 installs wrong dependencies sometimes).
I understand the reasons behind current update policy, but it leaves the
latest
image in kinda broken state until new node version is released. So maybe you should consider syncing only minor version with the one of node, so that it’s possible that8.7.1
actually installs node v8.7.0 (and has a patch update for yarn)The text was updated successfully, but these errors were encountered: