From ff249c42168d684976cce0818f4f186db466991d Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Mon, 24 Mar 2025 16:44:42 +0100 Subject: [PATCH 01/13] Preserve bazelrc. --- .bazelrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bazelrc b/.bazelrc index a2d8981..35f9f95 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,3 +1,5 @@ +common --noenable_bzlmod + # Show information about failures. build --verbose_failures test --test_output=errors From e169c01f466cd1b3f47703c44f8deaf7a7b5da5a Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Mon, 24 Mar 2025 17:38:49 +0100 Subject: [PATCH 02/13] Step forward --- BUILD.bazel | 46 +- WORKSPACE | 27 - WORKSPACE.bazel | 69 ++ docs/BUILD.bazel | 34 +- go/BUILD.bazel | 7 - go/cmd/nfpmwrapper/BUILD.bazel | 24 - go/go.mod | 10 - go/go.sum | 767 ------------------ go/internal/cmd/nfpmwrapper/BUILD.bazel | 45 - go/{ => v2}/cmd/nfpmwrapper/main.go | 2 +- go/v2/go.mod | 60 ++ go/v2/go.sum | 178 ++++ go/{ => v2}/internal/cmd/nfpmwrapper/doc.go | 0 .../internal/cmd/nfpmwrapper/nfpmwrapper.go | 0 .../cmd/nfpmwrapper/nfpmwrapper_test.go | 0 .../generateconfig/config.yaml.golden | 0 .../testdata/generateconfig/config.yaml.in | 0 .../generateconfig/stable-status.txt.in | 0 .../generateconfig/volatile-status.txt.in | 0 nfpm/internal/repositories.bzl | 81 +- nfpm/internal/setup.bzl | 35 +- scripts/BUILD.bazel | 20 +- 22 files changed, 446 insertions(+), 959 deletions(-) delete mode 100644 WORKSPACE create mode 100644 WORKSPACE.bazel delete mode 100644 go/BUILD.bazel delete mode 100644 go/cmd/nfpmwrapper/BUILD.bazel delete mode 100644 go/go.mod delete mode 100644 go/go.sum delete mode 100644 go/internal/cmd/nfpmwrapper/BUILD.bazel rename go/{ => v2}/cmd/nfpmwrapper/main.go (76%) create mode 100644 go/v2/go.mod create mode 100644 go/v2/go.sum rename go/{ => v2}/internal/cmd/nfpmwrapper/doc.go (100%) rename go/{ => v2}/internal/cmd/nfpmwrapper/nfpmwrapper.go (100%) rename go/{ => v2}/internal/cmd/nfpmwrapper/nfpmwrapper_test.go (100%) rename go/{ => v2}/internal/cmd/nfpmwrapper/testdata/generateconfig/config.yaml.golden (100%) rename go/{ => v2}/internal/cmd/nfpmwrapper/testdata/generateconfig/config.yaml.in (100%) rename go/{ => v2}/internal/cmd/nfpmwrapper/testdata/generateconfig/stable-status.txt.in (100%) rename go/{ => v2}/internal/cmd/nfpmwrapper/testdata/generateconfig/volatile-status.txt.in (100%) diff --git a/BUILD.bazel b/BUILD.bazel index 5a8bfa4..ed67d55 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,19 +1,35 @@ -load("@io_bazel_rules_go//go:def.bzl", "nogo") +load("@bazel_gazelle//:def.bzl", "gazelle") -nogo( - name = "rules_nfpm_nogo", - vet = True, - visibility = ["//visibility:public"], -) +#load("@io_bazel_rules_go//go:def.bzl", "nogo") + +#nogo( +# name = "rules_nfpm_nogo", +# vet = True, +# visibility = ["//visibility:public"], +#) +# +#filegroup( +# name = "release-files", +# srcs = [ +# "//go:package-contents", +# "//go/cmd/nfpmwrapper:package-contents", +# "//go/internal/cmd/nfpmwrapper:package-contents", +# "//nfpm:package-contents", +# "//nfpm/internal:package-contents", +# ], +# visibility = ["//:__subpackages__"], +#) + +# gazelle:prefix github.com/ericnorris/rules_nfpm +gazelle(name = "gazelle") -filegroup( - name = "release-files", - srcs = [ - "//go:package-contents", - "//go/cmd/nfpmwrapper:package-contents", - "//go/internal/cmd/nfpmwrapper:package-contents", - "//nfpm:package-contents", - "//nfpm/internal:package-contents", +gazelle( + name = "gazelle-update-repos", + args = [ + "-from_file=go/go.mod", + "-to_macro=deps.bzl%go_dependencies", + "-prune", + "-build_file_proto_mode=disable_global", ], - visibility = ["//:__subpackages__"], + command = "update-repos", ) diff --git a/WORKSPACE b/WORKSPACE deleted file mode 100644 index 55465a8..0000000 --- a/WORKSPACE +++ /dev/null @@ -1,27 +0,0 @@ -workspace(name = "com_github_ericnorris_rules_nfpm") - -load("//nfpm:repositories.bzl", "rules_nfpm_dependencies") - -rules_nfpm_dependencies() - -load("//nfpm:setup.bzl", "rules_nfpm_setup") - -# the nogo parameter is not needed by users of rules_nfpm -rules_nfpm_setup(nogo = "@//:rules_nfpm_nogo") - -load("//nfpm:go_repositories.bzl", "rules_nfpm_go_dependencies") - -# gazelle:repository_macro nfpm/go_repositories.bzl%_rules_nfpm_go_repositories -rules_nfpm_go_dependencies() - -# -# Dependencies not needed by users of rules_nfpm -# - -load("//nfpm/internal:repositories.bzl", "rules_nfpm_internal_dependencies") - -rules_nfpm_internal_dependencies() - -load("//nfpm/internal:setup.bzl", "rules_nfpm_internal_setup") - -rules_nfpm_internal_setup() diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel new file mode 100644 index 0000000..616ad9a --- /dev/null +++ b/WORKSPACE.bazel @@ -0,0 +1,69 @@ +workspace(name = "com_github_ericnorris_rules_nfpm") + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +http_archive( + name = "io_bazel_rules_go", + integrity = "sha256-M6zErg9wUC20uJPJ/B3Xqb+ZjCPn/yxFF3QdQEmpdvg=", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.48.0/rules_go-v0.48.0.zip", + "https://github.com/bazelbuild/rules_go/releases/download/v0.48.0/rules_go-v0.48.0.zip", + ], +) + +http_archive( + name = "bazel_gazelle", + integrity = "sha256-12v3pg/YsFBEQJDfooN6Tq+YKeEWVhjuNdzspcvfWNU=", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.37.0/bazel-gazelle-v0.37.0.tar.gz", + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.37.0/bazel-gazelle-v0.37.0.tar.gz", + ], +) + +load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") +load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") + +############################################################ +# Define your own dependencies here using go_repository. +# Else, dependencies declared by rules_go/gazelle will be used. +# The first declaration of an external repository "wins". +############################################################ + +load("//:deps.bzl", "go_dependencies") + +# gazelle:repository_macro deps.bzl%go_dependencies +go_dependencies() + +go_rules_dependencies() + +go_register_toolchains(version = "1.23.6") + +gazelle_dependencies( + go_repository_default_config = "//:WORKSPACE.bazel", +) + +#load("//nfpm:repositories.bzl", "rules_nfpm_dependencies") +# +#rules_nfpm_dependencies() +# +#load("//nfpm:setup.bzl", "rules_nfpm_setup") +# +## the nogo parameter is not needed by users of rules_nfpm +#rules_nfpm_setup(nogo = "@//:rules_nfpm_nogo") +# +#load("//nfpm:go_repositories.bzl", "rules_nfpm_go_dependencies") +# +## gazelle:repository_macro nfpm/go_repositories.bzl%_rules_nfpm_go_repositories +#rules_nfpm_go_dependencies() +# +## +## Dependencies not needed by users of rules_nfpm +## +# +#load("//nfpm/internal:repositories.bzl", "rules_nfpm_internal_dependencies") +# +#rules_nfpm_internal_dependencies() +# +#load("//nfpm/internal:setup.bzl", "rules_nfpm_internal_setup") +# +#rules_nfpm_internal_setup() diff --git a/docs/BUILD.bazel b/docs/BUILD.bazel index 7705327..564f8dc 100644 --- a/docs/BUILD.bazel +++ b/docs/BUILD.bazel @@ -1,5 +1,5 @@ load("@bazel_skylib//:bzl_library.bzl", "bzl_library") -load("@io_bazel_stardoc//stardoc:stardoc.bzl", "stardoc") +#load("@io_bazel_stardoc//stardoc:stardoc.bzl", "stardoc") package(default_visibility = ["//:__subpackages__"]) @@ -16,19 +16,19 @@ bzl_library( ], ) -stardoc( - name = "rules-nfpm-docs", - out = "rules_nfpm.md", - input = "//nfpm:defs.bzl", - deps = [":rules-nfpm-library"], -) - -genrule( - name = "repository-readme", - srcs = [ - ":readme-header.md", - ":rules-nfpm-docs", - ], - outs = ["repository-readme.md"], - cmd = "echo -n '\n\n' > $@; cat $(SRCS) >> $@", -) +#stardoc( +# name = "rules-nfpm-docs", +# out = "rules_nfpm.md", +# input = "//nfpm:defs.bzl", +# deps = [":rules-nfpm-library"], +#) +# +#genrule( +# name = "repository-readme", +# srcs = [ +# ":readme-header.md", +# ":rules-nfpm-docs", +# ], +# outs = ["repository-readme.md"], +# cmd = "echo -n '\n\n' > $@; cat $(SRCS) >> $@", +#) diff --git a/go/BUILD.bazel b/go/BUILD.bazel deleted file mode 100644 index 40f99ad..0000000 --- a/go/BUILD.bazel +++ /dev/null @@ -1,7 +0,0 @@ -# gazelle:prefix github.com/ericnorris/rules_nfpm/go - -filegroup( - name = "package-contents", - srcs = glob(["*"]), - visibility = ["//:__subpackages__"], -) diff --git a/go/cmd/nfpmwrapper/BUILD.bazel b/go/cmd/nfpmwrapper/BUILD.bazel deleted file mode 100644 index e30e650..0000000 --- a/go/cmd/nfpmwrapper/BUILD.bazel +++ /dev/null @@ -1,24 +0,0 @@ -load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") - -go_library( - name = "nfpmwrapper_lib", - srcs = ["main.go"], - importpath = "github.com/ericnorris/rules_nfpm/go/cmd/nfpmwrapper", - visibility = ["//visibility:private"], - deps = [ - "//go/internal/cmd/nfpmwrapper", - "@com_github_alecthomas_kong//:kong", - ], -) - -go_binary( - name = "nfpmwrapper", - embed = [":nfpmwrapper_lib"], - visibility = ["//visibility:public"], -) - -filegroup( - name = "package-contents", - srcs = glob(["*"]), - visibility = ["//:__subpackages__"], -) diff --git a/go/go.mod b/go/go.mod deleted file mode 100644 index 4caf8ad..0000000 --- a/go/go.mod +++ /dev/null @@ -1,10 +0,0 @@ -module github.com/ericnorris/rules_nfpm/go/v2 - -go 1.14 - -require ( - github.com/alecthomas/kong v0.2.9 - github.com/google/go-cmp v0.5.4 - github.com/goreleaser/nfpm/v2 v2.2.2 - github.com/pkg/errors v0.9.1 -) diff --git a/go/go.sum b/go/go.sum deleted file mode 100644 index 106dc0f..0000000 --- a/go/go.sum +++ /dev/null @@ -1,767 +0,0 @@ -4d63.com/gochecknoglobals v0.0.0-20201008074935-acfc0b28355a h1:wFEQiK85fRsEVF0CRrPAos5LoAryUsIX1kPW/WrIqFw= -4d63.com/gochecknoglobals v0.0.0-20201008074935-acfc0b28355a/go.mod h1:wfdC5ZjKSPr7CybKEcgJhUOgeAQW1+7WcyK8OvUilfo= -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/Djarvur/go-err113 v0.0.0-20200511133814-5174e21577d5/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= -github.com/Djarvur/go-err113 v0.1.0 h1:uCRZZOdMQ0TZPHYTdYpoC0bLYJKPEHPUJ8MeAa51lNU= -github.com/Djarvur/go-err113 v0.1.0/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs= -github.com/Masterminds/goutils v1.1.0 h1:zukEsf/1JZwCMgHiK3GZftabmxiCw4apj3a28RPBiVg= -github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= -github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww= -github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y= -github.com/Masterminds/semver/v3 v3.1.0 h1:Y2lUDsFKVRSYGojLJ1yLxSXdMmMYTYls0rCvoqmMUQk= -github.com/Masterminds/semver/v3 v3.1.0/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/semver/v3 v3.1.1 h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc= -github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= -github.com/Masterminds/sprig v2.22.0+incompatible h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60= -github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o= -github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= -github.com/Microsoft/go-winio v0.4.15/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw= -github.com/Microsoft/go-winio v0.4.16 h1:FtSW/jqD+l4ba5iPBj9CODVtgfYAD8w2wS923g/cFDk= -github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/OpenPeeDeeP/depguard v1.0.1 h1:VlW4R6jmBIv3/u1JNlawEvJMM4J+dPORPaZasQee8Us= -github.com/OpenPeeDeeP/depguard v1.0.1/go.mod h1:xsIw86fROiiwelg+jB2uM9PiKihMMmUx/1V+TNhjQvM= -github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg= -github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7 h1:uSoVVbwJiQipAclBbw+8quDsfcvFjOpI5iCf4p/cqCs= -github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs= -github.com/alecthomas/kingpin v2.2.6+incompatible/go.mod h1:59OFYbFVLKQKq+mqrL6Rw5bR0c3ACQaawgXx0QYndlE= -github.com/alecthomas/kong v0.2.9 h1:WGuTS/N2/NQ/9LymVqpr1ifZ4EEkQPvwFHqZs6ak5IU= -github.com/alecthomas/kong v0.2.9/go.mod h1:kQOmtJgV+Lb4aj+I2LEn40cbtawdWJ9Y8QLq+lElKxE= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/andybalholm/brotli v1.0.0/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y= -github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239 h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA= -github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= -github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o= -github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= -github.com/ashanbrown/forbidigo v1.0.0 h1:QdNXBduDUopc3GW+YVYZn8jzmIMklQiCfdN2N5+dQeE= -github.com/ashanbrown/forbidigo v1.0.0/go.mod h1:PH+zMRWE15yW69fYfe7Kn8nYR6yYyafc3ntEGh2BBAg= -github.com/ashanbrown/makezero v0.0.0-20201205152432-7b7cdbb3025a h1:/U9tbJzDRof4fOR51vwzWdIBsIH6R2yU0KG1MBRM2Js= -github.com/ashanbrown/makezero v0.0.0-20201205152432-7b7cdbb3025a/go.mod h1:oG9Dnez7/ESBqc4EdrdNlryeo7d0KcW1ftXHm7nU/UU= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84= -github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb h1:m935MPodAbYS46DG4pJSv7WO+VECIWUQ7OJYSoTrMh4= -github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb/go.mod h1:PkYb9DJNAwrSvRx5DYA+gUcOIgTGVMNkfSCbZM8cWpI= -github.com/bombsimon/wsl/v3 v3.1.0 h1:E5SRssoBgtVFPcYWUOFJEcgaySgdtTNYzsSKDOY7ss8= -github.com/bombsimon/wsl/v3 v3.1.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc= -github.com/cavaliercoder/go-cpio v0.0.0-20180626203310-925f9528c45e h1:hHg27A0RSSp2Om9lubZpiMgVbvn39bsUmW9U5h0twqc= -github.com/cavaliercoder/go-cpio v0.0.0-20180626203310-925f9528c45e/go.mod h1:oDpT4efm8tSYHXV5tHSdRvBet/b/QzxZ+XyyPehvm3A= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= -github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= -github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= -github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= -github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/daixiang0/gci v0.2.7 h1:bosLNficubzJZICsVzxuyNc6oAbdz0zcqLG2G/RxtY4= -github.com/daixiang0/gci v0.2.7/go.mod h1:+4dZ7TISfSmqfAGv59ePaHfNzgGtIkHAhhdKggP1JAc= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/denis-tingajkin/go-header v0.4.2 h1:jEeSF4sdv8/3cT/WY8AgDHUoItNSoEZ7qg9dX7pc218= -github.com/denis-tingajkin/go-header v0.4.2/go.mod h1:eLRHAVXzE5atsKAnNRDB90WHCFFnBUn4RN0nRcs1LJA= -github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= -github.com/emirpasic/gods v1.12.0 h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg= -github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= -github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= -github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU= -github.com/fatih/color v1.10.0 h1:s36xzo75JdqLaaWoiEHk767eHiwo0598uUxyfiPkDsg= -github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= -github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568 h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ= -github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= -github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= -github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/gliderlabs/ssh v0.2.2 h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0= -github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= -github.com/go-critic/go-critic v0.5.2 h1:3RJdgf6u4NZUumoP8nzbqiiNT8e1tC2Oc7jlgqre/IA= -github.com/go-critic/go-critic v0.5.2/go.mod h1:cc0+HvdE3lFpqLecgqMaJcvWWH77sLdBp+wLGPM1Yyo= -github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4= -github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E= -github.com/go-git/go-billy/v5 v5.0.0 h1:7NQHvd9FVid8VL4qVUMm8XifBK+2xCoZ2lSk0agRrHM= -github.com/go-git/go-billy/v5 v5.0.0/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0= -github.com/go-git/go-git-fixtures/v4 v4.0.2-0.20200613231340-f56387b50c12 h1:PbKy9zOy4aAKrJ5pibIRpVO2BXnK1Tlcg+caKI7Ox5M= -github.com/go-git/go-git-fixtures/v4 v4.0.2-0.20200613231340-f56387b50c12/go.mod h1:m+ICp2rF3jDhFgEZ/8yziagdT1C+ZpZcrJjappBCDSw= -github.com/go-git/go-git/v5 v5.2.0 h1:YPBLG/3UK1we1ohRkncLjaXWLW+HKp5QNM/jTli2JgI= -github.com/go-git/go-git/v5 v5.2.0/go.mod h1:kh02eMX+wdqqxgNMEyq8YgwlIOsDOa9homkUq1PoTMs= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8= -github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/go-toolsmith/astcast v1.0.0 h1:JojxlmI6STnFVG9yOImLeGREv8W2ocNUM+iOhR6jE7g= -github.com/go-toolsmith/astcast v1.0.0/go.mod h1:mt2OdQTeAQcY4DQgPSArJjHCcOwlX+Wl/kwN+LbLGQ4= -github.com/go-toolsmith/astcopy v1.0.0 h1:OMgl1b1MEpjFQ1m5ztEO06rz5CUd3oBv9RF7+DyvdG8= -github.com/go-toolsmith/astcopy v1.0.0/go.mod h1:vrgyG+5Bxrnz4MZWPF+pI4R8h3qKRjjyvV/DSez4WVQ= -github.com/go-toolsmith/astequal v1.0.0 h1:4zxD8j3JRFNyLN46lodQuqz3xdKSrur7U/sr0SDS/gQ= -github.com/go-toolsmith/astequal v1.0.0/go.mod h1:H+xSiq0+LtiDC11+h1G32h7Of5O3CYFJ99GVbS5lDKY= -github.com/go-toolsmith/astfmt v1.0.0 h1:A0vDDXt+vsvLEdbMFJAUBI/uTbRw1ffOPnxsILnFL6k= -github.com/go-toolsmith/astfmt v1.0.0/go.mod h1:cnWmsOAuq4jJY6Ct5YWlVLmcmLMn1JUPuQIHCY7CJDw= -github.com/go-toolsmith/astinfo v0.0.0-20180906194353-9809ff7efb21/go.mod h1:dDStQCHtmZpYOmjRP/8gHHnCCch3Zz3oEgCdZVdtweU= -github.com/go-toolsmith/astp v1.0.0 h1:alXE75TXgcmupDsMK1fRAy0YUzLzqPVvBKoyWV+KPXg= -github.com/go-toolsmith/astp v1.0.0/go.mod h1:RSyrtpVlfTFGDYRbrjyWP1pYu//tSFcvdYrA8meBmLI= -github.com/go-toolsmith/pkgload v1.0.0 h1:4DFWWMXVfbcN5So1sBNW9+yeiMqLFGl1wFLTL5R0Tgg= -github.com/go-toolsmith/pkgload v1.0.0/go.mod h1:5eFArkbO80v7Z0kdngIxsRXRMTaX4Ilcwuh3clNrQJc= -github.com/go-toolsmith/strparse v1.0.0 h1:Vcw78DnpCAKlM20kSbAyO4mPfJn/lyYA4BJUDxe2Jb4= -github.com/go-toolsmith/strparse v1.0.0/go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8= -github.com/go-toolsmith/typep v1.0.0/go.mod h1:JSQCQMUPdRlMZFswiq3TGpNp1GMktqkR2Ns5AIQkATU= -github.com/go-toolsmith/typep v1.0.2 h1:8xdsa1+FSIH/RhEkgnD1j2CJOy5mNllW1Q9tRiYwvlk= -github.com/go-toolsmith/typep v1.0.2/go.mod h1:JSQCQMUPdRlMZFswiq3TGpNp1GMktqkR2Ns5AIQkATU= -github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b h1:khEcpUM4yFcxg4/FHQWkvVRmgijNXRfzkIDHh23ggEo= -github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM= -github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= -github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= -github.com/gofrs/flock v0.8.0 h1:MSdYClljsF3PbENUUEx85nkWfJSGfzYI9yEBZOJz6CY= -github.com/gofrs/flock v0.8.0/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.2 h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 h1:23T5iq8rbUYlhpt5DB4XJkc6BU31uODLD1o1gKvZmD0= -github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2/go.mod h1:k9Qvh+8juN+UKMCS/3jFtGICgW8O96FVaZsaxdzDkR4= -github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a h1:w8hkcTqaFpzKqonE9uMCefW1WDie15eSP/4MssdenaM= -github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a/go.mod h1:ryS0uhF+x9jgbj/N71xsEqODy9BN81/GonCZiOzirOk= -github.com/golangci/errcheck v0.0.0-20181223084120-ef45e06d44b6 h1:YYWNAGTKWhKpcLLt7aSj/odlKrSrelQwlovBpDuf19w= -github.com/golangci/errcheck v0.0.0-20181223084120-ef45e06d44b6/go.mod h1:DbHgvLiFKX1Sh2T1w8Q/h4NAI8MHIpzCdnBUDTXU3I0= -github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613 h1:9kfjN3AdxcbsZBf8NjltjWihK2QfBBBZuv91cMFfDHw= -github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613/go.mod h1:SyvUF2NxV+sN8upjjeVYr5W7tyxaT1JVtvhKhOn2ii8= -github.com/golangci/gocyclo v0.0.0-20180528144436-0a533e8fa43d h1:pXTK/gkVNs7Zyy7WKgLXmpQ5bHTrq5GDsp8R9Qs67g0= -github.com/golangci/gocyclo v0.0.0-20180528144436-0a533e8fa43d/go.mod h1:ozx7R9SIwqmqf5pRP90DhR2Oay2UIjGuKheCBCNwAYU= -github.com/golangci/gofmt v0.0.0-20190930125516-244bba706f1a h1:iR3fYXUjHCR97qWS8ch1y9zPNsgXThGwjKPrYfqMPks= -github.com/golangci/gofmt v0.0.0-20190930125516-244bba706f1a/go.mod h1:9qCChq59u/eW8im404Q2WWTrnBUQKjpNYKMbU4M7EFU= -github.com/golangci/golangci-lint v1.34.1 h1:xf1yVlLBNeCIoOHWXhwqnUeaqzONllRSgiLSahNt0Mw= -github.com/golangci/golangci-lint v1.34.1/go.mod h1:6Bnn7T0JYin7uukitgL6f9E9auQatlT0RMNOKG9lSHU= -github.com/golangci/ineffassign v0.0.0-20190609212857-42439a7714cc h1:gLLhTLMk2/SutryVJ6D4VZCU3CUqr8YloG7FPIBWFpI= -github.com/golangci/ineffassign v0.0.0-20190609212857-42439a7714cc/go.mod h1:e5tpTHCfVze+7EpLEozzMB3eafxo2KT5veNg1k6byQU= -github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0 h1:MfyDlzVjl1hoaPzPD4Gpb/QgoRfSBR0jdhwGyAWwMSA= -github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0/go.mod h1:66R6K6P6VWk9I95jvqGxkqJxVWGFy9XlDwLwVz1RCFg= -github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca h1:kNY3/svz5T29MYHubXix4aDDuE3RWHkPvopM/EDv/MA= -github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca/go.mod h1:tvlJhZqDe4LMs4ZHD0oMUlt9G2LWuDGoisJTBzLMV9o= -github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770/go.mod h1:dEbvlSfYbMQDtrpRMQU675gSDLDNa8sCPPChZ7PhiVA= -github.com/golangci/misspell v0.3.5 h1:pLzmVdl3VxTOncgzHcvLOKirdvcx/TydsClUQXTehjo= -github.com/golangci/misspell v0.3.5/go.mod h1:dEbvlSfYbMQDtrpRMQU675gSDLDNa8sCPPChZ7PhiVA= -github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21 h1:leSNB7iYzLYSSx3J/s5sVf4Drkc68W2wm4Ixh/mr0us= -github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21/go.mod h1:tf5+bzsHdTM0bsB7+8mt0GUMvjCgwLpTapNZHU8AajI= -github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0/go.mod h1:qOQCunEYvmd/TLamH+7LlVccLvUH5kZNhbCgTHoBbp4= -github.com/golangci/revgrep v0.0.0-20180812185044-276a5c0a1039 h1:XQKc8IYQOeRwVs36tDrEmTgDgP88d5iEURwpmtiAlOM= -github.com/golangci/revgrep v0.0.0-20180812185044-276a5c0a1039/go.mod h1:qOQCunEYvmd/TLamH+7LlVccLvUH5kZNhbCgTHoBbp4= -github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 h1:zwtduBRr5SSWhqsYNgcuWO2kFlpdOZbP0+yRjmvPGys= -github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4/go.mod h1:Izgrg8RkN3rCIMLGE9CyYmU9pY2Jer6DgANEnZ/L/cQ= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4 h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/rpmpack v0.0.0-20201225075926-0a97c2c4b688 h1:jyGRCFMyDK/gKe6QRZQWci5+wEUBFElvxLHs3iwO3hY= -github.com/google/rpmpack v0.0.0-20201225075926-0a97c2c4b688/go.mod h1:+y9lKiqDhR4zkLl+V9h4q0rdyrYVsWWm6LLCQP33DIk= -github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.2 h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/gookit/color v1.3.1/go.mod h1:R3ogXq2B9rTbXoSHJ1HyUVAZ3poOJHpd9nQmyGZsfvQ= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8= -github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= -github.com/goreleaser/chglog v0.1.2 h1:tdzAb/ILeMnphzI9zQ7Nkq+T8R9qyXli8GydD8plFRY= -github.com/goreleaser/chglog v0.1.2/go.mod h1:tTZsFuSZK4epDXfjMkxzcGbrIOXprf0JFp47BjIr3B8= -github.com/goreleaser/fileglob v0.3.1 h1:OTFDWqUUHjQazk2N5GdUqEbqT/grBnRARaAXsV07q1Y= -github.com/goreleaser/fileglob v0.3.1/go.mod h1:kNcPrPzjCp+Ox3jmXLU5QEsjhqrtLBm6OnXAif8KRl8= -github.com/goreleaser/nfpm/v2 v2.2.2 h1:aLGEqhMDcSNg1RHwzUBHwRUbmiK8HfD1sTq8bG7/WMc= -github.com/goreleaser/nfpm/v2 v2.2.2/go.mod h1:WtPzYQh+Ls57prS9RzXegrGejqILUS1aZibXHTTJ8eI= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gostaticanalysis/analysisutil v0.0.0-20190318220348-4088753ea4d3/go.mod h1:eEOZF4jCKGi+aprrirO9e7WKB3beBRtWgqGunKl6pKE= -github.com/gostaticanalysis/analysisutil v0.0.3/go.mod h1:eEOZF4jCKGi+aprrirO9e7WKB3beBRtWgqGunKl6pKE= -github.com/gostaticanalysis/analysisutil v0.1.0/go.mod h1:dMhHRU9KTiDcuLGdy87/2gTR8WruwYZrKdRq9m1O6uw= -github.com/gostaticanalysis/analysisutil v0.4.1/go.mod h1:18U/DLpRgIUd459wGxVHE0fRgmo1UgHDcbw7F5idXu0= -github.com/gostaticanalysis/analysisutil v0.6.1 h1:/1JkoHe4DVxur+0wPvi26FoQfe1E3ZGqIXS3aaSLiaw= -github.com/gostaticanalysis/analysisutil v0.6.1/go.mod h1:18U/DLpRgIUd459wGxVHE0fRgmo1UgHDcbw7F5idXu0= -github.com/gostaticanalysis/comment v1.3.0/go.mod h1:xMicKDx7XRXYdVwY9f9wQpDJVnqWxw9wCauCMKp+IBI= -github.com/gostaticanalysis/comment v1.4.1 h1:xHopR5L2lRz6OsjH4R2HG5wRhW9ySl3FsHIvi5pcXwc= -github.com/gostaticanalysis/comment v1.4.1/go.mod h1:ih6ZxzTHLdadaiSnF5WY3dxUoXfXAlTaRzuaNDlSado= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= -github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= -github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= -github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= -github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= -github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= -github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= -github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= -github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4= -github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= -github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= -github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64= -github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ= -github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I= -github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc= -github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= -github.com/huandu/xstrings v1.3.2 h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw= -github.com/huandu/xstrings v1.3.2/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= -github.com/imdario/mergo v0.3.9 h1:UauaLniWCFHWd+Jp9oCEkTBj8VO/9DKg3PV3VCNMDIg= -github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.11 h1:3tnifQM4i+fbajXKBHXWEH+KvNHqojZ778UH75j3bGA= -github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA= -github.com/inconshreveable/mousetrap v1.0.0 h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM= -github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= -github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= -github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= -github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/jgautheron/goconst v0.0.0-20201117150253-ccae5bf973f3 h1:7nkB9fLPMwtn/R6qfPcHileL/x9ydlhw8XyDrLI1ZXg= -github.com/jgautheron/goconst v0.0.0-20201117150253-ccae5bf973f3/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4= -github.com/jingyugao/rowserrcheck v0.0.0-20191204022205-72ab7603b68a h1:GmsqmapfzSJkm28dhRoHz2tLRbJmqhU86IPgBtN3mmk= -github.com/jingyugao/rowserrcheck v0.0.0-20191204022205-72ab7603b68a/go.mod h1:xRskid8CManxVta/ALEhJha/pweKBaVG6fWgc0yH25s= -github.com/jirfag/go-printf-func-name v0.0.0-20191110105641-45db9963cdd3/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0= -github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48= -github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0= -github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= -github.com/jmoiron/sqlx v1.2.1-0.20190826204134-d7d95172beb5/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks= -github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= -github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= -github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 h1:DowS9hvgyYSX4TO5NpyC606/Z4SxnNYbT+WX27or6Ck= -github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= -github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= -github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/klauspost/compress v1.10.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/klauspost/compress v1.11.0/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/kulti/thelper v0.1.0 h1:ig1EW6yhDiRNN3dplbhdsW2gTvbxTz9i4q5Rr/tRfpk= -github.com/kulti/thelper v0.1.0/go.mod h1:vMu2Cizjy/grP+jmsvOFDx1kYP6+PD1lqg4Yu5exl2U= -github.com/kunwardeep/paralleltest v1.0.2 h1:/jJRv0TiqPoEy/Y8dQxCFJhD56uS/pnvtatgTZBHokU= -github.com/kunwardeep/paralleltest v1.0.2/go.mod h1:ZPqNm1fVHPllh5LPVujzbVz1JN2GhLxSfY+oqUsvG30= -github.com/kyoh86/exportloopref v0.1.8 h1:5Ry/at+eFdkX9Vsdw3qU4YkvGtzuVfzT4X7S77LoN/M= -github.com/kyoh86/exportloopref v0.1.8/go.mod h1:1tUcJeiioIs7VWe5gcOObrux3lb66+sBqGZrRkMwPgg= -github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4= -github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= -github.com/magiconair/properties v1.8.4 h1:8KGKTcQQGm0Kv7vEbKFErAoAOFyyacLStRtQSeYtvkY= -github.com/magiconair/properties v1.8.4/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60= -github.com/maratori/testpackage v1.0.1 h1:QtJ5ZjqapShm0w5DosRjg0PRlSdAdlx+W6cCKoALdbQ= -github.com/maratori/testpackage v1.0.1/go.mod h1:ddKdw+XG0Phzhx8BFDTKgpWP4i7MpApTE5fXSKAqwDU= -github.com/matoous/godox v0.0.0-20190911065817-5d6d842e92eb/go.mod h1:1BELzlh859Sh1c6+90blK8lbYy0kwQf1bYlBhBysy1s= -github.com/matoous/godox v0.0.0-20200801072554-4fb83dc2941e h1:2U5rOmpaB96l35w+NDjMtmmrp2e6a6AJKoc4B5+7UwA= -github.com/matoous/godox v0.0.0-20200801072554-4fb83dc2941e/go.mod h1:1BELzlh859Sh1c6+90blK8lbYy0kwQf1bYlBhBysy1s= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= -github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= -github.com/mattn/go-colorable v0.1.8 h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8= -github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= -github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= -github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE= -github.com/mattn/go-isatty v0.0.12 h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY= -github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc= -github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/mbilski/exhaustivestruct v1.1.0 h1:4ykwscnAFeHJruT+EY3M3vdeP8uXMh0VV2E61iR7XD8= -github.com/mbilski/exhaustivestruct v1.1.0/go.mod h1:OeTBVxQWoEmB2J2JCHmXWPJ0aksxSUOUy+nvtVEfzXc= -github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= -github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= -github.com/mitchellh/copystructure v1.0.0 h1:Laisrj+bAB6b/yJwB5Bt3ITZhGJdqmxquMKeZ+mmkFQ= -github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw= -github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= -github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= -github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI= -github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg= -github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY= -github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/mitchellh/mapstructure v1.3.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/mapstructure v1.4.0 h1:7ks8ZkOP5/ujthUsT07rNv+nkLXCQWKNHuwzOAesEks= -github.com/mitchellh/mapstructure v1.4.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= -github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/mitchellh/reflectwalk v1.0.1 h1:FVzMWA5RllMAKIdUSC8mdWo3XtwoecrH79BY70sEEpE= -github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/moricho/tparallel v0.2.1 h1:95FytivzT6rYzdJLdtfn6m1bfFJylOJK41+lgv/EHf4= -github.com/moricho/tparallel v0.2.1/go.mod h1:fXEIZxG2vdfl0ZF8b42f5a78EhjjD5mX8qUplsoSU4k= -github.com/mozilla/tls-observatory v0.0.0-20200317151703-4fa42e1c2dee/go.mod h1:SrKMQvPiws7F7iqYp8/TX+IhxCYhzr6N/1yb8cwHsGk= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/nakabonne/nestif v0.3.0 h1:+yOViDGhg8ygGrmII72nV9B/zGxY188TYpfolntsaPw= -github.com/nakabonne/nestif v0.3.0/go.mod h1:dI314BppzXjJ4HsCnbo7XzrJHPszZsjnk5wEBSYHI2c= -github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d h1:AREM5mwr4u1ORQBMvzfzBgpsctsbQikCVpvC+tX285E= -github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs= -github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= -github.com/nishanths/exhaustive v0.1.0 h1:kVlMw8h2LHPMGUVqUj6230oQjjTMFjwcZrnkhXzFfl8= -github.com/nishanths/exhaustive v0.1.0/go.mod h1:S1j9110vxV1ECdCudXRkeMnFQ/DQk9ajLT0Uf2MYZQQ= -github.com/nxadm/tail v1.4.4 h1:DQuhQpB1tVlglWS2hLQ5OV6B5r8aGxSrPc5Qo6uTN78= -github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= -github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= -github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk= -github.com/onsi/ginkgo v1.14.1 h1:jMU0WaQrP0a/YAEq8eJmJKjBoMs+pClEr1vDMlM/Do4= -github.com/onsi/ginkgo v1.14.1/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY= -github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY= -github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/onsi/gomega v1.10.2 h1:aY/nuoWlKJud2J6U0E3NWsjlg+0GtwXxgEqthRdzlcs= -github.com/onsi/gomega v1.10.2/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo= -github.com/op/go-logging v0.0.0-20160315200505-970db520ece7 h1:lDH9UUVJtmYCjyT0CI4q8xvlXPxeZ0gYCVvWbmPlp88= -github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk= -github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= -github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k= -github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/pelletier/go-toml v1.8.1 h1:1Nf83orprkJyknT6h7zbuEGUEjcyVlCxSUGTENmNCRM= -github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc= -github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d h1:CdDQnGF8Nq9ocOS/xlSptM1N3BbrA6/kmaep5ggwaIA= -github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d/go.mod h1:3OzsM7FXDQlpCiw2j81fOmAwQLnZnLGXVKUzeKQXIAw= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/polyfloyd/go-errorlint v0.0.0-20201127212506-19bd8db6546f h1:xAw10KgJqG5NJDfmRqJ05Z0IFblKumjtMeyiOLxj3+4= -github.com/polyfloyd/go-errorlint v0.0.0-20201127212506-19bd8db6546f/go.mod h1:wi9BfjxjF/bwiZ701TzmfKu6UKC357IOAtNr0Td0Lvw= -github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/quasilyte/go-consistent v0.0.0-20190521200055-c6f3937de18c/go.mod h1:5STLWrekHfjyYwxBRVRXNOSewLJ3PWfDJd1VyTS21fI= -github.com/quasilyte/go-ruleguard v0.2.0/go.mod h1:2RT/tf0Ce0UDj5y243iWKosQogJd8+1G3Rs2fxmlYnw= -github.com/quasilyte/go-ruleguard v0.2.1 h1:56eRm0daAyny9UhJnmtJW/UyLZQusukBAB8oT8AHKHo= -github.com/quasilyte/go-ruleguard v0.2.1/go.mod h1:hN2rVc/uS4bQhQKTio2XaSJSafJwqBUWWwtssT3cQmc= -github.com/quasilyte/regex/syntax v0.0.0-20200407221936-30656e2c4a95/go.mod h1:rlzQ04UMyJXu/aOvhd8qT+hvDrFpiwqp8MRXDY9szc0= -github.com/quasilyte/regex/syntax v0.0.0-20200805063351-8f842688393c h1:+gtJ/Pwj2dgUGlZgTrNFqajGYKZQc7Piqus/S6DK9CE= -github.com/quasilyte/regex/syntax v0.0.0-20200805063351-8f842688393c/go.mod h1:rlzQ04UMyJXu/aOvhd8qT+hvDrFpiwqp8MRXDY9szc0= -github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/rogpeppe/go-internal v1.5.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/rogpeppe/go-internal v1.6.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= -github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ryancurrah/gomodguard v1.2.0 h1:YWfhGOrXwLGiqcC/u5EqG6YeS8nh+1fw0HEc85CVZro= -github.com/ryancurrah/gomodguard v1.2.0/go.mod h1:rNqbC4TOIdUDcVMSIpNNAzTbzXAZa6W5lnUepvuMMgQ= -github.com/ryanrolds/sqlclosecheck v0.3.0 h1:AZx+Bixh8zdUBxUA1NxbxVAS78vTPq4rCb8OUZI9xFw= -github.com/ryanrolds/sqlclosecheck v0.3.0/go.mod h1:1gREqxyTGR3lVtpngyFo3hZAgk0KCtEdgEkHwDbigdA= -github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/sassoftware/go-rpmutils v0.0.0-20190420191620-a8f1baeba37b h1:+gCnWOZV8Z/8jehJ2CdqB47Z3S+SREmQcuXkRFLNsiI= -github.com/sassoftware/go-rpmutils v0.0.0-20190420191620-a8f1baeba37b/go.mod h1:am+Fp8Bt506lA3Rk3QCmSqmYmLMnPDhdDUcosQCAx+I= -github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc= -github.com/securego/gosec/v2 v2.5.0 h1:kjfXLeKdk98gBe2+eYRFMpC4+mxmQQtbidpiiOQ69Qc= -github.com/securego/gosec/v2 v2.5.0/go.mod h1:L/CDXVntIff5ypVHIkqPXbtRpJiNCh6c6Amn68jXDjo= -github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0= -github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM= -github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c h1:W65qqJCIOVP4jpqPQ0YvHYKwcMEMVWIzWC5iNQQfBTU= -github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c/go.mod h1:/PevMnwAxekIXwN8qQyfc5gl2NlkB3CQlkizAbOkeBs= -github.com/shirou/gopsutil v0.0.0-20190901111213-e4ec7b275ada/go.mod h1:WWnYX4lzhCH5h/3YBfyVA3VbLYjlMZZAQcW9ojMexNc= -github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4/go.mod h1:qsXQc7+bwAM3Q1u/4XEfrquwF8Lw7D7y5cD8CuHnfIc= -github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk= -github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ= -github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/sirupsen/logrus v1.7.0 h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM= -github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= -github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc= -github.com/smartystreets/assertions v1.0.0 h1:UVQPSSmc3qtTi+zPPkCXvZX9VvW/xT/NsRvKfwY81a8= -github.com/smartystreets/assertions v1.0.0/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM= -github.com/smartystreets/goconvey v1.6.4 h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s= -github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA= -github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/sonatard/noctx v0.0.1 h1:VC1Qhl6Oxx9vvWo3UDgrGXYCeKCe3Wbw7qAWL6FrmTY= -github.com/sonatard/noctx v0.0.1/go.mod h1:9D2D/EoULe8Yy2joDHJj7bv3sZoq9AaSb8B4lqBjiZI= -github.com/sourcegraph/go-diff v0.6.1 h1:hmA1LzxW0n1c3Q4YbrFgg4P99GSnebYa3x8gr0HZqLQ= -github.com/sourcegraph/go-diff v0.6.1/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= -github.com/spf13/afero v1.4.1/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= -github.com/spf13/afero v1.5.1 h1:VHu76Lk0LSP1x254maIu2bplkWpfBWI+B+6fdoZprcg= -github.com/spf13/afero v1.5.1/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I= -github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cast v1.3.1 h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng= -github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= -github.com/spf13/cobra v1.1.1 h1:KfztREH0tPxJJ+geloSLaAkaPkr4ki2Er5quFV1TDo4= -github.com/spf13/cobra v1.1.1/go.mod h1:WnodtKOvamDL/PwE2M4iKs8aMDBZ5Q5klgD3qfVJQMI= -github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= -github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk= -github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo= -github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/spf13/viper v1.7.1 h1:pM5oEahlgWv/WnHXpgbKz7iLIxRf65tye2Ci+XFK5sk= -github.com/spf13/viper v1.7.1/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg= -github.com/ssgreg/nlreturn/v2 v2.1.0 h1:6/s4Rc49L6Uo6RLjhWZGBpWWjfzk2yrf1nIW8m4wgVA= -github.com/ssgreg/nlreturn/v2 v2.1.0/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.3.0 h1:NGXK3lHquSN08v5vWalVI/L8XU9hdzE/G6xsrze47As= -github.com/stretchr/objx v0.3.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1 h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/subosito/gotenv v1.2.0 h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s= -github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= -github.com/tdakkota/asciicheck v0.0.0-20200416190851-d7f85be797a2/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM= -github.com/tdakkota/asciicheck v0.0.0-20200416200610-e657995f937b h1:HxLVTlqcHhFAz3nWUcuvpH7WuOMv8LQoCWmruLfFH2U= -github.com/tdakkota/asciicheck v0.0.0-20200416200610-e657995f937b/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM= -github.com/tetafro/godot v1.3.2 h1:HzWC3XjadkyeuBZxkfAFNY20UVvle0YD51I6zf6RKlU= -github.com/tetafro/godot v1.3.2/go.mod h1:ah7jjYmOMnIjS9ku2krapvGQrFNtTLo9Z/qB3dGU1eU= -github.com/timakin/bodyclose v0.0.0-20190930140734-f7f2e9bca95e/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk= -github.com/timakin/bodyclose v0.0.0-20200424151742-cb6215831a94 h1:ig99OeTyDwQWhPe2iw9lwfQVF1KB3Q4fpP3X7/2VBG8= -github.com/timakin/bodyclose v0.0.0-20200424151742-cb6215831a94/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk= -github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= -github.com/tomarrell/wrapcheck v0.0.0-20200807122107-df9e8bcb914d/go.mod h1:yiFB6fFoV7saXirUGfuK+cPtUh4NX/Hf5y2WC2lehu0= -github.com/tomarrell/wrapcheck v0.0.0-20201130113247-1683564d9756 h1:zV5mu0ESwb+WnzqVaW2z1DdbAP0S46UtjY8DHQupQP4= -github.com/tomarrell/wrapcheck v0.0.0-20201130113247-1683564d9756/go.mod h1:yiFB6fFoV7saXirUGfuK+cPtUh4NX/Hf5y2WC2lehu0= -github.com/tommy-muehle/go-mnd v1.3.1-0.20201008215730-16041ac3fe65 h1:Y0bLA422kvb32uZI4fy/Plop/Tbld0l9pSzl+j1FWok= -github.com/tommy-muehle/go-mnd v1.3.1-0.20201008215730-16041ac3fe65/go.mod h1:T22e7iRN4LsFPZGyRLRXeF+DWVXFuV9thsyO7NjbbTI= -github.com/ulikunitz/xz v0.5.7/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= -github.com/ulikunitz/xz v0.5.9 h1:RsKRIA2MO8x56wkkcd3LbtcE/uMszhb6DpRf+3uwa3I= -github.com/ulikunitz/xz v0.5.9/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= -github.com/ultraware/funlen v0.0.3 h1:5ylVWm8wsNwH5aWo9438pwvsK0QiqVuUrt9bn7S/iLA= -github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA= -github.com/ultraware/whitespace v0.0.4 h1:If7Va4cM03mpgrNH9k49/VOicWpGoG70XPBFFODYDsg= -github.com/ultraware/whitespace v0.0.4/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA= -github.com/uudashr/gocognit v1.0.1 h1:MoG2fZ0b/Eo7NXoIwCVFLG5JED3qgQz5/NEE+rOsjPs= -github.com/uudashr/gocognit v1.0.1/go.mod h1:j44Ayx2KW4+oB6SWMv8KsmHzZrOInQav7D3cQMJ5JUM= -github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc= -github.com/valyala/fasthttp v1.16.0/go.mod h1:YOKImeEosDdBPnxc0gy7INqi3m1zK6A+xl6TwOBhHCA= -github.com/valyala/quicktemplate v1.6.3/go.mod h1:fwPzK2fHuYEODzJ9pkw0ipCPNHZ2tD5KW4lOuSdPKzY= -github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio= -github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4= -github.com/xanzy/ssh-agent v0.3.0 h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI= -github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0= -github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 h1:nIPpBwaJSVYIxUFsDv3M8ofmx9yWTog9BfvIu0q41lo= -github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8/go.mod h1:HUYIGzjTL3rfEspMxjDjgmT5uz5wzYJKVo23qUhYTos= -github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200302210943-78000ba7a073/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20201208171446-5f87f3452ae9 h1:sYNJzB4J8toYPQTM6pAkcmBRgw9SnQKP9oXCHfgy604= -golang.org/x/crypto v0.0.0-20201208171446-5f87f3452ae9/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.4.0 h1:8pl+sMODzuvGJkmj2W4kZihvVb5mKm8pB/X44PIQHv8= -golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200602114024-627f9648deb9/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201209123823-ac852fbbde11 h1:lwlPPsmjDKK0J6eG6xDWd5XPehI0R024zxjDnw3esPA= -golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200602225109-6fdc65e7d980/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201009025420-dfb3f7c4e634/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201109165425-215b40eba54c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201207223542-d4d67f95c62d h1:MiWWjyhUzZ+jvhZvloX6ZrUsdEghn8a64Upd8EMHglE= -golang.org/x/sys v0.0.0-20201207223542-d4d67f95c62d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.4 h1:0YWbFKbhXG/wIiuHDSKpS0Iy7FSA+u45VtBMfQcFTTc= -golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190110163146-51295c7ec13a/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190307163923-6a08e3108db3/go.mod h1:25r3+/G6/xytQM8iWZKq3Hn0kr0rgFKPUNVEL/dr3z4= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190311215038-5c2858a9cfe5/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190322203728-c1a832b0ad89/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190910044552-dd2b5c81c578/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190916130336-e45ffcd953cc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20200117220505-0cba7a3a9ee9/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200324003944-a576cf524670/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200329025819-fd4102a86c65/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200410194907-79a7a3126eef/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200414032229-332987a829c3/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200422022333-3d57cf2e726e/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200426102838-f3a5411a4c3b/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200622203043-20e05c1c8ffa/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200624225443-88f3c62a19ff/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200625211823-6506e20df31f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200724022722-7017fd6b1305/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200812195022-5ae4c3c160a0/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200820010801-b793a1359eac/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200831203904-5a2aa26beb65/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE= -golang.org/x/tools v0.0.0-20201001104356-43ebab892c4c/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20201002184944-ecd9fd270d5d/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20201007032633-0806396f153e/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20201011145850-ed2f50202694/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU= -golang.org/x/tools v0.0.0-20201114224030-61ea331ec02b/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201118003311-bd56c0adb394/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201121010211-780cb80bd7fb/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.0.0-20201208233053-a543418bbed2 h1:vEtypaVub6UvKkiXZ2xx9QIvp9TL7sI7xp7vdi2kezA= -golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.23.0 h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU= -gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= -gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/ini.v1 v1.62.0 h1:duBzk771uxoUuOlyRLkHsygud9+5lrlGjdFBb4mSKDU= -gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k= -gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= -gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= -gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= -gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= -gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0 h1:clyUAQHOM3G0M3f5vQj7LuJrETvjVot3Z5el9nffUtU= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 h1:tQIYjPdBoyREyB9XMu+nnTclpTYkz2zFM+lzLJFO4gQ= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.6 h1:W18jzjh8mfPez+AwGLxmOImucz/IFjpNlrKVnaj2YVc= -honnef.co/go/tools v0.0.1-2020.1.6/go.mod h1:pyyisuGw24ruLjrr1ddx39WE0y9OooInRzEYLhQB2YY= -mvdan.cc/gofumpt v0.0.0-20201129102820-5c11c50e9475 h1:5ZmJGYyuTlhdlIpRxSFhdJqkXQweXETFCEaLhRAX3e8= -mvdan.cc/gofumpt v0.0.0-20201129102820-5c11c50e9475/go.mod h1:E4LOcu9JQEtnYXtB1Y51drqh2Qr2Ngk9J3YrRCwcbd0= -mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed h1:WX1yoOaKQfddO/mLzdV4wptyWgoH/6hwLs7QHTixo0I= -mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed/go.mod h1:Xkxe497xwlCKkIaQYRfC7CSLworTXY9RMqwhhCm+8Nc= -mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b h1:DxJ5nJdkhDlLok9K6qO+5290kphDJbHOQO1DFFFTeBo= -mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jCoyKnw3vv5biOc3JnIcYfL4= -mvdan.cc/unparam v0.0.0-20200501210554-b37ab49443f7 h1:kAREL6MPwpsk1/PQPFD3Eg7WAQR5mPTWZJaBiG5LDbY= -mvdan.cc/unparam v0.0.0-20200501210554-b37ab49443f7/go.mod h1:HGC5lll35J70Y5v7vCGb9oLhHoScFwkHDJm/05RdSTc= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= diff --git a/go/internal/cmd/nfpmwrapper/BUILD.bazel b/go/internal/cmd/nfpmwrapper/BUILD.bazel deleted file mode 100644 index c0902e1..0000000 --- a/go/internal/cmd/nfpmwrapper/BUILD.bazel +++ /dev/null @@ -1,45 +0,0 @@ -load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") - -go_library( - name = "nfpmwrapper", - srcs = [ - "doc.go", - "nfpmwrapper.go", - ], - importpath = "github.com/ericnorris/rules_nfpm/go/internal/cmd/nfpmwrapper", - visibility = ["//:__subpackages__"], - deps = [ - "@com_github_goreleaser_nfpm_v2//:nfpm", - "@com_github_goreleaser_nfpm_v2//deb", - "@com_github_goreleaser_nfpm_v2//rpm", - "@com_github_pkg_errors//:errors", - ], -) - -go_test( - name = "nfpmwrapper_test", - size = "small", - srcs = ["nfpmwrapper_test.go"], - data = glob(["testdata/**"]), - embed = [":nfpmwrapper"], - deps = [ - "@com_github_google_go_cmp//cmp", - "@com_github_google_go_cmp//cmp/cmpopts", - ], -) - -sh_test( - name = "nfmpwrapper_test.accept", - size = "small", - srcs = [":nfpmwrapper_test"], - args = [ - "-accept", - ], - tags = ["manual"], -) - -filegroup( - name = "package-contents", - srcs = glob(["*"]), - visibility = ["//:__subpackages__"], -) diff --git a/go/cmd/nfpmwrapper/main.go b/go/v2/cmd/nfpmwrapper/main.go similarity index 76% rename from go/cmd/nfpmwrapper/main.go rename to go/v2/cmd/nfpmwrapper/main.go index 090de71..9c302ad 100644 --- a/go/cmd/nfpmwrapper/main.go +++ b/go/v2/cmd/nfpmwrapper/main.go @@ -3,7 +3,7 @@ package main import ( "log" - "github.com/ericnorris/rules_nfpm/go/internal/cmd/nfpmwrapper" + "github.com/ericnorris/rules_nfpm/go/v2/internal/cmd/nfpmwrapper" "github.com/alecthomas/kong" ) diff --git a/go/v2/go.mod b/go/v2/go.mod new file mode 100644 index 0000000..ba4de56 --- /dev/null +++ b/go/v2/go.mod @@ -0,0 +1,60 @@ +module github.com/ericnorris/rules_nfpm/go/v2 + +go 1.23.0 + +toolchain go1.24.0 + +require ( + github.com/alecthomas/kong v1.9.0 + github.com/google/go-cmp v0.7.0 + github.com/goreleaser/nfpm/v2 v2.41.3 + github.com/pkg/errors v0.9.1 +) + +require ( + dario.cat/mergo v1.0.1 // indirect + github.com/AlekSi/pointer v1.2.0 // indirect + github.com/Masterminds/goutils v1.1.1 // indirect + github.com/Masterminds/semver/v3 v3.3.1 // indirect + github.com/Masterminds/sprig/v3 v3.3.0 // indirect + github.com/Microsoft/go-winio v0.6.2 // indirect + github.com/ProtonMail/go-crypto v1.1.6 // indirect + github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb // indirect + github.com/cavaliergopher/cpio v1.0.1 // indirect + github.com/cloudflare/circl v1.6.0 // indirect + github.com/cyphar/filepath-securejoin v0.4.1 // indirect + github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect + github.com/emirpasic/gods v1.18.1 // indirect + github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect + github.com/go-git/go-billy/v5 v5.6.2 // indirect + github.com/go-git/go-git/v5 v5.14.0 // indirect + github.com/gobwas/glob v0.2.3 // indirect + github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect + github.com/google/rpmpack v0.6.1-0.20240329070804-c2247cbb881a // indirect + github.com/google/uuid v1.6.0 // indirect + github.com/goreleaser/chglog v0.7.0 // indirect + github.com/goreleaser/fileglob v1.3.0 // indirect + github.com/huandu/xstrings v1.5.0 // indirect + github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect + github.com/kevinburke/ssh_config v1.2.0 // indirect + github.com/klauspost/compress v1.18.0 // indirect + github.com/klauspost/pgzip v1.2.6 // indirect + github.com/mitchellh/copystructure v1.2.0 // indirect + github.com/mitchellh/reflectwalk v1.0.2 // indirect + github.com/onsi/gomega v1.36.2 // indirect + github.com/pjbgf/sha1cd v0.3.2 // indirect + github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect + github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect + github.com/shopspring/decimal v1.4.0 // indirect + github.com/skeema/knownhosts v1.3.1 // indirect + github.com/spf13/cast v1.7.1 // indirect + github.com/ulikunitz/xz v0.5.12 // indirect + github.com/xanzy/ssh-agent v0.3.3 // indirect + gitlab.com/digitalxero/go-conventional-commit v1.0.7 // indirect + golang.org/x/crypto v0.36.0 // indirect + golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 // indirect + golang.org/x/net v0.37.0 // indirect + golang.org/x/sys v0.31.0 // indirect + gopkg.in/warnings.v0 v0.1.2 // indirect + gopkg.in/yaml.v3 v3.0.1 // indirect +) diff --git a/go/v2/go.sum b/go/v2/go.sum new file mode 100644 index 0000000..7b30203 --- /dev/null +++ b/go/v2/go.sum @@ -0,0 +1,178 @@ +dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s= +dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk= +github.com/AlekSi/pointer v1.2.0 h1:glcy/gc4h8HnG2Z3ZECSzZ1IX1x2JxRVuDzaJwQE0+w= +github.com/AlekSi/pointer v1.2.0/go.mod h1:gZGfd3dpW4vEc/UlyfKKi1roIqcCgwOIvb0tSNSBle0= +github.com/DataDog/zstd v1.5.5 h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ= +github.com/DataDog/zstd v1.5.5/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw= +github.com/Masterminds/goutils v1.1.1 h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI= +github.com/Masterminds/goutils v1.1.1/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU= +github.com/Masterminds/semver/v3 v3.3.1 h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4= +github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM= +github.com/Masterminds/sprig/v3 v3.3.0 h1:mQh0Yrg1XPo6vjYXgtf5OtijNAKJRNcTdOOGZe3tPhs= +github.com/Masterminds/sprig/v3 v3.3.0/go.mod h1:Zy1iXRYNqNLUolqCpL4uhk6SHUMAOSCzdgBfDb35Lz0= +github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY= +github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY= +github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= +github.com/ProtonMail/go-crypto v1.1.6 h1:ZcV+Ropw6Qn0AX9brlQLAUXfqLBc7Bl+f/DmNxpLfdw= +github.com/ProtonMail/go-crypto v1.1.6/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= +github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f h1:tCbYj7/299ekTTXpdwKYF8eBlsYsDVoggDAuAjoK66k= +github.com/ProtonMail/go-mime v0.0.0-20230322103455-7d82a3887f2f/go.mod h1:gcr0kNtGBqin9zDW9GOHcVntrwnjrK+qdJ06mWYBybw= +github.com/ProtonMail/gopenpgp/v2 v2.7.1 h1:Awsg7MPc2gD3I7IFac2qE3Gdls0lZW8SzrFZ3k1oz0s= +github.com/ProtonMail/gopenpgp/v2 v2.7.1/go.mod h1:/BU5gfAVwqyd8EfC3Eu7zmuhwYQpKs+cGD8M//iiaxs= +github.com/alecthomas/assert/v2 v2.11.0 h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0= +github.com/alecthomas/assert/v2 v2.11.0/go.mod h1:Bze95FyfUr7x34QZrjL+XP+0qgp/zg8yS+TtBj1WA3k= +github.com/alecthomas/kong v1.9.0 h1:Wgg0ll5Ys7xDnpgYBuBn/wPeLGAuK0NvYmEcisJgrIs= +github.com/alecthomas/kong v1.9.0/go.mod h1:p2vqieVMeTAnaC83txKtXe8FLke2X07aruPWXyMPQrU= +github.com/alecthomas/repr v0.4.0 h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc= +github.com/alecthomas/repr v0.4.0/go.mod h1:Fr0507jx4eOXV7AlPV6AVZLYrLIuIeSOWtW57eE/O/4= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= +github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb h1:m935MPodAbYS46DG4pJSv7WO+VECIWUQ7OJYSoTrMh4= +github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb/go.mod h1:PkYb9DJNAwrSvRx5DYA+gUcOIgTGVMNkfSCbZM8cWpI= +github.com/caarlos0/testfs v0.4.4 h1:3PHvzHi5Lt+g332CiShwS8ogTgS3HjrmzZxCm6JCDr8= +github.com/caarlos0/testfs v0.4.4/go.mod h1:bRN55zgG4XCUVVHZCeU+/Tz1Q6AxEJOEJTliBy+1DMk= +github.com/cavaliergopher/cpio v1.0.1 h1:KQFSeKmZhv0cr+kawA3a0xTQCU4QxXF1vhU7P7av2KM= +github.com/cavaliergopher/cpio v1.0.1/go.mod h1:pBdaqQjnvXxdS/6CvNDwIANIFSP0xRKI16PX4xejRQc= +github.com/cloudflare/circl v1.6.0 h1:cr5JKic4HI+LkINy2lg3W2jF8sHCVTBncJr5gIIq7qk= +github.com/cloudflare/circl v1.6.0/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs= +github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22rowi7HkoSU1s= +github.com/cyphar/filepath-securejoin v0.4.1/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGLDGQL7h7bg04C/+u9jI= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM= +github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/elazarl/goproxy v1.7.2 h1:Y2o6urb7Eule09PjlhQRGNsqRfPmYI3KKQLFpCAV3+o= +github.com/elazarl/goproxy v1.7.2/go.mod h1:82vkLNir0ALaW14Rc399OTTjyNREgmdL2cVoIbS6XaE= +github.com/emirpasic/gods v1.18.1 h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc= +github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ= +github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= +github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0= +github.com/gliderlabs/ssh v0.3.8 h1:a4YXD1V7xMF9g5nTkdfnja3Sxy1PVDCj1Zg4Wb8vY6c= +github.com/gliderlabs/ssh v0.3.8/go.mod h1:xYoytBv1sV0aL3CavoDuJIQNURXkkfPA/wxQ1pL1fAU= +github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI= +github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376/go.mod h1:an3vInlBmSxCcxctByoQdvwPiA7DTK7jaaFDBTtu0ic= +github.com/go-git/go-billy/v5 v5.6.2 h1:6Q86EsPXMa7c3YZ3aLAQsMA0VlWmy43r6FHqa/UNbRM= +github.com/go-git/go-billy/v5 v5.6.2/go.mod h1:rcFC2rAsp/erv7CMz9GczHcuD0D32fWzH+MJAU+jaUU= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4= +github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII= +github.com/go-git/go-git/v5 v5.14.0 h1:/MD3lCrGjCen5WfEAzKg00MJJffKhC8gzS80ycmCi60= +github.com/go-git/go-git/v5 v5.14.0/go.mod h1:Z5Xhoia5PcWA3NF8vRLURn9E5FRhSl7dGj9ItW3Wk5k= +github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y= +github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8= +github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ= +github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw= +github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= +github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= +github.com/google/rpmpack v0.6.1-0.20240329070804-c2247cbb881a h1:JJBdjSfqSy3mnDT0940ASQFghwcZ4y4cb6ttjAoXqwE= +github.com/google/rpmpack v0.6.1-0.20240329070804-c2247cbb881a/go.mod h1:uqVAUVQLq8UY2hCDfmJ/+rtO3aw7qyhc90rCVEabEfI= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/gopherjs/gopherjs v1.17.2 h1:fQnZVsXk8uxXIStYb0N4bGk7jeyTalG/wsZjQ25dO0g= +github.com/gopherjs/gopherjs v1.17.2/go.mod h1:pRRIvn/QzFLrKfvEz3qUuEhtE/zLCWfreZ6J5gM2i+k= +github.com/goreleaser/chglog v0.7.0 h1:/KzXWAeg4DrEz4r3OI6K2Yb8RAsVGeInCUfLWFXL9C0= +github.com/goreleaser/chglog v0.7.0/go.mod h1:2h/yyq9xvTUeM9tOoucBP+jri8Dj28splx+SjlYkklc= +github.com/goreleaser/fileglob v1.3.0 h1:/X6J7U8lbDpQtBvGcwwPS6OpzkNVlVEsFUVRx9+k+7I= +github.com/goreleaser/fileglob v1.3.0/go.mod h1:Jx6BoXv3mbYkEzwm9THo7xbr5egkAraxkGorbJb4RxU= +github.com/goreleaser/nfpm/v2 v2.41.3 h1:IRRsqv5NgiCKUy57HjQgfVBFb44VH8+r1mWeEF8OuA4= +github.com/goreleaser/nfpm/v2 v2.41.3/go.mod h1:0t54RfPX6/iKANsVLbB3XgtfQXzG1nS4HmSavN92qVY= +github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM= +github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= +github.com/huandu/xstrings v1.5.0 h1:2ag3IFq9ZDANvthTwTiqSSZLjDc+BedvHPAp5tJy2TI= +github.com/huandu/xstrings v1.5.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= +github.com/jtolds/gls v4.20.0+incompatible h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo= +github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU= +github.com/kevinburke/ssh_config v1.2.0 h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4= +github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= +github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo= +github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ= +github.com/klauspost/pgzip v1.2.6 h1:8RXeL5crjEUFnR2/Sn6GJNWtSQ3Dk8pq4CL3jvdDyjU= +github.com/klauspost/pgzip v1.2.6/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs= +github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= +github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= +github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= +github.com/matryer/is v1.4.0 h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE= +github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU= +github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= +github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= +github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= +github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= +github.com/onsi/gomega v1.36.2 h1:koNYke6TVk6ZmnyHrCXba/T/MoLBXFjeC1PtvYgw0A8= +github.com/onsi/gomega v1.36.2/go.mod h1:DdwyADRjrc825LhMEkD76cHR5+pUnjhUN8GlHlRPHzY= +github.com/pjbgf/sha1cd v0.3.2 h1:a9wb0bp1oC2TGwStyn0Umc/IGKQnEgF0vVaZ8QF8eo4= +github.com/pjbgf/sha1cd v0.3.2/go.mod h1:zQWigSxVmsHEZow5qaLtPYxpcKMMQpa09ixqBxuCS6A= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U= +github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= +github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= +github.com/sassoftware/go-rpmutils v0.4.0 h1:ojND82NYBxgwrV+mX1CWsd5QJvvEZTKddtCdFLPWhpg= +github.com/sassoftware/go-rpmutils v0.4.0/go.mod h1:3goNWi7PGAT3/dlql2lv3+MSN5jNYPjT5mVcQcIsYzI= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8= +github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4= +github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= +github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= +github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0= +github.com/skeema/knownhosts v1.3.1 h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnBY8= +github.com/skeema/knownhosts v1.3.1/go.mod h1:r7KTdC8l4uxWRyK2TpQZ/1o5HaSzh06ePQNxPwTcfiY= +github.com/smarty/assertions v1.15.0 h1:cR//PqUBUiQRakZWqBiFFQ9wb8emQGDb0HeGdqGByCY= +github.com/smarty/assertions v1.15.0/go.mod h1:yABtdzeQs6l1brC900WlRNwj6ZR55d7B+E8C6HtKdec= +github.com/smartystreets/goconvey v1.8.1 h1:qGjIddxOk4grTu9JPOU31tVfq3cNdBlNa5sSznIX1xY= +github.com/smartystreets/goconvey v1.8.1/go.mod h1:+/u4qLyY6x1jReYOp7GOM2FSt8aP9CzCZL03bI28W60= +github.com/spf13/cast v1.7.1 h1:cuNEagBQEHWN1FnbGEjCXL2szYEXqfJPbP2HNUaca9Y= +github.com/spf13/cast v1.7.1/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= +github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= +github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/ulikunitz/xz v0.5.12 h1:37Nm15o69RwBkXM0J6A5OlE67RZTfzUxTj8fB3dfcsc= +github.com/ulikunitz/xz v0.5.12/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14= +github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM= +github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= +github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8 h1:nIPpBwaJSVYIxUFsDv3M8ofmx9yWTog9BfvIu0q41lo= +github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8/go.mod h1:HUYIGzjTL3rfEspMxjDjgmT5uz5wzYJKVo23qUhYTos= +gitlab.com/digitalxero/go-conventional-commit v1.0.7 h1:8/dO6WWG+98PMhlZowt/YjuiKhqhGlOCwlIV8SqqGh8= +gitlab.com/digitalxero/go-conventional-commit v1.0.7/go.mod h1:05Xc2BFsSyC5tKhK0y+P3bs0AwUtNuTp+mTpbCU/DZ0= +golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= +golang.org/x/crypto v0.36.0 h1:AnAEvhDddvBdpY+uR+MyHmuZzzNqXSe/GvuDeob5L34= +golang.org/x/crypto v0.36.0/go.mod h1:Y4J0ReaxCR1IMaabaSMugxJES1EpwhBHhv2bDHklZvc= +golang.org/x/exp v0.0.0-20250305212735-054e65f0b394 h1:nDVHiLt8aIbd/VzvPWN6kSOPE7+F/fNFDSXLVYkE/Iw= +golang.org/x/exp v0.0.0-20250305212735-054e65f0b394/go.mod h1:sIifuuw/Yco/y6yb6+bDNfyeQ/MdPUy/hKEMYQV17cM= +golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= +golang.org/x/net v0.37.0 h1:1zLorHbz+LYj7MQlSf1+2tPIIgibq2eL5xkrGk6f+2c= +golang.org/x/net v0.37.0/go.mod h1:ivrbrMbzFq5J41QOQh0siUuly180yBYtLp+CKbEaFx8= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.31.0 h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik= +golang.org/x/sys v0.31.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.30.0 h1:PQ39fJZ+mfadBm0y5WlL4vlM7Sx1Hgf13sMIY2+QS9Y= +golang.org/x/term v0.30.0/go.mod h1:NYYFdzHoI5wRh/h5tDMdMqCqPJZEuNqVR5xJLd/n67g= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.23.0 h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY= +golang.org/x/text v0.23.0/go.mod h1:/BLNzu4aZCJ1+kcD0DNRotWKage4q2rGVAg4o22unh4= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= +gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= +gopkg.in/warnings.v0 v0.1.2 h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME= +gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= +gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= diff --git a/go/internal/cmd/nfpmwrapper/doc.go b/go/v2/internal/cmd/nfpmwrapper/doc.go similarity index 100% rename from go/internal/cmd/nfpmwrapper/doc.go rename to go/v2/internal/cmd/nfpmwrapper/doc.go diff --git a/go/internal/cmd/nfpmwrapper/nfpmwrapper.go b/go/v2/internal/cmd/nfpmwrapper/nfpmwrapper.go similarity index 100% rename from go/internal/cmd/nfpmwrapper/nfpmwrapper.go rename to go/v2/internal/cmd/nfpmwrapper/nfpmwrapper.go diff --git a/go/internal/cmd/nfpmwrapper/nfpmwrapper_test.go b/go/v2/internal/cmd/nfpmwrapper/nfpmwrapper_test.go similarity index 100% rename from go/internal/cmd/nfpmwrapper/nfpmwrapper_test.go rename to go/v2/internal/cmd/nfpmwrapper/nfpmwrapper_test.go diff --git a/go/internal/cmd/nfpmwrapper/testdata/generateconfig/config.yaml.golden b/go/v2/internal/cmd/nfpmwrapper/testdata/generateconfig/config.yaml.golden similarity index 100% rename from go/internal/cmd/nfpmwrapper/testdata/generateconfig/config.yaml.golden rename to go/v2/internal/cmd/nfpmwrapper/testdata/generateconfig/config.yaml.golden diff --git a/go/internal/cmd/nfpmwrapper/testdata/generateconfig/config.yaml.in b/go/v2/internal/cmd/nfpmwrapper/testdata/generateconfig/config.yaml.in similarity index 100% rename from go/internal/cmd/nfpmwrapper/testdata/generateconfig/config.yaml.in rename to go/v2/internal/cmd/nfpmwrapper/testdata/generateconfig/config.yaml.in diff --git a/go/internal/cmd/nfpmwrapper/testdata/generateconfig/stable-status.txt.in b/go/v2/internal/cmd/nfpmwrapper/testdata/generateconfig/stable-status.txt.in similarity index 100% rename from go/internal/cmd/nfpmwrapper/testdata/generateconfig/stable-status.txt.in rename to go/v2/internal/cmd/nfpmwrapper/testdata/generateconfig/stable-status.txt.in diff --git a/go/internal/cmd/nfpmwrapper/testdata/generateconfig/volatile-status.txt.in b/go/v2/internal/cmd/nfpmwrapper/testdata/generateconfig/volatile-status.txt.in similarity index 100% rename from go/internal/cmd/nfpmwrapper/testdata/generateconfig/volatile-status.txt.in rename to go/v2/internal/cmd/nfpmwrapper/testdata/generateconfig/volatile-status.txt.in diff --git a/nfpm/internal/repositories.bzl b/nfpm/internal/repositories.bzl index 66fa996..135cea2 100644 --- a/nfpm/internal/repositories.bzl +++ b/nfpm/internal/repositories.bzl @@ -2,43 +2,68 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") def rules_nfpm_internal_dependencies(): - _buildifier_dependencies() + # _buildifier_dependencies() _skylib_dependencies() - _stardoc_dependencies() -def _buildifier_dependencies(): - maybe( - http_archive, - name = "com_github_bazelbuild_buildtools", - strip_prefix = "buildtools-master", - url = "https://github.com/bazelbuild/buildtools/archive/master.zip", - ) +# _stardoc_dependencies() - maybe( - http_archive, - name = "com_google_protobuf", - strip_prefix = "protobuf-master", - urls = ["https://github.com/protocolbuffers/protobuf/archive/master.zip"], - ) +#def _buildifier_dependencies(): +# maybe( +# http_archive, +# name = "com_github_bazelbuild_buildtools", +# strip_prefix = "buildtools-8.0.3", +# url = "https://github.com/bazelbuild/buildtools/archive/refs/tags/8.0.3.tar.gz", +# ) +# +# maybe( +# http_archive, +# name = "com_google_protobuf", +# strip_prefix = "protobuf-30.1", +# sha256 = "1451b03faec83aed17cdc71671d1bbdfd72e54086b827f5f6fd02bf7a4041b68", +# urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v30.1/protobuf-30.1.tar.gz"], +# ) def _skylib_dependencies(): maybe( http_archive, name = "bazel_skylib", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz", - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.0.2/bazel-skylib-1.0.2.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", ], - sha256 = "97e70364e9249702246c0e9444bccdc4b847bed1eb03c5a3ece4f83dfe6abc44", + sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f", ) -def _stardoc_dependencies(): - maybe( - http_archive, - name = "io_bazel_stardoc", - urls = [ - "https://github.com/bazelbuild/stardoc/archive/1ef781ced3b1443dca3ed05dec1989eca1a4e1cd.zip", - ], - strip_prefix = "stardoc-1ef781ced3b1443dca3ed05dec1989eca1a4e1cd", - sha256 = "5d7191bb0800434a9192d8ac80cba4909e96dbb087c5d51f168fedd7bde7b525", - ) +#def _stardoc_dependencies(): +# maybe( +# http_archive, +# name = "io_bazel_stardoc", +# sha256 = "ca933f39f2a6e0ad392fa91fd662545afcbd36c05c62365538385d35a0323096", +# urls = [ +# "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.8.0/stardoc-0.8.0.tar.gz", +# "https://github.com/bazelbuild/stardoc/releases/download/0.8.0/stardoc-0.8.0.tar.gz", +# ], +# ) +# +# maybe( +# http_archive, +# name = "rules_python", +# sha256 = "2ef40fdcd797e07f0b6abda446d1d84e2d9570d234fddf8fcd2aa262da852d1c", +# strip_prefix = "rules_python-1.2.0", +# url = "https://github.com/bazelbuild/rules_python/releases/download/1.2.0/rules_python-1.2.0.tar.gz", +# ) +# http_archive( +# name = "rules_proto", +# sha256 = "14a225870ab4e91869652cfd69ef2028277fc1dc4910d65d353b62d6e0ae21f4", +# strip_prefix = "rules_proto-7.1.0", +# url = "https://github.com/bazelbuild/rules_proto/releases/download/7.1.0/rules_proto-7.1.0.tar.gz", +# ) +# +# RULES_JVM_EXTERNAL_TAG = "6.7" +# RULES_JVM_EXTERNAL_SHA = "a1e351607f04fed296ba33c4977d3fe2a615ed50df7896676b67aac993c53c18" +# http_archive( +# name = "rules_jvm_external", +# strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG, +# sha256 = RULES_JVM_EXTERNAL_SHA, +# url = "https://github.com/bazel-contrib/rules_jvm_external/releases/download/%s/rules_jvm_external-%s.tar.gz" % (RULES_JVM_EXTERNAL_TAG, RULES_JVM_EXTERNAL_TAG), +# ) diff --git a/nfpm/internal/setup.bzl b/nfpm/internal/setup.bzl index ba56133..0564c51 100644 --- a/nfpm/internal/setup.bzl +++ b/nfpm/internal/setup.bzl @@ -1,17 +1,36 @@ -load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") +#load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") -load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") +#load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") +#load("@rules_java//java:rules_java_deps.bzl", "rules_java_dependencies") + +#load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps") +#load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup") +#load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps") +#load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps") +#load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup") def rules_nfpm_internal_setup(): - _buildifier_setup() + # rules_jvm_external_deps() + # + # rules_jvm_external_setup() + + # _buildifier_setup() _skylib_setup() - _stardoc_setup() + # _stardoc_setup() -def _buildifier_setup(): - protobuf_deps() + #def _buildifier_setup(): + # protobuf_deps() def _skylib_setup(): bazel_skylib_workspace() -def _stardoc_setup(): - stardoc_repositories() +#def _stardoc_setup(): +# stardoc_repositories() + +# rules_java_dependencies() + +# protobuf_deps() + +# rules_jvm_external_deps() +# rules_jvm_external_setup() +#stardoc_external_deps() diff --git a/scripts/BUILD.bazel b/scripts/BUILD.bazel index 85fc958..80e2698 100644 --- a/scripts/BUILD.bazel +++ b/scripts/BUILD.bazel @@ -55,13 +55,13 @@ buildifier( # README.md # -sh_binary( - name = "generate-readme", - srcs = [":generate-readme.sh"], - args = [ - "$(locations //docs:repository-readme)", - ], - data = [ - "//docs:repository-readme", - ], -) +#sh_binary( +# name = "generate-readme", +# srcs = [":generate-readme.sh"], +# args = [ +# "$(locations //docs:repository-readme)", +# ], +# data = [ +# "//docs:repository-readme", +# ], +#) From a8b6486cc9ea95aac2cb54464ccc6b22731228fa Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Mon, 24 Mar 2025 18:25:43 +0100 Subject: [PATCH 03/13] Safe status. --- WORKSPACE.bazel | 5 +- nfpm/go_repositories.bzl | 2226 -------------------------------------- 2 files changed, 2 insertions(+), 2229 deletions(-) delete mode 100644 nfpm/go_repositories.bzl diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 616ad9a..9d1ca19 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -13,10 +13,9 @@ http_archive( http_archive( name = "bazel_gazelle", - integrity = "sha256-12v3pg/YsFBEQJDfooN6Tq+YKeEWVhjuNdzspcvfWNU=", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.37.0/bazel-gazelle-v0.37.0.tar.gz", - "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.37.0/bazel-gazelle-v0.37.0.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", ], ) diff --git a/nfpm/go_repositories.bzl b/nfpm/go_repositories.bzl deleted file mode 100644 index 03b535a..0000000 --- a/nfpm/go_repositories.bzl +++ /dev/null @@ -1,2226 +0,0 @@ -load("//nfpm/internal:maybe_go_repository.bzl", go_repository = "maybe_go_repository") - -def rules_nfpm_go_dependencies(): - _rules_nfpm_go_repositories() - -def _rules_nfpm_go_repositories(): - go_repository( - name = "cc_mvdan_gofumpt", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "mvdan.cc/gofumpt", - sum = "h1:5ZmJGYyuTlhdlIpRxSFhdJqkXQweXETFCEaLhRAX3e8=", - version = "v0.0.0-20201129102820-5c11c50e9475", - ) - go_repository( - name = "cc_mvdan_interfacer", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "mvdan.cc/interfacer", - sum = "h1:WX1yoOaKQfddO/mLzdV4wptyWgoH/6hwLs7QHTixo0I=", - version = "v0.0.0-20180901003855-c20040233aed", - ) - go_repository( - name = "cc_mvdan_lint", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "mvdan.cc/lint", - sum = "h1:DxJ5nJdkhDlLok9K6qO+5290kphDJbHOQO1DFFFTeBo=", - version = "v0.0.0-20170908181259-adc824a0674b", - ) - go_repository( - name = "cc_mvdan_unparam", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "mvdan.cc/unparam", - sum = "h1:kAREL6MPwpsk1/PQPFD3Eg7WAQR5mPTWZJaBiG5LDbY=", - version = "v0.0.0-20200501210554-b37ab49443f7", - ) - go_repository( - name = "co_honnef_go_tools", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "honnef.co/go/tools", - sum = "h1:W18jzjh8mfPez+AwGLxmOImucz/IFjpNlrKVnaj2YVc=", - version = "v0.0.1-2020.1.6", - ) - - go_repository( - name = "com_4d63_gochecknoglobals", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "4d63.com/gochecknoglobals", - sum = "h1:wFEQiK85fRsEVF0CRrPAos5LoAryUsIX1kPW/WrIqFw=", - version = "v0.0.0-20201008074935-acfc0b28355a", - ) - go_repository( - name = "com_github_alcortesm_tgz", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/alcortesm/tgz", - sum = "h1:uSoVVbwJiQipAclBbw+8quDsfcvFjOpI5iCf4p/cqCs=", - version = "v0.0.0-20161220082320-9c5fe88206d7", - ) - go_repository( - name = "com_github_alecthomas_kingpin", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/alecthomas/kingpin", - sum = "h1:5svnBTFgJjZvGKyYBtMB0+m5wvrbUHiqye8wRJMlnYI=", - version = "v2.2.6+incompatible", - ) - go_repository( - name = "com_github_alecthomas_kong", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/alecthomas/kong", - sum = "h1:WGuTS/N2/NQ/9LymVqpr1ifZ4EEkQPvwFHqZs6ak5IU=", - version = "v0.2.9", - ) - go_repository( - name = "com_github_alecthomas_template", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/alecthomas/template", - sum = "h1:JYp7IbQjafoB+tBA3gMyHYHrpOtNuDiK/uB5uXxq5wM=", - version = "v0.0.0-20190718012654-fb15b899a751", - ) - go_repository( - name = "com_github_alecthomas_units", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/alecthomas/units", - sum = "h1:UQZhZ2O0vMHr2cI+DC1Mbh0TJxzA3RcLoMsFw+aXw7E=", - version = "v0.0.0-20190924025748-f65c72e2690d", - ) - - go_repository( - name = "com_github_andybalholm_brotli", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/andybalholm/brotli", - sum = "h1:7UCwP93aiSfvWpapti8g88vVVGp2qqtGyePsSuDafo4=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_anmitsu_go_shlex", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/anmitsu/go-shlex", - sum = "h1:kFOfPq6dUM1hTo4JG6LR5AXSUEsOjtdm0kw0FtQtMJA=", - version = "v0.0.0-20161002113705-648efa622239", - ) - go_repository( - name = "com_github_armon_circbuf", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/armon/circbuf", - sum = "h1:QEF07wC0T1rKkctt1RINW/+RMTVmiwxETico2l3gxJA=", - version = "v0.0.0-20150827004946-bbbad097214e", - ) - go_repository( - name = "com_github_armon_go_metrics", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/armon/go-metrics", - sum = "h1:8GUt8eRujhVEGZFFEjBj46YV4rDjvGrNxb0KMWYkL2I=", - version = "v0.0.0-20180917152333-f0300d1749da", - ) - go_repository( - name = "com_github_armon_go_radix", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/armon/go-radix", - sum = "h1:BUAU3CGlLvorLI26FmByPp2eC2qla6E1Tw+scpcg/to=", - version = "v0.0.0-20180808171621-7fddfc383310", - ) - go_repository( - name = "com_github_armon_go_socks5", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/armon/go-socks5", - sum = "h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=", - version = "v0.0.0-20160902184237-e75332964ef5", - ) - go_repository( - name = "com_github_ashanbrown_forbidigo", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/ashanbrown/forbidigo", - sum = "h1:QdNXBduDUopc3GW+YVYZn8jzmIMklQiCfdN2N5+dQeE=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_ashanbrown_makezero", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/ashanbrown/makezero", - sum = "h1:/U9tbJzDRof4fOR51vwzWdIBsIH6R2yU0KG1MBRM2Js=", - version = "v0.0.0-20201205152432-7b7cdbb3025a", - ) - go_repository( - name = "com_github_beorn7_perks", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/beorn7/perks", - sum = "h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0=", - version = "v1.0.0", - ) - - go_repository( - name = "com_github_bgentry_speakeasy", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/bgentry/speakeasy", - sum = "h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY=", - version = "v0.1.0", - ) - go_repository( - name = "com_github_bketelsen_crypt", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/bketelsen/crypt", - sum = "h1:+0HFd5KSZ/mm3JmhmrDukiId5iR6w4+BdFtfSy4yWIc=", - version = "v0.0.3-0.20200106085610-5cbc8cc4026c", - ) - go_repository( - name = "com_github_blakesmith_ar", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/blakesmith/ar", - sum = "h1:m935MPodAbYS46DG4pJSv7WO+VECIWUQ7OJYSoTrMh4=", - version = "v0.0.0-20190502131153-809d4375e1fb", - ) - go_repository( - name = "com_github_bombsimon_wsl_v3", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/bombsimon/wsl/v3", - sum = "h1:E5SRssoBgtVFPcYWUOFJEcgaySgdtTNYzsSKDOY7ss8=", - version = "v3.1.0", - ) - go_repository( - name = "com_github_burntsushi_toml", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/BurntSushi/toml", - sum = "h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ=", - version = "v0.3.1", - ) - - go_repository( - name = "com_github_burntsushi_xgb", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/BurntSushi/xgb", - sum = "h1:1BDTz0u9nC3//pOCMdNH+CiXJVYJh5UQNCOBG7jbELc=", - version = "v0.0.0-20160522181843-27f122750802", - ) - go_repository( - name = "com_github_cavaliercoder_go_cpio", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/cavaliercoder/go-cpio", - sum = "h1:hHg27A0RSSp2Om9lubZpiMgVbvn39bsUmW9U5h0twqc=", - version = "v0.0.0-20180626203310-925f9528c45e", - ) - go_repository( - name = "com_github_cespare_xxhash", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/cespare/xxhash", - sum = "h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=", - version = "v1.1.0", - ) - go_repository( - name = "com_github_client9_misspell", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/client9/misspell", - sum = "h1:ta993UF76GwbvJcIo3Y68y/M3WxlpEHPWIGDkJYwzJI=", - version = "v0.3.4", - ) - go_repository( - name = "com_github_coreos_bbolt", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/coreos/bbolt", - sum = "h1:wZwiHHUieZCquLkDL0B8UhzreNWsPHooDAG3q34zk0s=", - version = "v1.3.2", - ) - go_repository( - name = "com_github_coreos_etcd", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/coreos/etcd", - sum = "h1:8F3hqu9fGYLBifCmRCJsicFqDx/D68Rt3q1JMazcgBQ=", - version = "v3.3.13+incompatible", - ) - - go_repository( - name = "com_github_coreos_go_semver", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/coreos/go-semver", - sum = "h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM=", - version = "v0.3.0", - ) - go_repository( - name = "com_github_coreos_go_systemd", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/coreos/go-systemd", - sum = "h1:Wf6HqHfScWJN9/ZjdUKyjop4mf3Qdd+1TvvltAvM3m8=", - version = "v0.0.0-20190321100706-95778dfbb74e", - ) - go_repository( - name = "com_github_coreos_pkg", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/coreos/pkg", - sum = "h1:lBNOc5arjvs8E5mO2tbpBpLoyyu8B6e44T7hJy6potg=", - version = "v0.0.0-20180928190104-399ea9e2e55f", - ) - - go_repository( - name = "com_github_cpuguy83_go_md2man_v2", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/cpuguy83/go-md2man/v2", - sum = "h1:EoUDS0afbrsXAZ9YQ9jdu/mZ2sXgT1/2yyNng4PGlyM=", - version = "v2.0.0", - ) - go_repository( - name = "com_github_creack_pty", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/creack/pty", - sum = "h1:uDmaGzcdjhF4i/plgjmEsriH11Y0o7RKapEf/LDaM3w=", - version = "v1.1.9", - ) - - go_repository( - name = "com_github_daixiang0_gci", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/daixiang0/gci", - sum = "h1:bosLNficubzJZICsVzxuyNc6oAbdz0zcqLG2G/RxtY4=", - version = "v0.2.7", - ) - go_repository( - name = "com_github_davecgh_go_spew", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/davecgh/go-spew", - sum = "h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=", - version = "v1.1.1", - ) - - go_repository( - name = "com_github_denis_tingajkin_go_header", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/denis-tingajkin/go-header", - sum = "h1:jEeSF4sdv8/3cT/WY8AgDHUoItNSoEZ7qg9dX7pc218=", - version = "v0.4.2", - ) - go_repository( - name = "com_github_dgrijalva_jwt_go", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/dgrijalva/jwt-go", - sum = "h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=", - version = "v3.2.0+incompatible", - ) - go_repository( - name = "com_github_dgryski_go_sip13", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/dgryski/go-sip13", - sum = "h1:RMLoZVzv4GliuWafOuPuQDKSm1SJph7uCRnnS61JAn4=", - version = "v0.0.0-20181026042036-e10d5fee7954", - ) - go_repository( - name = "com_github_djarvur_go_err113", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/Djarvur/go-err113", - sum = "h1:uCRZZOdMQ0TZPHYTdYpoC0bLYJKPEHPUJ8MeAa51lNU=", - version = "v0.1.0", - ) - - go_repository( - name = "com_github_emirpasic_gods", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/emirpasic/gods", - sum = "h1:QAUIPSaCu4G+POclxeqb3F+WPpdKqFGlw36+yOzGlrg=", - version = "v1.12.0", - ) - go_repository( - name = "com_github_fatih_color", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/fatih/color", - sum = "h1:s36xzo75JdqLaaWoiEHk767eHiwo0598uUxyfiPkDsg=", - version = "v1.10.0", - ) - - go_repository( - name = "com_github_flynn_go_shlex", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/flynn/go-shlex", - sum = "h1:BHsljHzVlRcyQhjrss6TZTdY2VfCqZPbv5k3iBFa2ZQ=", - version = "v0.0.0-20150515145356-3f9db97f8568", - ) - go_repository( - name = "com_github_fsnotify_fsnotify", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/fsnotify/fsnotify", - sum = "h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4=", - version = "v1.4.9", - ) - go_repository( - name = "com_github_ghodss_yaml", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/ghodss/yaml", - sum = "h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=", - version = "v1.0.0", - ) - - go_repository( - name = "com_github_gliderlabs_ssh", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/gliderlabs/ssh", - sum = "h1:6zsha5zo/TWhRhwqCD3+EarCAgZ2yN28ipRnGPnwkI0=", - version = "v0.2.2", - ) - go_repository( - name = "com_github_go_critic_go_critic", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-critic/go-critic", - sum = "h1:3RJdgf6u4NZUumoP8nzbqiiNT8e1tC2Oc7jlgqre/IA=", - version = "v0.5.2", - ) - - go_repository( - name = "com_github_go_git_gcfg", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-git/gcfg", - sum = "h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4=", - version = "v1.5.0", - ) - go_repository( - name = "com_github_go_git_go_billy_v5", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-git/go-billy/v5", - sum = "h1:7NQHvd9FVid8VL4qVUMm8XifBK+2xCoZ2lSk0agRrHM=", - version = "v5.0.0", - ) - go_repository( - name = "com_github_go_git_go_git_fixtures_v4", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-git/go-git-fixtures/v4", - sum = "h1:PbKy9zOy4aAKrJ5pibIRpVO2BXnK1Tlcg+caKI7Ox5M=", - version = "v4.0.2-0.20200613231340-f56387b50c12", - ) - go_repository( - name = "com_github_go_git_go_git_v5", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-git/go-git/v5", - sum = "h1:YPBLG/3UK1we1ohRkncLjaXWLW+HKp5QNM/jTli2JgI=", - version = "v5.2.0", - ) - go_repository( - name = "com_github_go_gl_glfw", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-gl/glfw", - sum = "h1:QbL/5oDUmRBzO9/Z7Seo6zf912W/a6Sr4Eu0G/3Jho0=", - version = "v0.0.0-20190409004039-e6da0acd62b1", - ) - go_repository( - name = "com_github_go_kit_kit", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-kit/kit", - sum = "h1:Wz+5lgoB0kkuqLEc6NVmwRknTKP6dTGbSqvhZtBI/j0=", - version = "v0.8.0", - ) - - go_repository( - name = "com_github_go_logfmt_logfmt", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-logfmt/logfmt", - sum = "h1:MP4Eh7ZCb31lleYCFuwm0oe4/YGak+5l1vA2NOE80nA=", - version = "v0.4.0", - ) - go_repository( - name = "com_github_go_ole_go_ole", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-ole/go-ole", - sum = "h1:2lOsA72HgjxAuMlKpFiCbHTvu44PIVkZ5hqm3RSdI/E=", - version = "v1.2.1", - ) - go_repository( - name = "com_github_go_sql_driver_mysql", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-sql-driver/mysql", - sum = "h1:7LxgVwFb2hIQtMm87NdgAVfXjnt4OePseqT1tKx+opk=", - version = "v1.4.0", - ) - go_repository( - name = "com_github_go_stack_stack", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-stack/stack", - sum = "h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk=", - version = "v1.8.0", - ) - go_repository( - name = "com_github_go_toolsmith_astcast", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-toolsmith/astcast", - sum = "h1:JojxlmI6STnFVG9yOImLeGREv8W2ocNUM+iOhR6jE7g=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_go_toolsmith_astcopy", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-toolsmith/astcopy", - sum = "h1:OMgl1b1MEpjFQ1m5ztEO06rz5CUd3oBv9RF7+DyvdG8=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_go_toolsmith_astequal", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-toolsmith/astequal", - sum = "h1:4zxD8j3JRFNyLN46lodQuqz3xdKSrur7U/sr0SDS/gQ=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_go_toolsmith_astfmt", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-toolsmith/astfmt", - sum = "h1:A0vDDXt+vsvLEdbMFJAUBI/uTbRw1ffOPnxsILnFL6k=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_go_toolsmith_astinfo", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-toolsmith/astinfo", - sum = "h1:wP6mXeB2V/d1P1K7bZ5vDUO3YqEzcvOREOxZPEu3gVI=", - version = "v0.0.0-20180906194353-9809ff7efb21", - ) - go_repository( - name = "com_github_go_toolsmith_astp", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-toolsmith/astp", - sum = "h1:alXE75TXgcmupDsMK1fRAy0YUzLzqPVvBKoyWV+KPXg=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_go_toolsmith_pkgload", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-toolsmith/pkgload", - sum = "h1:4DFWWMXVfbcN5So1sBNW9+yeiMqLFGl1wFLTL5R0Tgg=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_go_toolsmith_strparse", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-toolsmith/strparse", - sum = "h1:Vcw78DnpCAKlM20kSbAyO4mPfJn/lyYA4BJUDxe2Jb4=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_go_toolsmith_typep", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-toolsmith/typep", - sum = "h1:8xdsa1+FSIH/RhEkgnD1j2CJOy5mNllW1Q9tRiYwvlk=", - version = "v1.0.2", - ) - go_repository( - name = "com_github_go_xmlfmt_xmlfmt", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/go-xmlfmt/xmlfmt", - sum = "h1:khEcpUM4yFcxg4/FHQWkvVRmgijNXRfzkIDHh23ggEo=", - version = "v0.0.0-20191208150333-d5b6f63a941b", - ) - go_repository( - name = "com_github_gobwas_glob", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/gobwas/glob", - sum = "h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=", - version = "v0.2.3", - ) - go_repository( - name = "com_github_gofrs_flock", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/gofrs/flock", - sum = "h1:MSdYClljsF3PbENUUEx85nkWfJSGfzYI9yEBZOJz6CY=", - version = "v0.8.0", - ) - go_repository( - name = "com_github_gogo_protobuf", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/gogo/protobuf", - sum = "h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE=", - version = "v1.2.1", - ) - go_repository( - name = "com_github_golang_glog", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golang/glog", - sum = "h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=", - version = "v0.0.0-20160126235308-23def4e6c14b", - ) - go_repository( - name = "com_github_golang_groupcache", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golang/groupcache", - sum = "h1:veQD95Isof8w9/WXiA+pa3tz3fJXkt5B7QaRBrM62gk=", - version = "v0.0.0-20190129154638-5b532d6fd5ef", - ) - go_repository( - name = "com_github_golang_mock", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golang/mock", - sum = "h1:qGJ6qTW+x6xX/my+8YUVl4WNpX9B7+/l2tRsHGZ7f2s=", - version = "v1.3.1", - ) - go_repository( - name = "com_github_golang_protobuf", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golang/protobuf", - sum = "h1:+Z5KGCizgyZCbGh1KZqA0fcLLkwbsjIzS4aV2v7wJX0=", - version = "v1.4.2", - ) - go_repository( - name = "com_github_golangci_check", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/check", - sum = "h1:23T5iq8rbUYlhpt5DB4XJkc6BU31uODLD1o1gKvZmD0=", - version = "v0.0.0-20180506172741-cfe4005ccda2", - ) - go_repository( - name = "com_github_golangci_dupl", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/dupl", - sum = "h1:w8hkcTqaFpzKqonE9uMCefW1WDie15eSP/4MssdenaM=", - version = "v0.0.0-20180902072040-3e9179ac440a", - ) - go_repository( - name = "com_github_golangci_errcheck", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/errcheck", - sum = "h1:YYWNAGTKWhKpcLLt7aSj/odlKrSrelQwlovBpDuf19w=", - version = "v0.0.0-20181223084120-ef45e06d44b6", - ) - go_repository( - name = "com_github_golangci_go_misc", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/go-misc", - sum = "h1:9kfjN3AdxcbsZBf8NjltjWihK2QfBBBZuv91cMFfDHw=", - version = "v0.0.0-20180628070357-927a3d87b613", - ) - - go_repository( - name = "com_github_golangci_gocyclo", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/gocyclo", - sum = "h1:pXTK/gkVNs7Zyy7WKgLXmpQ5bHTrq5GDsp8R9Qs67g0=", - version = "v0.0.0-20180528144436-0a533e8fa43d", - ) - go_repository( - name = "com_github_golangci_gofmt", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/gofmt", - sum = "h1:iR3fYXUjHCR97qWS8ch1y9zPNsgXThGwjKPrYfqMPks=", - version = "v0.0.0-20190930125516-244bba706f1a", - ) - go_repository( - name = "com_github_golangci_golangci_lint", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/golangci-lint", - sum = "h1:xf1yVlLBNeCIoOHWXhwqnUeaqzONllRSgiLSahNt0Mw=", - version = "v1.34.1", - ) - go_repository( - name = "com_github_golangci_ineffassign", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/ineffassign", - sum = "h1:gLLhTLMk2/SutryVJ6D4VZCU3CUqr8YloG7FPIBWFpI=", - version = "v0.0.0-20190609212857-42439a7714cc", - ) - go_repository( - name = "com_github_golangci_lint_1", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/lint-1", - sum = "h1:MfyDlzVjl1hoaPzPD4Gpb/QgoRfSBR0jdhwGyAWwMSA=", - version = "v0.0.0-20191013205115-297bf364a8e0", - ) - go_repository( - name = "com_github_golangci_maligned", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/maligned", - sum = "h1:kNY3/svz5T29MYHubXix4aDDuE3RWHkPvopM/EDv/MA=", - version = "v0.0.0-20180506175553-b1d89398deca", - ) - go_repository( - name = "com_github_golangci_misspell", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/misspell", - sum = "h1:pLzmVdl3VxTOncgzHcvLOKirdvcx/TydsClUQXTehjo=", - version = "v0.3.5", - ) - go_repository( - name = "com_github_golangci_prealloc", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/prealloc", - sum = "h1:leSNB7iYzLYSSx3J/s5sVf4Drkc68W2wm4Ixh/mr0us=", - version = "v0.0.0-20180630174525-215b22d4de21", - ) - go_repository( - name = "com_github_golangci_revgrep", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/revgrep", - sum = "h1:XQKc8IYQOeRwVs36tDrEmTgDgP88d5iEURwpmtiAlOM=", - version = "v0.0.0-20180812185044-276a5c0a1039", - ) - go_repository( - name = "com_github_golangci_unconvert", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/golangci/unconvert", - sum = "h1:zwtduBRr5SSWhqsYNgcuWO2kFlpdOZbP0+yRjmvPGys=", - version = "v0.0.0-20180507085042-28b1c447d1f4", - ) - go_repository( - name = "com_github_google_btree", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/google/btree", - sum = "h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_google_go_cmp", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/google/go-cmp", - sum = "h1:L8R9j+yAqZuZjsqh/z+F1NCffTKKLShY6zXTItVIZ8M=", - version = "v0.5.4", - ) - - go_repository( - name = "com_github_google_martian", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/google/martian", - sum = "h1:/CP5g8u/VJHijgedC/Legn3BAbAaWPgecwXBIDzw5no=", - version = "v2.1.0+incompatible", - ) - go_repository( - name = "com_github_google_pprof", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/google/pprof", - sum = "h1:Jnx61latede7zDD3DiiP4gmNz33uK0U5HDUaF0a/HVQ=", - version = "v0.0.0-20190515194954-54271f7e092f", - ) - go_repository( - name = "com_github_google_renameio", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/google/renameio", - sum = "h1:GOZbcHa3HfsPKPlmyPyN2KEohoMXOhdMbHrvbpl2QaA=", - version = "v0.1.0", - ) - go_repository( - name = "com_github_google_rpmpack", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/google/rpmpack", - sum = "h1:jyGRCFMyDK/gKe6QRZQWci5+wEUBFElvxLHs3iwO3hY=", - version = "v0.0.0-20201225075926-0a97c2c4b688", - ) - go_repository( - name = "com_github_google_uuid", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/google/uuid", - sum = "h1:EVhdT+1Kseyi1/pUmXKaFxYsDNy9RQYkMWRH68J/W7Y=", - version = "v1.1.2", - ) - - go_repository( - name = "com_github_googleapis_gax_go_v2", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/googleapis/gax-go/v2", - sum = "h1:sjZBwGj9Jlw33ImPtvFviGYvseOtDM7hkSKB7+Tv3SM=", - version = "v2.0.5", - ) - go_repository( - name = "com_github_gookit_color", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/gookit/color", - sum = "h1:PPD/C7sf8u2L8XQPdPgsWRoAiLQGZEZOzU3cf5IYYUk=", - version = "v1.3.1", - ) - go_repository( - name = "com_github_gopherjs_gopherjs", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/gopherjs/gopherjs", - sum = "h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8=", - version = "v0.0.0-20181017120253-0766667cb4d1", - ) - - go_repository( - name = "com_github_goreleaser_chglog", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/goreleaser/chglog", - sum = "h1:tdzAb/ILeMnphzI9zQ7Nkq+T8R9qyXli8GydD8plFRY=", - version = "v0.1.2", - ) - go_repository( - name = "com_github_goreleaser_fileglob", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/goreleaser/fileglob", - sum = "h1:OTFDWqUUHjQazk2N5GdUqEbqT/grBnRARaAXsV07q1Y=", - version = "v0.3.1", - ) - go_repository( - name = "com_github_goreleaser_nfpm_v2", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/goreleaser/nfpm/v2", - sum = "h1:aLGEqhMDcSNg1RHwzUBHwRUbmiK8HfD1sTq8bG7/WMc=", - version = "v2.2.2", - ) - go_repository( - name = "com_github_gorilla_websocket", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/gorilla/websocket", - sum = "h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=", - version = "v1.4.2", - ) - go_repository( - name = "com_github_gostaticanalysis_analysisutil", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/gostaticanalysis/analysisutil", - sum = "h1:/1JkoHe4DVxur+0wPvi26FoQfe1E3ZGqIXS3aaSLiaw=", - version = "v0.6.1", - ) - - go_repository( - name = "com_github_gostaticanalysis_comment", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/gostaticanalysis/comment", - sum = "h1:xHopR5L2lRz6OsjH4R2HG5wRhW9ySl3FsHIvi5pcXwc=", - version = "v1.4.1", - ) - go_repository( - name = "com_github_grpc_ecosystem_go_grpc_middleware", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/grpc-ecosystem/go-grpc-middleware", - sum = "h1:Iju5GlWwrvL6UBg4zJJt3btmonfrMlCDdsejg4CZE7c=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_grpc_ecosystem_go_grpc_prometheus", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/grpc-ecosystem/go-grpc-prometheus", - sum = "h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho=", - version = "v1.2.0", - ) - go_repository( - name = "com_github_grpc_ecosystem_grpc_gateway", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/grpc-ecosystem/grpc-gateway", - sum = "h1:bM6ZAFZmc/wPFaRDi0d5L7hGEZEx/2u+Tmr2evNHDiI=", - version = "v1.9.0", - ) - - go_repository( - name = "com_github_hashicorp_consul_api", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/consul/api", - sum = "h1:BNQPM9ytxj6jbjjdRPioQ94T6YXriSopn0i8COv6SRA=", - version = "v1.1.0", - ) - go_repository( - name = "com_github_hashicorp_consul_sdk", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/consul/sdk", - sum = "h1:LnuDWGNsoajlhGyHJvuWW6FVqRl8JOTPqS6CPTsYjhY=", - version = "v0.1.1", - ) - go_repository( - name = "com_github_hashicorp_errwrap", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/errwrap", - sum = "h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_hashicorp_go_cleanhttp", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/go-cleanhttp", - sum = "h1:dH3aiDG9Jvb5r5+bYHsikaOUIpcM0xvgMXVoDkXMzJM=", - version = "v0.5.1", - ) - go_repository( - name = "com_github_hashicorp_go_immutable_radix", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/go-immutable-radix", - sum = "h1:AKDB1HM5PWEA7i4nhcpwOrO2byshxBjXVn/J/3+z5/0=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_hashicorp_go_msgpack", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/go-msgpack", - sum = "h1:zKjpN5BK/P5lMYrLmBHdBULWbJ0XpYR+7NGzqkZzoD4=", - version = "v0.5.3", - ) - go_repository( - name = "com_github_hashicorp_go_multierror", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/go-multierror", - sum = "h1:iVjPR7a6H0tWELX5NxNe7bYopibicUzc7uPribsnS6o=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_hashicorp_go_net", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/go.net", - sum = "h1:sNCoNyDEvN1xa+X0baata4RdcpKwcMS6DH+xwfqPgjw=", - version = "v0.0.1", - ) - go_repository( - name = "com_github_hashicorp_go_rootcerts", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/go-rootcerts", - sum = "h1:Rqb66Oo1X/eSV1x66xbDccZjhJigjg0+e82kpwzSwCI=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_hashicorp_go_sockaddr", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/go-sockaddr", - sum = "h1:GeH6tui99pF4NJgfnhp+L6+FfobzVW3Ah46sLo0ICXs=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_hashicorp_go_syslog", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/go-syslog", - sum = "h1:KaodqZuhUoZereWVIYmpUgZysurB1kBLX2j0MwMrUAE=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_hashicorp_go_uuid", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/go-uuid", - sum = "h1:fv1ep09latC32wFoVwnqcnKJGnMSdBanPczbHAYm1BE=", - version = "v1.0.1", - ) - go_repository( - name = "com_github_hashicorp_golang_lru", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/golang-lru", - sum = "h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU=", - version = "v0.5.1", - ) - go_repository( - name = "com_github_hashicorp_hcl", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/hcl", - sum = "h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=", - version = "v1.0.0", - ) - - go_repository( - name = "com_github_hashicorp_logutils", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/logutils", - sum = "h1:dLEQVugN8vlakKOUE3ihGLTZJRB4j+M2cdTm/ORI65Y=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_hashicorp_mdns", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/mdns", - sum = "h1:WhIgCr5a7AaVH6jPUwjtRuuE7/RDufnUvzIr48smyxs=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_hashicorp_memberlist", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/memberlist", - sum = "h1:EmmoJme1matNzb+hMpDuR/0sbJSUisxyqBGG676r31M=", - version = "v0.1.3", - ) - go_repository( - name = "com_github_hashicorp_serf", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hashicorp/serf", - sum = "h1:YZ7UKsJv+hKjqGVUUbtE3HNj79Eln2oQ75tniF6iPt0=", - version = "v0.8.2", - ) - go_repository( - name = "com_github_hpcloud_tail", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/hpcloud/tail", - sum = "h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=", - version = "v1.0.0", - ) - - go_repository( - name = "com_github_huandu_xstrings", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/huandu/xstrings", - sum = "h1:L18LIDzqlW6xN2rEkpdV8+oL/IXWJ1APd+vsdYy4Wdw=", - version = "v1.3.2", - ) - go_repository( - name = "com_github_imdario_mergo", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/imdario/mergo", - sum = "h1:3tnifQM4i+fbajXKBHXWEH+KvNHqojZ778UH75j3bGA=", - version = "v0.3.11", - ) - go_repository( - name = "com_github_inconshreveable_mousetrap", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/inconshreveable/mousetrap", - sum = "h1:Z8tu5sraLXCXIcARxBp/8cbvlwVa7Z1NHg9XEKhtSvM=", - version = "v1.0.0", - ) - - go_repository( - name = "com_github_jbenet_go_context", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/jbenet/go-context", - sum = "h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=", - version = "v0.0.0-20150711004518-d14ea06fba99", - ) - go_repository( - name = "com_github_jessevdk_go_flags", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/jessevdk/go-flags", - sum = "h1:4IU2WS7AumrZ/40jfhf4QVDMsQwqA7VEHozFRrGARJA=", - version = "v1.4.0", - ) - go_repository( - name = "com_github_jgautheron_goconst", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/jgautheron/goconst", - sum = "h1:7nkB9fLPMwtn/R6qfPcHileL/x9ydlhw8XyDrLI1ZXg=", - version = "v0.0.0-20201117150253-ccae5bf973f3", - ) - go_repository( - name = "com_github_jingyugao_rowserrcheck", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/jingyugao/rowserrcheck", - sum = "h1:GmsqmapfzSJkm28dhRoHz2tLRbJmqhU86IPgBtN3mmk=", - version = "v0.0.0-20191204022205-72ab7603b68a", - ) - go_repository( - name = "com_github_jirfag_go_printf_func_name", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/jirfag/go-printf-func-name", - sum = "h1:KA9BjwUk7KlCh6S9EAGWBt1oExIUv9WyNCiRz5amv48=", - version = "v0.0.0-20200119135958-7558a9eaa5af", - ) - go_repository( - name = "com_github_jmoiron_sqlx", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/jmoiron/sqlx", - sum = "h1:lrdPtrORjGv1HbbEvKWDUAy97mPpFm4B8hp77tcCUJY=", - version = "v1.2.1-0.20190826204134-d7d95172beb5", - ) - go_repository( - name = "com_github_jonboulle_clockwork", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/jonboulle/clockwork", - sum = "h1:VKV+ZcuP6l3yW9doeqz6ziZGgcynBVQO+obU0+0hcPo=", - version = "v0.1.0", - ) - - go_repository( - name = "com_github_json_iterator_go", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/json-iterator/go", - sum = "h1:MrUvLMLTMxbqFJ9kzlvat/rYZqZnW3u4wkLzWTaFwKs=", - version = "v1.1.6", - ) - go_repository( - name = "com_github_jstemmer_go_junit_report", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/jstemmer/go-junit-report", - sum = "h1:rBMNdlhTLzJjJSDIjNEXX1Pz3Hmwmz91v+zycvx9PJc=", - version = "v0.0.0-20190106144839-af01ea7f8024", - ) - go_repository( - name = "com_github_jtolds_gls", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/jtolds/gls", - sum = "h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo=", - version = "v4.20.0+incompatible", - ) - go_repository( - name = "com_github_julienschmidt_httprouter", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/julienschmidt/httprouter", - sum = "h1:TDTW5Yz1mjftljbcKqRcrYhd4XeOoI98t+9HbQbYf7g=", - version = "v1.2.0", - ) - - go_repository( - name = "com_github_kevinburke_ssh_config", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/kevinburke/ssh_config", - sum = "h1:DowS9hvgyYSX4TO5NpyC606/Z4SxnNYbT+WX27or6Ck=", - version = "v0.0.0-20201106050909-4977a11b4351", - ) - go_repository( - name = "com_github_kisielk_errcheck", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/kisielk/errcheck", - sum = "h1:ZqfnKyx9KGpRcW04j5nnPDgRgoXUeLh2YFBeFzphcA0=", - version = "v1.1.0", - ) - go_repository( - name = "com_github_kisielk_gotool", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/kisielk/gotool", - sum = "h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_klauspost_compress", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/klauspost/compress", - sum = "h1:wJbzvpYMVGG9iTI9VxpnNZfd4DzMPoCWze3GgSqz8yg=", - version = "v1.11.0", - ) - - go_repository( - name = "com_github_konsorten_go_windows_terminal_sequences", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/konsorten/go-windows-terminal-sequences", - sum = "h1:CE8S1cTafDpPvMhIxNJKvHsGVBgn1xWYf1NbHQhywc8=", - version = "v1.0.3", - ) - - go_repository( - name = "com_github_kr_fs", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/kr/fs", - sum = "h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8=", - version = "v0.1.0", - ) - go_repository( - name = "com_github_kr_logfmt", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/kr/logfmt", - sum = "h1:T+h1c/A9Gawja4Y9mFVWj2vyii2bbUNDw3kt9VxK2EY=", - version = "v0.0.0-20140226030751-b84e30acd515", - ) - go_repository( - name = "com_github_kr_pretty", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/kr/pretty", - sum = "h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=", - version = "v0.1.0", - ) - go_repository( - name = "com_github_kr_pty", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/kr/pty", - sum = "h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw=", - version = "v1.1.1", - ) - go_repository( - name = "com_github_kr_text", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/kr/text", - sum = "h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=", - version = "v0.2.0", - ) - - go_repository( - name = "com_github_kulti_thelper", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/kulti/thelper", - sum = "h1:ig1EW6yhDiRNN3dplbhdsW2gTvbxTz9i4q5Rr/tRfpk=", - version = "v0.1.0", - ) - go_repository( - name = "com_github_kunwardeep_paralleltest", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/kunwardeep/paralleltest", - sum = "h1:/jJRv0TiqPoEy/Y8dQxCFJhD56uS/pnvtatgTZBHokU=", - version = "v1.0.2", - ) - go_repository( - name = "com_github_kyoh86_exportloopref", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/kyoh86/exportloopref", - sum = "h1:5Ry/at+eFdkX9Vsdw3qU4YkvGtzuVfzT4X7S77LoN/M=", - version = "v0.1.8", - ) - go_repository( - name = "com_github_lib_pq", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/lib/pq", - sum = "h1:X5PMW56eZitiTeO7tKzZxFCSpbFZJtkMMooicw2us9A=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_logrusorgru_aurora", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/logrusorgru/aurora", - sum = "h1:9MlwzLdW7QSDrhDjFlsEYmxpFyIoXmYRon3dt0io31k=", - version = "v0.0.0-20181002194514-a7b3b318ed4e", - ) - go_repository( - name = "com_github_magiconair_properties", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/magiconair/properties", - sum = "h1:8KGKTcQQGm0Kv7vEbKFErAoAOFyyacLStRtQSeYtvkY=", - version = "v1.8.4", - ) - go_repository( - name = "com_github_maratori_testpackage", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/maratori/testpackage", - sum = "h1:QtJ5ZjqapShm0w5DosRjg0PRlSdAdlx+W6cCKoALdbQ=", - version = "v1.0.1", - ) - - go_repository( - name = "com_github_masterminds_goutils", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/Masterminds/goutils", - sum = "h1:zukEsf/1JZwCMgHiK3GZftabmxiCw4apj3a28RPBiVg=", - version = "v1.1.0", - ) - go_repository( - name = "com_github_masterminds_semver", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/Masterminds/semver", - sum = "h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3QEww=", - version = "v1.5.0", - ) - go_repository( - name = "com_github_masterminds_semver_v3", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/Masterminds/semver/v3", - sum = "h1:hLg3sBzpNErnxhQtUy/mmLR2I9foDujNK030IGemrRc=", - version = "v3.1.1", - ) - - go_repository( - name = "com_github_masterminds_sprig", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/Masterminds/sprig", - sum = "h1:z4yfnGrZ7netVz+0EDJ0Wi+5VZCSYp4Z0m2dk6cEM60=", - version = "v2.22.0+incompatible", - ) - go_repository( - name = "com_github_matoous_godox", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/matoous/godox", - sum = "h1:2U5rOmpaB96l35w+NDjMtmmrp2e6a6AJKoc4B5+7UwA=", - version = "v0.0.0-20200801072554-4fb83dc2941e", - ) - go_repository( - name = "com_github_mattn_go_colorable", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mattn/go-colorable", - sum = "h1:c1ghPdyEDarC70ftn0y+A/Ee++9zz8ljHG1b13eJ0s8=", - version = "v0.1.8", - ) - go_repository( - name = "com_github_mattn_go_isatty", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mattn/go-isatty", - sum = "h1:wuysRhFDzyxgEmMf5xjvJ2M9dZoWAXNNr5LSBS7uHXY=", - version = "v0.0.12", - ) - go_repository( - name = "com_github_mattn_go_sqlite3", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mattn/go-sqlite3", - sum = "h1:pDRiWfl+++eC2FEFRy6jXmQlvp4Yh3z1MJKg4UeYM/4=", - version = "v1.9.0", - ) - - go_repository( - name = "com_github_mattn_goveralls", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mattn/goveralls", - sum = "h1:7eJB6EqsPhRVxvwEXGnqdO2sJI0PTsrWoTMXEk9/OQc=", - version = "v0.0.2", - ) - go_repository( - name = "com_github_matttproud_golang_protobuf_extensions", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/matttproud/golang_protobuf_extensions", - sum = "h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU=", - version = "v1.0.1", - ) - - go_repository( - name = "com_github_mbilski_exhaustivestruct", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mbilski/exhaustivestruct", - sum = "h1:4ykwscnAFeHJruT+EY3M3vdeP8uXMh0VV2E61iR7XD8=", - version = "v1.1.0", - ) - go_repository( - name = "com_github_microsoft_go_winio", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/Microsoft/go-winio", - sum = "h1:FtSW/jqD+l4ba5iPBj9CODVtgfYAD8w2wS923g/cFDk=", - version = "v0.4.16", - ) - go_repository( - name = "com_github_miekg_dns", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/miekg/dns", - sum = "h1:9jZdLNd/P4+SfEJ0TNyxYpsK8N4GtfylBLqtbYN1sbA=", - version = "v1.0.14", - ) - go_repository( - name = "com_github_mitchellh_cli", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mitchellh/cli", - sum = "h1:iGBIsUe3+HZ/AD/Vd7DErOt5sU9fa8Uj7A2s1aggv1Y=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_mitchellh_copystructure", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mitchellh/copystructure", - sum = "h1:Laisrj+bAB6b/yJwB5Bt3ITZhGJdqmxquMKeZ+mmkFQ=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_mitchellh_go_homedir", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mitchellh/go-homedir", - sum = "h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=", - version = "v1.1.0", - ) - go_repository( - name = "com_github_mitchellh_go_ps", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mitchellh/go-ps", - sum = "h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc=", - version = "v1.0.0", - ) - - go_repository( - name = "com_github_mitchellh_go_testing_interface", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mitchellh/go-testing-interface", - sum = "h1:fzU/JVNcaqHQEcVFAKeR41fkiLdIPrefOvVG1VZ96U0=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_mitchellh_gox", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mitchellh/gox", - sum = "h1:lfGJxY7ToLJQjHHwi0EX6uYBdK78egf954SQl13PQJc=", - version = "v0.4.0", - ) - go_repository( - name = "com_github_mitchellh_iochan", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mitchellh/iochan", - sum = "h1:C+X3KsSTLFVBr/tK1eYN/vs4rJcvsiLU338UhYPJWeY=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_mitchellh_mapstructure", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mitchellh/mapstructure", - sum = "h1:7ks8ZkOP5/ujthUsT07rNv+nkLXCQWKNHuwzOAesEks=", - version = "v1.4.0", - ) - - go_repository( - name = "com_github_mitchellh_reflectwalk", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mitchellh/reflectwalk", - sum = "h1:FVzMWA5RllMAKIdUSC8mdWo3XtwoecrH79BY70sEEpE=", - version = "v1.0.1", - ) - go_repository( - name = "com_github_modern_go_concurrent", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/modern-go/concurrent", - sum = "h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=", - version = "v0.0.0-20180306012644-bacd9c7ef1dd", - ) - go_repository( - name = "com_github_modern_go_reflect2", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/modern-go/reflect2", - sum = "h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=", - version = "v1.0.1", - ) - go_repository( - name = "com_github_moricho_tparallel", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/moricho/tparallel", - sum = "h1:95FytivzT6rYzdJLdtfn6m1bfFJylOJK41+lgv/EHf4=", - version = "v0.2.1", - ) - go_repository( - name = "com_github_mozilla_tls_observatory", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mozilla/tls-observatory", - sum = "h1:1xJ+Xi9lYWLaaP4yB67ah0+548CD3110mCPWhVVjFkI=", - version = "v0.0.0-20200317151703-4fa42e1c2dee", - ) - go_repository( - name = "com_github_mwitkow_go_conntrack", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/mwitkow/go-conntrack", - sum = "h1:F9x/1yl3T2AeKLr2AMdilSD8+f9bvMnNN8VS5iDtovc=", - version = "v0.0.0-20161129095857-cc309e4a2223", - ) - go_repository( - name = "com_github_nakabonne_nestif", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/nakabonne/nestif", - sum = "h1:+yOViDGhg8ygGrmII72nV9B/zGxY188TYpfolntsaPw=", - version = "v0.3.0", - ) - go_repository( - name = "com_github_nbutton23_zxcvbn_go", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/nbutton23/zxcvbn-go", - sum = "h1:AREM5mwr4u1ORQBMvzfzBgpsctsbQikCVpvC+tX285E=", - version = "v0.0.0-20180912185939-ae427f1e4c1d", - ) - go_repository( - name = "com_github_niemeyer_pretty", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/niemeyer/pretty", - sum = "h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=", - version = "v0.0.0-20200227124842-a10e7caefd8e", - ) - - go_repository( - name = "com_github_nishanths_exhaustive", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/nishanths/exhaustive", - sum = "h1:kVlMw8h2LHPMGUVqUj6230oQjjTMFjwcZrnkhXzFfl8=", - version = "v0.1.0", - ) - go_repository( - name = "com_github_nxadm_tail", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/nxadm/tail", - sum = "h1:DQuhQpB1tVlglWS2hLQ5OV6B5r8aGxSrPc5Qo6uTN78=", - version = "v1.4.4", - ) - go_repository( - name = "com_github_oklog_ulid", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/oklog/ulid", - sum = "h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4=", - version = "v1.3.1", - ) - go_repository( - name = "com_github_oneofone_xxhash", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/OneOfOne/xxhash", - sum = "h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE=", - version = "v1.2.2", - ) - go_repository( - name = "com_github_onsi_ginkgo", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/onsi/ginkgo", - sum = "h1:jMU0WaQrP0a/YAEq8eJmJKjBoMs+pClEr1vDMlM/Do4=", - version = "v1.14.1", - ) - go_repository( - name = "com_github_onsi_gomega", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/onsi/gomega", - sum = "h1:aY/nuoWlKJud2J6U0E3NWsjlg+0GtwXxgEqthRdzlcs=", - version = "v1.10.2", - ) - go_repository( - name = "com_github_op_go_logging", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/op/go-logging", - sum = "h1:lDH9UUVJtmYCjyT0CI4q8xvlXPxeZ0gYCVvWbmPlp88=", - version = "v0.0.0-20160315200505-970db520ece7", - ) - go_repository( - name = "com_github_openpeedeep_depguard", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/OpenPeeDeeP/depguard", - sum = "h1:VlW4R6jmBIv3/u1JNlawEvJMM4J+dPORPaZasQee8Us=", - version = "v1.0.1", - ) - - go_repository( - name = "com_github_pascaldekloe_goe", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/pascaldekloe/goe", - sum = "h1:Lgl0gzECD8GnQ5QCWA8o6BtfL6mDH5rQgM4/fX3avOs=", - version = "v0.0.0-20180627143212-57f6aae5913c", - ) - go_repository( - name = "com_github_pborman_uuid", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/pborman/uuid", - sum = "h1:J7Q5mO4ysT1dv8hyrUGHb9+ooztCXu1D8MY8DZYsu3g=", - version = "v1.2.0", - ) - go_repository( - name = "com_github_pelletier_go_toml", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/pelletier/go-toml", - sum = "h1:1Nf83orprkJyknT6h7zbuEGUEjcyVlCxSUGTENmNCRM=", - version = "v1.8.1", - ) - go_repository( - name = "com_github_phayes_checkstyle", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/phayes/checkstyle", - sum = "h1:CdDQnGF8Nq9ocOS/xlSptM1N3BbrA6/kmaep5ggwaIA=", - version = "v0.0.0-20170904204023-bfd46e6a821d", - ) - go_repository( - name = "com_github_pkg_errors", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/pkg/errors", - sum = "h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=", - version = "v0.9.1", - ) - - go_repository( - name = "com_github_pkg_sftp", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/pkg/sftp", - sum = "h1:VasscCm72135zRysgrJDKsntdmPN+OuU3+nnHYA9wyc=", - version = "v1.10.1", - ) - go_repository( - name = "com_github_pmezard_go_difflib", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/pmezard/go-difflib", - sum = "h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=", - version = "v1.0.0", - ) - - go_repository( - name = "com_github_polyfloyd_go_errorlint", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/polyfloyd/go-errorlint", - sum = "h1:xAw10KgJqG5NJDfmRqJ05Z0IFblKumjtMeyiOLxj3+4=", - version = "v0.0.0-20201127212506-19bd8db6546f", - ) - go_repository( - name = "com_github_posener_complete", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/posener/complete", - sum = "h1:ccV59UEOTzVDnDUEFdT95ZzHVZ+5+158q8+SJb2QV5w=", - version = "v1.1.1", - ) - go_repository( - name = "com_github_prometheus_client_golang", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/prometheus/client_golang", - sum = "h1:9iH4JKXLzFbOAdtqv/a+j8aewx2Y8lAjAydhbaScPF8=", - version = "v0.9.3", - ) - go_repository( - name = "com_github_prometheus_client_model", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/prometheus/client_model", - sum = "h1:S/YWwWx/RA8rT8tKFRuGUZhuA90OyIBpPCXkcbwU8DE=", - version = "v0.0.0-20190129233127-fd36f4220a90", - ) - go_repository( - name = "com_github_prometheus_common", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/prometheus/common", - sum = "h1:7etb9YClo3a6HjLzfl6rIQaU+FDfi0VSX39io3aQ+DM=", - version = "v0.4.0", - ) - go_repository( - name = "com_github_prometheus_procfs", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/prometheus/procfs", - sum = "h1:sofwID9zm4tzrgykg80hfFph1mryUeLRsUfoocVVmRY=", - version = "v0.0.0-20190507164030-5867b95ac084", - ) - go_repository( - name = "com_github_prometheus_tsdb", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/prometheus/tsdb", - sum = "h1:YZcsG11NqnK4czYLrWd9mpEuAJIHVQLwdrleYfszMAA=", - version = "v0.7.1", - ) - go_repository( - name = "com_github_quasilyte_go_consistent", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/quasilyte/go-consistent", - sum = "h1:JoUA0uz9U0FVFq5p4LjEq4C0VgQ0El320s3Ms0V4eww=", - version = "v0.0.0-20190521200055-c6f3937de18c", - ) - - go_repository( - name = "com_github_quasilyte_go_ruleguard", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/quasilyte/go-ruleguard", - sum = "h1:56eRm0daAyny9UhJnmtJW/UyLZQusukBAB8oT8AHKHo=", - version = "v0.2.1", - ) - go_repository( - name = "com_github_quasilyte_regex_syntax", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/quasilyte/regex/syntax", - sum = "h1:+gtJ/Pwj2dgUGlZgTrNFqajGYKZQc7Piqus/S6DK9CE=", - version = "v0.0.0-20200805063351-8f842688393c", - ) - go_repository( - name = "com_github_rogpeppe_fastuuid", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/rogpeppe/fastuuid", - sum = "h1:gu+uRPtBe88sKxUCEXRoeCvVG90TJmwhiqRpvdhQFng=", - version = "v0.0.0-20150106093220-6724a57986af", - ) - go_repository( - name = "com_github_rogpeppe_go_internal", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/rogpeppe/go-internal", - sum = "h1:aIihoIOHCiLZHxyoNQ+ABL4NKhFTgKLBdMLyEAh98m0=", - version = "v1.6.2", - ) - - go_repository( - name = "com_github_russross_blackfriday_v2", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/russross/blackfriday/v2", - sum = "h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=", - version = "v2.0.1", - ) - go_repository( - name = "com_github_ryancurrah_gomodguard", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/ryancurrah/gomodguard", - sum = "h1:YWfhGOrXwLGiqcC/u5EqG6YeS8nh+1fw0HEc85CVZro=", - version = "v1.2.0", - ) - - go_repository( - name = "com_github_ryanrolds_sqlclosecheck", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/ryanrolds/sqlclosecheck", - sum = "h1:AZx+Bixh8zdUBxUA1NxbxVAS78vTPq4rCb8OUZI9xFw=", - version = "v0.3.0", - ) - go_repository( - name = "com_github_ryanuber_columnize", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/ryanuber/columnize", - sum = "h1:UFr9zpz4xgTnIE5yIMtWAMngCdZ9p/+q6lTbgelo80M=", - version = "v0.0.0-20160712163229-9b3edd62028f", - ) - go_repository( - name = "com_github_sassoftware_go_rpmutils", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/sassoftware/go-rpmutils", - sum = "h1:+gCnWOZV8Z/8jehJ2CdqB47Z3S+SREmQcuXkRFLNsiI=", - version = "v0.0.0-20190420191620-a8f1baeba37b", - ) - - go_repository( - name = "com_github_sean_seed", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/sean-/seed", - sum = "h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I=", - version = "v0.0.0-20170313163322-e2103e2c3529", - ) - go_repository( - name = "com_github_securego_gosec_v2", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/securego/gosec/v2", - sum = "h1:kjfXLeKdk98gBe2+eYRFMpC4+mxmQQtbidpiiOQ69Qc=", - version = "v2.5.0", - ) - - go_repository( - name = "com_github_sergi_go_diff", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/sergi/go-diff", - sum = "h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=", - version = "v1.1.0", - ) - go_repository( - name = "com_github_shazow_go_diff", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/shazow/go-diff", - sum = "h1:W65qqJCIOVP4jpqPQ0YvHYKwcMEMVWIzWC5iNQQfBTU=", - version = "v0.0.0-20160112020656-b6b7b6733b8c", - ) - go_repository( - name = "com_github_shirou_gopsutil", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/shirou/gopsutil", - sum = "h1:WokF3GuxBeL+n4Lk4Fa8v9mbdjlrl7bHuneF4N1bk2I=", - version = "v0.0.0-20190901111213-e4ec7b275ada", - ) - go_repository( - name = "com_github_shirou_w32", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/shirou/w32", - sum = "h1:udFKJ0aHUL60LboW/A+DfgoHVedieIzIXE8uylPue0U=", - version = "v0.0.0-20160930032740-bb4de0191aa4", - ) - go_repository( - name = "com_github_shurcool_go", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/shurcooL/go", - sum = "h1:MZM7FHLqUHYI0Y/mQAt3d2aYa0SiNms/hFqC9qJYolM=", - version = "v0.0.0-20180423040247-9e1955d9fb6e", - ) - go_repository( - name = "com_github_shurcool_go_goon", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/shurcooL/go-goon", - sum = "h1:llrF3Fs4018ePo4+G/HV/uQUqEI1HMDjCeOf2V6puPc=", - version = "v0.0.0-20170922171312-37c2f522c041", - ) - - go_repository( - name = "com_github_shurcool_sanitized_anchor_name", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/shurcooL/sanitized_anchor_name", - sum = "h1:PdmoCO6wvbs+7yrJyMORt4/BmY5IYyJwS/kOiWx8mHo=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_sirupsen_logrus", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/sirupsen/logrus", - sum = "h1:ShrD1U9pZB12TX0cVy0DtePoCH97K8EtX+mg7ZARUtM=", - version = "v1.7.0", - ) - go_repository( - name = "com_github_smartystreets_assertions", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/smartystreets/assertions", - sum = "h1:UVQPSSmc3qtTi+zPPkCXvZX9VvW/xT/NsRvKfwY81a8=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_smartystreets_goconvey", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/smartystreets/goconvey", - sum = "h1:fv0U8FUIMPNf1L9lnHLvLhgicrIVChEkdzIKYqbNC9s=", - version = "v1.6.4", - ) - go_repository( - name = "com_github_soheilhy_cmux", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/soheilhy/cmux", - sum = "h1:0HKaf1o97UwFjHH9o5XsHUOF+tqmdA7KEzXLpiyaw0E=", - version = "v0.1.4", - ) - - go_repository( - name = "com_github_sonatard_noctx", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/sonatard/noctx", - sum = "h1:VC1Qhl6Oxx9vvWo3UDgrGXYCeKCe3Wbw7qAWL6FrmTY=", - version = "v0.0.1", - ) - go_repository( - name = "com_github_sourcegraph_go_diff", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/sourcegraph/go-diff", - sum = "h1:hmA1LzxW0n1c3Q4YbrFgg4P99GSnebYa3x8gr0HZqLQ=", - version = "v0.6.1", - ) - go_repository( - name = "com_github_spaolacci_murmur3", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/spaolacci/murmur3", - sum = "h1:qLC7fQah7D6K1B0ujays3HV9gkFtllcxhzImRR7ArPQ=", - version = "v0.0.0-20180118202830-f09979ecbc72", - ) - go_repository( - name = "com_github_spf13_afero", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/spf13/afero", - sum = "h1:VHu76Lk0LSP1x254maIu2bplkWpfBWI+B+6fdoZprcg=", - version = "v1.5.1", - ) - go_repository( - name = "com_github_spf13_cast", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/spf13/cast", - sum = "h1:nFm6S0SMdyzrzcmThSipiEubIDy8WEXKNZ0UOgiRpng=", - version = "v1.3.1", - ) - go_repository( - name = "com_github_spf13_cobra", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/spf13/cobra", - sum = "h1:KfztREH0tPxJJ+geloSLaAkaPkr4ki2Er5quFV1TDo4=", - version = "v1.1.1", - ) - go_repository( - name = "com_github_spf13_jwalterweatherman", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/spf13/jwalterweatherman", - sum = "h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=", - version = "v1.1.0", - ) - go_repository( - name = "com_github_spf13_pflag", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/spf13/pflag", - sum = "h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=", - version = "v1.0.5", - ) - go_repository( - name = "com_github_spf13_viper", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/spf13/viper", - sum = "h1:pM5oEahlgWv/WnHXpgbKz7iLIxRf65tye2Ci+XFK5sk=", - version = "v1.7.1", - ) - - go_repository( - name = "com_github_ssgreg_nlreturn_v2", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/ssgreg/nlreturn/v2", - sum = "h1:6/s4Rc49L6Uo6RLjhWZGBpWWjfzk2yrf1nIW8m4wgVA=", - version = "v2.1.0", - ) - go_repository( - name = "com_github_stackexchange_wmi", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/StackExchange/wmi", - sum = "h1:fLjPD/aNc3UIOA6tDi6QXUemppXK3P9BI7mr2hd6gx8=", - version = "v0.0.0-20180116203802-5d049714c4a6", - ) - go_repository( - name = "com_github_stretchr_objx", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/stretchr/objx", - sum = "h1:NGXK3lHquSN08v5vWalVI/L8XU9hdzE/G6xsrze47As=", - version = "v0.3.0", - ) - go_repository( - name = "com_github_stretchr_testify", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/stretchr/testify", - sum = "h1:hDPOHmpOpP40lSULcqw7IrRb/u7w6RpDC9399XyoNd0=", - version = "v1.6.1", - ) - go_repository( - name = "com_github_subosito_gotenv", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/subosito/gotenv", - sum = "h1:Slr1R9HxAlEKefgq5jn9U+DnETlIUa6HfgEzj0g5d7s=", - version = "v1.2.0", - ) - go_repository( - name = "com_github_tdakkota_asciicheck", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/tdakkota/asciicheck", - sum = "h1:HxLVTlqcHhFAz3nWUcuvpH7WuOMv8LQoCWmruLfFH2U=", - version = "v0.0.0-20200416200610-e657995f937b", - ) - go_repository( - name = "com_github_tetafro_godot", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/tetafro/godot", - sum = "h1:HzWC3XjadkyeuBZxkfAFNY20UVvle0YD51I6zf6RKlU=", - version = "v1.3.2", - ) - go_repository( - name = "com_github_timakin_bodyclose", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/timakin/bodyclose", - sum = "h1:ig99OeTyDwQWhPe2iw9lwfQVF1KB3Q4fpP3X7/2VBG8=", - version = "v0.0.0-20200424151742-cb6215831a94", - ) - go_repository( - name = "com_github_tmc_grpc_websocket_proxy", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/tmc/grpc-websocket-proxy", - sum = "h1:LnC5Kc/wtumK+WB441p7ynQJzVuNRJiqddSIE3IlSEQ=", - version = "v0.0.0-20190109142713-0ad062ec5ee5", - ) - - go_repository( - name = "com_github_tomarrell_wrapcheck", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/tomarrell/wrapcheck", - sum = "h1:zV5mu0ESwb+WnzqVaW2z1DdbAP0S46UtjY8DHQupQP4=", - version = "v0.0.0-20201130113247-1683564d9756", - ) - go_repository( - name = "com_github_tommy_muehle_go_mnd", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/tommy-muehle/go-mnd", - sum = "h1:Y0bLA422kvb32uZI4fy/Plop/Tbld0l9pSzl+j1FWok=", - version = "v1.3.1-0.20201008215730-16041ac3fe65", - ) - - go_repository( - name = "com_github_ulikunitz_xz", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/ulikunitz/xz", - sum = "h1:RsKRIA2MO8x56wkkcd3LbtcE/uMszhb6DpRf+3uwa3I=", - version = "v0.5.9", - ) - go_repository( - name = "com_github_ultraware_funlen", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/ultraware/funlen", - sum = "h1:5ylVWm8wsNwH5aWo9438pwvsK0QiqVuUrt9bn7S/iLA=", - version = "v0.0.3", - ) - go_repository( - name = "com_github_ultraware_whitespace", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/ultraware/whitespace", - sum = "h1:If7Va4cM03mpgrNH9k49/VOicWpGoG70XPBFFODYDsg=", - version = "v0.0.4", - ) - go_repository( - name = "com_github_uudashr_gocognit", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/uudashr/gocognit", - sum = "h1:MoG2fZ0b/Eo7NXoIwCVFLG5JED3qgQz5/NEE+rOsjPs=", - version = "v1.0.1", - ) - go_repository( - name = "com_github_valyala_bytebufferpool", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/valyala/bytebufferpool", - sum = "h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=", - version = "v1.0.0", - ) - go_repository( - name = "com_github_valyala_fasthttp", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/valyala/fasthttp", - sum = "h1:9zAqOYLl8Tuy3E5R6ckzGDJ1g8+pw15oQp2iL9Jl6gQ=", - version = "v1.16.0", - ) - go_repository( - name = "com_github_valyala_quicktemplate", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/valyala/quicktemplate", - sum = "h1:O7EuMwuH7Q94U2CXD6sOX8AYHqQqWtmIk690IhmpkKA=", - version = "v1.6.3", - ) - go_repository( - name = "com_github_valyala_tcplisten", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/valyala/tcplisten", - sum = "h1:0R4NLDRDZX6JcmhJgXi5E4b8Wg84ihbmUKp/GvSPEzc=", - version = "v0.0.0-20161114210144-ceec8f93295a", - ) - - go_repository( - name = "com_github_xanzy_ssh_agent", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/xanzy/ssh-agent", - sum = "h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI=", - version = "v0.3.0", - ) - go_repository( - name = "com_github_xi2_xz", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/xi2/xz", - sum = "h1:nIPpBwaJSVYIxUFsDv3M8ofmx9yWTog9BfvIu0q41lo=", - version = "v0.0.0-20171230120015-48954b6210f8", - ) - go_repository( - name = "com_github_xiang90_probing", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/xiang90/probing", - sum = "h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8=", - version = "v0.0.0-20190116061207-43a291ad63a2", - ) - - go_repository( - name = "com_github_yuin_goldmark", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "github.com/yuin/goldmark", - sum = "h1:ruQGxdhGHe7FWOJPT0mKs5+pD2Xs1Bm/kdGlHO04FmM=", - version = "v1.2.1", - ) - go_repository( - name = "com_google_cloud_go", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "cloud.google.com/go", - sum = "h1:AVXDdKsrtX33oR9fbCMu/+c1o8Ofjq6Ku/MInaLVg5Y=", - version = "v0.46.3", - ) - - go_repository( - name = "com_google_cloud_go_bigquery", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "cloud.google.com/go/bigquery", - sum = "h1:hL+ycaJpVE9M7nLoiXb/Pn10ENE2u+oddxbD8uu0ZVU=", - version = "v1.0.1", - ) - go_repository( - name = "com_google_cloud_go_datastore", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "cloud.google.com/go/datastore", - sum = "h1:Kt+gOPPp2LEPWp8CSfxhsM8ik9CcyE/gYu+0r+RnZvM=", - version = "v1.0.0", - ) - go_repository( - name = "com_google_cloud_go_firestore", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "cloud.google.com/go/firestore", - sum = "h1:9x7Bx0A9R5/M9jibeJeZWqjeVEIxYW9fZYqB9a70/bY=", - version = "v1.1.0", - ) - go_repository( - name = "com_google_cloud_go_pubsub", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "cloud.google.com/go/pubsub", - sum = "h1:W9tAK3E57P75u0XLLR82LZyw8VpAnhmyTOxW9qzmyj8=", - version = "v1.0.1", - ) - go_repository( - name = "com_google_cloud_go_storage", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "cloud.google.com/go/storage", - sum = "h1:VV2nUM3wwLLGh9lSABFgZMjInyUbJeaRSE64WuAIQ+4=", - version = "v1.0.0", - ) - go_repository( - name = "com_shuralyov_dmitri_gpu_mtl", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "dmitri.shuralyov.com/gpu/mtl", - sum = "h1:VpgP7xuJadIUuKccphEpTJnWhS2jkQyMt6Y7pJCD7fY=", - version = "v0.0.0-20190408044501-666a987793e9", - ) - go_repository( - name = "in_gopkg_alecthomas_kingpin_v2", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "gopkg.in/alecthomas/kingpin.v2", - sum = "h1:jMFz6MfLP0/4fUyZle81rXUoxOBFi19VUFKVDOQfozc=", - version = "v2.2.6", - ) - go_repository( - name = "in_gopkg_check_v1", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "gopkg.in/check.v1", - sum = "h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU=", - version = "v1.0.0-20200227125254-8fa46927fb4f", - ) - go_repository( - name = "in_gopkg_errgo_v2", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "gopkg.in/errgo.v2", - sum = "h1:0vLT13EuvQ0hNvakwLuFZ/jYrLp5F3kcWHXdRggjCE8=", - version = "v2.1.0", - ) - go_repository( - name = "in_gopkg_fsnotify_v1", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "gopkg.in/fsnotify.v1", - sum = "h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4=", - version = "v1.4.7", - ) - go_repository( - name = "in_gopkg_ini_v1", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "gopkg.in/ini.v1", - sum = "h1:duBzk771uxoUuOlyRLkHsygud9+5lrlGjdFBb4mSKDU=", - version = "v1.62.0", - ) - go_repository( - name = "in_gopkg_resty_v1", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "gopkg.in/resty.v1", - sum = "h1:CuXP0Pjfw9rOuY6EP+UvtNvt5DSqHpIxILZKT/quCZI=", - version = "v1.12.0", - ) - go_repository( - name = "in_gopkg_tomb_v1", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "gopkg.in/tomb.v1", - sum = "h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=", - version = "v1.0.0-20141024135613-dd632973f1e7", - ) - - go_repository( - name = "in_gopkg_warnings_v0", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "gopkg.in/warnings.v0", - sum = "h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=", - version = "v0.1.2", - ) - go_repository( - name = "in_gopkg_yaml_v2", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "gopkg.in/yaml.v2", - sum = "h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=", - version = "v2.4.0", - ) - - go_repository( - name = "in_gopkg_yaml_v3", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "gopkg.in/yaml.v3", - sum = "h1:tQIYjPdBoyREyB9XMu+nnTclpTYkz2zFM+lzLJFO4gQ=", - version = "v3.0.0-20200615113413-eeeca48fe776", - ) - go_repository( - name = "io_etcd_go_bbolt", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "go.etcd.io/bbolt", - sum = "h1:Z/90sZLPOeCy2PwprqkFa25PdkusRzaj9P8zm/KNyvk=", - version = "v1.3.2", - ) - - go_repository( - name = "io_opencensus_go", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "go.opencensus.io", - sum = "h1:C9hSCOW830chIVkdja34wa6Ky+IzWllkUinR+BtRZd4=", - version = "v0.22.0", - ) - go_repository( - name = "io_rsc_binaryregexp", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "rsc.io/binaryregexp", - sum = "h1:HfqmD5MEmC0zvwBuF187nq9mdnXjXsSivRiXN7SmRkE=", - version = "v0.2.0", - ) - go_repository( - name = "org_golang_google_api", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "google.golang.org/api", - sum = "h1:Q3Ui3V3/CVinFWFiW39Iw0kMuVrRzYX0wN6OPFp0lTA=", - version = "v0.13.0", - ) - go_repository( - name = "org_golang_google_appengine", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "google.golang.org/appengine", - sum = "h1:QzqyMA1tlu6CgqCDUtU9V+ZKhLFT2dkJuANu5QaxI3I=", - version = "v1.6.1", - ) - go_repository( - name = "org_golang_google_genproto", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "google.golang.org/genproto", - sum = "h1:Ob5/580gVHBJZgXnff1cZDbG+xLtMVE5mDRTe+nIsX4=", - version = "v0.0.0-20191108220845-16a3f7862a1a", - ) - go_repository( - name = "org_golang_google_grpc", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "google.golang.org/grpc", - sum = "h1:j6XxA85m/6txkUCHvzlV5f+HBNl/1r5cZ2A/3IEFOO8=", - version = "v1.21.1", - ) - - go_repository( - name = "org_golang_google_protobuf", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "google.golang.org/protobuf", - sum = "h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM=", - version = "v1.23.0", - ) - go_repository( - name = "org_golang_x_crypto", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/crypto", - sum = "h1:sYNJzB4J8toYPQTM6pAkcmBRgw9SnQKP9oXCHfgy604=", - version = "v0.0.0-20201208171446-5f87f3452ae9", - ) - - go_repository( - name = "org_golang_x_exp", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/exp", - sum = "h1:A1gGSx58LAGVHUUsOf7IiR0u8Xb6W51gRwfDBhkdcaw=", - version = "v0.0.0-20191030013958-a1ab85dbe136", - ) - go_repository( - name = "org_golang_x_image", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/image", - sum = "h1:+qEpEAPhDZ1o0x3tHzZTQDArnOixOzGD9HUJfcg0mb4=", - version = "v0.0.0-20190802002840-cff245a6509b", - ) - go_repository( - name = "org_golang_x_lint", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/lint", - sum = "h1:5hukYrvBGR8/eNkX5mdUezrA6JiaEZDtJb9Ei+1LlBs=", - version = "v0.0.0-20190930215403-16217165b5de", - ) - - go_repository( - name = "org_golang_x_mobile", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/mobile", - sum = "h1:4+4C/Iv2U4fMZBiMCc98MG1In4gJY5YRhtpDNeDeHWs=", - version = "v0.0.0-20190719004257-d2bd2a29d028", - ) - go_repository( - name = "org_golang_x_mod", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/mod", - sum = "h1:8pl+sMODzuvGJkmj2W4kZihvVb5mKm8pB/X44PIQHv8=", - version = "v0.4.0", - ) - go_repository( - name = "org_golang_x_net", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/net", - sum = "h1:lwlPPsmjDKK0J6eG6xDWd5XPehI0R024zxjDnw3esPA=", - version = "v0.0.0-20201209123823-ac852fbbde11", - ) - go_repository( - name = "org_golang_x_oauth2", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/oauth2", - sum = "h1:SVwTIAaPC2U/AvvLNZ2a7OVsmBpC8L5BlwK1whH3hm0=", - version = "v0.0.0-20190604053449-0f29369cfe45", - ) - go_repository( - name = "org_golang_x_sync", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/sync", - sum = "h1:SQFwaSi55rU7vdNs9Yr0Z324VNlrF+0wMqRXT4St8ck=", - version = "v0.0.0-20201020160332-67f06af15bc9", - ) - go_repository( - name = "org_golang_x_sys", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/sys", - sum = "h1:MiWWjyhUzZ+jvhZvloX6ZrUsdEghn8a64Upd8EMHglE=", - version = "v0.0.0-20201207223542-d4d67f95c62d", - ) - - go_repository( - name = "org_golang_x_term", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/term", - sum = "h1:v+OssWQX+hTHEmOBgwxdZxK4zHq3yOs8F9J7mk0PY8E=", - version = "v0.0.0-20201126162022-7de9c90e9dd1", - ) - go_repository( - name = "org_golang_x_text", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/text", - sum = "h1:0YWbFKbhXG/wIiuHDSKpS0Iy7FSA+u45VtBMfQcFTTc=", - version = "v0.3.4", - ) - go_repository( - name = "org_golang_x_time", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/time", - sum = "h1:SvFZT6jyqRaOeXpc5h/JSfZenJ2O330aBsf7JfSUXmQ=", - version = "v0.0.0-20190308202827-9d24e82272b4", - ) - go_repository( - name = "org_golang_x_tools", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/tools", - sum = "h1:vEtypaVub6UvKkiXZ2xx9QIvp9TL7sI7xp7vdi2kezA=", - version = "v0.0.0-20201208233053-a543418bbed2", - ) - go_repository( - name = "org_golang_x_xerrors", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "golang.org/x/xerrors", - sum = "h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE=", - version = "v0.0.0-20200804184101-5ec99f83aff1", - ) - go_repository( - name = "org_uber_go_atomic", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "go.uber.org/atomic", - sum = "h1:cxzIVoETapQEqDhQu3QfnvXAV4AlzcvUCxkVUFw3+EU=", - version = "v1.4.0", - ) - go_repository( - name = "org_uber_go_multierr", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "go.uber.org/multierr", - sum = "h1:HoEmRHQPVSqub6w2z2d2EOVs2fjyFRGyofhKuyDq0QI=", - version = "v1.1.0", - ) - go_repository( - name = "org_uber_go_zap", - build_directives = ["gazelle:go_naming_convention_external go_default_library"], - importpath = "go.uber.org/zap", - sum = "h1:ORx85nbTijNz8ljznvCMR1ZBIPKFn3jQrag10X2AsuM=", - version = "v1.10.0", - ) From 4f478f446ff788a31787a3bc7a3148cc4e1658c0 Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Mon, 24 Mar 2025 18:28:01 +0100 Subject: [PATCH 04/13] Fixed. --- BUILD.bazel | 2 +- deps.bzl | 814 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 815 insertions(+), 1 deletion(-) create mode 100644 deps.bzl diff --git a/BUILD.bazel b/BUILD.bazel index ed67d55..5cc7c5c 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -26,7 +26,7 @@ gazelle(name = "gazelle") gazelle( name = "gazelle-update-repos", args = [ - "-from_file=go/go.mod", + "-from_file=go/v2/go.mod", "-to_macro=deps.bzl%go_dependencies", "-prune", "-build_file_proto_mode=disable_global", diff --git a/deps.bzl b/deps.bzl new file mode 100644 index 0000000..ec90ff5 --- /dev/null +++ b/deps.bzl @@ -0,0 +1,814 @@ +load("@bazel_gazelle//:deps.bzl", "go_repository") + +def go_dependencies(): + go_repository( + name = "cat_dario_mergo", + build_file_proto_mode = "disable_global", + importpath = "dario.cat/mergo", + sum = "h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s=", + version = "v1.0.1", + ) + go_repository( + name = "com_github_alecthomas_assert_v2", + build_file_proto_mode = "disable_global", + importpath = "github.com/alecthomas/assert/v2", + sum = "h1:2Q9r3ki8+JYXvGsDyBXwH3LcJ+WK5D0gc5E8vS6K3D0=", + version = "v2.11.0", + ) + go_repository( + name = "com_github_alecthomas_kong", + build_file_proto_mode = "disable_global", + importpath = "github.com/alecthomas/kong", + sum = "h1:Wgg0ll5Ys7xDnpgYBuBn/wPeLGAuK0NvYmEcisJgrIs=", + version = "v1.9.0", + ) + go_repository( + name = "com_github_alecthomas_repr", + build_file_proto_mode = "disable_global", + importpath = "github.com/alecthomas/repr", + sum = "h1:GhI2A8MACjfegCPVq9f1FLvIBS+DrQ2KQBFZP1iFzXc=", + version = "v0.4.0", + ) + go_repository( + name = "com_github_aleksi_pointer", + build_file_proto_mode = "disable_global", + importpath = "github.com/AlekSi/pointer", + sum = "h1:glcy/gc4h8HnG2Z3ZECSzZ1IX1x2JxRVuDzaJwQE0+w=", + version = "v1.2.0", + ) + go_repository( + name = "com_github_anmitsu_go_shlex", + build_file_proto_mode = "disable_global", + importpath = "github.com/anmitsu/go-shlex", + sum = "h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8=", + version = "v0.0.0-20200514113438-38f4b401e2be", + ) + go_repository( + name = "com_github_armon_go_socks5", + build_file_proto_mode = "disable_global", + importpath = "github.com/armon/go-socks5", + sum = "h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=", + version = "v0.0.0-20160902184237-e75332964ef5", + ) + go_repository( + name = "com_github_bahlo_generic_list_go", + build_file_proto_mode = "disable_global", + importpath = "github.com/bahlo/generic-list-go", + sum = "h1:5sz/EEAK+ls5wF+NeqDpk5+iNdMDXrh3z3nPnH1Wvgk=", + version = "v0.2.0", + ) + go_repository( + name = "com_github_blakesmith_ar", + build_file_proto_mode = "disable_global", + importpath = "github.com/blakesmith/ar", + sum = "h1:m935MPodAbYS46DG4pJSv7WO+VECIWUQ7OJYSoTrMh4=", + version = "v0.0.0-20190502131153-809d4375e1fb", + ) + go_repository( + name = "com_github_buger_jsonparser", + build_file_proto_mode = "disable_global", + importpath = "github.com/buger/jsonparser", + sum = "h1:2PnMjfWD7wBILjqQbt530v576A/cAbQvEW9gGIpYMUs=", + version = "v1.1.1", + ) + go_repository( + name = "com_github_bwesterb_go_ristretto", + build_file_proto_mode = "disable_global", + importpath = "github.com/bwesterb/go-ristretto", + sum = "h1:1w53tCkGhCQ5djbat3+MH0BAQ5Kfgbt56UZQ/JMzngw=", + version = "v1.2.3", + ) + go_repository( + name = "com_github_caarlos0_go_version", + build_file_proto_mode = "disable_global", + importpath = "github.com/caarlos0/go-version", + sum = "h1:TTD5dF3PBAtRHbfCKRE173SrVVpbE0yX95EDQ4BwTGs=", + version = "v0.2.0", + ) + go_repository( + name = "com_github_caarlos0_testfs", + build_file_proto_mode = "disable_global", + importpath = "github.com/caarlos0/testfs", + sum = "h1:3PHvzHi5Lt+g332CiShwS8ogTgS3HjrmzZxCm6JCDr8=", + version = "v0.4.4", + ) + go_repository( + name = "com_github_cavaliergopher_cpio", + build_file_proto_mode = "disable_global", + importpath = "github.com/cavaliergopher/cpio", + sum = "h1:KQFSeKmZhv0cr+kawA3a0xTQCU4QxXF1vhU7P7av2KM=", + version = "v1.0.1", + ) + go_repository( + name = "com_github_cloudflare_circl", + build_file_proto_mode = "disable_global", + importpath = "github.com/cloudflare/circl", + sum = "h1:cr5JKic4HI+LkINy2lg3W2jF8sHCVTBncJr5gIIq7qk=", + version = "v1.6.0", + ) + go_repository( + name = "com_github_cpuguy83_go_md2man_v2", + build_file_proto_mode = "disable_global", + importpath = "github.com/cpuguy83/go-md2man/v2", + sum = "h1:XJtiaUW6dEEqVuZiMTn1ldk455QWwEIsMIJlo5vtkx0=", + version = "v2.0.6", + ) + go_repository( + name = "com_github_cyphar_filepath_securejoin", + build_file_proto_mode = "disable_global", + importpath = "github.com/cyphar/filepath-securejoin", + sum = "h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22rowi7HkoSU1s=", + version = "v0.4.1", + ) + go_repository( + name = "com_github_datadog_zstd", + build_file_proto_mode = "disable_global", + importpath = "github.com/DataDog/zstd", + sum = "h1:oWf5W7GtOLgp6bciQYDmhHHjdhYkALu6S/5Ni9ZgSvQ=", + version = "v1.5.5", + ) + go_repository( + name = "com_github_davecgh_go_spew", + build_file_proto_mode = "disable_global", + importpath = "github.com/davecgh/go-spew", + sum = "h1:U9qPSI2PIWSS1VwoXQT9A3Wy9MM3WgvqSxFWenqJduM=", + version = "v1.1.2-0.20180830191138-d8f796af33cc", + ) + go_repository( + name = "com_github_elazarl_goproxy", + build_file_proto_mode = "disable_global", + importpath = "github.com/elazarl/goproxy", + sum = "h1:Y2o6urb7Eule09PjlhQRGNsqRfPmYI3KKQLFpCAV3+o=", + version = "v1.7.2", + ) + go_repository( + name = "com_github_emirpasic_gods", + build_file_proto_mode = "disable_global", + importpath = "github.com/emirpasic/gods", + sum = "h1:FXtiHYKDGKCW2KzwZKx0iC0PQmdlorYgdFG9jPXJ1Bc=", + version = "v1.18.1", + ) + go_repository( + name = "com_github_frankban_quicktest", + build_file_proto_mode = "disable_global", + importpath = "github.com/frankban/quicktest", + sum = "h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=", + version = "v1.14.6", + ) + go_repository( + name = "com_github_fsnotify_fsnotify", + build_file_proto_mode = "disable_global", + importpath = "github.com/fsnotify/fsnotify", + sum = "h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/8M=", + version = "v1.8.0", + ) + go_repository( + name = "com_github_gliderlabs_ssh", + build_file_proto_mode = "disable_global", + importpath = "github.com/gliderlabs/ssh", + sum = "h1:a4YXD1V7xMF9g5nTkdfnja3Sxy1PVDCj1Zg4Wb8vY6c=", + version = "v0.3.8", + ) + go_repository( + name = "com_github_go_git_gcfg", + build_file_proto_mode = "disable_global", + importpath = "github.com/go-git/gcfg", + sum = "h1:+zs/tPmkDkHx3U66DAb0lQFJrpS6731Oaa12ikc+DiI=", + version = "v1.5.1-0.20230307220236-3a3c6141e376", + ) + go_repository( + name = "com_github_go_git_go_billy_v5", + build_file_generation = "clean", + build_file_name = "BUILD.bazel", + build_file_proto_mode = "disable_global", + importpath = "github.com/go-git/go-billy/v5", + sum = "h1:6Q86EsPXMa7c3YZ3aLAQsMA0VlWmy43r6FHqa/UNbRM=", + version = "v5.6.2", + ) + go_repository( + name = "com_github_go_git_go_git_fixtures_v4", + build_file_proto_mode = "disable_global", + importpath = "github.com/go-git/go-git-fixtures/v4", + sum = "h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4=", + version = "v4.3.2-0.20231010084843-55a94097c399", + ) + go_repository( + name = "com_github_go_git_go_git_v5", + build_file_proto_mode = "disable_global", + importpath = "github.com/go-git/go-git/v5", + sum = "h1:/MD3lCrGjCen5WfEAzKg00MJJffKhC8gzS80ycmCi60=", + version = "v5.14.0", + ) + go_repository( + name = "com_github_go_logr_logr", + build_file_proto_mode = "disable_global", + importpath = "github.com/go-logr/logr", + sum = "h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=", + version = "v1.4.2", + ) + go_repository( + name = "com_github_go_task_slim_sprig_v3", + build_file_proto_mode = "disable_global", + importpath = "github.com/go-task/slim-sprig/v3", + sum = "h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=", + version = "v3.0.0", + ) + go_repository( + name = "com_github_go_viper_mapstructure_v2", + build_file_proto_mode = "disable_global", + importpath = "github.com/go-viper/mapstructure/v2", + sum = "h1:ZAaOCxANMuZx5RCeg0mBdEZk7DZasvvZIxtHqx8aGss=", + version = "v2.2.1", + ) + go_repository( + name = "com_github_gobwas_glob", + build_file_proto_mode = "disable_global", + importpath = "github.com/gobwas/glob", + sum = "h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=", + version = "v0.2.3", + ) + go_repository( + name = "com_github_golang_groupcache", + build_file_proto_mode = "disable_global", + importpath = "github.com/golang/groupcache", + sum = "h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ=", + version = "v0.0.0-20241129210726-2c02b8208cf8", + ) + go_repository( + name = "com_github_golang_protobuf", + build_file_proto_mode = "disable_global", + importpath = "github.com/golang/protobuf", + sum = "h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=", + version = "v1.5.4", + ) + go_repository( + name = "com_github_google_go_cmp", + build_file_proto_mode = "disable_global", + importpath = "github.com/google/go-cmp", + sum = "h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=", + version = "v0.7.0", + ) + go_repository( + name = "com_github_google_pprof", + build_file_proto_mode = "disable_global", + importpath = "github.com/google/pprof", + sum = "h1:a6HEuzUHeKH6hwfN/ZoQgRgVIWFJljSWa/zetS2WTvg=", + version = "v0.0.0-20241210010833-40e02aabc2ad", + ) + go_repository( + name = "com_github_google_rpmpack", + build_file_generation = "clean", + build_file_proto_mode = "disable_global", + importpath = "github.com/google/rpmpack", + sum = "h1:JJBdjSfqSy3mnDT0940ASQFghwcZ4y4cb6ttjAoXqwE=", + version = "v0.6.1-0.20240329070804-c2247cbb881a", + ) + go_repository( + name = "com_github_google_uuid", + build_file_proto_mode = "disable_global", + importpath = "github.com/google/uuid", + sum = "h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=", + version = "v1.6.0", + ) + go_repository( + name = "com_github_gopherjs_gopherjs", + build_file_proto_mode = "disable_global", + importpath = "github.com/gopherjs/gopherjs", + sum = "h1:fQnZVsXk8uxXIStYb0N4bGk7jeyTalG/wsZjQ25dO0g=", + version = "v1.17.2", + ) + go_repository( + name = "com_github_goreleaser_chglog", + build_file_proto_mode = "disable_global", + importpath = "github.com/goreleaser/chglog", + sum = "h1:/KzXWAeg4DrEz4r3OI6K2Yb8RAsVGeInCUfLWFXL9C0=", + version = "v0.7.0", + ) + go_repository( + name = "com_github_goreleaser_fileglob", + build_file_proto_mode = "disable_global", + importpath = "github.com/goreleaser/fileglob", + sum = "h1:/X6J7U8lbDpQtBvGcwwPS6OpzkNVlVEsFUVRx9+k+7I=", + version = "v1.3.0", + ) + go_repository( + name = "com_github_goreleaser_nfpm_v2", + build_file_generation = "clean", + build_file_proto_mode = "disable_global", + importpath = "github.com/goreleaser/nfpm/v2", + sum = "h1:IRRsqv5NgiCKUy57HjQgfVBFb44VH8+r1mWeEF8OuA4=", + version = "v2.41.3", + ) + go_repository( + name = "com_github_hexops_gotextdiff", + build_file_proto_mode = "disable_global", + importpath = "github.com/hexops/gotextdiff", + sum = "h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=", + version = "v1.0.3", + ) + go_repository( + name = "com_github_huandu_xstrings", + build_file_proto_mode = "disable_global", + importpath = "github.com/huandu/xstrings", + sum = "h1:2ag3IFq9ZDANvthTwTiqSSZLjDc+BedvHPAp5tJy2TI=", + version = "v1.5.0", + ) + go_repository( + name = "com_github_inconshreveable_mousetrap", + build_file_proto_mode = "disable_global", + importpath = "github.com/inconshreveable/mousetrap", + sum = "h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=", + version = "v1.1.0", + ) + go_repository( + name = "com_github_invopop_jsonschema", + build_file_proto_mode = "disable_global", + importpath = "github.com/invopop/jsonschema", + sum = "h1:KvpoAJWEjR3uD9Kbm2HWJmqsEaHt8lBUpd0qHcIi21E=", + version = "v0.13.0", + ) + go_repository( + name = "com_github_jbenet_go_context", + build_file_proto_mode = "disable_global", + importpath = "github.com/jbenet/go-context", + sum = "h1:BQSFePA1RWJOlocH6Fxy8MmwDt+yVQYULKfN0RoTN8A=", + version = "v0.0.0-20150711004518-d14ea06fba99", + ) + go_repository( + name = "com_github_jtolds_gls", + build_file_proto_mode = "disable_global", + importpath = "github.com/jtolds/gls", + sum = "h1:xdiiI2gbIgH/gLH7ADydsJ1uDOEzR8yvV7C0MuV77Wo=", + version = "v4.20.0+incompatible", + ) + go_repository( + name = "com_github_kevinburke_ssh_config", + build_file_proto_mode = "disable_global", + importpath = "github.com/kevinburke/ssh_config", + sum = "h1:x584FjTGwHzMwvHx18PXxbBVzfnxogHaAReU4gf13a4=", + version = "v1.2.0", + ) + go_repository( + name = "com_github_klauspost_compress", + build_file_proto_mode = "disable_global", + importpath = "github.com/klauspost/compress", + sum = "h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zttxdo=", + version = "v1.18.0", + ) + go_repository( + name = "com_github_klauspost_pgzip", + build_file_proto_mode = "disable_global", + importpath = "github.com/klauspost/pgzip", + sum = "h1:8RXeL5crjEUFnR2/Sn6GJNWtSQ3Dk8pq4CL3jvdDyjU=", + version = "v1.2.6", + ) + go_repository( + name = "com_github_kr_pretty", + build_file_proto_mode = "disable_global", + importpath = "github.com/kr/pretty", + sum = "h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=", + version = "v0.3.1", + ) + go_repository( + name = "com_github_kr_pty", + build_file_proto_mode = "disable_global", + importpath = "github.com/kr/pty", + sum = "h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw=", + version = "v1.1.1", + ) + go_repository( + name = "com_github_kr_text", + build_file_proto_mode = "disable_global", + importpath = "github.com/kr/text", + sum = "h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=", + version = "v0.2.0", + ) + go_repository( + name = "com_github_mailru_easyjson", + build_file_proto_mode = "disable_global", + importpath = "github.com/mailru/easyjson", + sum = "h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=", + version = "v0.7.7", + ) + go_repository( + name = "com_github_masterminds_goutils", + build_file_proto_mode = "disable_global", + importpath = "github.com/Masterminds/goutils", + sum = "h1:5nUrii3FMTL5diU80unEVvNevw1nH4+ZV4DSLVJLSYI=", + version = "v1.1.1", + ) + go_repository( + name = "com_github_masterminds_semver_v3", + build_file_proto_mode = "disable_global", + importpath = "github.com/Masterminds/semver/v3", + sum = "h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4=", + version = "v3.3.1", + ) + go_repository( + name = "com_github_masterminds_sprig_v3", + build_file_proto_mode = "disable_global", + importpath = "github.com/Masterminds/sprig/v3", + sum = "h1:mQh0Yrg1XPo6vjYXgtf5OtijNAKJRNcTdOOGZe3tPhs=", + version = "v3.3.0", + ) + go_repository( + name = "com_github_matryer_is", + build_file_proto_mode = "disable_global", + importpath = "github.com/matryer/is", + sum = "h1:sosSmIWwkYITGrxZ25ULNDeKiMNzFSr4V/eqBQP0PeE=", + version = "v1.4.0", + ) + go_repository( + name = "com_github_microsoft_go_winio", + build_file_proto_mode = "disable_global", + importpath = "github.com/Microsoft/go-winio", + sum = "h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=", + version = "v0.6.2", + ) + go_repository( + name = "com_github_mitchellh_copystructure", + build_file_proto_mode = "disable_global", + importpath = "github.com/mitchellh/copystructure", + sum = "h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw=", + version = "v1.2.0", + ) + go_repository( + name = "com_github_mitchellh_reflectwalk", + build_file_proto_mode = "disable_global", + importpath = "github.com/mitchellh/reflectwalk", + sum = "h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ=", + version = "v1.0.2", + ) + go_repository( + name = "com_github_muesli_mango", + build_file_proto_mode = "disable_global", + importpath = "github.com/muesli/mango", + sum = "h1:DZQK45d2gGbql1arsYA4vfg4d7I9Hfx5rX/GCmzsAvI=", + version = "v0.1.0", + ) + go_repository( + name = "com_github_muesli_mango_cobra", + build_file_proto_mode = "disable_global", + importpath = "github.com/muesli/mango-cobra", + sum = "h1:DQvjzAM0PMZr85Iv9LIMaYISpTOliMEg+uMFtNbYvWg=", + version = "v1.2.0", + ) + go_repository( + name = "com_github_muesli_mango_pflag", + build_file_proto_mode = "disable_global", + importpath = "github.com/muesli/mango-pflag", + sum = "h1:UADqbYgpUyRoBja3g6LUL+3LErjpsOwaC9ywvBWe7Sg=", + version = "v0.1.0", + ) + go_repository( + name = "com_github_muesli_roff", + build_file_proto_mode = "disable_global", + importpath = "github.com/muesli/roff", + sum = "h1:YD0lalCotmYuF5HhZliKWlIx7IEhiXeSfq7hNjFqGF8=", + version = "v0.1.0", + ) + go_repository( + name = "com_github_onsi_ginkgo_v2", + build_file_proto_mode = "disable_global", + importpath = "github.com/onsi/ginkgo/v2", + sum = "h1:QW7tbJAUDyVDVOM5dFa7qaybo+CRfR7bemlQUN6Z8aM=", + version = "v2.22.1", + ) + go_repository( + name = "com_github_onsi_gomega", + build_file_proto_mode = "disable_global", + importpath = "github.com/onsi/gomega", + sum = "h1:koNYke6TVk6ZmnyHrCXba/T/MoLBXFjeC1PtvYgw0A8=", + version = "v1.36.2", + ) + go_repository( + name = "com_github_pelletier_go_toml_v2", + build_file_proto_mode = "disable_global", + importpath = "github.com/pelletier/go-toml/v2", + sum = "h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M=", + version = "v2.2.3", + ) + go_repository( + name = "com_github_pjbgf_sha1cd", + build_file_proto_mode = "disable_global", + importpath = "github.com/pjbgf/sha1cd", + sum = "h1:a9wb0bp1oC2TGwStyn0Umc/IGKQnEgF0vVaZ8QF8eo4=", + version = "v0.3.2", + ) + go_repository( + name = "com_github_pkg_errors", + build_file_proto_mode = "disable_global", + importpath = "github.com/pkg/errors", + sum = "h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=", + version = "v0.9.1", + ) + go_repository( + name = "com_github_pmezard_go_difflib", + build_file_proto_mode = "disable_global", + importpath = "github.com/pmezard/go-difflib", + sum = "h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=", + version = "v1.0.1-0.20181226105442-5d4384ee4fb2", + ) + go_repository( + name = "com_github_protonmail_go_crypto", + build_file_proto_mode = "disable_global", + importpath = "github.com/ProtonMail/go-crypto", + sum = "h1:ZcV+Ropw6Qn0AX9brlQLAUXfqLBc7Bl+f/DmNxpLfdw=", + version = "v1.1.6", + ) + go_repository( + name = "com_github_protonmail_go_mime", + build_file_proto_mode = "disable_global", + importpath = "github.com/ProtonMail/go-mime", + sum = "h1:tCbYj7/299ekTTXpdwKYF8eBlsYsDVoggDAuAjoK66k=", + version = "v0.0.0-20230322103455-7d82a3887f2f", + ) + go_repository( + name = "com_github_protonmail_gopenpgp_v2", + build_file_proto_mode = "disable_global", + importpath = "github.com/ProtonMail/gopenpgp/v2", + sum = "h1:Awsg7MPc2gD3I7IFac2qE3Gdls0lZW8SzrFZ3k1oz0s=", + version = "v2.7.1", + ) + go_repository( + name = "com_github_rogpeppe_go_internal", + build_file_proto_mode = "disable_global", + importpath = "github.com/rogpeppe/go-internal", + sum = "h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=", + version = "v1.14.1", + ) + go_repository( + name = "com_github_russross_blackfriday_v2", + build_file_proto_mode = "disable_global", + importpath = "github.com/russross/blackfriday/v2", + sum = "h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=", + version = "v2.1.0", + ) + go_repository( + name = "com_github_sagikazarmark_locafero", + build_file_proto_mode = "disable_global", + importpath = "github.com/sagikazarmark/locafero", + sum = "h1:5MqpDsTGNDhY8sGp0Aowyf0qKsPrhewaLSsFaodPcyo=", + version = "v0.7.0", + ) + go_repository( + name = "com_github_sassoftware_go_rpmutils", + build_file_proto_mode = "disable_global", + importpath = "github.com/sassoftware/go-rpmutils", + sum = "h1:ojND82NYBxgwrV+mX1CWsd5QJvvEZTKddtCdFLPWhpg=", + version = "v0.4.0", + ) + go_repository( + name = "com_github_sergi_go_diff", + build_file_proto_mode = "disable_global", + importpath = "github.com/sergi/go-diff", + sum = "h1:n661drycOFuPLCN3Uc8sB6B/s6Z4t2xvBgU1htSHuq8=", + version = "v1.3.2-0.20230802210424-5b0b94c5c0d3", + ) + go_repository( + name = "com_github_shopspring_decimal", + build_file_proto_mode = "disable_global", + importpath = "github.com/shopspring/decimal", + sum = "h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k=", + version = "v1.4.0", + ) + go_repository( + name = "com_github_sirupsen_logrus", + build_file_proto_mode = "disable_global", + importpath = "github.com/sirupsen/logrus", + sum = "h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ=", + version = "v1.9.3", + ) + go_repository( + name = "com_github_skeema_knownhosts", + build_file_proto_mode = "disable_global", + importpath = "github.com/skeema/knownhosts", + sum = "h1:X2osQ+RAjK76shCbvhHHHVl3ZlgDm8apHEHFqRjnBY8=", + version = "v1.3.1", + ) + go_repository( + name = "com_github_smarty_assertions", + build_file_proto_mode = "disable_global", + importpath = "github.com/smarty/assertions", + sum = "h1:cR//PqUBUiQRakZWqBiFFQ9wb8emQGDb0HeGdqGByCY=", + version = "v1.15.0", + ) + go_repository( + name = "com_github_smartystreets_goconvey", + build_file_proto_mode = "disable_global", + importpath = "github.com/smartystreets/goconvey", + sum = "h1:qGjIddxOk4grTu9JPOU31tVfq3cNdBlNa5sSznIX1xY=", + version = "v1.8.1", + ) + go_repository( + name = "com_github_sourcegraph_conc", + build_file_proto_mode = "disable_global", + importpath = "github.com/sourcegraph/conc", + sum = "h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo=", + version = "v0.3.0", + ) + go_repository( + name = "com_github_spf13_afero", + build_file_proto_mode = "disable_global", + importpath = "github.com/spf13/afero", + sum = "h1:UcOPyRBYczmFn6yvphxkn9ZEOY65cpwGKb5mL36mrqs=", + version = "v1.12.0", + ) + go_repository( + name = "com_github_spf13_cast", + build_file_proto_mode = "disable_global", + importpath = "github.com/spf13/cast", + sum = "h1:cuNEagBQEHWN1FnbGEjCXL2szYEXqfJPbP2HNUaca9Y=", + version = "v1.7.1", + ) + go_repository( + name = "com_github_spf13_cobra", + build_file_proto_mode = "disable_global", + importpath = "github.com/spf13/cobra", + sum = "h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=", + version = "v1.9.1", + ) + go_repository( + name = "com_github_spf13_pflag", + build_file_proto_mode = "disable_global", + importpath = "github.com/spf13/pflag", + sum = "h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o=", + version = "v1.0.6", + ) + go_repository( + name = "com_github_spf13_viper", + build_file_proto_mode = "disable_global", + importpath = "github.com/spf13/viper", + sum = "h1:zrxIyR3RQIOsarIrgL8+sAvALXul9jeEPa06Y0Ph6vY=", + version = "v1.20.0", + ) + go_repository( + name = "com_github_stretchr_objx", + build_file_proto_mode = "disable_global", + importpath = "github.com/stretchr/objx", + sum = "h1:4G4v2dO3VZwixGIRoQ5Lfboy6nUhCyYzaqnIAPPhYs4=", + version = "v0.1.0", + ) + go_repository( + name = "com_github_stretchr_testify", + build_file_proto_mode = "disable_global", + importpath = "github.com/stretchr/testify", + sum = "h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=", + version = "v1.10.0", + ) + go_repository( + name = "com_github_subosito_gotenv", + build_file_proto_mode = "disable_global", + importpath = "github.com/subosito/gotenv", + sum = "h1:9NlTDc1FTs4qu0DDq7AEtTPNw6SVm7uBMsUCUjABIf8=", + version = "v1.6.0", + ) + go_repository( + name = "com_github_ulikunitz_xz", + build_file_proto_mode = "disable_global", + importpath = "github.com/ulikunitz/xz", + sum = "h1:37Nm15o69RwBkXM0J6A5OlE67RZTfzUxTj8fB3dfcsc=", + version = "v0.5.12", + ) + go_repository( + name = "com_github_wk8_go_ordered_map_v2", + build_file_proto_mode = "disable_global", + importpath = "github.com/wk8/go-ordered-map/v2", + sum = "h1:5h/BUHu93oj4gIdvHHHGsScSTMijfx5PeYkE/fJgbpc=", + version = "v2.1.8", + ) + go_repository( + name = "com_github_xanzy_ssh_agent", + build_file_generation = "clean", + build_file_name = "BUILD.bazel", + build_file_proto_mode = "disable_global", + importpath = "github.com/xanzy/ssh-agent", + sum = "h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=", + version = "v0.3.3", + ) + go_repository( + name = "com_github_xi2_xz", + build_file_proto_mode = "disable_global", + importpath = "github.com/xi2/xz", + sum = "h1:nIPpBwaJSVYIxUFsDv3M8ofmx9yWTog9BfvIu0q41lo=", + version = "v0.0.0-20171230120015-48954b6210f8", + ) + go_repository( + name = "com_gitlab_digitalxero_go_conventional_commit", + build_file_proto_mode = "disable_global", + importpath = "gitlab.com/digitalxero/go-conventional-commit", + sum = "h1:8/dO6WWG+98PMhlZowt/YjuiKhqhGlOCwlIV8SqqGh8=", + version = "v1.0.7", + ) + go_repository( + name = "in_gopkg_check_v1", + build_file_proto_mode = "disable_global", + importpath = "gopkg.in/check.v1", + sum = "h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=", + version = "v1.0.0-20201130134442-10cb98267c6c", + ) + go_repository( + name = "in_gopkg_warnings_v0", + build_file_proto_mode = "disable_global", + importpath = "gopkg.in/warnings.v0", + sum = "h1:wFXVbFY8DY5/xOe1ECiWdKCzZlxgshcYVNkBHstARME=", + version = "v0.1.2", + ) + go_repository( + name = "in_gopkg_yaml_v2", + build_file_proto_mode = "disable_global", + importpath = "gopkg.in/yaml.v2", + sum = "h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=", + version = "v2.4.0", + ) + go_repository( + name = "in_gopkg_yaml_v3", + build_file_proto_mode = "disable_global", + importpath = "gopkg.in/yaml.v3", + sum = "h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=", + version = "v3.0.1", + ) + go_repository( + name = "org_golang_google_protobuf", + build_file_proto_mode = "disable_global", + importpath = "google.golang.org/protobuf", + sum = "h1:yBPeRvTftaleIgM3PZ/WBIZ7XM/eEYAaEyCwvyjq/gk=", + version = "v1.36.1", + ) + go_repository( + name = "org_golang_x_crypto", + build_file_proto_mode = "disable_global", + importpath = "golang.org/x/crypto", + sum = "h1:AnAEvhDddvBdpY+uR+MyHmuZzzNqXSe/GvuDeob5L34=", + version = "v0.36.0", + ) + go_repository( + name = "org_golang_x_exp", + build_file_proto_mode = "disable_global", + importpath = "golang.org/x/exp", + sum = "h1:nDVHiLt8aIbd/VzvPWN6kSOPE7+F/fNFDSXLVYkE/Iw=", + version = "v0.0.0-20250305212735-054e65f0b394", + ) + go_repository( + name = "org_golang_x_mod", + build_file_proto_mode = "disable_global", + importpath = "golang.org/x/mod", + sum = "h1:ZfthKaKaT4NrhGVZHO1/WDTwGES4De8KtWO0SIbNJMU=", + version = "v0.24.0", + ) + go_repository( + name = "org_golang_x_net", + build_file_proto_mode = "disable_global", + importpath = "golang.org/x/net", + sum = "h1:1zLorHbz+LYj7MQlSf1+2tPIIgibq2eL5xkrGk6f+2c=", + version = "v0.37.0", + ) + go_repository( + name = "org_golang_x_sync", + build_file_proto_mode = "disable_global", + importpath = "golang.org/x/sync", + sum = "h1:MHc5BpPuC30uJk597Ri8TV3CNZcTLu6B6z4lJy+g6Jw=", + version = "v0.12.0", + ) + go_repository( + name = "org_golang_x_sys", + build_file_proto_mode = "disable_global", + importpath = "golang.org/x/sys", + sum = "h1:ioabZlmFYtWhL+TRYpcnNlLwhyxaM9kWTDEmfnprqik=", + version = "v0.31.0", + ) + go_repository( + name = "org_golang_x_term", + build_file_proto_mode = "disable_global", + importpath = "golang.org/x/term", + sum = "h1:PQ39fJZ+mfadBm0y5WlL4vlM7Sx1Hgf13sMIY2+QS9Y=", + version = "v0.30.0", + ) + go_repository( + name = "org_golang_x_text", + build_file_proto_mode = "disable_global", + importpath = "golang.org/x/text", + sum = "h1:D71I7dUrlY+VX0gQShAThNGHFxZ13dGLBHQLVl1mJlY=", + version = "v0.23.0", + ) + go_repository( + name = "org_golang_x_tools", + build_file_proto_mode = "disable_global", + importpath = "golang.org/x/tools", + sum = "h1:0EedkvKDbh+qistFTd0Bcwe/YLh4vHwWEkiI0toFIBU=", + version = "v0.31.0", + ) + go_repository( + name = "org_uber_go_atomic", + build_file_proto_mode = "disable_global", + importpath = "go.uber.org/atomic", + sum = "h1:ECmE8Bn/WFTYwEW/bpKD3M8VtR/zQVbavAoalC1PYyE=", + version = "v1.9.0", + ) + go_repository( + name = "org_uber_go_multierr", + build_file_proto_mode = "disable_global", + importpath = "go.uber.org/multierr", + sum = "h1:7fIwc/ZtS0q++VgcfqFDxSBZVv/Xo49/SYnDFupUwlI=", + version = "v1.9.0", + ) From fcaef1ea401a1a0a9b5e5767f16c62a8876153b4 Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Mon, 24 Mar 2025 20:38:40 +0100 Subject: [PATCH 05/13] bzlmod is also shit. --- .bazelrc | 2 +- WORKSPACE.bazel | 86 ++++++++++++++++++++++++++--------------------- deps.bzl | 2 ++ go/v2/BUILD.bazel | 0 4 files changed, 51 insertions(+), 39 deletions(-) create mode 100644 go/v2/BUILD.bazel diff --git a/.bazelrc b/.bazelrc index 35f9f95..8b60fb6 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,4 +1,4 @@ -common --noenable_bzlmod + # Show information about failures. build --verbose_failures diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 9d1ca19..0bcccd1 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -2,44 +2,54 @@ workspace(name = "com_github_ericnorris_rules_nfpm") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -http_archive( - name = "io_bazel_rules_go", - integrity = "sha256-M6zErg9wUC20uJPJ/B3Xqb+ZjCPn/yxFF3QdQEmpdvg=", - urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.48.0/rules_go-v0.48.0.zip", - "https://github.com/bazelbuild/rules_go/releases/download/v0.48.0/rules_go-v0.48.0.zip", - ], -) - -http_archive( - name = "bazel_gazelle", - urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", - "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", - ], -) - -load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") -load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") - -############################################################ -# Define your own dependencies here using go_repository. -# Else, dependencies declared by rules_go/gazelle will be used. -# The first declaration of an external repository "wins". -############################################################ - -load("//:deps.bzl", "go_dependencies") - -# gazelle:repository_macro deps.bzl%go_dependencies -go_dependencies() - -go_rules_dependencies() - -go_register_toolchains(version = "1.23.6") - -gazelle_dependencies( - go_repository_default_config = "//:WORKSPACE.bazel", -) +#http_archive( +# name = "rules_go", +# sha256 = "b78f77458e77162f45b4564d6b20b6f92f56431ed59eaaab09e7819d1d850313", +# urls = [ +# "https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip", +# "https://github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip", +# ], +#) +# +#http_archive( +# name = "rules_go", +# sha256 = "b78f77458e77162f45b4564d6b20b6f92f56431ed59eaaab09e7819d1d850313", +# urls = [ +# "https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip", +# "https://github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip", +# ], +#) +# +#http_archive( +# name = "bazel_gazelle", +# urls = [ +# "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", +# "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", +# ], +#) +# +#load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") +#load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") +# +############################################################# +## Define your own dependencies here using go_repository. +## Else, dependencies declared by rules_go/gazelle will be used. +## The first declaration of an external repository "wins". +############################################################# +# +#load("//:deps.bzl", "go_dependencies") +# +## gazelle:repository_macro deps.bzl%go_dependencies +#go_dependencies() +# +#go_rules_dependencies() +# +#go_register_toolchains(version = "1.24.0") +# +#gazelle_dependencies( +# go_repository_default_config = "//:WORKSPACE.bazel", +# go_sdk = "go_sdk", +#) #load("//nfpm:repositories.bzl", "rules_nfpm_dependencies") # diff --git a/deps.bzl b/deps.bzl index ec90ff5..05c0acf 100644 --- a/deps.bzl +++ b/deps.bzl @@ -259,6 +259,7 @@ def go_dependencies(): name = "com_github_google_rpmpack", build_file_generation = "clean", build_file_proto_mode = "disable_global", + build_file_name = "BUILD.bazel", importpath = "github.com/google/rpmpack", sum = "h1:JJBdjSfqSy3mnDT0940ASQFghwcZ4y4cb6ttjAoXqwE=", version = "v0.6.1-0.20240329070804-c2247cbb881a", @@ -295,6 +296,7 @@ def go_dependencies(): name = "com_github_goreleaser_nfpm_v2", build_file_generation = "clean", build_file_proto_mode = "disable_global", + build_file_name = "BUILD.bazel", importpath = "github.com/goreleaser/nfpm/v2", sum = "h1:IRRsqv5NgiCKUy57HjQgfVBFb44VH8+r1mWeEF8OuA4=", version = "v2.41.3", diff --git a/go/v2/BUILD.bazel b/go/v2/BUILD.bazel new file mode 100644 index 0000000..e69de29 From 9cfb2eccffeb691bf07d26ef7e7f18104b1d0237 Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Tue, 29 Apr 2025 12:51:01 +0200 Subject: [PATCH 06/13] Convert to giraffe. --- .bazeliskrc | 1 + .bazelrc | 2 +- WORKSPACE.bazel | 128 +++++++++------------ deps.bzl | 7 +- go/v2/cmd/nfpmwrapper/BUILD.bazel | 18 +++ go/v2/internal/cmd/nfpmwrapper/BUILD.bazel | 29 +++++ 6 files changed, 111 insertions(+), 74 deletions(-) create mode 100644 .bazeliskrc create mode 100644 go/v2/cmd/nfpmwrapper/BUILD.bazel create mode 100644 go/v2/internal/cmd/nfpmwrapper/BUILD.bazel diff --git a/.bazeliskrc b/.bazeliskrc new file mode 100644 index 0000000..1e69ad3 --- /dev/null +++ b/.bazeliskrc @@ -0,0 +1 @@ +USE_BAZEL_VERSION=7.5.0 diff --git a/.bazelrc b/.bazelrc index 8b60fb6..35f9f95 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,4 +1,4 @@ - +common --noenable_bzlmod # Show information about failures. build --verbose_failures diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 0bcccd1..b66408a 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -2,77 +2,63 @@ workspace(name = "com_github_ericnorris_rules_nfpm") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") -#http_archive( -# name = "rules_go", -# sha256 = "b78f77458e77162f45b4564d6b20b6f92f56431ed59eaaab09e7819d1d850313", -# urls = [ -# "https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip", -# "https://github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip", -# ], -#) -# -#http_archive( -# name = "rules_go", -# sha256 = "b78f77458e77162f45b4564d6b20b6f92f56431ed59eaaab09e7819d1d850313", -# urls = [ -# "https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip", -# "https://github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip", -# ], -#) -# -#http_archive( -# name = "bazel_gazelle", -# urls = [ -# "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", -# "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", -# ], -#) -# -#load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") -#load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") -# -############################################################# -## Define your own dependencies here using go_repository. -## Else, dependencies declared by rules_go/gazelle will be used. -## The first declaration of an external repository "wins". -############################################################# -# -#load("//:deps.bzl", "go_dependencies") -# -## gazelle:repository_macro deps.bzl%go_dependencies -#go_dependencies() -# -#go_rules_dependencies() -# -#go_register_toolchains(version = "1.24.0") -# -#gazelle_dependencies( -# go_repository_default_config = "//:WORKSPACE.bazel", -# go_sdk = "go_sdk", -#) +http_archive( + name = "io_bazel_rules_go", + sha256 = "b78f77458e77162f45b4564d6b20b6f92f56431ed59eaaab09e7819d1d850313", + urls = [ + "https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip", + "https://github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip", + ], +) + +http_archive( + name = "bazel_gazelle", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", + ], +) + +load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") +load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") + +############################################################ +# Define your own dependencies here using go_repository. +# Else, dependencies declared by rules_go/gazelle will be used. +# The first declaration of an external repository "wins". +############################################################ + +load("//:deps.bzl", "go_dependencies") + +# gazelle:repository_macro deps.bzl%go_dependencies +go_dependencies() + +go_rules_dependencies() + +go_register_toolchains(version = "1.24.2") + +gazelle_dependencies( + go_repository_default_config = "//:WORKSPACE.bazel", + go_sdk = "go_sdk", +) + +load("//nfpm:repositories.bzl", "rules_nfpm_dependencies") + +rules_nfpm_dependencies() + +load("//nfpm:setup.bzl", "rules_nfpm_setup") + +# the nogo parameter is not needed by users of rules_nfpm +rules_nfpm_setup(nogo = "@//:rules_nfpm_nogo") -#load("//nfpm:repositories.bzl", "rules_nfpm_dependencies") -# -#rules_nfpm_dependencies() -# -#load("//nfpm:setup.bzl", "rules_nfpm_setup") -# -## the nogo parameter is not needed by users of rules_nfpm -#rules_nfpm_setup(nogo = "@//:rules_nfpm_nogo") -# -#load("//nfpm:go_repositories.bzl", "rules_nfpm_go_dependencies") -# -## gazelle:repository_macro nfpm/go_repositories.bzl%_rules_nfpm_go_repositories -#rules_nfpm_go_dependencies() -# -## -## Dependencies not needed by users of rules_nfpm -## -# -#load("//nfpm/internal:repositories.bzl", "rules_nfpm_internal_dependencies") -# -#rules_nfpm_internal_dependencies() # -#load("//nfpm/internal:setup.bzl", "rules_nfpm_internal_setup") +# Dependencies not needed by users of rules_nfpm # -#rules_nfpm_internal_setup() + +load("//nfpm/internal:repositories.bzl", "rules_nfpm_internal_dependencies") + +rules_nfpm_internal_dependencies() + +load("//nfpm/internal:setup.bzl", "rules_nfpm_internal_setup") + +rules_nfpm_internal_setup() diff --git a/deps.bzl b/deps.bzl index 05c0acf..8f3ef27 100644 --- a/deps.bzl +++ b/deps.bzl @@ -258,9 +258,12 @@ def go_dependencies(): go_repository( name = "com_github_google_rpmpack", build_file_generation = "clean", - build_file_proto_mode = "disable_global", build_file_name = "BUILD.bazel", + build_file_proto_mode = "disable_global", importpath = "github.com/google/rpmpack", + repo_mapping = { + "@rules_go": "@io_bazel_rules_go", + }, sum = "h1:JJBdjSfqSy3mnDT0940ASQFghwcZ4y4cb6ttjAoXqwE=", version = "v0.6.1-0.20240329070804-c2247cbb881a", ) @@ -295,8 +298,8 @@ def go_dependencies(): go_repository( name = "com_github_goreleaser_nfpm_v2", build_file_generation = "clean", - build_file_proto_mode = "disable_global", build_file_name = "BUILD.bazel", + build_file_proto_mode = "disable_global", importpath = "github.com/goreleaser/nfpm/v2", sum = "h1:IRRsqv5NgiCKUy57HjQgfVBFb44VH8+r1mWeEF8OuA4=", version = "v2.41.3", diff --git a/go/v2/cmd/nfpmwrapper/BUILD.bazel b/go/v2/cmd/nfpmwrapper/BUILD.bazel new file mode 100644 index 0000000..3565431 --- /dev/null +++ b/go/v2/cmd/nfpmwrapper/BUILD.bazel @@ -0,0 +1,18 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library") + +go_library( + name = "nfpmwrapper_lib", + srcs = ["main.go"], + importpath = "github.com/ericnorris/rules_nfpm/go/v2/cmd/nfpmwrapper", + visibility = ["//visibility:private"], + deps = [ + "//go/v2/internal/cmd/nfpmwrapper", + "@com_github_alecthomas_kong//:kong", + ], +) + +go_binary( + name = "nfpmwrapper", + embed = [":nfpmwrapper_lib"], + visibility = ["//visibility:public"], +) diff --git a/go/v2/internal/cmd/nfpmwrapper/BUILD.bazel b/go/v2/internal/cmd/nfpmwrapper/BUILD.bazel new file mode 100644 index 0000000..938dee0 --- /dev/null +++ b/go/v2/internal/cmd/nfpmwrapper/BUILD.bazel @@ -0,0 +1,29 @@ +load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") + +go_library( + name = "nfpmwrapper", + srcs = [ + "doc.go", + "nfpmwrapper.go", + ], + importpath = "github.com/ericnorris/rules_nfpm/go/v2/internal/cmd/nfpmwrapper", + visibility = ["//go/v2:__subpackages__"], + deps = [ + "@com_github_goreleaser_nfpm_v2//:nfpm", + "@com_github_goreleaser_nfpm_v2//deb", + "@com_github_goreleaser_nfpm_v2//rpm", + "@com_github_pkg_errors//:errors", + ], +) + +go_test( + name = "nfpmwrapper_test", + size = "small", + srcs = ["nfpmwrapper_test.go"], + data = glob(["testdata/**"]), + embed = [":nfpmwrapper"], + deps = [ + "@com_github_google_go_cmp//cmp", + "@com_github_google_go_cmp//cmp/cmpopts", + ], +) From 6a85608ad049d59c6bf71b0e32ff772c46b37276 Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Tue, 29 Apr 2025 12:51:14 +0200 Subject: [PATCH 07/13] Backward compatibility: Fix failing tests after migration to Bazel7+. --- nfpm/internal/nfpm_package.bzl | 10 ++++++++-- tests/analysis/nfpm_package_test.bzl | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/nfpm/internal/nfpm_package.bzl b/nfpm/internal/nfpm_package.bzl index f1f2dfe..ff4301e 100644 --- a/nfpm/internal/nfpm_package.bzl +++ b/nfpm/internal/nfpm_package.bzl @@ -29,7 +29,13 @@ def _nfpm_package_impl(ctx): return [DefaultInfo(files = depset([package_file]))] def _format_dep(file): - return "{}={}".format(file.owner, file.path) + file_owner_str = str(file.owner) + if file_owner_str.startswith("@//"): + # Since bazel 7+, owner for consistency started to be prefixed with '@' - even in case of a local repository. + # To avoid need to change existing config files, we bring back the '//package/...' notation for within-repo + # targets. + file_owner_str = file_owner_str.removeprefix("@") + return "{}={}".format(file_owner_str, file.path) nfpm_package = rule( _nfpm_package_impl, @@ -44,7 +50,7 @@ nfpm_package = rule( doc = "Dependencies for this target. The output path of each dependency will be available in the `.Dependencies` map in the configuration file template, keyed by the dependency's label.", ), "_nfpm": attr.label( - default = "//go/cmd/nfpmwrapper", + default = "//go/v2/cmd/nfpmwrapper", cfg = "host", executable = True, ), diff --git a/tests/analysis/nfpm_package_test.bzl b/tests/analysis/nfpm_package_test.bzl index 94933fc..89d74ef 100644 --- a/tests/analysis/nfpm_package_test.bzl +++ b/tests/analysis/nfpm_package_test.bzl @@ -52,7 +52,7 @@ def _inspect_actions_test_impl(ctx): "--volatile-status", "bazel-out/volatile-status.txt", "--dep", - "{}={}".format(dep_file.owner, dep_file.path), + "{}={}".format(str(dep_file.owner).removeprefix("@"), dep_file.path), pkg_output.path, ] From 5df19590b6d557d09343a5712aa218da05ea6137 Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Tue, 29 Apr 2025 15:15:25 +0200 Subject: [PATCH 08/13] Cleanup --- WORKSPACE.bazel | 12 +++--------- nfpm/go_repositories.bzl | 10 ++++++++++ tests/analysis/nfpm_package_test.bzl | 2 -- 3 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 nfpm/go_repositories.bzl diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index b66408a..968474a 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -22,16 +22,10 @@ http_archive( load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") -############################################################ -# Define your own dependencies here using go_repository. -# Else, dependencies declared by rules_go/gazelle will be used. -# The first declaration of an external repository "wins". -############################################################ - -load("//:deps.bzl", "go_dependencies") - # gazelle:repository_macro deps.bzl%go_dependencies -go_dependencies() +load("//nfpm:go_repositories.bzl", "rules_nfpm_go_dependencies") + +rules_nfpm_go_dependencies() go_rules_dependencies() diff --git a/nfpm/go_repositories.bzl b/nfpm/go_repositories.bzl new file mode 100644 index 0000000..4a225b6 --- /dev/null +++ b/nfpm/go_repositories.bzl @@ -0,0 +1,10 @@ +############################################################ +# Define your own dependencies here using go_repository. +# Else, dependencies declared by rules_go/gazelle will be used. +# The first declaration of an external repository "wins". +############################################################ + +load("//:deps.bzl", "go_dependencies") + +def rules_nfpm_go_dependencies(): + go_dependencies() diff --git a/tests/analysis/nfpm_package_test.bzl b/tests/analysis/nfpm_package_test.bzl index 89d74ef..a022b83 100644 --- a/tests/analysis/nfpm_package_test.bzl +++ b/tests/analysis/nfpm_package_test.bzl @@ -33,8 +33,6 @@ def _inspect_actions_test_impl(ctx): target_under_test = analysistest.target_under_test(env) - print(dir(target_under_test)) - actions = analysistest.target_actions(env) asserts.equals(env, 1, len(actions)) From 73df0255ef4846f7cb48675b10f8fe846296a3be Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Tue, 29 Apr 2025 15:27:11 +0200 Subject: [PATCH 09/13] Fixes. --- BUILD.bazel | 35 +++++++++++----------- go/v2/BUILD.bazel | 5 ++++ go/v2/cmd/nfpmwrapper/BUILD.bazel | 16 ++++++++++ go/v2/internal/cmd/nfpmwrapper/BUILD.bazel | 16 ++++++++++ 4 files changed, 54 insertions(+), 18 deletions(-) diff --git a/BUILD.bazel b/BUILD.bazel index 5cc7c5c..4770505 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -1,24 +1,23 @@ load("@bazel_gazelle//:def.bzl", "gazelle") +load("@io_bazel_rules_go//go:def.bzl", "nogo") -#load("@io_bazel_rules_go//go:def.bzl", "nogo") +nogo( + name = "rules_nfpm_nogo", + vet = True, + visibility = ["//visibility:public"], +) -#nogo( -# name = "rules_nfpm_nogo", -# vet = True, -# visibility = ["//visibility:public"], -#) -# -#filegroup( -# name = "release-files", -# srcs = [ -# "//go:package-contents", -# "//go/cmd/nfpmwrapper:package-contents", -# "//go/internal/cmd/nfpmwrapper:package-contents", -# "//nfpm:package-contents", -# "//nfpm/internal:package-contents", -# ], -# visibility = ["//:__subpackages__"], -#) +filegroup( + name = "release-files", + srcs = [ + "//go/v2:package-contents", + "//go/v2/cmd/nfpmwrapper:package-contents", + "//go/v2/internal/cmd/nfpmwrapper:package-contents", + "//nfpm:package-contents", + "//nfpm/internal:package-contents", + ], + visibility = ["//:__subpackages__"], +) # gazelle:prefix github.com/ericnorris/rules_nfpm gazelle(name = "gazelle") diff --git a/go/v2/BUILD.bazel b/go/v2/BUILD.bazel index e69de29..75a1998 100644 --- a/go/v2/BUILD.bazel +++ b/go/v2/BUILD.bazel @@ -0,0 +1,5 @@ +filegroup( + name = "package-contents", + srcs = glob(["*"]), + visibility = ["//:__subpackages__"], +) diff --git a/go/v2/cmd/nfpmwrapper/BUILD.bazel b/go/v2/cmd/nfpmwrapper/BUILD.bazel index 3565431..8d14e3b 100644 --- a/go/v2/cmd/nfpmwrapper/BUILD.bazel +++ b/go/v2/cmd/nfpmwrapper/BUILD.bazel @@ -16,3 +16,19 @@ go_binary( embed = [":nfpmwrapper_lib"], visibility = ["//visibility:public"], ) + +sh_test( + name = "nfmpwrapper_test.accept", + size = "small", + srcs = [":nfpmwrapper_test"], + args = [ + "-accept", + ], + tags = ["manual"], +) + +filegroup( + name = "package-contents", + srcs = glob(["*"]), + visibility = ["//:__subpackages__"], +) diff --git a/go/v2/internal/cmd/nfpmwrapper/BUILD.bazel b/go/v2/internal/cmd/nfpmwrapper/BUILD.bazel index 938dee0..0afd4ae 100644 --- a/go/v2/internal/cmd/nfpmwrapper/BUILD.bazel +++ b/go/v2/internal/cmd/nfpmwrapper/BUILD.bazel @@ -27,3 +27,19 @@ go_test( "@com_github_google_go_cmp//cmp/cmpopts", ], ) + +sh_test( + name = "nfmpwrapper_test.accept", + size = "small", + srcs = [":nfpmwrapper_test"], + args = [ + "-accept", + ], + tags = ["manual"], +) + +filegroup( + name = "package-contents", + srcs = glob(["*"]), + visibility = ["//:__subpackages__"], +) From 3f925e445c6573ebca80112bf190e628c4011a4d Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Tue, 29 Apr 2025 16:39:34 +0200 Subject: [PATCH 10/13] Everything but stardoc. --- WORKSPACE.bazel | 41 ++++--------------------------- nfpm/internal/repositories.bzl | 45 +++++++++++++++++----------------- nfpm/internal/setup.bzl | 35 ++++++++------------------ nfpm/repositories.bzl | 11 ++++----- nfpm/setup.bzl | 4 +-- 5 files changed, 45 insertions(+), 91 deletions(-) diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 968474a..a820967 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -1,41 +1,5 @@ workspace(name = "com_github_ericnorris_rules_nfpm") -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") - -http_archive( - name = "io_bazel_rules_go", - sha256 = "b78f77458e77162f45b4564d6b20b6f92f56431ed59eaaab09e7819d1d850313", - urls = [ - "https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip", - "https://github.com/bazel-contrib/rules_go/releases/download/v0.53.0/rules_go-v0.53.0.zip", - ], -) - -http_archive( - name = "bazel_gazelle", - urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", - "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", - ], -) - -load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") -load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") - -# gazelle:repository_macro deps.bzl%go_dependencies -load("//nfpm:go_repositories.bzl", "rules_nfpm_go_dependencies") - -rules_nfpm_go_dependencies() - -go_rules_dependencies() - -go_register_toolchains(version = "1.24.2") - -gazelle_dependencies( - go_repository_default_config = "//:WORKSPACE.bazel", - go_sdk = "go_sdk", -) - load("//nfpm:repositories.bzl", "rules_nfpm_dependencies") rules_nfpm_dependencies() @@ -45,6 +9,11 @@ load("//nfpm:setup.bzl", "rules_nfpm_setup") # the nogo parameter is not needed by users of rules_nfpm rules_nfpm_setup(nogo = "@//:rules_nfpm_nogo") +load("//nfpm:go_repositories.bzl", "rules_nfpm_go_dependencies") + +# gazelle:repository_macro deps.bzl%go_dependencies +rules_nfpm_go_dependencies() + # # Dependencies not needed by users of rules_nfpm # diff --git a/nfpm/internal/repositories.bzl b/nfpm/internal/repositories.bzl index 135cea2..e7668dd 100644 --- a/nfpm/internal/repositories.bzl +++ b/nfpm/internal/repositories.bzl @@ -2,26 +2,25 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") def rules_nfpm_internal_dependencies(): - # _buildifier_dependencies() + _buildifier_dependencies() _skylib_dependencies() + _stardoc_dependencies() -# _stardoc_dependencies() +def _buildifier_dependencies(): + maybe( + http_archive, + name = "com_github_bazelbuild_buildtools", + strip_prefix = "buildtools-8.0.3", + url = "https://github.com/bazelbuild/buildtools/archive/refs/tags/8.0.3.tar.gz", + ) -#def _buildifier_dependencies(): -# maybe( -# http_archive, -# name = "com_github_bazelbuild_buildtools", -# strip_prefix = "buildtools-8.0.3", -# url = "https://github.com/bazelbuild/buildtools/archive/refs/tags/8.0.3.tar.gz", -# ) -# -# maybe( -# http_archive, -# name = "com_google_protobuf", -# strip_prefix = "protobuf-30.1", -# sha256 = "1451b03faec83aed17cdc71671d1bbdfd72e54086b827f5f6fd02bf7a4041b68", -# urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v30.1/protobuf-30.1.tar.gz"], -# ) + maybe( + http_archive, + name = "com_google_protobuf", + strip_prefix = "protobuf-30.1", + sha256 = "1451b03faec83aed17cdc71671d1bbdfd72e54086b827f5f6fd02bf7a4041b68", + urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v30.1/protobuf-30.1.tar.gz"], + ) def _skylib_dependencies(): maybe( @@ -34,7 +33,9 @@ def _skylib_dependencies(): sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f", ) -#def _stardoc_dependencies(): +def _stardoc_dependencies(): + pass + # maybe( # http_archive, # name = "io_bazel_stardoc", @@ -44,13 +45,13 @@ def _skylib_dependencies(): # "https://github.com/bazelbuild/stardoc/releases/download/0.8.0/stardoc-0.8.0.tar.gz", # ], # ) -# + # maybe( # http_archive, # name = "rules_python", -# sha256 = "2ef40fdcd797e07f0b6abda446d1d84e2d9570d234fddf8fcd2aa262da852d1c", -# strip_prefix = "rules_python-1.2.0", -# url = "https://github.com/bazelbuild/rules_python/releases/download/1.2.0/rules_python-1.2.0.tar.gz", +# sha256 = "2cc26bbd53854ceb76dd42a834b1002cd4ba7f8df35440cf03482e045affc244", +# strip_prefix = "rules_python-1.3.0", +# url = "https://github.com/bazel-contrib/rules_python/releases/download/1.3.0/rules_python-1.3.0.tar.gz", # ) # http_archive( # name = "rules_proto", diff --git a/nfpm/internal/setup.bzl b/nfpm/internal/setup.bzl index 0564c51..48f22f9 100644 --- a/nfpm/internal/setup.bzl +++ b/nfpm/internal/setup.bzl @@ -1,36 +1,21 @@ -#load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") +load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") #load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") -#load("@rules_java//java:rules_java_deps.bzl", "rules_java_dependencies") - -#load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps") -#load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup") -#load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps") -#load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps") -#load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup") def rules_nfpm_internal_setup(): - # rules_jvm_external_deps() - # - # rules_jvm_external_setup() - - # _buildifier_setup() + _buildifier_setup() _skylib_setup() - # _stardoc_setup() + _stardoc_setup() + +def _buildifier_setup(): + pass - #def _buildifier_setup(): - # protobuf_deps() +# protobuf_deps() def _skylib_setup(): bazel_skylib_workspace() -#def _stardoc_setup(): -# stardoc_repositories() - -# rules_java_dependencies() - -# protobuf_deps() +def _stardoc_setup(): + pass -# rules_jvm_external_deps() -# rules_jvm_external_setup() -#stardoc_external_deps() +# stardoc_repositories() diff --git a/nfpm/repositories.bzl b/nfpm/repositories.bzl index 4518382..77c0e4c 100644 --- a/nfpm/repositories.bzl +++ b/nfpm/repositories.bzl @@ -5,19 +5,18 @@ def rules_nfpm_dependencies(): maybe( http_archive, name = "io_bazel_rules_go", - sha256 = "75c97f089190833ee58872238c98394267d35c32baabf42aac0827102b62af6b", + sha256 = "f2d15bea3e241aa0e3a90fb17a82e6a8ab12214789f6aeddd53b8d04316d2b7c", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.24.8/rules_go-v0.24.8.tar.gz", - "https://github.com/bazelbuild/rules_go/releases/download/v0.24.8/rules_go-v0.24.8.tar.gz", + "https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.54.0/rules_go-v0.54.0.zip", + "https://github.com/bazel-contrib/rules_go/releases/download/v0.54.0/rules_go-v0.54.0.zip", ], ) maybe( http_archive, name = "bazel_gazelle", - sha256 = "222e49f034ca7a1d1231422cdb67066b885819885c356673cb1f72f748a3c9d4", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.3/bazel-gazelle-v0.22.3.tar.gz", - "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.22.3/bazel-gazelle-v0.22.3.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", ], ) diff --git a/nfpm/setup.bzl b/nfpm/setup.bzl index 45b170e..445f4bf 100644 --- a/nfpm/setup.bzl +++ b/nfpm/setup.bzl @@ -3,6 +3,6 @@ load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") def rules_nfpm_setup(nogo = None): go_rules_dependencies() - go_register_toolchains(nogo = nogo) + go_register_toolchains(version = "1.24.2", nogo = nogo) - gazelle_dependencies() + gazelle_dependencies(go_repository_default_config = "//:WORKSPACE.bazel", go_sdk = "go_sdk") From 7e29e7560f9d185be42921316f7412e30de6cd16 Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Wed, 30 Apr 2025 14:37:53 +0000 Subject: [PATCH 11/13] SNOW-XXXXX Your title here Works. Description Testing --- WORKSPACE.bazel | 60 ++++++++++++++++++++++++++++++++++++++++--- docs/BUILD.bazel | 34 ++++++++++++------------ nfpm/repositories.bzl | 28 +++++++++++++++----- nfpm/setup.bzl | 2 ++ 4 files changed, 97 insertions(+), 27 deletions(-) diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index a820967..39e474e 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -14,14 +14,66 @@ load("//nfpm:go_repositories.bzl", "rules_nfpm_go_dependencies") # gazelle:repository_macro deps.bzl%go_dependencies rules_nfpm_go_dependencies() + # # Dependencies not needed by users of rules_nfpm # -load("//nfpm/internal:repositories.bzl", "rules_nfpm_internal_dependencies") +# load("//nfpm/internal:repositories.bzl", "rules_nfpm_internal_dependencies") + +# rules_nfpm_internal_dependencies() + +# load("//nfpm/internal:setup.bzl", "rules_nfpm_internal_setup") + +# rules_nfpm_internal_setup() + +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + + +http_archive( + name = "rules_python", + sha256 = "2cc26bbd53854ceb76dd42a834b1002cd4ba7f8df35440cf03482e045affc244", + strip_prefix = "rules_python-1.3.0", + url = "https://github.com/bazel-contrib/rules_python/releases/download/1.3.0/rules_python-1.3.0.tar.gz", + ) + +load("@rules_python//python:repositories.bzl", "py_repositories") + +py_repositories() + +http_archive( + name = "io_bazel_stardoc", + sha256 = "0e1ed4a98f26e718776bd64d053d02bb34d98572ccd03d6ba355112a1205706b", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.7.2/stardoc-0.7.2.tar.gz", + "https://github.com/bazelbuild/stardoc/releases/download/0.7.2/stardoc-0.7.2.tar.gz", + ], + ) + +load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") + +stardoc_repositories() + +load("@rules_java//java:rules_java_deps.bzl", "rules_java_dependencies") + +rules_java_dependencies() + +load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") + +protobuf_deps() + +load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps") + +rules_jvm_external_deps() + +load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup") + +rules_jvm_external_setup() + +load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps") -rules_nfpm_internal_dependencies() +stardoc_external_deps() -load("//nfpm/internal:setup.bzl", "rules_nfpm_internal_setup") +load("@stardoc_maven//:defs.bzl", stardoc_pinned_maven_install = "pinned_maven_install") -rules_nfpm_internal_setup() +stardoc_pinned_maven_install() diff --git a/docs/BUILD.bazel b/docs/BUILD.bazel index 564f8dc..ab34201 100644 --- a/docs/BUILD.bazel +++ b/docs/BUILD.bazel @@ -1,5 +1,5 @@ load("@bazel_skylib//:bzl_library.bzl", "bzl_library") -#load("@io_bazel_stardoc//stardoc:stardoc.bzl", "stardoc") +load("@io_bazel_stardoc//stardoc:stardoc.bzl", "stardoc") package(default_visibility = ["//:__subpackages__"]) @@ -16,19 +16,19 @@ bzl_library( ], ) -#stardoc( -# name = "rules-nfpm-docs", -# out = "rules_nfpm.md", -# input = "//nfpm:defs.bzl", -# deps = [":rules-nfpm-library"], -#) -# -#genrule( -# name = "repository-readme", -# srcs = [ -# ":readme-header.md", -# ":rules-nfpm-docs", -# ], -# outs = ["repository-readme.md"], -# cmd = "echo -n '\n\n' > $@; cat $(SRCS) >> $@", -#) +stardoc( + name = "rules-nfpm-docs", + out = "rules_nfpm.md", + input = "//nfpm:defs.bzl", + deps = [":rules-nfpm-library"], +) + +genrule( + name = "repository-readme", + srcs = [ + ":readme-header.md", + ":rules-nfpm-docs", + ], + outs = ["repository-readme.md"], + cmd = "echo -n '\n\n' > $@; cat $(SRCS) >> $@", +) diff --git a/nfpm/repositories.bzl b/nfpm/repositories.bzl index 77c0e4c..a1742a8 100644 --- a/nfpm/repositories.bzl +++ b/nfpm/repositories.bzl @@ -5,18 +5,34 @@ def rules_nfpm_dependencies(): maybe( http_archive, name = "io_bazel_rules_go", - sha256 = "f2d15bea3e241aa0e3a90fb17a82e6a8ab12214789f6aeddd53b8d04316d2b7c", + sha256 = "26639dcac4358e97afc9798a31d5d1136cd7ddaec72cd6bb121b56e9399513bc", + strip_prefix = "rules_go-41a5b9f9d54b174391a2076fe3906c0371bfbcde", urls = [ - "https://mirror.bazel.build/github.com/bazel-contrib/rules_go/releases/download/v0.54.0/rules_go-v0.54.0.zip", - "https://github.com/bazel-contrib/rules_go/releases/download/v0.54.0/rules_go-v0.54.0.zip", + "https://github.com/patrickmscott/rules_go/archive/41a5b9f9d54b174391a2076fe3906c0371bfbcde.tar.gz", + ], + ) + http_archive( + name = "rules_license", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/1.0.0/rules_license-1.0.0.tar.gz", + "https://github.com/bazelbuild/rules_license/releases/download/1.0.0/rules_license-1.0.0.tar.gz", + ], + sha256 = "26d4021f6898e23b82ef953078389dd49ac2b5618ac564ade4ef87cced147b38", + ) + http_archive( + name = "bazel_skylib", + sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", + "https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.1/bazel-skylib-1.7.1.tar.gz", ], ) - maybe( http_archive, name = "bazel_gazelle", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", - "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.42.0/bazel-gazelle-v0.42.0.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.43.0/bazel-gazelle-v0.43.0.tar.gz", + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.43.0/bazel-gazelle-v0.43.0.tar.gz", ], + sha256 = "7c40b746387cd0c9a4d5bb0b2035abd134b3f7511015710a5ee5e07591008dde" ) diff --git a/nfpm/setup.bzl b/nfpm/setup.bzl index 445f4bf..405f448 100644 --- a/nfpm/setup.bzl +++ b/nfpm/setup.bzl @@ -1,7 +1,9 @@ load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") +load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") def rules_nfpm_setup(nogo = None): + bazel_skylib_workspace() go_rules_dependencies() go_register_toolchains(version = "1.24.2", nogo = nogo) From a1480afad5cacb51fb6abbea59200afa9d704e49 Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Wed, 30 Apr 2025 15:04:17 +0000 Subject: [PATCH 12/13] SNOW-XXXXX Your title here Builds. Description Testing --- WORKSPACE.bazel | 42 ++++++---------------------- nfpm/internal/repositories.bzl | 51 ++++++---------------------------- nfpm/internal/setup.bzl | 21 -------------- 3 files changed, 18 insertions(+), 96 deletions(-) delete mode 100644 nfpm/internal/setup.bzl diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 39e474e..185f5b2 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -14,42 +14,17 @@ load("//nfpm:go_repositories.bzl", "rules_nfpm_go_dependencies") # gazelle:repository_macro deps.bzl%go_dependencies rules_nfpm_go_dependencies() - # # Dependencies not needed by users of rules_nfpm # -# load("//nfpm/internal:repositories.bzl", "rules_nfpm_internal_dependencies") - -# rules_nfpm_internal_dependencies() - -# load("//nfpm/internal:setup.bzl", "rules_nfpm_internal_setup") - -# rules_nfpm_internal_setup() - -load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") - - -http_archive( - name = "rules_python", - sha256 = "2cc26bbd53854ceb76dd42a834b1002cd4ba7f8df35440cf03482e045affc244", - strip_prefix = "rules_python-1.3.0", - url = "https://github.com/bazel-contrib/rules_python/releases/download/1.3.0/rules_python-1.3.0.tar.gz", - ) - -load("@rules_python//python:repositories.bzl", "py_repositories") - -py_repositories() - -http_archive( - name = "io_bazel_stardoc", - sha256 = "0e1ed4a98f26e718776bd64d053d02bb34d98572ccd03d6ba355112a1205706b", - urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.7.2/stardoc-0.7.2.tar.gz", - "https://github.com/bazelbuild/stardoc/releases/download/0.7.2/stardoc-0.7.2.tar.gz", - ], - ) +load("//nfpm/internal:repositories.bzl", "rules_nfpm_internal_dependencies") +rules_nfpm_internal_dependencies() +# ---------------------------------------------------------------------- +# Snippet from: https://github.com/bazelbuild/stardoc/releases/tag/0.8.0 +# Not worth to //nfpm/internal as these are multiple phases of downloads of repository and loads +# that need to be in separate files (or top-level WORKSPACE). load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") stardoc_repositories() @@ -73,7 +48,8 @@ rules_jvm_external_setup() load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps") stardoc_external_deps() - + load("@stardoc_maven//:defs.bzl", stardoc_pinned_maven_install = "pinned_maven_install") - + stardoc_pinned_maven_install() +# ---------------------------------------------------------------------- \ No newline at end of file diff --git a/nfpm/internal/repositories.bzl b/nfpm/internal/repositories.bzl index e7668dd..882fb2a 100644 --- a/nfpm/internal/repositories.bzl +++ b/nfpm/internal/repositories.bzl @@ -14,14 +14,6 @@ def _buildifier_dependencies(): url = "https://github.com/bazelbuild/buildtools/archive/refs/tags/8.0.3.tar.gz", ) - maybe( - http_archive, - name = "com_google_protobuf", - strip_prefix = "protobuf-30.1", - sha256 = "1451b03faec83aed17cdc71671d1bbdfd72e54086b827f5f6fd02bf7a4041b68", - urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v30.1/protobuf-30.1.tar.gz"], - ) - def _skylib_dependencies(): maybe( http_archive, @@ -34,37 +26,12 @@ def _skylib_dependencies(): ) def _stardoc_dependencies(): - pass - -# maybe( -# http_archive, -# name = "io_bazel_stardoc", -# sha256 = "ca933f39f2a6e0ad392fa91fd662545afcbd36c05c62365538385d35a0323096", -# urls = [ -# "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.8.0/stardoc-0.8.0.tar.gz", -# "https://github.com/bazelbuild/stardoc/releases/download/0.8.0/stardoc-0.8.0.tar.gz", -# ], -# ) - -# maybe( -# http_archive, -# name = "rules_python", -# sha256 = "2cc26bbd53854ceb76dd42a834b1002cd4ba7f8df35440cf03482e045affc244", -# strip_prefix = "rules_python-1.3.0", -# url = "https://github.com/bazel-contrib/rules_python/releases/download/1.3.0/rules_python-1.3.0.tar.gz", -# ) -# http_archive( -# name = "rules_proto", -# sha256 = "14a225870ab4e91869652cfd69ef2028277fc1dc4910d65d353b62d6e0ae21f4", -# strip_prefix = "rules_proto-7.1.0", -# url = "https://github.com/bazelbuild/rules_proto/releases/download/7.1.0/rules_proto-7.1.0.tar.gz", -# ) -# -# RULES_JVM_EXTERNAL_TAG = "6.7" -# RULES_JVM_EXTERNAL_SHA = "a1e351607f04fed296ba33c4977d3fe2a615ed50df7896676b67aac993c53c18" -# http_archive( -# name = "rules_jvm_external", -# strip_prefix = "rules_jvm_external-%s" % RULES_JVM_EXTERNAL_TAG, -# sha256 = RULES_JVM_EXTERNAL_SHA, -# url = "https://github.com/bazel-contrib/rules_jvm_external/releases/download/%s/rules_jvm_external-%s.tar.gz" % (RULES_JVM_EXTERNAL_TAG, RULES_JVM_EXTERNAL_TAG), -# ) + maybe( + http_archive, + name = "io_bazel_stardoc", + sha256 = "ca933f39f2a6e0ad392fa91fd662545afcbd36c05c62365538385d35a0323096", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.8.0/stardoc-0.8.0.tar.gz", + "https://github.com/bazelbuild/stardoc/releases/download/0.8.0/stardoc-0.8.0.tar.gz", + ], + ) \ No newline at end of file diff --git a/nfpm/internal/setup.bzl b/nfpm/internal/setup.bzl deleted file mode 100644 index 48f22f9..0000000 --- a/nfpm/internal/setup.bzl +++ /dev/null @@ -1,21 +0,0 @@ -load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps") -load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") -#load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") - -def rules_nfpm_internal_setup(): - _buildifier_setup() - _skylib_setup() - _stardoc_setup() - -def _buildifier_setup(): - pass - -# protobuf_deps() - -def _skylib_setup(): - bazel_skylib_workspace() - -def _stardoc_setup(): - pass - -# stardoc_repositories() From 8094338dd2bab71bb6f2c38eb7aeaf062ac0cce0 Mon Sep 17 00:00:00 2001 From: Piotr Tabor Date: Wed, 30 Apr 2025 15:06:37 +0000 Subject: [PATCH 13/13] Buildifier fix. --- WORKSPACE.bazel | 7 ++++--- docs/BUILD.bazel | 22 +++++++++++----------- nfpm/internal/maybe_go_repository.bzl | 2 +- nfpm/internal/nfpm_package.bzl | 2 +- nfpm/internal/repositories.bzl | 2 +- nfpm/repositories.bzl | 6 +++--- nfpm/setup.bzl | 2 +- 7 files changed, 22 insertions(+), 21 deletions(-) diff --git a/WORKSPACE.bazel b/WORKSPACE.bazel index 185f5b2..b63ec02 100644 --- a/WORKSPACE.bazel +++ b/WORKSPACE.bazel @@ -19,6 +19,7 @@ rules_nfpm_go_dependencies() # load("//nfpm/internal:repositories.bzl", "rules_nfpm_internal_dependencies") + rules_nfpm_internal_dependencies() # ---------------------------------------------------------------------- @@ -48,8 +49,8 @@ rules_jvm_external_setup() load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps") stardoc_external_deps() - + load("@stardoc_maven//:defs.bzl", stardoc_pinned_maven_install = "pinned_maven_install") - + stardoc_pinned_maven_install() -# ---------------------------------------------------------------------- \ No newline at end of file +# ---------------------------------------------------------------------- diff --git a/docs/BUILD.bazel b/docs/BUILD.bazel index ab34201..7705327 100644 --- a/docs/BUILD.bazel +++ b/docs/BUILD.bazel @@ -17,18 +17,18 @@ bzl_library( ) stardoc( - name = "rules-nfpm-docs", - out = "rules_nfpm.md", - input = "//nfpm:defs.bzl", - deps = [":rules-nfpm-library"], + name = "rules-nfpm-docs", + out = "rules_nfpm.md", + input = "//nfpm:defs.bzl", + deps = [":rules-nfpm-library"], ) genrule( - name = "repository-readme", - srcs = [ - ":readme-header.md", - ":rules-nfpm-docs", - ], - outs = ["repository-readme.md"], - cmd = "echo -n '\n\n' > $@; cat $(SRCS) >> $@", + name = "repository-readme", + srcs = [ + ":readme-header.md", + ":rules-nfpm-docs", + ], + outs = ["repository-readme.md"], + cmd = "echo -n '\n\n' > $@; cat $(SRCS) >> $@", ) diff --git a/nfpm/internal/maybe_go_repository.bzl b/nfpm/internal/maybe_go_repository.bzl index 28f82b2..703b47d 100644 --- a/nfpm/internal/maybe_go_repository.bzl +++ b/nfpm/internal/maybe_go_repository.bzl @@ -1,5 +1,5 @@ -load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@bazel_gazelle//:deps.bzl", "go_repository") +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") def maybe_go_repository(**kwargs): maybe(go_repository, **kwargs) diff --git a/nfpm/internal/nfpm_package.bzl b/nfpm/internal/nfpm_package.bzl index ff4301e..14ed978 100644 --- a/nfpm/internal/nfpm_package.bzl +++ b/nfpm/internal/nfpm_package.bzl @@ -51,7 +51,7 @@ nfpm_package = rule( ), "_nfpm": attr.label( default = "//go/v2/cmd/nfpmwrapper", - cfg = "host", + cfg = "exec", executable = True, ), }, diff --git a/nfpm/internal/repositories.bzl b/nfpm/internal/repositories.bzl index 882fb2a..84382d1 100644 --- a/nfpm/internal/repositories.bzl +++ b/nfpm/internal/repositories.bzl @@ -34,4 +34,4 @@ def _stardoc_dependencies(): "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.8.0/stardoc-0.8.0.tar.gz", "https://github.com/bazelbuild/stardoc/releases/download/0.8.0/stardoc-0.8.0.tar.gz", ], - ) \ No newline at end of file + ) diff --git a/nfpm/repositories.bzl b/nfpm/repositories.bzl index a1742a8..c4e1f32 100644 --- a/nfpm/repositories.bzl +++ b/nfpm/repositories.bzl @@ -31,8 +31,8 @@ def rules_nfpm_dependencies(): http_archive, name = "bazel_gazelle", urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.43.0/bazel-gazelle-v0.43.0.tar.gz", - "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.43.0/bazel-gazelle-v0.43.0.tar.gz", + "https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.43.0/bazel-gazelle-v0.43.0.tar.gz", + "https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.43.0/bazel-gazelle-v0.43.0.tar.gz", ], - sha256 = "7c40b746387cd0c9a4d5bb0b2035abd134b3f7511015710a5ee5e07591008dde" + sha256 = "7c40b746387cd0c9a4d5bb0b2035abd134b3f7511015710a5ee5e07591008dde", ) diff --git a/nfpm/setup.bzl b/nfpm/setup.bzl index 405f448..4f96f5c 100644 --- a/nfpm/setup.bzl +++ b/nfpm/setup.bzl @@ -1,6 +1,6 @@ -load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies") load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace") +load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") def rules_nfpm_setup(nogo = None): bazel_skylib_workspace()