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(deps): update dependency bazel_gazelle to v0.36.0 #155

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 8, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
bazel_gazelle http_archive minor v0.28.0 -> v0.36.0

Release Notes

bazelbuild/bazel-gazelle (bazel_gazelle)

v0.36.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-gazelle@v0.35.0...v0.36.0

v0.35.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-gazelle@v0.34.0...v0.35.0

v0.34.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-gazelle@v0.33.0...v0.34.0

v0.33.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-gazelle@v0.32.0...v0.33.0

v0.32.0

Compare Source

Starting this release, Gazelle no longer resolves Go and proto imports of Google APIs to @go_googleapis. Instead, Go packages from Google APIs will be treated as regular Go packages, and resolve to @org_golang_google_genproto, which contains the pre-generated Go code, with its version determined by Go modules. For proto files importing Google APIs proto and generating Go code, users need to:

  1. Add an http_archive rule to download Google APIs, e.g.,
http_archive(
    name = "googleapis",
    sha256 = "9d1a930e767c93c825398b8f8692eca3fe353b9aaadedfbcf1fca2282c85df88",
    strip_prefix = "googleapis-64926d52febbf298cb82a8f472ade4a3969ba922",
    urls = [
        "https://github.com/googleapis/googleapis/archive/64926d52febbf298cb82a8f472ade4a3969ba922.zip",
    ],
)

load("@​googleapis//:repository_rules.bzl", "switched_rules_by_language")

switched_rules_by_language(
    name = "com_google_googleapis_imports",
)

Note that the version of Google APIs archive needs to be compatible with the pre-generated code in @org_golang_google_genproto.

  1. Resolve the proto manually. If Gazelle is being used, directives like the following need to be added to a parent directory of the proto files:
### gazelle:resolve proto proto google/rpc/status.proto @​googleapis//google/rpc:status_proto
### gazelle:resolve proto go google/rpc/status.proto  @​org_golang_google_genproto//googleapis/rpc/status
### gazelle:resolve proto google/longrunning/operations.proto @​googleapis//google/longrunning:operations_proto
### gazelle:resolve proto go google/longrunning/operations.proto @​org_golang_google_genproto//googleapis/longrunning

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-gazelle@v0.31.1...v0.32.0

v0.31.1

Compare Source

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-gazelle@v0.31.0...v0.31.1

v0.31.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-gazelle@v0.30.0...v0.31.0

v0.30.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-gazelle@v0.29.0...v0.30.0

v0.29.0

Compare Source

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-gazelle@v0.28.0...v0.29.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner April 8, 2024 16:33
@renovate renovate bot force-pushed the renovate/bazel_gazelle-0.x branch from 907b3fe to fcc2344 Compare April 8, 2024 19:56
@kzadorozhny kzadorozhny merged commit 0c304cf into main Apr 8, 2024
4 of 5 checks passed
@kzadorozhny kzadorozhny deleted the renovate/bazel_gazelle-0.x branch April 8, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant