From 130112688c6287c0efb07605ca56bb7f5da1e600 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Wed, 29 Mar 2023 12:31:30 +0200 Subject: [PATCH] bazel: add stringer Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- bazel/toolchains/go_module_deps.bzl | 550 ++++++++++++++++++++++++++-- hack/tools/BUILD.bazel | 1 + hack/tools/go.mod | 2 +- hack/tools/tools.go | 1 + 4 files changed, 531 insertions(+), 23 deletions(-) diff --git a/bazel/toolchains/go_module_deps.bzl b/bazel/toolchains/go_module_deps.bzl index 324d53b25..6d3ae2aa2 100644 --- a/bazel/toolchains/go_module_deps.bzl +++ b/bazel/toolchains/go_module_deps.bzl @@ -71,6 +71,14 @@ def go_dependencies(): sum = "h1:rFw4nCn9iMW+Vajsk51NtYIcwSTkXr+JGrMd36kTDJw=", version = "v0.0.0-20180502004556-fa1af6a1f4f5", ) + go_repository( + name = "com_github_ajg_form", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/ajg/form", + sum = "h1:t9c7v8JUKu/XxOGBU0yjNpaMloxGEJhUkqFRq0ibGeU=", + version = "v1.5.1", + ) go_repository( name = "com_github_alcortesm_tgz", @@ -105,6 +113,14 @@ def go_dependencies(): sum = "h1:UQZhZ2O0vMHr2cI+DC1Mbh0TJxzA3RcLoMsFw+aXw7E=", version = "v0.0.0-20190924025748-f65c72e2690d", ) + go_repository( + name = "com_github_andreasbriese_bbloom", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/AndreasBriese/bbloom", + sum = "h1:HD8gA2tkByhMAwYaFAX9w2l7vxvBQ5NMoxDrkhqhtn4=", + version = "v0.0.0-20190306092124-e2d15f34fcf9", + ) go_repository( name = "com_github_andybalholm_brotli", @@ -541,6 +557,14 @@ def go_dependencies(): sum = "h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk=", version = "v0.2.0", ) + go_repository( + name = "com_github_aymerick_raymond", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/aymerick/raymond", + sum = "h1:Ppm0npCCsmuR9oQaBtRuZcmILVE74aXE+AmrJj8L2ns=", + version = "v2.0.3-0.20180322193309-b565731e1464+incompatible", + ) go_repository( name = "com_github_azure_azure_amqp_common_go_v2", @@ -1052,6 +1076,14 @@ def go_dependencies(): sum = "h1:wpFFOoomK3389ue2lAb0Boag6XPht5QYpipxmSNL4d8=", version = "v5.3.0", ) + go_repository( + name = "com_github_cheekybits_is", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/cheekybits/is", + sum = "h1:SKI1/fuSdodxmNNyVBR8d7X/HuLnRpvvFO0AgyQk764=", + version = "v0.0.0-20150225183255-68e9c0620927", + ) go_repository( name = "com_github_chzyer_logex", @@ -1125,6 +1157,23 @@ def go_dependencies(): sum = "h1:sR+/8Yb4slttB4vD+b9btVEnWgL3Q00OBTzVT8B9C0c=", version = "v0.0.0-20200109182630-33d98a066a53", ) + go_repository( + name = "com_github_cloudykit_jet", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/CloudyKit/jet", + sum = "h1:rZgFj+Gtf3NMi/U5FvCvhzaxzW/TaPYgUYx3bAPz9DE=", + version = "v2.1.3-0.20180809161101-62edd43e4f88+incompatible", + ) + go_repository( + name = "com_github_cloudykit_jet_v3", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/CloudyKit/jet/v3", + sum = "h1:1PwO5w5VCtlUUl+KTOBsTGZlhjWkcybsGaAau52tOy8=", + version = "v3.0.0", + ) + go_repository( name = "com_github_cloudykit_jet_v6", build_file_generation = "on", @@ -1188,8 +1237,8 @@ def go_dependencies(): build_file_generation = "on", build_file_proto_mode = "disable_global", importpath = "github.com/cockroachdb/logtags", - sum = "h1:o/kfcElHqOiXqcou5a3rIlMc7oJbMQkeLk0VQJ7zgqY=", - version = "v0.0.0-20190617123548-eb05cc24525f", + sum = "h1:6jduT9Hfc0njg5jJ1DdKCFPdMBrp/mdZfCpa5h+WM74=", + version = "v0.0.0-20211118104740-dabe8e521a4f", ) go_repository( name = "com_github_cockroachdb_redact", @@ -1199,6 +1248,14 @@ def go_dependencies(): sum = "h1:AKZds10rFSIj7qADf0g46UixK8NNLwWTNdCIGS5wfSQ=", version = "v1.1.3", ) + go_repository( + name = "com_github_cockroachdb_sentry_go", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/cockroachdb/sentry-go", + sum = "h1:IKgmqgMQlVJIZj19CdocBeSfSaiCbEBZGKODaixqtHM=", + version = "v0.6.1-cockroachdb.2", + ) go_repository( name = "com_github_codahale_hdrhistogram", @@ -1570,6 +1627,30 @@ def go_dependencies(): sum = "h1:3mD6Kb1mUOYeLpJvTVSDwSg5ZsfSxfvxGRTxRsJsITA=", version = "v0.1.1", ) + go_repository( + name = "com_github_dgraph_io_badger", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/dgraph-io/badger", + sum = "h1:DshxFxZWXUcO0xX476VJC07Xsr6ZCBVRHKZ93Oh7Evo=", + version = "v1.6.0", + ) + go_repository( + name = "com_github_dgraph_io_badger_v2", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/dgraph-io/badger/v2", + sum = "h1:TRWBQg8UrlUhaFdco01nO2uXwzKS7zd+HVdwV/GHc4o=", + version = "v2.2007.4", + ) + go_repository( + name = "com_github_dgraph_io_ristretto", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/dgraph-io/ristretto", + sum = "h1:t0UHb5vdojIDUqktM6+xJAfScFBsVpXZmqC9dsgJmeA=", + version = "v0.0.3-0.20200630154024-f66de99634de", + ) go_repository( name = "com_github_dgrijalva_jwt_go", @@ -1579,6 +1660,14 @@ def go_dependencies(): sum = "h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=", version = "v3.2.0+incompatible", ) + go_repository( + name = "com_github_dgryski_go_farm", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/dgryski/go-farm", + sum = "h1:tdlZCpZ/P9DhczCTSixgIKmwPv6+wP5DGjqLYw5SUiA=", + version = "v0.0.0-20190423205320-6a90982ecee2", + ) go_repository( name = "com_github_dgryski_go_rendezvous", @@ -1613,6 +1702,14 @@ def go_dependencies(): sum = "h1:aBfCb7iqHmDEIp6fBvC/hQUddQfg+3qdYjwzaiP9Hnc=", version = "v3.0.0-20221208165359-362910506bc2", ) + go_repository( + name = "com_github_djherbis_atime", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/djherbis/atime", + sum = "h1:rgwVbP/5by8BvvjBNrbh64Qz33idKT3pSnMSJsxhi0g=", + version = "v1.1.0", + ) go_repository( name = "com_github_dnaeon_go_vcr", @@ -1817,6 +1914,14 @@ def go_dependencies(): sum = "h1:PS7VIOgmSVhWUEeZwTe7z7zouA22Cr590PzXKbZHOVY=", version = "v0.9.1", ) + go_repository( + name = "com_github_etcd_io_bbolt", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/etcd-io/bbolt", + sum = "h1:gSJmxrs37LgTqR/oyJBWok6k6SvXEUerFTbltIhXkBM=", + version = "v1.3.3", + ) go_repository( name = "com_github_etcd_io_gofail", @@ -1882,6 +1987,14 @@ def go_dependencies(): sum = "h1:a4DFiKFJiDRGFD1qIcqGLX/WlUMD9dyLSLDt+9QZgt8=", version = "v0.0.0-20150708232844-fd3d7953fd52", ) + go_repository( + name = "com_github_fasthttp_contrib_websocket", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/fasthttp-contrib/websocket", + sum = "h1:DddqAaWDpywytcG8w/qoQ5sAN8X12d3Z3koB0C3Rxsc=", + version = "v0.0.0-20160511215533-1f3b11f56072", + ) go_repository( name = "com_github_fatih_camelcase", @@ -1916,6 +2029,15 @@ def go_dependencies(): sum = "h1:s/nj+GCswXYzN5v2DpNMuMQYe+0DDwt5WVCU6CWBdXk=", version = "v1.0.3", ) + go_repository( + name = "com_github_flosch_pongo2", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/flosch/pongo2", + sum = "h1:GY1+t5Dr9OKADM64SYnQjw/w99HMYvQ0A8/JoUkxVmc=", + version = "v0.0.0-20190707114632-bbf5a6c351f4", + ) + go_repository( name = "com_github_flosch_pongo2_v4", build_file_generation = "on", @@ -2015,6 +2137,14 @@ def go_dependencies(): sum = "h1:ri0ArlOR+5XunOP8CRUowT0pSJOwhW098ZCUyskZD88=", version = "v2.4.0", ) + go_repository( + name = "com_github_gavv_httpexpect", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/gavv/httpexpect", + sum = "h1:1X9kcRshkSKEjNJJxX9Y9mQ5BRfbxU5kORdjhlA1yX8=", + version = "v2.0.0+incompatible", + ) go_repository( name = "com_github_gertd_go_pluralize", @@ -2074,6 +2204,14 @@ def go_dependencies(): sum = "h1:OcaySEmAQJgyYcArR+gGGTHCyE7nvhEMTlYY+Dp8CpY=", version = "v0.3.5", ) + go_repository( + name = "com_github_go_check_check", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/go-check/check", + sum = "h1:0gkP6mzaMqkmpcJYCFOLkIBwI7xFExG03bbkOkCvUPI=", + version = "v0.0.0-20180628173108-788fd7840127", + ) go_repository( name = "com_github_go_chi_chi", @@ -2219,6 +2357,14 @@ def go_dependencies(): sum = "h1:xveKWz2iaueeTaUgdetzel+U7exyigDYBryyVfV/rZk=", version = "v0.0.0-20170121215854-22fa46961aab", ) + go_repository( + name = "com_github_go_ole_go_ole", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/go-ole/go-ole", + sum = "h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=", + version = "v1.2.6", + ) go_repository( name = "com_github_go_openapi_analysis", @@ -2493,6 +2639,31 @@ def go_dependencies(): sum = "h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=", version = "v0.2.3", ) + go_repository( + name = "com_github_gobwas_httphead", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/gobwas/httphead", + sum = "h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU=", + version = "v0.1.0", + ) + go_repository( + name = "com_github_gobwas_pool", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/gobwas/pool", + sum = "h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og=", + version = "v0.2.1", + ) + go_repository( + name = "com_github_gobwas_ws", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/gobwas/ws", + sum = "h1:7RFti/xnNkMJnrK7D1yQ/iCIB5OrrY/54/H930kIbHA=", + version = "v1.1.0", + ) + go_repository( name = "com_github_goccy_go_json", build_file_generation = "on", @@ -2547,8 +2718,8 @@ def go_dependencies(): build_file_generation = "on", build_file_proto_mode = "disable_global", importpath = "github.com/gogo/googleapis", - sum = "h1:zgVt4UpGxcqVOw97aRGxT4svlcmdK35fynLNctY32zI=", - version = "v1.4.0", + sum = "h1:1Yx4Myt7BxzvUr5ldGSbwYiZG6t9wGBZ+8/fX3Wvtq0=", + version = "v1.4.1", ) go_repository( name = "com_github_gogo_protobuf", @@ -2558,6 +2729,14 @@ def go_dependencies(): sum = "h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=", version = "v1.3.2", ) + go_repository( + name = "com_github_gogo_status", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/gogo/status", + sum = "h1:+eIkrewn5q6b30y+g/BJINVVdi2xH7je5MPJ3ZPK3JA=", + version = "v1.1.0", + ) go_repository( name = "com_github_golang_glog", @@ -2580,8 +2759,8 @@ def go_dependencies(): build_file_generation = "on", build_file_proto_mode = "disable_global", importpath = "github.com/golang-jwt/jwt", - sum = "h1:73Z+4BJcrTC+KczS6WvTPvRGOp1WmfEP4Q1lOd9Z/+c=", - version = "v3.2.1+incompatible", + sum = "h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=", + version = "v3.2.2+incompatible", ) go_repository( name = "com_github_golang_jwt_jwt_v4", @@ -2733,8 +2912,8 @@ def go_dependencies(): build_file_generation = "on", build_file_proto_mode = "disable_global", importpath = "github.com/google/go-querystring", - sum = "h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk=", - version = "v1.0.0", + sum = "h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=", + version = "v1.1.0", ) go_repository( name = "com_github_google_go_replayers_grpcreplay", @@ -2985,8 +3164,8 @@ def go_dependencies(): build_file_generation = "on", build_file_proto_mode = "disable_global", importpath = "github.com/gopherjs/gopherjs", - sum = "h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=", - version = "v0.0.0-20181017120253-0766667cb4d1", + sum = "h1:fQnZVsXk8uxXIStYb0N4bGk7jeyTalG/wsZjQ25dO0g=", + version = "v1.17.2", ) go_repository( name = "com_github_gordonklaus_ineffassign", @@ -3045,14 +3224,22 @@ def go_dependencies(): sum = "h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=", version = "v1.8.0", ) + go_repository( + name = "com_github_gorilla_securecookie", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/gorilla/securecookie", + sum = "h1:miw7JPhV+b/lAHSXz4qd/nN9jRiAFV5FwjeKyCS8BvQ=", + version = "v1.1.1", + ) go_repository( name = "com_github_gorilla_websocket", build_file_generation = "on", build_file_proto_mode = "disable_global", importpath = "github.com/gorilla/websocket", - sum = "h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=", - version = "v1.4.2", + sum = "h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc=", + version = "v1.5.0", ) go_repository( name = "com_github_gosuri_uitable", @@ -3421,6 +3608,15 @@ def go_dependencies(): sum = "h1:0U6+BtN6LhaYuTnIJq4Wyq5cpn6O2kWrxAtcqBmYY6w=", version = "v1.3.0", ) + go_repository( + name = "com_github_hydrogen18_memlistener", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/hydrogen18/memlistener", + sum = "h1:KyZDvZ/GGn+r+Y3DKZ7UOQ/TP4xV6HNkrwiVMB1GnNY=", + version = "v0.0.0-20200120041712-dcc25e7acd91", + ) + go_repository( name = "com_github_iancoleman_strcase", build_file_generation = "on", @@ -3446,6 +3642,14 @@ def go_dependencies(): sum = "h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk=", version = "v0.3.13", ) + go_repository( + name = "com_github_imkira_go_interpol", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/imkira/go-interpol", + sum = "h1:KIiKr0VSG2CUW1hl1jpiyuzuJeKUUpC8iM1AIE7N1Vk=", + version = "v1.1.0", + ) go_repository( name = "com_github_in_toto_in_toto_golang", @@ -3481,6 +3685,39 @@ def go_dependencies(): sum = "h1:JyZjdMQu9Kl/wLXe9xA6s1X+tF6BWsQPFGJMEeCfWzE=", version = "v0.2.0", ) + go_repository( + name = "com_github_iris_contrib_blackfriday", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/iris-contrib/blackfriday", + sum = "h1:o5sHQHHm0ToHUlAJSTjW9UWicjJSDDauOOQ2AHuIVp4=", + version = "v2.0.0+incompatible", + ) + go_repository( + name = "com_github_iris_contrib_go_uuid", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/iris-contrib/go.uuid", + sum = "h1:XZubAYg61/JwnJNbZilGjf3b3pB80+OQg2qf6c8BfWE=", + version = "v2.0.0+incompatible", + ) + go_repository( + name = "com_github_iris_contrib_httpexpect_v2", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/iris-contrib/httpexpect/v2", + sum = "h1:A69ilxKGW1jDRKK5UAhjTL4uJYh3RjD4qzt9vNZ7fpY=", + version = "v2.3.1", + ) + go_repository( + name = "com_github_iris_contrib_i18n", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/iris-contrib/i18n", + sum = "h1:Kyp9KiXwsyZRTeoNjgVCrWks7D8ht9+kg6yCjh8K97o=", + version = "v0.0.0-20171121225848-987a633949d0", + ) + go_repository( name = "com_github_iris_contrib_jade", build_file_generation = "on", @@ -3489,6 +3726,15 @@ def go_dependencies(): sum = "h1:WoYdfyJFfZIUgqNAeOyRfTNQZOksSlZ6+FnXR3AEpX0=", version = "v1.1.4", ) + go_repository( + name = "com_github_iris_contrib_pongo2", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/iris-contrib/pongo2", + sum = "h1:zGP7pW51oi5eQZMIlGA3I+FHY9/HOQWDB+572yin0to=", + version = "v0.0.1", + ) + go_repository( name = "com_github_iris_contrib_schema", build_file_generation = "on", @@ -3733,6 +3979,22 @@ def go_dependencies(): sum = "h1:Zjp+RcGpHhGlrMbJzXTrZZPrWj+1vfm90La1wgB6Bhc=", version = "v1.3.0", ) + go_repository( + name = "com_github_joker_hpp", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/Joker/hpp", + sum = "h1:65+iuJYdRXv/XyN62C1uEmmOx3432rNG/rKlX6V7Kkc=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_joker_jade", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/Joker/jade", + sum = "h1:mreN1m/5VJ/Zc3b4pzj9qU6D9SRQ6Vm+3KfI328t3S8=", + version = "v1.0.1-0.20190614124447-d475f43051e7", + ) go_repository( name = "com_github_jonboulle_clockwork", @@ -3798,6 +4060,22 @@ def go_dependencies(): sum = "h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo=", version = "v4.20.0+incompatible", ) + go_repository( + name = "com_github_juju_errors", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/juju/errors", + sum = "h1:rhqTjzJlm7EbkELJDKMTU7udov+Se0xZkWmugr6zGok=", + version = "v0.0.0-20181118221551-089d3ea4e4d5", + ) + go_repository( + name = "com_github_juju_loggo", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/juju/loggo", + sum = "h1:MK144iBQF9hTSwBW/9eJm034bVoG30IshVm688T2hi8=", + version = "v0.0.0-20180524022052-584905176618", + ) go_repository( name = "com_github_juju_ratelimit", @@ -3807,6 +4085,14 @@ def go_dependencies(): sum = "h1:+7AIFJVQ0EQgq/K9+0Krm7m530Du7tIz0METWzN0RgY=", version = "v1.0.1", ) + go_repository( + name = "com_github_juju_testing", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/juju/testing", + sum = "h1:WQM1NildKThwdP7qWrNAFGzp4ijNLw8RlgENkaI4MJs=", + version = "v0.0.0-20180920084828-472a3e8b2073", + ) go_repository( name = "com_github_julienschmidt_httprouter", @@ -3816,6 +4102,14 @@ def go_dependencies(): sum = "h1:U0609e9tgbseu3rBINet9P48AI/D3oJs4dN7jwJOQ1U=", version = "v1.3.0", ) + go_repository( + name = "com_github_k0kubun_colorstring", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/k0kubun/colorstring", + sum = "h1:uC1QfSlInpQF+M0ao65imhwqKnz3Q2z/d8PWZRMQvDM=", + version = "v0.0.0-20150214042306-9440f1994b88", + ) go_repository( name = "com_github_k0kubun_go_ansi", @@ -3857,6 +4151,23 @@ def go_dependencies(): sum = "h1:grB/oCf5baZhmYIeDMfgN3LYrtEcmK8pbxlRvEZ2pgw=", version = "v12.2.0-beta5", ) + go_repository( + name = "com_github_kataras_jwt", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/kataras/jwt", + sum = "h1:u71baOsYD22HWeSOg32tCHbczPjdCk7V4MMeJqTtmGk=", + version = "v0.1.8", + ) + go_repository( + name = "com_github_kataras_neffos", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/kataras/neffos", + sum = "h1:swTzKZ3Mo2sIQ8ATKSKf0xDG1tuhr6w4tZmmRsvCYlg=", + version = "v0.0.20", + ) + go_repository( name = "com_github_kataras_pio", build_file_generation = "on", @@ -3931,6 +4242,15 @@ def go_dependencies(): sum = "h1:YClS/PImqYbn+UILDnqxQCZ3RehC9N318SU3kElDUEM=", version = "v1.15.12", ) + go_repository( + name = "com_github_klauspost_cpuid", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/klauspost/cpuid", + sum = "h1:vJi+O/nMdFt0vqm8NZBI6wzALWdA2X+egi0ogNyrC/w=", + version = "v1.2.1", + ) + go_repository( name = "com_github_klauspost_cpuid_v2", build_file_generation = "on", @@ -4136,6 +4456,14 @@ def go_dependencies(): sum = "h1:VNzHMVCBNG1j0fh3OrsFRkVUwStdDArbgBWoPAffktY=", version = "v1.1.0", ) + go_repository( + name = "com_github_lufia_plan9stats", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/lufia/plan9stats", + sum = "h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4=", + version = "v0.0.0-20211012122336-39d0f177ccd0", + ) go_repository( name = "com_github_lyft_protoc_gen_star", @@ -4288,6 +4616,14 @@ def go_dependencies(): sum = "h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A=", version = "v1.2.0", ) + go_repository( + name = "com_github_matryer_try", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/matryer/try", + sum = "h1:JAEbJn3j/FrhdWA9jW8B5ajsLIjeuEHLi8xE4fk997o=", + version = "v0.0.0-20161228173917-9ac251b645a2", + ) go_repository( name = "com_github_mattn_go_colorable", @@ -4353,6 +4689,14 @@ def go_dependencies(): sum = "h1:xsEx/XUoVlI6yXjqBK062zYhRTZltCNmYPx6v+8DNaY=", version = "v0.0.1", ) + go_repository( + name = "com_github_mattn_goveralls", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/mattn/goveralls", + sum = "h1:7eJB6EqsPhRVxvwEXGnqdO2sJI0PTsrWoTMXEk9/OQc=", + version = "v0.0.2", + ) go_repository( name = "com_github_matttproud_golang_protobuf_extensions", @@ -4394,6 +4738,22 @@ def go_dependencies(): sum = "h1:280wsy40IC9M9q1uPGcLBwXpcTQDtoGwVt+BNoITxIw=", version = "v0.4.0", ) + go_repository( + name = "com_github_mediocregopher_mediocre_go_lib", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/mediocregopher/mediocre-go-lib", + sum = "h1:3dQJqqDouawQgl3gBE1PNHKFkJYGEuFb1DbSlaxdosE=", + version = "v0.0.0-20181029021733-cb65787f37ed", + ) + go_repository( + name = "com_github_mediocregopher_radix_v3", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/mediocregopher/radix/v3", + sum = "h1:HI8EgkaM7WzsrFpYAkOXIgUKbjNonb2Ne7K6Le61Pmg=", + version = "v3.8.0", + ) go_repository( name = "com_github_mediocregopher_radix_v4", @@ -4484,6 +4844,14 @@ def go_dependencies(): sum = "h1:+n/aFZefKZp7spd8DFdX7uMikMLXX4oubIzJF4kv/wI=", version = "v0.0.0-20190812172519-36a3d3bbc4f3", ) + go_repository( + name = "com_github_minio_highwayhash", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/minio/highwayhash", + sum = "h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g=", + version = "v1.0.2", + ) go_repository( name = "com_github_mistifyio_go_zfs", @@ -4686,6 +5054,15 @@ def go_dependencies(): sum = "h1:nP9CBfwrvYnBRgY6qfDQkygYDmYwOilePFkwzv4dU8A=", version = "v1.0.0", ) + go_repository( + name = "com_github_moul_http2curl", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/moul/http2curl", + sum = "h1:dRMWoAtb+ePxMlLkrCbAqh4TlPHXvoGUSQ323/9Zahs=", + version = "v1.0.0", + ) + go_repository( name = "com_github_mr_tron_base58", build_file_generation = "on", @@ -4744,14 +5121,22 @@ def go_dependencies(): sum = "h1:+RB5hMpXUUA2dfxuhBTEkMOrYmM+gKIZYS1KjSostMI=", version = "v0.3.2", ) + go_repository( + name = "com_github_nats_io_jwt_v2", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/nats-io/jwt/v2", + sum = "h1:z2mA1a7tIf5ShggOFlR1oBPgd6hGqcDYsISxZByUzdI=", + version = "v2.3.0", + ) go_repository( name = "com_github_nats_io_nats_go", build_file_generation = "on", build_file_proto_mode = "disable_global", importpath = "github.com/nats-io/nats.go", - sum = "h1:ik3HbLhZ0YABLto7iX80pZLPw/6dx3T+++MZJwLnMrQ=", - version = "v1.9.1", + sum = "h1:zvLE7fGBQYW6MWaFaRdsgm9qT39PJDQoju+DS8KsO1g=", + version = "v1.16.0", ) go_repository( name = "com_github_nats_io_nats_server_v2", @@ -4766,8 +5151,8 @@ def go_dependencies(): build_file_generation = "on", build_file_proto_mode = "disable_global", importpath = "github.com/nats-io/nkeys", - sum = "h1:6JrEfig+HzTH85yxzhSVbjHRJv9cn0p6n3IngIcM5/k=", - version = "v0.1.3", + sum = "h1:cgM5tL53EvYRU+2YLXIK0G2mJtK12Ft9oeooSZMA2G8=", + version = "v0.3.0", ) go_repository( name = "com_github_nats_io_nuid", @@ -5167,6 +5552,14 @@ def go_dependencies(): sum = "h1:ccV59UEOTzVDnDUEFdT95ZzHVZ+5+158q8+SJb2QV5w=", version = "v1.1.1", ) + go_repository( + name = "com_github_power_devops_perfstat", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/power-devops/perfstat", + sum = "h1:ncq/mPwQF4JjgDlrVEn3C11VoGHZN7m8qihwgMEtzYw=", + version = "v0.0.0-20210106213030-5aafc221ea8c", + ) go_repository( name = "com_github_poy_onpar", @@ -5409,8 +5802,8 @@ def go_dependencies(): build_file_generation = "on", build_file_proto_mode = "disable_global", importpath = "github.com/ryanuber/columnize", - sum = "h1:UFr9zpz4xgTnIE5yIMtWAMngCdZ9p/+q6lTbgelo80M=", - version = "v0.0.0-20160712163229-9b3edd62028f", + sum = "h1:j1Wcmh8OrK4Q7GXY+V7SVSY8nUWQxHW5TkBe7YUl+2s=", + version = "v2.1.0+incompatible", ) go_repository( name = "com_github_ryanuber_go_glob", @@ -5472,6 +5865,14 @@ def go_dependencies(): sum = "h1:o8rySDYiQ59Mwzy2FELeHY5ZARXZTVJC7iHD6PEFUiE=", version = "v3.13.1", ) + go_repository( + name = "com_github_sclevine_agouti", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/sclevine/agouti", + sum = "h1:8IBJS6PWz3uTlMP3YBIR5f+KAldcGuOeFkFbUWfBgK4=", + version = "v3.0.0+incompatible", + ) go_repository( name = "com_github_sean_seed", @@ -5529,6 +5930,15 @@ def go_dependencies(): sum = "h1:QUyMZhFo0Md5B8zV8x2tesohbb5kfbpTi9rBnKh5dkI=", version = "v1.3.0", ) + go_repository( + name = "com_github_shirou_gopsutil_v3", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/shirou/gopsutil/v3", + sum = "h1:a4s3hXogo5mE2PfdfJIonDbstO/P+9JszdfhAHSzD9Y=", + version = "v3.22.8", + ) + go_repository( name = "com_github_shopify_goreferrer", build_file_generation = "on", @@ -5698,8 +6108,8 @@ def go_dependencies(): build_file_generation = "on", build_file_proto_mode = "disable_global", importpath = "github.com/smartystreets/assertions", - sum = "h1:UVQPSSmc3qtTi+zPPkCXvZX9VvW/xT/NsRvKfwY81a8=", - version = "v1.0.0", + sum = "h1:Dx1kYM01xsSqKPno3aqLnrwac2LetPvN23diwyr69Qs=", + version = "v1.13.0", ) go_repository( name = "com_github_smartystreets_go_aws_auth", @@ -5904,6 +6314,14 @@ def go_dependencies(): sum = "h1:KCkDvNUMof10e3QExio9OPZJT8SbdKojLBumw8YZycQ=", version = "v2.6.4", ) + go_repository( + name = "com_github_tdewolff_test", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/tdewolff/test", + sum = "h1:8Vs0142DmPFW/bQeHRP3MV19m1gvndjUb1sn8yy74LM=", + version = "v1.0.7", + ) go_repository( name = "com_github_tedsuo_ifrit", @@ -5985,6 +6403,22 @@ def go_dependencies(): sum = "h1:lhdWZsvImxvZ3q1C5OIB7d72DuOwP4O2NdBg9PyzNds=", version = "v1.1.0", ) + go_repository( + name = "com_github_tklauser_go_sysconf", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/tklauser/go-sysconf", + sum = "h1:IJ1AZGZRWbY8T5Vfk04D9WOA5WSejdflXxP03OUqALw=", + version = "v0.3.10", + ) + go_repository( + name = "com_github_tklauser_numcpus", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/tklauser/numcpus", + sum = "h1:E53Dm1HjH1/R2/aoCtXtPgzmElmn51aOkhCFSuZq//o=", + version = "v0.4.0", + ) go_repository( name = "com_github_tmc_grpc_websocket_proxy", @@ -6015,8 +6449,8 @@ def go_dependencies(): build_file_generation = "on", build_file_proto_mode = "disable_global", importpath = "github.com/ugorji/go", - sum = "h1:/68gy2h+1mWMrwZFeD1kQialdSzAb432dtpeJ42ovdo=", - version = "v1.1.7", + sum = "h1:qYhyWUUd6WbiM+C6JZAUkIJt/1WrjzNHY9+KCIjVqTo=", + version = "v1.2.7", ) go_repository( name = "com_github_ugorji_go_codec", @@ -6074,6 +6508,14 @@ def go_dependencies(): sum = "h1:TVEnxayobAdVkhQfrfes2IzOB6o+z4roRkPF52WA1u4=", version = "v1.2.1", ) + go_repository( + name = "com_github_valyala_tcplisten", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/valyala/tcplisten", + sum = "h1:rBHj/Xf+E1tRGZyWIWwJDiRY0zc1Js+CV5DqwacVSA8=", + version = "v1.0.0", + ) go_repository( name = "com_github_vbatts_tar_split", @@ -6276,6 +6718,14 @@ def go_dependencies(): sum = "h1:ESFSdwYZvkeru3RtdrYueztKhOBCSAAzS4Gf+k0tEow=", version = "v0.0.3-0.20170626215501-b2862e3d0a77", ) + go_repository( + name = "com_github_yalp_jsonpath", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/yalp/jsonpath", + sum = "h1:6fRhSjgLCkTD3JnJxvaJ4Sj+TYblw757bqYgZaOq5ZY=", + version = "v0.0.0-20180802001716-5cc68e5049a0", + ) go_repository( name = "com_github_yosssi_ace", @@ -6318,6 +6768,30 @@ def go_dependencies(): sum = "h1:BzLrVoiwxikpgEQR0Lk8NyBN5Cit2b1z+u0mgL4ZJak=", version = "v0.8.0", ) + go_repository( + name = "com_github_yudai_gojsondiff", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/yudai/gojsondiff", + sum = "h1:27cbfqXLVEJ1o8I6v3y9lg8Ydm53EKqHXAOMxEGlCOA=", + version = "v1.0.0", + ) + go_repository( + name = "com_github_yudai_golcs", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/yudai/golcs", + sum = "h1:BHyfKlQyqbsFN5p3IfnEUduWvb9is428/nNb5L3U01M=", + version = "v0.0.0-20170316035057-ecda9a501e82", + ) + go_repository( + name = "com_github_yudai_pp", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/yudai/pp", + sum = "h1:Q4//iY4pNF6yPLZIigmvcl7k/bPgrcTPIFIcmawg5bI=", + version = "v2.0.1+incompatible", + ) go_repository( name = "com_github_yuin_goldmark", @@ -6327,6 +6801,14 @@ def go_dependencies(): sum = "h1:fVcFKWvrslecOb/tg+Cc05dkeYx540o0FuFt3nUVDoE=", version = "v1.4.13", ) + go_repository( + name = "com_github_yusufpapurcu_wmi", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "github.com/yusufpapurcu/wmi", + sum = "h1:KBNDSne4vP5mbSWnJbO+51IMOXJB67QiYCSBrubbPRg=", + version = "v1.2.2", + ) go_repository( name = "com_github_yvasiyarov_go_metrics", @@ -7516,6 +7998,14 @@ def go_dependencies(): sum = "h1:xoYuJVE7KT85PYWrN730RguIQO0ePzVRfFMXadIrXTM=", version = "v1.2.1", ) + go_repository( + name = "in_gopkg_go_playground_validator_v8", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "gopkg.in/go-playground/validator.v8", + sum = "h1:lFB4DoMU6B626w8ny76MV7VX6W2VHct2GVOI3xgiMrQ=", + version = "v8.18.2", + ) go_repository( name = "in_gopkg_go_playground_validator_v9", @@ -7558,6 +8048,14 @@ def go_dependencies(): sum = "h1:BJa69CDh0awSsLUmZ9+BowBdokpduDZSM9Zk8oKHfN4=", version = "v1.0.5", ) + go_repository( + name = "in_gopkg_mgo_v2", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "gopkg.in/mgo.v2", + sum = "h1:xcEWjVhvbDy+nHP67nPDDpbYrY+ILlfndk4bRioVHaU=", + version = "v2.0.0-20180705113604-9856a29383ce", + ) go_repository( name = "in_gopkg_natefinch_lumberjack_v2", @@ -8127,6 +8625,14 @@ def go_dependencies(): sum = "h1:xMMXJlJbsU8w3V5N2FLDQ8YgU8s1EoULdbQBcAeNJkY=", version = "v0.0.0-20230313181309-38a27ef9d749", ) + go_repository( + name = "io_moul_http2curl", + build_file_generation = "on", + build_file_proto_mode = "disable_global", + importpath = "moul.io/http2curl", + sum = "h1:6XwpyZOYsgZJrU8exnG87ncVkU1FVCcTRpwzOkTDUi8=", + version = "v1.0.0", + ) go_repository( name = "io_opencensus_go", diff --git a/hack/tools/BUILD.bazel b/hack/tools/BUILD.bazel index 338c04660..699c34397 100644 --- a/hack/tools/BUILD.bazel +++ b/hack/tools/BUILD.bazel @@ -10,6 +10,7 @@ go_library( "//bazel/settings:select_never_enabled": [ "@com_github_google_go_licenses//go-licenses", "@com_github_katexochen_sh_v3//cmd/shfmt", + "@org_golang_x_tools//cmd/stringer", "@org_golang_x_vuln//cmd/govulncheck", ], "//conditions:default": [], diff --git a/hack/tools/go.mod b/hack/tools/go.mod index fbf072b63..07f32a508 100644 --- a/hack/tools/go.mod +++ b/hack/tools/go.mod @@ -5,6 +5,7 @@ go 1.20 require ( github.com/google/go-licenses v1.6.0 github.com/katexochen/sh/v3 v3.6.0 + golang.org/x/tools v0.7.0 golang.org/x/vuln v0.0.0-20230325131008-9550759f8614 ) @@ -32,7 +33,6 @@ require ( golang.org/x/sys v0.6.0 // indirect golang.org/x/term v0.6.0 // indirect golang.org/x/text v0.8.0 // indirect - golang.org/x/tools v0.7.0 // indirect gopkg.in/src-d/go-billy.v4 v4.3.2 // indirect gopkg.in/src-d/go-git.v4 v4.13.1 // indirect gopkg.in/warnings.v0 v0.1.2 // indirect diff --git a/hack/tools/tools.go b/hack/tools/tools.go index aa43d3c66..17a6b18e7 100644 --- a/hack/tools/tools.go +++ b/hack/tools/tools.go @@ -11,5 +11,6 @@ package main import ( _ "github.com/google/go-licenses" _ "github.com/katexochen/sh/v3/cmd/shfmt" + _ "golang.org/x/tools/cmd/stringer" _ "golang.org/x/vuln/cmd/govulncheck" )