You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# git checkout
exec git init
exec git remote add origin https://github.com/govim/govim
exec git fetch origin 1da33d23886a18dd8280770dad0d3ae60e872e6a
exec git checkout FETCH_HEAD
# go version check
# get new versions of tools and gopls
go get email@example.com firstname.lastname@example.org
# try and tidy
go mod tidy
# go generate again
go generate . ./cmd/govim
The go mod tidy step fails with:
go mod tidy: go.mod file indicates go 1.17, but maximum supported version is 1.16
The go generate step fails with:
go: downloading gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637
go: downloading github.com/fsnotify/fsnotify v1.4.7
govim.go:21:2: missing go.sum entry for module providing package github.com/kr/pretty (imported by github.com/govim/govim); to add:
go get github.com/govim/govim
internal/cmd/genconfig/genconfig.go:15:2: missing go.sum entry for module providing package github.com/rogpeppe/go-internal/semver (imported by github.com/govim/govim/internal/cmd/genconfig); to add:
go get github.com/govim/govim/internal/cmd/genconfig
govim.go:26: running "go": exit status 1
../../internal/cmd/txtarutil/main.go:39:2: missing go.sum entry for module providing package github.com/rogpeppe/go-internal/txtar (imported by github.com/govim/govim/internal/cmd/txtarutil); to add:
go get github.com/govim/govim/internal/cmd/txtarutil
cmd/govim/main_test.go:30: running "go": exit status 1
(which is odd because the main module is github.com/govim/govim)
What did you expect to see?
It strikes me that the go get step should probably have failed in the first instance, because it couldn't make the necessary changes to go.(mod|sum) to leave both in a valid state.
What did you see instead?
go.(mod|sum) in a bad state that can't be corrected.
The text was updated successfully, but these errors were encountered: