Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install #347

Closed
jcloutz opened this issue Feb 18, 2017 · 5 comments
Closed

Unable to install #347

jcloutz opened this issue Feb 18, 2017 · 5 comments
Assignees
Labels

Comments

@jcloutz
Copy link

jcloutz commented Feb 18, 2017

I am receiving the following error when trying to install. This is using go 1.8, I haven't tried with 1.7.

$ go get -v -u upper.io/db.v3
Fetching https://upper.io/db.v3?go-get=1
Parsing meta tags from https://upper.io/db.v3?go-get=1 (status code 200)
get "upper.io/db.v3": found meta tag main.metaImport{Prefix:"upper.io/db.v3", VCS:"git", RepoRoot:"https://upper.io/db.v3"} at https://upper.io/db.v3?go-get=1
upper.io/db.v3 (download)
# cd .; git clone https://upper.io/db.v3 /Users/jeremyc/develop/GoCode/src/upper.io/db.v3
Cloning into '/Users/jeremyc/develop/GoCode/src/upper.io/db.v3'...
error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301
fatal: The remote end hung up unexpectedly
package upper.io/db.v3: exit status 128
@xiam
Copy link
Member

xiam commented Feb 18, 2017

Thanks for your report, I believe this is related to niemeyer/gopkg#50 + a recent git version (2.11.0+). We're working on a fix.

@xiam xiam self-assigned this Feb 18, 2017
@xiam
Copy link
Member

xiam commented Feb 18, 2017

Sorry for the trouble, this should be working fine again with any git version. Could you try again and confirm?

@xiam xiam added the wip label Feb 18, 2017
@jcloutz
Copy link
Author

jcloutz commented Feb 19, 2017

@xiam It seems to be working now. I got it to work last night by telling git to follow redirects but this is better :) Thank you for the fast response!

Fetching https://upper.io/db.v3?go-get=1
Parsing meta tags from https://upper.io/db.v3?go-get=1 (status code 200)
get "upper.io/db.v3": found meta tag main.metaImport{Prefix:"upper.io/db.v3", VCS:"git", RepoRoot:"https://upper.io/db.v3"} at https://upper.io/db.v3?go-get=1
upper.io/db.v3 (download)
Fetching https://upper.io/db.v3/internal/immutable?go-get=1
Parsing meta tags from https://upper.io/db.v3/internal/immutable?go-get=1 (status code 200)
get "upper.io/db.v3/internal/immutable": found meta tag main.metaImport{Prefix:"upper.io/db.v3", VCS:"git", RepoRoot:"https://upper.io/db.v3"} at https://upper.io/db.v3/internal/immutable?go-get=1
get "upper.io/db.v3/internal/immutable": verifying non-authoritative meta tag
Fetching https://upper.io/db.v3?go-get=1
Parsing meta tags from https://upper.io/db.v3?go-get=1 (status code 200)

@xiam
Copy link
Member

xiam commented Feb 20, 2017

Great @jcloutz! thanks for the heads up.

@xiam xiam closed this as completed Feb 20, 2017
@niemeyer
Copy link

No need to change the configuration anymore. We've changed gopkg.in itself to support the new git quirks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants