This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
checkErrors is preventing dep ensure from working within dep #995
Labels
Comments
ibrasho
changed the title
checkErrors is
checkErrors is preventing dep ensure from working within dep
Aug 12, 2017
I think it would be great if we add more output before printing Something like |
baaaaaarrrgghhhh lol |
i thought i pieced through those cases, but evidently not. let's get a fast fix in on this one, if we can? |
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Aug 12, 2017
checkErrors doesn't allow dep ensure to be used in a project that contains any Go files containing build errors. This commit update checkErrors to return a warning instead of an error as long as the project contains some compilable Go files. Fixes golang#995 Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
I created a PR. That function does the following now:
|
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Aug 18, 2017
checkErrors doesn't allow dep ensure to be used in a project that contains any Go files containing build errors. This commit update checkErrors to return a warning instead of an error as long as the project contains some compilable Go files. Fixes golang#995 Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Aug 18, 2017
checkErrors doesn't allow dep ensure to be used in a project that contains any Go files containing build errors. This commit update checkErrors to return a warning instead of an error as long as the project contains some compilable Go files. Fixes golang#995 Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Aug 18, 2017
checkErrors doesn't allow dep ensure to be used in a project that contains any Go files containing build errors. This commit update checkErrors to return a warning instead of an error as long as the project contains some compilable Go files. Fixes golang#995 Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Aug 19, 2017
checkErrors doesn't allow dep ensure to be used in a project that contains any Go files containing build errors. This commit update checkErrors to return a warning instead of an error as long as the project contains some compilable Go files. Fixes golang#995 Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Aug 19, 2017
checkErrors doesn't allow dep ensure to be used in a project that contains any Go files containing build errors. This commit update checkErrors to return a warning instead of an error as long as the project contains some compilable Go files. Fixes golang#995 Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Aug 19, 2017
checkErrors doesn't allow dep ensure to be used in a project that contains any Go files containing build errors. This commit update checkErrors to return a warning instead of an error as long as the project contains some compilable Go files. Fixes golang#995 Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
ibrasho
added a commit
to ibrasho-forks/dep
that referenced
this issue
Aug 22, 2017
checkErrors doesn't allow dep ensure to be used in a project that contains any Go files containing build errors. This commit update checkErrors to return a warning instead of an error as long as the project contains some compilable Go files. Fixes golang#995 Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
ibrasho
added a commit
that referenced
this issue
Aug 22, 2017
checkErrors doesn't allow dep ensure to be used in a project that contains any Go files containing build errors. This commit update checkErrors to return a warning instead of an error as long as the project contains some compilable Go files. Fixes #995 Signed-off-by: Ibrahim AshShohail <ibra.sho@gmail.com>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What
dep
command did you run?I tried to
dep ensure -v
ingit.luolix.top/golang/dep
and got the following output:What did you expect to see?
A normal
ensure
output.What did you see instead?
#844 introduced some additional rules to check when projects contain Go files with errors. Applying these rules on
dep
resulted in this case. 😁Since
dep
has some test cases (and test data) with invalid Go files,dep ensure
cannot be used ingit.luolix.top/golang/dep
.cc: @grepory
The text was updated successfully, but these errors were encountered: