Jordan Liggitt
04b178b49b
Make root approval non-recursive
2022-10-10 08:26:53 -04:00
Patrick Ohly
9b5e9d8978
update-vendor.sh: add reminder about LICENSE files
...
The script might have added or removed LICENSE files. Those changes also need
to be added manually to a commit.
2022-10-04 12:39:05 +02:00
Patrick Ohly
f737c5d341
update-vendor.sh: handle empty staging repo
...
A staging repo which just got created with only the doc.go file in it won't
have any dependencies yet, which caused the script to fail because the
dependency files didn't get created:
+++ [0926 14:33:22] go.mod: tidying
cat: /tmp/update-vendor.1VTv/group_replace.ZbIT/go.mod.require_direct.tmp: No such file or directory
!!! [0926 14:33:23] Call tree:
!!! [0926 14:33:23] 1: hack/update-vendor.sh:354 group_directives(...)
2022-10-04 12:37:15 +02:00
Jordan Liggitt
a9fd8a8a46
Prune unused root replace directives
2022-09-13 09:30:26 -04:00
Jordan Liggitt
1176b7ca28
Update go.mod files to go1.18, update license vendor script
2022-05-04 10:22:27 -04:00
Tim Hockin
09dc055984
Update golang.org/x/time/rate ( #104014 )
...
* Add failing test case
* Update golang.org/x/time/rate
* Call update-internal-modules from update-vendor
2021-07-29 16:13:38 -07:00
Han Kang
0f6cea3b51
Add myself as a dep reviewer
...
Change-Id: I80406ca92d30c1f8d5a95f21794205d01a2f6eab
2021-04-30 07:59:19 -07:00
Jordan Liggitt
cec87c73b1
Drop post-vendor sorting of modules.txt
...
This was required prior to https://go-review.googlesource.com/c/go/+/174527 to ensure
consistent ordering across platforms, but is not required in go 1.13+.
2021-04-22 11:07:29 -04:00
Kubernetes Prow Robot
a9ed98588e
Merge pull request #99596 from SataQiu/fix-update-vendor-20210301
...
Fix the bug that hack/update-vendor.sh exits with error but no indication of failure
2021-04-08 15:58:48 -07:00
Benjamin Elder
b1162745b2
ignore vendor in update-bazel.sh, ignore bazel in update-vendor.sh
2021-03-07 15:34:44 -08:00
Tim Hockin
9f56205bbb
Fix hack/update-vendor.sh to not warn on xargs
...
xargs -L and -n are strictly incompatible with -I. Use shell loops
instead. This does not seem to have any net impact other than making
warnings go away.
2021-03-03 14:19:28 -08:00
SataQiu
00ca55dd05
fix the bug that hack/update-vendor.sh exits with error but no indication of failure
2021-03-01 23:16:47 +08:00
Tim Hockin
91c401c964
Update-vendor: canonicalize pwd
2021-01-25 10:15:59 -08:00
Tim Hockin
734f27d980
Add a reminder to add/rm files
2020-06-25 13:40:17 -07:00
Jordan Liggitt
660c290bbf
go1.14: set -mod=mod while rebuilding/linting vendor and building licenses, preserve explicit imports in modules.txt
2020-06-23 19:04:43 -04:00
Qing Ju
fe8ecb18b0
Added link to vendor.md in go.mod
2020-06-01 17:20:47 -07:00
Tim Hockin
325ea6e3c2
Restructure licenses again (revert cd4474a
)
...
This moves licenses of vendored code from one monolith file into a tree
of individual files for easier reviews. This fixes both the bash and
bazel paths.
2020-05-07 21:48:59 -07:00
SataQiu
590f0f345b
fix the bug that update-vendor.sh reports error when grep match failed
2020-03-28 15:50:24 +08:00
Jordan Liggitt
07e512bb6b
Detect transitive dependencies on k8s.io/kubernetes
2020-03-26 13:58:28 -04:00
Jordan Liggitt
cd4474ae4f
Revert "76093 restructure LICENSES file generation"
...
This reverts commit d39ac98cc5
.
2019-11-13 10:24:32 -05:00
Ji Shan Xing
d39ac98cc5
76093 restructure LICENSES file generation
2019-11-12 20:38:57 -05:00
Benjamin Elder
b388865c00
fix hack/update-vendor.sh array expansion
2019-06-28 14:01:38 -07:00
Benjamin Elder
47daf195a4
fix hack/update-vendor.sh shellcheck failures
2019-06-24 11:43:04 -07:00
Jordan Liggitt
d9d5968947
Prune matching replace directives in staging repos more effectively
2019-05-10 15:36:03 -04:00
Jordan Liggitt
77690137a9
propagate pinned versions to staging repos, output cleanup commands
2019-04-15 11:30:07 -04:00
Kubernetes Prow Robot
e68888384b
Merge pull request #76522 from liggitt/prune-replace
...
Prune replace directives
2019-04-12 20:00:04 -07:00
Jordan Liggitt
aaa8802acb
Prune unnecessary replace directives from staging go.mod files
2019-04-12 16:48:01 -04:00
Jordan Liggitt
fb0cea22dc
stop clearing GOPATH in vendor scripts
...
if unset, go defaults to $HOME/go, and fails if $GOROOT is also set to the same directory
we were only doing this to be doubly sure that only modules were being used.
just depend on export GO111MODULE=on for that.
2019-04-12 12:56:05 -04:00
Jordan Liggitt
f250dcf70a
Prune unneeded replace directives from staging go.mod files
2019-04-08 09:42:22 -04:00
Jordan Liggitt
86f29e210b
Clean up generated file warnings, add recursive dependency detection
2019-04-04 12:06:45 -04:00
Jordan Liggitt
2ea3cbdcbc
Update hack scripts to use go mod
2019-04-03 10:19:39 -04:00