vendor: call vndr to remove useless pkgs and update vendor#3759
vendor: call vndr to remove useless pkgs and update vendor#3759estesp merged 1 commit intocontainerd:masterfrom
Conversation
Signed-off-by: Wei Fu <[email protected]>
0e2f362 to
074b453
Compare
|
Hmm, there may be other ways to provide these scripts, but |
Thanks! But why CI pass without any error? 😂 |
Codecov Report
@@ Coverage Diff @@
## master #3759 +/- ##
==========================================
+ Coverage 41.98% 45.41% +3.42%
==========================================
Files 131 118 -13
Lines 14536 11644 -2892
==========================================
- Hits 6103 5288 -815
+ Misses 7525 5449 -2076
+ Partials 908 907 -1
Continue to review full report at Codecov.
|
|
@fuweid they are not used for build; we just need to probably copy them somewhere so packagers and users can have |
|
Could be a different version of vndr was used; do we pin the version of vndr? |
|
🤔 last commit in vndr master was 2 months ago 🤷♂️ |
|
@thaJeztah - Can we not use modules? |
|
Lots of problems still with go modules |
|
I've proposed to move the autocomplete files to |
thaJeztah
left a comment
There was a problem hiding this comment.
Think I found why vndr now removes these go files (see my comment)
LGTM
| @@ -1,267 +0,0 @@ | |||
| package errcode | |||
There was a problem hiding this comment.
I think these became no longer necessary after commit 901bcb2 (#3728)
Could it be that the vendor validation doesn't run unless vendor.conf was modified? If so, that would explain why CI didn't catch the problem (ran into a similar issue in moby/moby, and have a PR there to force the vendor check, even if vendor.conf wasn't updated); moby/moby#40050
|
Thanks for @estesp and @thaJeztah ! sorry for late reply. Interesting thing is that the travis CI will remove the vendor, call vndr to fetch all the packages and check diff. https://github.com/containerd/project/blob/master/script/validate/vendor. It should be fail... |
|
I think the ==> "travis_wait ../project/script/validate/vendor" exited with 0. |
|
Ouch! That ain't good; good catch! |
|
@thaJeztah ignore my last comment. That The root cause is about shell quote In project, we should not add quote to check diff. But it should be fter this one pr and #3766 merged. |
|
ha! of course; it's looking for a file named |
|
Merging now that we've solved the problem with the |
Signed-off-by: Wei Fu [email protected]