Google-cloud-go: all: go get fails with go1.5 with the new import path

Created on 4 Aug 2016  路  2Comments  路  Source: googleapis/google-cloud-go

Against Go 1.5, go get fails because it cannot parse the meta tags properly.

$ go get -v cloud.google.com/go/...
Fetching https://cloud.google.com/go?go-get=1
Parsing meta tags from https://cloud.google.com/go?go-get=1 (status code 200)
import "cloud.google.com/go/...": parse https://cloud.google.com/go?go-get=1: no go-import meta tags
package cloud.google.com/go/...: unrecognized import path "cloud.google.com/go/..."

See https://travis-ci.org/GoogleCloudPlatform/gcloud-golang/jobs/149608141

/cc @broady @okdave @jba

triage me

Most helpful comment

Fixed. The page there isn't valid XML (it looks like there was a </p><p> between two meta tags -- god only knows why).

$ GOPATH=$HOME/.tmpgopath go1.5/bin/go get -u cloud.google.com/go && echo woohoo
woohoo

I'm figuring out a way to serve a cleaner page at that path for ?go-get=1.

All 2 comments

Yes, @broady is looking now. Looks like it might be due to go/commit@5b085482ae8792cf751371991488d29e7bd3762f

Fixed. The page there isn't valid XML (it looks like there was a </p><p> between two meta tags -- god only knows why).

$ GOPATH=$HOME/.tmpgopath go1.5/bin/go get -u cloud.google.com/go && echo woohoo
woohoo

I'm figuring out a way to serve a cleaner page at that path for ?go-get=1.

Was this page helpful?
0 / 5 - 0 ratings