evanlucas / fish-kubectl-completions

kubectl completions for fish shell
MIT License
576 stars 42 forks source link

update hashes to be compatible for go>=1.11.4 #21

Closed femnad closed 4 years ago

femnad commented 5 years ago

Hello,

The way Go modules construct hashes for dependencies has been changed in Go 1.11.4 (a related issue here) and this causes hash mismatches when the kcfishgen module is built with a Go version of greater than 1.11.4, like the following

verifying k8s.io/kubernetes@v1.12.0: checksum mismatch
        downloaded: h1:2PjG+1oSb9SSwFkJIH6HZH85CDfJ7hOaMMMQYi1Q+0c=
        go.sum:     h1:jPDApxpqyQ/THiLnquNHidiHC1F8jvDi7BUGfNtue30=

This patch updates hashes of three dependencies to make the main module buildable with Go >= 1.11.4.

There is one caveat though; applying this patch may require the folks who have previously compiled with a Go version of less than 1.11.4 to perform a go clean -modcache to force a recalculation of the hashes for the dependencies which were affected by the mismatches.

Thanks.

evanlucas commented 4 years ago

Thanks!