-
Notifications
You must be signed in to change notification settings - Fork 1k
Dep ensure results in exit status 128 for private repo #1430
Comments
hi, welcome! sorry you're running into this. unfortunately, with the outstanding bug we have where we're missing the actual stderr/stdout git output, it's hard to know exactly what the problem is. however, i'm gonna guess that also, just a note that |
Hi, thanks for the response!
Could you expand on what you mean by that or point me to someplace that explains that? I have several golang projects on the go, so setting a global GOPATH is a bit of a nuisance. |
i realized that our "bug" around this is actually pretty simple - modify https://github.com/golang/dep/blob/master/gps/cmd_unix.go#L81 to
sure. a few things:
|
DEBUGMade the change you suggested to https://github.com/golang/dep/blob/master/gps/cmd_unix.go#L81 and I get the following output.
Just to double check that I can checkout fb426ba7e2843046c0fa67beaf19890c3b31f62f with git normally:
GOPATHRe GOPATH, I guess I wasn't very clear with my description, sorry about that. This is what I was doing. As far as I know that should work for all tools that require GOPATH, no?
|
re: GOPATH, yeah, it looks like that ought to work. it looks like dep's failing to update its local cache repo. we haven't seen much of this recently, though, so it's surprising. i suspect it's some kind of error that we're not logging adequately (see #1375), possibly related to the credential cache. have a look at |
Ya, I noticed there isn't much logging with dep, would be nice to improve that for sure. Took a look at
Guess dep wasn't calling fetch for some reason... |
ah, you were running (closing in expectation of that, though please reopen if you do still experience this on tip) |
Ok, thanks |
@sdboyer This happens both on tip and on v0.3.2 for the AWS Go SDK (github.com/aws/aws-sdk-go). Looking at
making it impossible to proceed further on any project that uses this package. |
This seems to a problem with the AWS SDK, though, think there's a hook that's modifying files on checkout. Would be great if |
@sudhirj this is almost certainly a different problem than what this ticket is about, even though the git error message is the same - your issue appears to be dirty state, this issue is about missing revs from upstream. please open a new issue and we can discuss over there. |
Will do. |
Just wanted to comment that doing a manual |
What version of
dep
are you using (dep version
)?What
dep
command did you run?What did you expect to see?
Downloads and installs my dependancies in vendor
What did you see instead?
Extra
git clone
github.com/laddersoftware/http with no issues.Gopkg.toml
works fine.The text was updated successfully, but these errors were encountered: