Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: run release script #1923

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,15 @@ def gazelle_dependencies(
go_repository,
name = "com_github_bazelbuild_buildtools",
importpath = "github.com/bazelbuild/buildtools",
sum = "h1:/wpuwyWvp46gZfQCmbR+4SI5ne7IjRUM5lsXTzpAeWM=",
version = "v0.0.0-20240827154017-dd10159baa91",
sum = "h1:FGzENZi+SX9I7h9xvMtRA3rel8hCEfyzSixteBgn7MU=",
version = "v0.0.0-20240918101019-be1c24cc9a44",
)
_maybe(
go_repository,
name = "com_github_bazelbuild_rules_go",
importpath = "github.com/bazelbuild/rules_go",
sum = "h1:CTefzjN/D3Cdn3rkrM6qMWuQj59OBcuOjyIp3m4hZ7s=",
version = "v0.46.0",
sum = "h1:/BUvuaB8MEiUA2oLPPCGtuw5V+doAYyiGTFyoSWlkrw=",
version = "v0.50.1",
)
_maybe(
go_repository,
Expand Down Expand Up @@ -205,8 +205,8 @@ def gazelle_dependencies(
go_repository,
name = "org_golang_x_mod",
importpath = "golang.org/x/mod",
sum = "h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0=",
version = "v0.20.0",
sum = "h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=",
version = "v0.21.0",
)
_maybe(
go_repository,
Expand Down
8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
module github.com/bazelbuild/bazel-gazelle

go 1.21.1
go 1.22.0

require (
github.com/bazelbuild/buildtools v0.0.0-20240827154017-dd10159baa91
github.com/bazelbuild/rules_go v0.46.0
github.com/bazelbuild/buildtools v0.0.0-20240918101019-be1c24cc9a44
github.com/bazelbuild/rules_go v0.50.1
github.com/bmatcuk/doublestar/v4 v4.6.1
github.com/fsnotify/fsnotify v1.7.0
github.com/google/go-cmp v0.6.0
github.com/pmezard/go-difflib v1.0.0
golang.org/x/mod v0.20.0
golang.org/x/mod v0.21.0
golang.org/x/sync v0.8.0
golang.org/x/tools/go/vcs v0.1.0-deprecated
)
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
github.com/bazelbuild/buildtools v0.0.0-20240827154017-dd10159baa91 h1:/wpuwyWvp46gZfQCmbR+4SI5ne7IjRUM5lsXTzpAeWM=
github.com/bazelbuild/buildtools v0.0.0-20240827154017-dd10159baa91/go.mod h1:PLNUetjLa77TCCziPsz0EI8a6CUxgC+1jgmWv0H25tg=
github.com/bazelbuild/rules_go v0.46.0 h1:CTefzjN/D3Cdn3rkrM6qMWuQj59OBcuOjyIp3m4hZ7s=
github.com/bazelbuild/rules_go v0.46.0/go.mod h1:Dhcz716Kqg1RHNWos+N6MlXNkjNP2EwZQ0LukRKJfMs=
github.com/bazelbuild/buildtools v0.0.0-20240918101019-be1c24cc9a44 h1:FGzENZi+SX9I7h9xvMtRA3rel8hCEfyzSixteBgn7MU=
github.com/bazelbuild/buildtools v0.0.0-20240918101019-be1c24cc9a44/go.mod h1:PLNUetjLa77TCCziPsz0EI8a6CUxgC+1jgmWv0H25tg=
github.com/bazelbuild/rules_go v0.50.1 h1:/BUvuaB8MEiUA2oLPPCGtuw5V+doAYyiGTFyoSWlkrw=
github.com/bazelbuild/rules_go v0.50.1/go.mod h1:Dhcz716Kqg1RHNWos+N6MlXNkjNP2EwZQ0LukRKJfMs=
github.com/bmatcuk/doublestar/v4 v4.6.1 h1:FH9SifrbvJhnlQpztAx++wlkk70QBf0iBWDwNy7PA4I=
github.com/bmatcuk/doublestar/v4 v4.6.1/go.mod h1:xBQ8jztBU6kakFMg+8WGxn0c6z1fTSPVIjEY1Wr7jzc=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
Expand All @@ -10,8 +10,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0=
golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c=
golang.org/x/mod v0.21.0 h1:vvrHzRwRfVKSiLrG+d4FMl/Qi4ukBCE6kZlTUkDYRT0=
golang.org/x/mod v0.21.0/go.mod h1:6SkKJ3Xj0I0BrPOZoBy3bdMptDDU9oJrpohJ3eWZ1fY=
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.25.0 h1:r+8e+loiHxRqhXVl6ML1nO3l1+oFoWbnlu2Ehimmi34=
Expand Down
60 changes: 48 additions & 12 deletions language/go/std_package_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ var stdPackages = map[string]bool{
"cmd/api/testdata/src/issue21181/indirect": true,
"cmd/api/testdata/src/issue21181/p": true,
"cmd/api/testdata/src/issue29837/p": true,
"cmd/api/testdata/src/issue64958/p": true,
"cmd/api/testdata/src/pkg/p1": true,
"cmd/api/testdata/src/pkg/p2": true,
"cmd/api/testdata/src/pkg/p3": true,
Expand Down Expand Up @@ -139,6 +140,7 @@ var stdPackages = map[string]bool{
"cmd/cgo/internal/testplugin/testdata/issue53989": true,
"cmd/cgo/internal/testplugin/testdata/issue53989/p": true,
"cmd/cgo/internal/testplugin/testdata/issue62430": true,
"cmd/cgo/internal/testplugin/testdata/issue67976": true,
"cmd/cgo/internal/testplugin/testdata/mangle": true,
"cmd/cgo/internal/testplugin/testdata/method": true,
"cmd/cgo/internal/testplugin/testdata/method2": true,
Expand All @@ -158,6 +160,7 @@ var stdPackages = map[string]bool{
"cmd/cgo/internal/testshared/testdata/dep2": true,
"cmd/cgo/internal/testshared/testdata/dep3": true,
"cmd/cgo/internal/testshared/testdata/depBase": true,
"cmd/cgo/internal/testshared/testdata/depBaseInternal": true,
"cmd/cgo/internal/testshared/testdata/division": true,
"cmd/cgo/internal/testshared/testdata/exe": true,
"cmd/cgo/internal/testshared/testdata/exe2": true,
Expand Down Expand Up @@ -185,6 +188,8 @@ var stdPackages = map[string]bool{
"cmd/cgo/internal/testshared/testdata/issue47837/a": true,
"cmd/cgo/internal/testshared/testdata/issue47837/main": true,
"cmd/cgo/internal/testshared/testdata/issue58966": true,
"cmd/cgo/internal/testshared/testdata/issue62277": true,
"cmd/cgo/internal/testshared/testdata/issue62277/p": true,
"cmd/cgo/internal/testshared/testdata/trivial": true,
"cmd/cgo/internal/testso": true,
"cmd/cgo/internal/testso/testdata/so": true,
Expand All @@ -203,7 +208,6 @@ var stdPackages = map[string]bool{
"cmd/compile/internal/bitvec": true,
"cmd/compile/internal/compare": true,
"cmd/compile/internal/coverage": true,
"cmd/compile/internal/deadcode": true,
"cmd/compile/internal/devirtualize": true,
"cmd/compile/internal/dwarfgen": true,
"cmd/compile/internal/escape": true,
Expand All @@ -212,6 +216,10 @@ var stdPackages = map[string]bool{
"cmd/compile/internal/importer/testdata": true,
"cmd/compile/internal/importer/testdata/versions": true,
"cmd/compile/internal/inline": true,
"cmd/compile/internal/inline/inlheur": true,
"cmd/compile/internal/inline/inlheur/testdata": true,
"cmd/compile/internal/inline/inlheur/testdata/props": true,
"cmd/compile/internal/inline/interleaved": true,
"cmd/compile/internal/ir": true,
"cmd/compile/internal/liveness": true,
"cmd/compile/internal/logopt": true,
Expand All @@ -230,8 +238,10 @@ var stdPackages = map[string]bool{
"cmd/compile/internal/pgo/internal/graph": true,
"cmd/compile/internal/pkginit": true,
"cmd/compile/internal/ppc64": true,
"cmd/compile/internal/rangefunc": true,
"cmd/compile/internal/reflectdata": true,
"cmd/compile/internal/riscv64": true,
"cmd/compile/internal/rttype": true,
"cmd/compile/internal/s390x": true,
"cmd/compile/internal/ssa": true,
"cmd/compile/internal/ssa/_gen": true,
Expand All @@ -246,7 +256,7 @@ var stdPackages = map[string]bool{
"cmd/compile/internal/test/testdata/gen": true,
"cmd/compile/internal/test/testdata/mysort": true,
"cmd/compile/internal/test/testdata/pgo/devirtualize": true,
"cmd/compile/internal/test/testdata/pgo/devirtualize/mult": true,
"cmd/compile/internal/test/testdata/pgo/devirtualize/mult.pkg": true,
"cmd/compile/internal/test/testdata/pgo/inline": true,
"cmd/compile/internal/test/testdata/reproducible": true,
"cmd/compile/internal/typebits": true,
Expand All @@ -265,8 +275,8 @@ var stdPackages = map[string]bool{
"cmd/cover/testdata": true,
"cmd/cover/testdata/html": true,
"cmd/cover/testdata/pkgcfg/a": true,
"cmd/cover/testdata/pkgcfg/b": true,
"cmd/cover/testdata/pkgcfg/main": true,
"cmd/cover/testdata/pkgcfg/noFuncsNoTests": true,
"cmd/cover/testdata/pkgcfg/yesFuncsNoTests": true,
"cmd/dist": true,
"cmd/distpack": true,
"cmd/doc": true,
Expand All @@ -290,7 +300,6 @@ var stdPackages = map[string]bool{
"cmd/go/internal/fmtcmd": true,
"cmd/go/internal/fsys": true,
"cmd/go/internal/generate": true,
"cmd/go/internal/get": true,
"cmd/go/internal/gover": true,
"cmd/go/internal/help": true,
"cmd/go/internal/imports": true,
Expand All @@ -303,8 +312,6 @@ var stdPackages = map[string]bool{
"cmd/go/internal/lockedfile/internal/filelock": true,
"cmd/go/internal/mmap": true,
"cmd/go/internal/modcmd": true,
"cmd/go/internal/modconv": true,
"cmd/go/internal/modconv/testdata": true,
"cmd/go/internal/modfetch": true,
"cmd/go/internal/modfetch/codehost": true,
"cmd/go/internal/modfetch/zip_sum_test": true,
Expand Down Expand Up @@ -336,7 +343,6 @@ var stdPackages = map[string]bool{
"cmd/go/internal/work": true,
"cmd/go/internal/workcmd": true,
"cmd/go/testdata": true,
"cmd/go/testdata/failssh": true,
"cmd/go/testdata/mod": true,
"cmd/go/testdata/script": true,
"cmd/go/testdata/vcstest": true,
Expand All @@ -360,6 +366,7 @@ var stdPackages = map[string]bool{
"cmd/internal/buildid/testdata": true,
"cmd/internal/codesign": true,
"cmd/internal/cov": true,
"cmd/internal/cov/covcmd": true,
"cmd/internal/cov/testdata": true,
"cmd/internal/dwarf": true,
"cmd/internal/edit": true,
Expand Down Expand Up @@ -390,7 +397,6 @@ var stdPackages = map[string]bool{
"cmd/internal/test2json": true,
"cmd/internal/test2json/testdata": true,
"cmd/internal/testdir": true,
"cmd/internal/traceviewer": true,
"cmd/link": true,
"cmd/link/internal/amd64": true,
"cmd/link/internal/arm": true,
Expand Down Expand Up @@ -426,6 +432,8 @@ var stdPackages = map[string]bool{
"cmd/link/internal/sym": true,
"cmd/link/internal/wasm": true,
"cmd/link/internal/x86": true,
"cmd/link/testdata/dynimportvar": true,
"cmd/link/testdata/dynimportvar/asm": true,
"cmd/link/testdata/pe-binutils": true,
"cmd/link/testdata/pe-llvm": true,
"cmd/link/testdata/testBuildFortvOS": true,
Expand All @@ -442,7 +450,9 @@ var stdPackages = map[string]bool{
"cmd/test2json": true,
"cmd/tools": true,
"cmd/trace": true,
"cmd/trace/static": true,
"cmd/trace/v2": true,
"cmd/trace/v2/testdata": true,
"cmd/trace/v2/testdata/testprog": true,
"cmd/vendor": true,
"cmd/vendor/github.com/google/pprof": true,
"cmd/vendor/github.com/google/pprof/driver": true,
Expand Down Expand Up @@ -479,7 +489,6 @@ var stdPackages = map[string]bool{
"cmd/vendor/golang.org/x/sync": true,
"cmd/vendor/golang.org/x/sync/semaphore": true,
"cmd/vendor/golang.org/x/sys": true,
"cmd/vendor/golang.org/x/sys/internal/unsafeheader": true,
"cmd/vendor/golang.org/x/sys/plan9": true,
"cmd/vendor/golang.org/x/sys/unix": true,
"cmd/vendor/golang.org/x/sys/windows": true,
Expand All @@ -489,6 +498,7 @@ var stdPackages = map[string]bool{
"cmd/vendor/golang.org/x/tools/cover": true,
"cmd/vendor/golang.org/x/tools/go/analysis": true,
"cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags": true,
"cmd/vendor/golang.org/x/tools/go/analysis/passes/appends": true,
"cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl": true,
"cmd/vendor/golang.org/x/tools/go/analysis/passes/assign": true,
"cmd/vendor/golang.org/x/tools/go/analysis/passes/atomic": true,
Expand All @@ -498,6 +508,7 @@ var stdPackages = map[string]bool{
"cmd/vendor/golang.org/x/tools/go/analysis/passes/composite": true,
"cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock": true,
"cmd/vendor/golang.org/x/tools/go/analysis/passes/ctrlflow": true,
"cmd/vendor/golang.org/x/tools/go/analysis/passes/defers": true,
"cmd/vendor/golang.org/x/tools/go/analysis/passes/directive": true,
"cmd/vendor/golang.org/x/tools/go/analysis/passes/errorsas": true,
"cmd/vendor/golang.org/x/tools/go/analysis/passes/framepointer": true,
Expand Down Expand Up @@ -528,10 +539,13 @@ var stdPackages = map[string]bool{
"cmd/vendor/golang.org/x/tools/go/cfg": true,
"cmd/vendor/golang.org/x/tools/go/types/objectpath": true,
"cmd/vendor/golang.org/x/tools/go/types/typeutil": true,
"cmd/vendor/golang.org/x/tools/internal/analysisinternal": true,
"cmd/vendor/golang.org/x/tools/internal/bisect": true,
"cmd/vendor/golang.org/x/tools/internal/facts": true,
"cmd/vendor/golang.org/x/tools/internal/typeparams": true,
"cmd/vendor/golang.org/x/tools/internal/versions": true,
"cmd/vet": true,
"cmd/vet/testdata/appends": true,
"cmd/vet/testdata/asm": true,
"cmd/vet/testdata/assign": true,
"cmd/vet/testdata/atomic": true,
Expand Down Expand Up @@ -731,6 +745,7 @@ var stdPackages = map[string]bool{
"internal/buildcfg": true,
"internal/bytealg": true,
"internal/cfg": true,
"internal/chacha8rand": true,
"internal/coverage": true,
"internal/coverage/calloc": true,
"internal/coverage/cformat": true,
Expand Down Expand Up @@ -758,6 +773,7 @@ var stdPackages = map[string]bool{
"internal/goexperiment": true,
"internal/goos": true,
"internal/goroot": true,
"internal/gover": true,
"internal/goversion": true,
"internal/intern": true,
"internal/itoa": true,
Expand Down Expand Up @@ -786,6 +802,23 @@ var stdPackages = map[string]bool{
"internal/testpty": true,
"internal/trace": true,
"internal/trace/testdata": true,
"internal/trace/traceviewer": true,
"internal/trace/traceviewer/format": true,
"internal/trace/traceviewer/static": true,
"internal/trace/v2": true,
"internal/trace/v2/event": true,
"internal/trace/v2/event/go122": true,
"internal/trace/v2/internal/testgen/go122": true,
"internal/trace/v2/raw": true,
"internal/trace/v2/testdata": true,
"internal/trace/v2/testdata/cmd/gotraceraw": true,
"internal/trace/v2/testdata/cmd/gotracevalidate": true,
"internal/trace/v2/testdata/fuzz/FuzzReader": true,
"internal/trace/v2/testdata/generators": true,
"internal/trace/v2/testdata/testprog": true,
"internal/trace/v2/testdata/tests": true,
"internal/trace/v2/testtrace": true,
"internal/trace/v2/version": true,
"internal/txtar": true,
"internal/types/errors": true,
"internal/types/testdata/check": true,
Expand All @@ -800,10 +833,12 @@ var stdPackages = map[string]bool{
"internal/xcoff": true,
"internal/xcoff/testdata": true,
"internal/zstd": true,
"internal/zstd/testdata": true,
"io": true,
"io/fs": true,
"io/ioutil": true,
"io/ioutil/testdata": true,
"iter": true,
"log": true,
"log/internal": true,
"log/slog": true,
Expand All @@ -827,7 +862,6 @@ var stdPackages = map[string]bool{
"net": true,
"net/http": true,
"net/http/cgi": true,
"net/http/cgi/testdata": true,
"net/http/cookiejar": true,
"net/http/fcgi": true,
"net/http/httptest": true,
Expand All @@ -837,6 +871,7 @@ var stdPackages = map[string]bool{
"net/http/internal/ascii": true,
"net/http/internal/testcert": true,
"net/http/pprof": true,
"net/http/pprof/testdata": true,
"net/http/testdata": true,
"net/internal/socktest": true,
"net/mail": true,
Expand Down Expand Up @@ -892,6 +927,7 @@ var stdPackages = map[string]bool{
"runtime/race/testdata": true,
"runtime/testdata/testexithooks": true,
"runtime/testdata/testfaketime": true,
"runtime/testdata/testfds": true,
"runtime/testdata/testprog": true,
"runtime/testdata/testprogcgo": true,
"runtime/testdata/testprogcgo/windows": true,
Expand Down
24 changes: 12 additions & 12 deletions language/proto/known_imports.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ import "github.com/bazelbuild/bazel-gazelle/label"

var knownImports = map[string]label.Label{

"google/protobuf/any.proto": label.Label{Repo: "com_google_protobuf", Pkg: "", Name: "any_proto"},
"google/protobuf/api.proto": label.Label{Repo: "com_google_protobuf", Pkg: "", Name: "api_proto"},
"google/protobuf/compiler/plugin.proto": label.Label{Repo: "com_google_protobuf", Pkg: "", Name: "compiler_plugin_proto"},
"google/protobuf/descriptor.proto": label.Label{Repo: "com_google_protobuf", Pkg: "", Name: "descriptor_proto"},
"google/protobuf/duration.proto": label.Label{Repo: "com_google_protobuf", Pkg: "", Name: "duration_proto"},
"google/protobuf/empty.proto": label.Label{Repo: "com_google_protobuf", Pkg: "", Name: "empty_proto"},
"google/protobuf/field_mask.proto": label.Label{Repo: "com_google_protobuf", Pkg: "", Name: "field_mask_proto"},
"google/protobuf/source_context.proto": label.Label{Repo: "com_google_protobuf", Pkg: "", Name: "source_context_proto"},
"google/protobuf/struct.proto": label.Label{Repo: "com_google_protobuf", Pkg: "", Name: "struct_proto"},
"google/protobuf/timestamp.proto": label.Label{Repo: "com_google_protobuf", Pkg: "", Name: "timestamp_proto"},
"google/protobuf/type.proto": label.Label{Repo: "com_google_protobuf", Pkg: "", Name: "type_proto"},
"google/protobuf/wrappers.proto": label.Label{Repo: "com_google_protobuf", Pkg: "", Name: "wrappers_proto"},
"google/protobuf/any.proto": label.Label{Repo: "protobuf", Pkg: "", Name: "any_proto"},
"google/protobuf/api.proto": label.Label{Repo: "protobuf", Pkg: "", Name: "api_proto"},
"google/protobuf/compiler/plugin.proto": label.Label{Repo: "protobuf", Pkg: "", Name: "compiler_plugin_proto"},
"google/protobuf/descriptor.proto": label.Label{Repo: "protobuf", Pkg: "", Name: "descriptor_proto"},
"google/protobuf/duration.proto": label.Label{Repo: "protobuf", Pkg: "", Name: "duration_proto"},
"google/protobuf/empty.proto": label.Label{Repo: "protobuf", Pkg: "", Name: "empty_proto"},
"google/protobuf/field_mask.proto": label.Label{Repo: "protobuf", Pkg: "", Name: "field_mask_proto"},
"google/protobuf/source_context.proto": label.Label{Repo: "protobuf", Pkg: "", Name: "source_context_proto"},
"google/protobuf/struct.proto": label.Label{Repo: "protobuf", Pkg: "", Name: "struct_proto"},
"google/protobuf/timestamp.proto": label.Label{Repo: "protobuf", Pkg: "", Name: "timestamp_proto"},
"google/protobuf/type.proto": label.Label{Repo: "protobuf", Pkg: "", Name: "type_proto"},
"google/protobuf/wrappers.proto": label.Label{Repo: "protobuf", Pkg: "", Name: "wrappers_proto"},
}
1 change: 1 addition & 0 deletions vendor/github.com/bazelbuild/rules_go/CONTRIBUTORS

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading