-
Notifications
You must be signed in to change notification settings - Fork 75
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
Bump gopkg.in/yaml.v2 to v2.4.0: fixes inconsistent long lines wrapping #62
Conversation
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Welcome @akram! |
/assign @liggitt |
b043d1d
to
b4745b4
Compare
b4745b4
to
22a4219
Compare
22a4219
to
6733358
Compare
Calls the FutureLineWrap function to globally disable lines wrapping in unit tests.
6733358
to
131615f
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akram, liggitt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@@ -271,6 +271,10 @@ func TestJSONToYAML(t *testing.T) { | |||
`{"t":null}`, | |||
"t: null\n", | |||
nil, | |||
},{ |
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.
I think this line break lint tests.
https://github.com/kubernetes-sigs/yaml/runs/3676349895
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.
@akram can you format the files in a follow up PR?
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.
sure @liggitt
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.
here it is #63
Is kubernetes-sigs/kustomize#947 supposed to be fixed by this, or something additional still needed? |
Nope, this in itself doesn't fix kubernetes-sigs/kustomize#947. I just rebuilt 4.3.0 with sigs.k8s.io/yaml bumped from 1.2.0 to 1.3.0 and still get the same result. |
Fixes #54 which is required to fix other issues like:
I have added a test case and tested it with version 2.2.8 of gopkg.in which breaks with:
using
v2.3.0
works well: