-
Notifications
You must be signed in to change notification settings - Fork 17.5k
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
x/vgo: Private Stash repos not being "found" #25590
Comments
It's a bit different than your situation, but posting this here in case anyone else runs into it. I had an import from a private github repo. |
Please try with the latest vgo. Please also post your Gopkg.lock once you get it back. |
Is there a better way to update vgo then doing $ vgo version
go version go1.10 windows/amd64 vgo:2018-02-20.1 which is the same version I had before (ie, do I need to switch branches or tags and do a checkout). This is my git version if it matters: $ git version
git version 2.9.0.windows.1 |
Change https://golang.org/cl/120042 mentions this issue: |
Hi, with
running The repo exists, I can clone it, access it and I have it locally on my system in Maybe I'm missing something? |
This should be fixed as of a few minutes ago - vgo now uses basically the same code as "go get" to resolve repos. If you are still having problems, please open a new issue and mention this one in the report. (Both to shorten the comment sequence and because most people don't have permission to reopen this issue anyway.) |
What version of Go are you using (
go version
)?go version go1.10 windows/amd64 vgo:2018-02-20.1
Does this issue reproduce with the latest release?
Possibly? I'm just using
go get -u golang.org/x/vgo
currently.What operating system and processor architecture are you using (
go env
)?set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\jh125486\AppData\Local\go-build
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:/Users/jh125486/go
set GORACE=
set GOROOT=C:\Go
set GOTMPDIR=
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
What did you do?
vgo build
I have a rewrite rule in my ~/.gitconfig which works for
go get
:What did you expect to see?
A generated go.mod replicating the dependencies from Gopkg.toml.
What did you see instead?
I also hit #25110, but this happens after removing the
Gopkg.lock
.The text was updated successfully, but these errors were encountered: