Proto commits in bazelbuild/buildtools

These 10 commits are when the Protocol Buffers files have changed:

Commit:9f7af7e
Author:Fabian Meumertzheim
Committer:GitHub

Update deps and fix `go mod tidy` (#1514) ## Buildtools PR checklist - [x] The code in this PR is covered by unit/integration tests. - [x] I have tested these changes and provide testing instructions below. - [x] I have either responded to, or resolved all Gemini comments on the PR. - [x] I have read Google Eng Practices on [Small Changes](https://google.github.io/eng-practices/review/developer/small-cls.html), this PR either follows these guidelines or the description provides reasoning for why they can not be followed. ## Description * Bump Bazel, rules_go, gazelle and Go version * Add missing generating code * Make go.mod the source of truth for Bazel builds and tidy it * Ensure go.mod/go.sum remain tidy and `go build ./...` passes via a CI job * Drop the EoL'd ubuntu-20.04 run Fixes https://github.com/bazel-contrib/buildtools/issues/1513

Commit:785fd91
Author:Fabian Meumertzheim
Committer:Fabian Meumertzheim

Fix generated code and run `go mod tidy` * Add missing generating code * Make go.mod the source of truth for Bazel builds and tidy it * Ensure go.mod/go.sum remain tidy via a CI job

Commit:42840ee
Author:Philipp Stephani
Committer:GitHub

Fix module paths (#1502) See https://go.dev/doc/modules/version-numbers#major-version. ## Buildtools PR checklist - [x] The code in this PR is covered by unit/integration tests. - [x] I have tested these changes and provide testing instructions below. - [x] I have either responded to, or resolved all Gemini comments on the PR. - [x] I have read Google Eng Practices on [Small Changes](https://google.github.io/eng-practices/review/developer/small-cls.html), this PR either follows these guidelines or the description provides reasoning for why they can not be followed. ## Description Work towards https://github.com/bazel-contrib/buildtools/issues/1237 According to https://go.dev/doc/modules/version-numbers#major-version, the module path must include the major version for versions above v1.

Commit:5200840
Author:danielmirchandani
Committer:GitHub

New error `MISSING_LIST_ITEM` for `print_comment` (#1199) * Add key names when constructing structs. * New error `MISSING_LIST_ITEM` for `print_comment`. Right now, callers have to parse STDERR to figure out which value `print_comment` didn't work on, if any. We create a new error type so callers can distinguish between a missing attribute and a missing value in the list (without having to parse STDERR). * New error `MISSING_LIST_ITEM` for `print_comment`. Right now, callers have to parse STDERR to figure out which value `print_comment` didn't work on, if any. We create a new error type so callers can distinguish between a missing attribute and a missing value in the list (without having to parse STDERR).

The documentation is generated from this commit.

Commit:4f43986
Author:Fabian Meumertzheim
Committer:GitHub

Also generate `import`-style targets with Gazelle (#1173) Since the repo uses checked-in build files, it should support both the `import` and `go_default_library` naming conventions supported by Gazelle to ensure that it works with all possible values of the `gazelle:go_naming_convention_external` directive. This is achieved by using `gazelle:go_naming_convention import_alias`.

Commit:de1a539
Author:Zhongpeng Lin
Committer:GitHub

Update build.proto to Bazel 6.0 (#1122)

Commit:574fa33
Author:Vladimir Moskva
Committer:GitHub

Autogenerate warnings documentation (#945)

Commit:8159bac
Author:Vladimir Moskva
Committer:GitHub

Remove dependency on bazel (#545)

Commit:49d4d32
Author:Paul Bethe
Committer:GitHub

Update repo using latest gazelle. (#281) * upgrade rule_go; run gazelle everywhere * add go_proto_checkedin_test to deal with latest go_proto_library and run update_generated.sh to regenerate files * format build_defs.bzl with buildifier -type bzl * add buildifier_integration_test to tests suite * revert x_defs for linkstamp until it works -- in a follow up PR.

Commit:91f1a2a
Author:Paul Bethe

initial port of buildozer