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

cmd/go: go get doesn't work with ssh #11713

Closed
marcopeereboom opened this issue Jul 14, 2015 · 4 comments
Closed

cmd/go: go get doesn't work with ssh #11713

marcopeereboom opened this issue Jul 14, 2015 · 4 comments
Milestone

Comments

@marcopeereboom
Copy link

Looks like go get is broken again on ssh git repos.

For example:
$ go get -v -f -u -insecure ./...
package github.com/marcopeereboom/gck: unable to parse output of git config remote.origin.url
package github.com/marcopeereboom/gck/ast: unable to parse output of git config remote.origin.url
...

$ git config remote.origin.url
git@github.com:marcopeereboom/gck.git

This also happens for ssh git repos with an explicit ssh origin: ssh://my.server.com/git/myrepo.git

https repos seem to still work fine.

$ go version
go version devel +60b7d27 Tue Jul 14 06:21:57 2015 +0000 darwin/amd64
$ git version
git version 2.3.8 (Apple Git-58)

I do see this on OpenBSD as well.

@ianlancetaylor ianlancetaylor changed the title go get doesn't work with ssh cmd/go: go get doesn't work with ssh Jul 14, 2015
@ianlancetaylor ianlancetaylor added this to the Go1.5 milestone Jul 14, 2015
@pierrre
Copy link

pierrre commented Jul 14, 2015

duplicate #11457 ?

@adg
Copy link
Contributor

adg commented Jul 14, 2015

Yes, it's a dupe.

@adg adg closed this as completed Jul 14, 2015
@marcopeereboom
Copy link
Author

Please do not make this a 1.5 maybe. This is a hard requirement for a lot of people. Our company will be forced to stick with 1.4 until it is solved. Seriously, this is a huge deal.

@gopherbot
Copy link

CL https://golang.org/cl/12200 mentions this issue.

gopherbot pushed a commit to golang/tour that referenced this issue Jul 15, 2015
Fixes golang/go#11713

Change-Id: If7e28520635ca1edf9c1e93f431163a8473201b1
Reviewed-on: https://go-review.googlesource.com/12200
Reviewed-by: Andrew Gerrand <adg@golang.org>
@golang golang locked and limited conversation to collaborators Nov 4, 2016
gopherbot pushed a commit to golang/website that referenced this issue May 26, 2021
Fixes golang/go#11713

Change-Id: If7e28520635ca1edf9c1e93f431163a8473201b1
Reviewed-on: https://go-review.googlesource.com/12200
Reviewed-by: Andrew Gerrand <adg@golang.org>
X-Tour-Commit: f0f03ea20adfe5d3e94ab983c1a17d8edaccf399
@rsc rsc removed their assignment Jun 23, 2022
passionSeven added a commit to passionSeven/website that referenced this issue Oct 18, 2022
Fixes golang/go#11713

Change-Id: If7e28520635ca1edf9c1e93f431163a8473201b1
Reviewed-on: https://go-review.googlesource.com/12200
Reviewed-by: Andrew Gerrand <adg@golang.org>
X-Tour-Commit: f0f03ea20adfe5d3e94ab983c1a17d8edaccf399
KimuraDanaka119 added a commit to KimuraDanaka119/go-tour-jp that referenced this issue Jun 4, 2023
Fixes golang/go#11713

Change-Id: If7e28520635ca1edf9c1e93f431163a8473201b1
Reviewed-on: https://go-review.googlesource.com/12200
Reviewed-by: Andrew Gerrand <adg@golang.org>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants