-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 survey to v2 #4915
Bump survey to v2 #4915
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There is already a PR for this. #4895 |
@staebler I didn't see that PR before I started on this one, but it looks like it's missing some important changes like this one: The types for all |
I just saw this bug as well: https://bugzilla.redhat.com/show_bug.cgi?id=1947067 I originally bumped to v2 to see if that issue was fixed, because I've been running the installer a lot lately and it was bothering me. But just the bump to v2 did not fix it (on mac with iterm2), so I also opened AlecAivazis/survey#353 to address it. |
two primary changes: - validators are passed differently - the answer type for `select` questions is now an object instead of a string, which needs to be unrwrapped
/retest |
2 similar comments
/retest |
/retest |
@ecordell: The following tests failed, say
Full PR test history. Your PR dashboard. 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. |
I bumped survey to v2 in anticipation of pulling in a release that includes AlecAivazis/survey#353
If/when that merges, I can bump survey again to fix the input overwrite issue. This PR takes care of all of the other v1-> v2 changes ahead of time.
Example output with the patch:
Related to #4523