Skip to content
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

Upgrade AlecAivazais/survey to v2.3.5 #1625

Merged
merged 1 commit into from
Jun 29, 2022
Merged

Conversation

abayer
Copy link
Contributor

@abayer abayer commented Jun 28, 2022

Changes

I was having trouble debugging some tests I was working on refactoring, and eventually realized this was due to AlecAivazis/survey#408, which was fixed in survey v2.3.3.

This also ends up upgrading hinshun/vt10x, getting rid of the NewVT10xTerminal function we'd been calling in a few places, so I band-aided that by adding an equivalent function in test/helper/helpers.go.

/kind misc

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

  • Includes tests (if functionality changed/added)
  • Run the code checkers with make check
  • Regenerate the manpages, docs and go formatting with make generated
  • Commit messages follow commit message best practices

See the contribution guide
for more details.

Release Notes

NONE

@tekton-robot tekton-robot added release-note-none Denotes a PR that doesnt merit a release note. kind/misc Categorizes issue or PR as a miscellaneuous one. labels Jun 28, 2022
@tekton-robot tekton-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jun 28, 2022
@abayer
Copy link
Contributor Author

abayer commented Jun 28, 2022

/assign @vdemeester

@abayer
Copy link
Contributor Author

abayer commented Jun 28, 2022

Oh great, it fails cross-compiling for Windows!

GOOS=windows GOARCH=amd64 go build -mod=vendor  -o bin/tkn-windows-amd64 ./cmd/tkn
# github.com/hinshun/vt10x
vendor/github.com/hinshun/vt10x/vt_other.go:26:7: t.State.cur.attr undefined (type Cursor has no field or method attr, but does have Attr)
vendor/github.com/hinshun/vt10x/vt_other.go:27:7: t.State.cur.attr undefined (type Cursor has no field or method attr, but does have Attr)
make: *** [Makefile:61: amd64] Error 2

EDIT: Fixed that by bumping hinshun/vt10x to pick up hinshun/vt10x@1ab2cad

I was having trouble debugging some tests I was working on refactoring, and eventually realized this was due to AlecAivazis/survey#408, which was fixed in survey v2.3.3.

This also ends up upgrading hinshun/vt10x, getting rid of the `NewVT10xTerminal` function we'd been calling in a few places, so I band-aided that by adding an equivalent function in `test/helper/helpers.go`.

Signed-off-by: Andrew Bayer <[email protected]>
@piyush-garg
Copy link
Contributor

/approve

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 29, 2022
Copy link
Contributor

@pradeepitm12 pradeepitm12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 29, 2022
@tekton-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: piyush-garg, pradeepitm12

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:
  • OWNERS [piyush-garg,pradeepitm12]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@piyush-garg
Copy link
Contributor

/retest

@tekton-robot tekton-robot merged commit a7a818a into tektoncd:main Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/misc Categorizes issue or PR as a miscellaneuous one. lgtm Indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesnt merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants