Closed philcluff closed 8 years ago
I think this is an issue with Go itself not with G-P-S. Can you run go get -u github.com/shurcooL/go/vfs/httpfs/vfsutil
without the same error message, for example? (note: I am not a maintainer, so I could be wrong)
That works just fine, and the remote for that project ends up being a git remote:
➜ ~ go get -u github.com/shurcooL/go/vfs/httpfs/vfsutil
➜ go cd $GOPATH/src/github.com/shurcooL/go/vfs/httpfs/vfsutil
➜ vfsutil git:(master) ls
total 24
-rw-r--r-- 1 philc staff 1.2K 21 Sep 13:07 helpers.go
-rw-r--r-- 1 philc staff 3.4K 21 Sep 13:07 walk.go
-rw-r--r-- 1 philc staff 1.9K 21 Sep 13:07 walk_test.go
➜ vfsutil git:(master) git remote -v
origin git@github.com:shurcooL/go (fetch)
origin git@github.com:shurcooL/go (push)
I, like many others have my git configured such that
go get github.com/someone/somepackage
will fetch using the git (ssh) protocol. This is achieved by the following configuration in ~/.gitconfig[url "git@github.com:"] insteadOf = https://github.com/
Is doing this still supported in Go 1.5? I thought it wasn't, or you had to use -f
flag with go get
:
The -f flag, valid only when -u is set, forces get -u not to verify that each package has been checked out from the source control repository implied by its import path. This can be useful if the source is a local fork of the original.
(Source is https://golang.org/cmd/go/#hdr-Download_and_install_packages_and_dependencies.)
That could be wrong, I'm not sure.
Thanks for reporting this issue, I will take a closer look later today and see if it's possible to resolve it.
@GeneticGenesis, can you confirm if this is still an issue?
I'm doing a very simple thing to update the repositories, and it should be identical to what the Go tool does. See here:
I think this was an issue with the local setup, and it would've given same error if doing go get -u
. I'll close it because there's no issue in Go Package Store to fix. Please reopen otherwise.
Great tool!
I, like many others have my git configured such that
go get github.com/someone/somepackage
will fetch using the git (ssh) protocol. This is achieved by the following configuration in ~/.gitconfigInstalling Go-Package-Store using this mechanic fails with the following output:
It'd be nice to support this setup as its fairly common.
Cheers,