-
Notifications
You must be signed in to change notification settings - Fork 284
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 go-swagger version to 0.30.5 #5162
Bump go-swagger version to 0.30.5 #5162
Conversation
Version 0.28.0 of go-swagger has a bug that calls filepath.EvalSymlinks on a path that is built using the HOME environment variable when GOPATH is not set. Since the HOME environment variable is not typically present on Windows, this causes the go-swagger command to fail. Version 0.30.5 solves this problem. Signed-off-by: Adam Pickering <adam.pickering@suse.com>
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.
Works fine
Just curious if the rancher-desktop/src/go/wsl-helper/go.mod Line 13 in d40c100
|
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 - I think we hold of on merging with Nino's question pending.
3ac269e
I want to leave a note that bumping the |
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 found the go unit tests failed until I ran the following commands:
cd src/go/wsl-helper/
go get github.com/rancher-sandbox/rancher-desktop/src/go/wsl-helper/cmd
go get github.com/rancher-sandbox/rancher-desktop/src/go/wsl-helper/pkg/dockerproxy/models
go get -t github.com/rancher-sandbox/rancher-desktop/src/go/wsl-helper/pkg/dockerproxy/util
cd -
git status
gives output
On branch bump-go-swagger-version
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: src/go/wsl-helper/go.mod
modified: src/go/wsl-helper/go.sum
I think it makes sense that we use the same |
There are a number of dependencies that are updated with go-swagger. This is because go-swagger v0.30.5 requires these versions of these dependencies. Signed-off-by: Adam Pickering <adam.pickering@suse.com>
3ac269e
to
5fbf85a
Compare
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.
Works fine, LG
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 - Performed a quick validation by testing install scripts in Windows 11.
Version 0.28.0 of go-swagger has a bug that calls
filepath.EvalSymlinks
on a path that is built using theHOME
environment variable when theGOPATH
environment variable is not set. Since theHOME
environment variable is not typically present on Windows, this causes the go-swagger command to fail. Version 0.30.5 solves this problem.