{"id":13450725,"url":"https://github.com/google/bazel-common","last_synced_at":"2025-03-23T16:32:01.155Z","repository":{"id":30075249,"uuid":"123311177","full_name":"google/bazel-common","owner":"google","description":"Common functionality for Google's open-source libraries that are built with bazel.","archived":false,"fork":false,"pushed_at":"2025-03-20T17:32:33.000Z","size":273,"stargazers_count":87,"open_issues_count":16,"forks_count":42,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-22T00:41:09.707Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Starlark","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2018-02-28T16:25:09.000Z","updated_at":"2025-03-20T17:32:36.000Z","dependencies_parsed_at":"2023-10-14T20:33:28.150Z","dependency_job_id":"d8af5051-6bfe-411e-bb2a-90ceb70020ea","html_url":"https://github.com/google/bazel-common","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fbazel-common","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fbazel-common/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fbazel-common/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fbazel-common/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/bazel-common/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245130918,"owners_count":20565744,"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":[],"created_at":"2024-07-31T07:00:37.677Z","updated_at":"2025-03-23T16:32:01.143Z","avatar_url":"https://github.com/google.png","language":"Starlark","readme":"# Bazel Common Libraries\n\nThis repository contains assorted common functionality for Google's open-source\nlibraries that are built with [`bazel`]. It is an experimental project and none\nof the APIs/target names are fixed/guaranteed to remain. You are welcome to use\nit and offer feedback at your own risk.\n\nThis is not an official Google product.\n\n[`bazel`]: https://bazel.build\n\n## Using Bazel Common\n\n1.  Choose the commit hash you want to use.\n\n2.  Add the following to your `MODULE.bazel` file. The version can be found\n[here](https://registry.bazel.build/modules/google_bazel_common)\n\n    ```bzl\n    bazel_dep(\n        name = \"google_bazel_common\",\n        version = \"0.0.1\",\n    )\n    ```\n\nTo update the version of Bazel Common, choose a new commit and update your\n`MODULE.bazel` file.\n\n## Incrementing the version of an exported library\n\n1.  Open `MODULE.bazel`\n\n2.  Find the maven coordinate of the library export that you want to increment\n\n3.  Update the version number in the maven coordinate\n\n4.  Update the `maven_install.json` file by running:\n\n    ```shell\n    REPIN=1 bazelisk run @google_bazel_common_maven//:pin\n    ```\n\n5.  Send the change for review.\n\n6.  Once submitted, remember to update your own dep on `bazel_common` to the\n    version containing your change.\n","funding_links":[],"categories":["Tooling"],"sub_categories":["Starlark"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fbazel-common","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle%2Fbazel-common","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fbazel-common/lists"}