Open
Description
BC Break Report
This package is not versioned in the go.mod
Q | A |
---|---|
Version | v11.0.1 |
Summary
When I do a get on this package, I get errors indicating that the go.mod had non v11 module path.
This also results in other side effects for teams that have rennovate bot in their workflow.'
For example:
- github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
+ github.com/asaskevich/govalidator/v11 v11.0.1 // indirect
This will not work as the module path doesn't have v11 suffix
Expected behavior
go get gopkg.in/asaskevich/govalidator v11.0.1
and go get gopkg.in/asaskevich/govalidator.v11
should work
Current behavior
go get gopkg.in/asaskevich/govalidator.v11
go: gopkg.in/asaskevich/govalidator.v11@v11.0.1: invalid version: go.mod has non-....v11 module path "github.com/asaskevich/govalidator" at revision v11.0.1
go get gopkg.in/asaskevich/govalidator v11.0.1
go: gopkg.in/asaskevich/govalidator: unrecognized import path "gopkg.in": parse https://gopkg.in/?go-get=1: no go-import meta tags ()
go: unrecognized import path "v11.0.1": https fetch: Get "https://v11.0.1/?go-get=1": dial tcp: lookup v11.0.1: no such host
How to reproduce
Run either of these commands
go get gopkg.in/asaskevich/govalidator v11.0.1
go get gopkg.in/asaskevich/govalidator v11.0.1
Is there a reason for not versioning the module path ?
Metadata
Metadata
Assignees
Labels
No labels