Closed mans0954 closed 4 years ago
To make builds more deterministic, I would recommend setting GOPROXY to https://gocenter.io. GoCenter (central Go modules repository) has both old and new module versions sine we guarantee immutability and availability.
Example: https://search.gocenter.io/git.apache.org~2Fthrift.git/info or https://search.gocenter.io/github.com~2Fapache~2Fthrift/info (new module)
I appreciate that the unavailability of git.apache.org is outside of this projects control, but Apache seem to be moving towards using GitHub for VCS [1], and the installation instructions for thrift now refer to the GitHub url [2], so it may be advisable to add a replace statement to
go.mod
.[1] https://blogs.apache.org/foundation/entry/the-apache-software-foundation-expands [2] https://github.com/apache/thrift/tree/master/lib/go#using-thrift-with-go