Closing the loop on this. They reached out in the Gopher Slack and we pieced it together:
- https://gophers.slack.com/archives/C029RQSEE/p1592699134083700 It has to do with this section of code: - https://github.com/golang/go/blob/60f78765022a59725121d3b800268adffe78bde3/src/cmd/go/internal/get/vcs.go#L804-L810 This chooses to swallow parsing errors if the HTTP response looks to be invalid (bad status code), which is what's happening here. Another user managed to find that the meta tags on the page look malformed: <meta name=go-import content="gonum.org/v1/exp git https://github.com/gonum/exp"> Notice that go-import is missing quotes around it. I think fixing those up should solve the issue here. There is a larger question as to whether this code should return *both, *as it's hard to know which is correct and in this case it shared the wrong context. Cheers! -Tim On Saturday, June 20, 2020 at 4:38:03 PM UTC-7 kortschak wrote: > Yesterday we replaced the old gonum.org site with a new hugo build. > This appears to have broken go get for clients that do not use > proxy.golang.org or some other proxy that already has gonum.org/... > cached (this includes gddo). > > ``` > $ GOPROXY=direct go get gonum.org/v1/gonum > go get gonum.org/v1/gonum: unrecognized import path > "gonum.org/v1/gonum": reading https://gonum.org/v1/gonum?go-get=1: 404 > Not Found > ``` > > It was my understanding that go get should examine go get meta tags > even if the page returns a 404 (though looking at our old site there is > a static 404 page included to work around this it seems). Is this not > correct? If it's not correct, what is the appropriate technique to > provide this information to go get for pages that are not serving > anything other than go get metadata? > > thanks > Dan > > ref:https://github.com/gonum/website/issues/9 > > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/ed819169-4648-4a5a-9b97-b8d81ddc2216n%40googlegroups.com.