Commit Graph

36 Commits

Author SHA1 Message Date
Umanga Chapagain
f4ff6984cf
update hack/tools to pull latest logcheck
Signed-off-by: Umanga Chapagain <chapagainumanga@gmail.com>
2021-10-05 15:55:58 +05:30
Vikram Jadhav
5f674101bb Added update and verify scripts for automated mock generation 2021-09-03 17:40:11 +00:00
Antonio Ojea
06f2d678ee update and verify netparse
Add script to verify that net.ParseIP and net.ParseCIDR are
not being used.

Add another script to automatically replace those functions
for the ones forked in k8s.io/utils/net
2021-08-20 10:42:09 +02:00
Davanum Srinivas
b74fe232e3
update golangci-lint to newer version
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-07-14 08:41:21 -04:00
Mikhail Mazurskiy
bc475373b2
Drop direct dependency on gotest.tools 2021-07-10 13:31:32 +10:00
pacoxu
669fb50136 upgrade staticcheck to v0.2.0 and update the static failure packages 2021-06-28 18:04:16 +08:00
Benjamin Elder
207f9e8b71 switch go-flow-levee to tagged version
this is actually a no-op source wise, but we want to prefer tagged versions
2021-06-15 19:37:20 -07:00
Michaël Lévesque-Dion
a94aa0ea9a Update version of go-flow-levee for verify-govet-levee check. 2021-06-08 12:02:46 -04:00
Benjamin Elder
45f910e79e update hack/tools README.md
bazel tools are no-more
2021-03-07 13:10:43 -08:00
Aditi Sharma
2ad5601a83 Add scripts to use klog/logcheck
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2021-03-05 08:17:34 +00:00
Stephen Augustus
093967606b hack/tools: Update zeitgeist to v0.2.0 to drop import cycle
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-03 05:42:05 -05:00
Jordan Liggitt
ecef45df84 [go1.16] bump golang.org/x/... dependencies
hack/pin-dependency.sh golang.org/x/crypto latest
hack/pin-dependency.sh golang.org/x/net latest
hack/pin-dependency.sh golang.org/x/exp latest
hack/pin-dependency.sh golang.org/x/sys latest
hack/pin-dependency.sh golang.org/x/time latest
hack/pin-dependency.sh golang.org/x/tools latest

hack/lint-dependencies.sh
hack/pin-dependency.sh dmitri.shuralyov.com/gpu/mtl v0.0.0-20201218220906-28db891af037
hack/pin-dependency.sh golang.org/x/mobile v0.0.0-20201217150744-e6ae53a27f4f
hack/pin-dependency.sh golang.org/x/mod v0.3.1-0.20200828183125-ce943fd02449

hack/lint-dependencies.sh

hack/update-internal-modules.sh
hack/update-vendor.sh

Co-authored-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:01 -05:00
Stephen Augustus
3c2824e3db [go1.16] go.mod: update to go1.16
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-03-02 00:38:00 -05:00
Benjamin Elder
d9ef7cbe8c drop bazel related tools from hack/tools module 2021-02-28 15:17:29 -08:00
Stephen Augustus
5fb57eec1a generated: Run ./hack/update-internal-modules.sh
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-02-22 08:48:04 -05:00
Stephen Augustus
68b9e70f3d hack/tools: Add zeitgeist@e06e277 for verifying external dependencies
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-02-22 08:30:57 -05:00
Davanum Srinivas
865fd2f04f
Use golangci-lint to find unused/dead code
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-02-19 12:12:02 -05:00
Davanum Srinivas
02eaf0f23d
remove references to golint in hack/tools
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-28 15:43:12 -05:00
Tim Hockin
3aa319c894 Don't generate LICENSES for hack/tools 2021-01-25 10:15:59 -08:00
Stephen Augustus
1c89ce14c0 [go1.15] hack/tools: Update to k/repo-infra@v0.1.3 (supports go1.15.5)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-11-23 20:40:44 -05:00
Patrick Rhomberg
90b85bf3fa KEP-1933: add static analysis target to hack/
* Add static analysis to hack/verify-govet-levee.sh for defense against
accidental logging of credentials.
* Add binary dependency to hack/tools/tools.go and associated go.mod, go.sum.
* Add analysis configuration to hack/testdata/levee/
2020-11-03 20:03:26 +00:00
Stephen Augustus
01a0c45f4a [go1.15] hack/tools: Update to k/repo-infra@v0.1.1 (supports go1.15.2)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-09-11 13:15:08 -07:00
Stephen Augustus
5d1e299230 [go1.15] hack/tools: Update to k/repo-infra@v0.0.12 (supports go1.15.0)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-12 14:19:59 -04:00
Stephen Augustus
6733a9c470 generated: hack/update-hack-tools.sh && hack/update-vendor.sh
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-09 02:31:05 -04:00
Stephen Augustus
c3d1099205 [go1.15] hack/tools: Update to k/repo-infra@v0.0.11 (supports go1.15rc2)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-08-09 02:23:47 -04:00
Jordan Liggitt
247fcdfda5 [go1.15] go.mod: update to go1.15 2020-07-25 16:45:02 -04:00
Jordan Liggitt
f33dc28094 generated: hack/update-hack-tools.sh && hack/update-vendor.sh 2020-07-25 16:45:02 -04:00
Stephen Augustus
ed5a62f220 [go1.15] tools: Update to k/repo-infra@v0.0.10 (supports go1.15rc1)
Signed-off-by: Stephen Augustus <saugustus@vmware.com>
2020-07-25 16:45:01 -04:00
Jordan Liggitt
ae43f87954 Move go.mod back to go1.13 2020-07-06 10:38:39 -04:00
Jordan Liggitt
becd9f4a2e go1.14: update staticcheck for go 1.14, ignore new staticcheck warnings 2020-06-23 19:04:43 -04:00
Tim Hockin
fad9e0650a Generate new LICENSES tree with revised scripts 2020-05-07 21:49:00 -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
Davanum Srinivas
6974d32755
Add Makefile and a note in README.md
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:47 -04:00
Davanum Srinivas
ff6a888180
generate LICENSES used in tools
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:46 -04:00
Davanum Srinivas
f981628ce8
move linting dependencies to hack/tools/tools.go
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-20 13:45:38 -04:00
Davanum Srinivas
12146cb4df
Do not include bazel related deps in root go.mod
- add ./hack/tools/go.mod, this makes ./hack/tools a distinct module
- hack/tools/tools.go undescore imports bazel related tools, over time we
can add others.
- hack/*.sh scripts will cd to hack/tools and go install tools from there

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-04-19 22:01:50 -04:00