{"id":26447581,"url":"https://github.com/abitofhelp/bazel-go-googleapis","last_synced_at":"2026-05-20T06:10:53.944Z","repository":{"id":242654667,"uuid":"810167508","full_name":"abitofhelp/bazel-go-googleapis","owner":"abitofhelp","description":"This is an example using the googleapis proto package from Bazel Central Registry rather than using an archive_override in the MODULE.bazel file.","archived":false,"fork":false,"pushed_at":"2024-06-11T08:50:31.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-06-11T10:17:32.985Z","etag":null,"topics":["bazel","bzlmod","gazelle","go","golang","grpc","grpc-go","grpc-golang","grpc-reflection","protobuf","protocol-buffers"],"latest_commit_sha":null,"homepage":"","language":"Starlark","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abitofhelp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-04T07:15:51.000Z","updated_at":"2024-06-11T08:50:35.000Z","dependencies_parsed_at":"2024-06-04T08:58:09.191Z","dependency_job_id":"f50a740b-ec08-41c1-8152-2c905cd93251","html_url":"https://github.com/abitofhelp/bazel-go-googleapis","commit_stats":null,"previous_names":["abitofhelp/bazel-go-googleapis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abitofhelp%2Fbazel-go-googleapis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abitofhelp%2Fbazel-go-googleapis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abitofhelp%2Fbazel-go-googleapis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abitofhelp%2Fbazel-go-googleapis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abitofhelp","download_url":"https://codeload.github.com/abitofhelp/bazel-go-googleapis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244236077,"owners_count":20420753,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bazel","bzlmod","gazelle","go","golang","grpc","grpc-go","grpc-golang","grpc-reflection","protobuf","protocol-buffers"],"created_at":"2025-03-18T13:57:48.744Z","updated_at":"2026-05-20T06:10:48.925Z","avatar_url":"https://github.com/abitofhelp.png","language":"Starlark","funding_links":[],"categories":[],"sub_categories":[],"readme":"#bazel-go-googleapis.git\n\nThis repository contains a client/server solution implementing the classic Greet service using the following technologies:\nN.B. It does not use any of Buf's technology.\n* Bazel\n* Gazelle\n* Go\n* GoogleApis (Bazel Central Registry)\n* Grpc\n* Grpc Reflection\n* Protocol Buffers\n\nMy goal was to explore how to use the googleapis proto package from BCR rather than having to \nconfigure the following in the MODULE.bazel file.\n\n```\n# See:\n# https://bazel.build/external/migration#fetch-deps-module-extensions\n# https://github.com/bazelbuild/rules_go/issues/3685\n\nGOOGLE_APIS_VERSION = \"64926d52febbf298cb82a8f472ade4a3969ba922\"\n\nbazel_dep(\n    name = \"com_google_googleapis\",\n    version = GOOGLE_APIS_VERSION,\n    repo_name = \"googleapis\",\n)\narchive_override(\n    module_name = \"com_google_googleapis\",\n    integrity = \"sha256-nRqTDnZ8k8glOYuPhpLso/41O5qq3t+88fyiKCyF34g=\",\n    patch_strip = 1,\n    patches = [\n        \"scripts/bazel/add_bzlmod_support.patch\",  # https://github.com/googleapis/googleapis/pull/855\n    ],\n    strip_prefix = \"googleapis-\" + GOOGLE_APIS_VERSION,\n    urls = [\n        \"https://github.com/googleapis/googleapis/archive/%s.zip\" % GOOGLE_APIS_VERSION,\n    ],\n)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabitofhelp%2Fbazel-go-googleapis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabitofhelp%2Fbazel-go-googleapis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabitofhelp%2Fbazel-go-googleapis/lists"}