-
Notifications
You must be signed in to change notification settings - Fork 42.2k
go.mod: update to github.com/emicklei/go-restful/v3 v3.7.3 #106841
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
Conversation
full diff: emicklei/go-restful@v2.9.5...v3.7.3 - Switch to using go modules - Add check for wildcard to fix CORS filter - Add check on writer to prevent compression of response twice - Add OPTIONS shortcut WebService receiver - Add Route metadata to request attributes or allow adding attributes to routes - Add wroteHeader set - Enable content encoding on Handle and ServeHTTP - Feat: support google custom verb - Feature: override list of method allowed without content-type - Fix Allow header not set on '405: Method Not Allowed' responses - Fix Go 1.15: conversion from int to string yields a string of one rune - Fix WriteError return value - Fix: use request/response resulting from filter chain - handle path params with prefixes and suffixes - HTTP response body was broken, if struct to be converted to JSON has boolean value - List available representations in 406 body - Support describing response headers - Unwrap function in filter chain + remove unused dispatchWithFilters Signed-off-by: Sebastiaan van Stijn <[email protected]>
|
Hi @thaJeztah. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: thaJeztah The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
| github.com/emicklei/go-restful => github.com/emicklei/go-restful v2.9.5+incompatible | ||
| github.com/emicklei/go-restful/v3 => github.com/emicklei/go-restful/v3 v3.7.3 |
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've left the github.com/emicklei/go-restful (non-go modules) replace in place; I wasn't sure what's common in this scenario, but that replace should (if I'm correct) still help with getting the indirect dependencies to the same / consistent version.
(@dims ?)
|
On this branch; indirect dependencies remaining that use the old (non-go modules) version; Perhaps a replace rule is needed for |
|
Opened kubernetes/kube-openapi#271 to open kube-openapi |
|
thanks for the PR... will need to sweep the go-restful release notes and impl changes from v2 to v3 to see if any behavior changes impact us xref comments on previous bump attempt:
is there a specific bug/issue this bump is intended to address? that would help in knowing how to prioritize review |
|
Ouch; I was afraid this could happen; guess either some code needs to be regenerated, or we need to update this in a specific order 😞 |
No, there's no specific bug/issue; mostly that I noticed the go-restful project moved to using go modules, and I noticed that containerd was still using the non-go modules version (then I noticed there were various indirect dependencies using it). Based on the errors above, it looks like updating may be a bit hairy as various components use the type 😬 (I'm not very familiar with the dependency tree / relation here, but happy to help getting changes in, in the right order) |
|
/triage accepted |
|
/retest |
|
@thaJeztah: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. DetailsInstructions 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. |
|
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
|
@thaJeztah: PR needs rebase. DetailsInstructions 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. |
|
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
|
superceded by #110351 /close |
|
@liggitt: Closed this PR. DetailsIn response to this:
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. |
full diff: emicklei/go-restful@v2.9.5...v3.7.3
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Updating this dependency to a version that's using go modules
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
The non-go module version is still in use by various other dependencies within the k8s.io org, so those will need to be updated as well (and updated in this repository after they've been updated)
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: