-
Notifications
You must be signed in to change notification settings - Fork 1k
dep ensure: ensure Solve(): No versions of github.com/kjk/siser met constraints #699
Comments
Thanks for the detailed issue! This is the same stale cache issue as #639 rearing its head again. #696 fixes it - I'll probably merge tomorrow morning.
This has come up as a request a couple times, but it's hard to do. For one, command output wouldn't necessarily be well-ordered with respect to the trace output you see above, as we may end up pre-caching a bunch of this stuff. Two is caching itself - we actually want to avoid running these commands as much as possible, so in our ideal world, very little output would be generated. Third is more of an architectural choice, but the system that actually does the VCS work is pretty well sealed-up in a way that it can't directly log. It's possible we could include more things as warnings, a la #534. Or maybe we "log" internally and store up all the messages, then make them available after solving is done. But interleaving more output with the trace output above would be pretty harmful to coherency of the trace output. Fortunately, this case has a solution at hand 😄 |
Thanks, deleting |
I met this issue in: dep v0.3.0 resolved after upgrade git to latest version |
@localvar hi! could you post a new, full issue describing what you encountered? even if you saw the same error message, the underlying logic that gave rise to this issue are now different, and require a different analysis. (especially because it's not evident to me how updating git would change this) |
@sdboyer , I cannot reproduce it now, but this did happen on two of my servers, I will log detailed information if I meet it again. |
deleting $GOPATH/pkg/dep/sources,but still did not solve the problem |
I also faced the same issue after updating
Deleting |
A repro (on mac, go 1.8.3) using latest (1c168c0) version of dep:
I get an error:
Notice that this revision exists: kjk/siser@593a1a6
It fails on other packages as well:
but most frequently github.com/kjk/siser
Dependency file was created with
dep ensure -u
on a different machine (but also mac).From a bit of googling it seems this is what
git
returns, but I don't know what command exactly.Running verbose:
An aside: it would be good to have "even more verbose" cmd-line arg that prints external commands that dep executes.
Also, can it be flakiness on the github side?
The text was updated successfully, but these errors were encountered: