-
Notifications
You must be signed in to change notification settings - Fork 40k
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
update vendor spf13/cobra to enforce required flags #53631
update vendor spf13/cobra to enforce required flags #53631
Conversation
/ok-to-test |
CI says I'm right and we need to bump pflag as well. |
@eparis |
f2615c2
to
4e6c368
Compare
4e6c368
to
b908fcf
Compare
54c918f
to
aeb2e7e
Compare
ping @liggitt @smarterclayton @kubernetes/sig-cli-maintainers PTAL. Thanks. |
@dixudx Could you tell me how to update spf13/cobra ? Because I have some problem to update it, pleae show the detail steps. Thanks |
@yuexiao-wang The bugs you mentioned in #54855 has been fixed in this PR. So there is no need to submit another PR.
Kubernetes uses godep to manage all the deps. Here is the steps you can follow if you have other vendor/deps to update. # step 1, restore all deps
$ ./hack/godep-restore.sh
# step2, update your dep in your GOPATH
$ <update local dep>
# step3, save the deps
$ ./hack/godep-save.sh |
Got it and thanks |
/lgtm |
/assign @lavalamp |
36d74e2
to
3d858f2
Compare
/test all Tests are more than 96 hours old. Re-running tests. |
/test all Tests are more than 96 hours old. Re-running tests. |
1 similar comment
/test all Tests are more than 96 hours old. Re-running tests. |
I'll do the approval here if others aren't around. Looks totally sane. I'd like to see the release note updated to something that users will actually be able to understand. Something like "kubectl now enforces required flags at a more fundamental level". If you need to ping me feel free to reach out on slack or twitter as github notifications are super noisy for me. |
/test all Tests are more than 96 hours old. Re-running tests. |
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.
/lgtm
/test all Tests are more than 96 hours old. Re-running tests. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dixudx, eparis, jbeda, shiywang, soltysh, zjj2wry Associated issue: #502 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/test pull-kubernetes-e2e-kops-aws |
/retest Review the full test history for this PR. Silence the bot with an |
/test all Tests are more than 96 hours old. Re-running tests. |
/retest |
1 similar comment
/retest |
/test all Tests are more than 96 hours old. Re-running tests. |
/test all [submit-queue is verifying that this PR is safe to merge] |
/retest |
/test all Tests are more than 96 hours old. Re-running tests. |
/test all [submit-queue is verifying that this PR is safe to merge] |
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
spf13/cobra#502 has enforced checking flags that marked as required, an error will be raised if unset.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged):fixes #54855xref #48400
fixes kubernetes/kubectl#121
Special notes for your reviewer:
/assign @liggitt @eparis
Release note: