From 98c54091ad28d684b32bbbbdf85411804f1ea7ab Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 18:12:59 +0100 Subject: [PATCH] rules_proto@7.0.0 (#3124) Release: https://github.com/bazelbuild/rules_proto/releases/tag/7.0.0 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: Alex Eagle --- modules/rules_proto/7.0.0/MODULE.bazel | 19 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 14 ++++++++++++++ modules/rules_proto/7.0.0/presubmit.yml | 10 ++++++++++ modules/rules_proto/7.0.0/source.json | 9 +++++++++ modules/rules_proto/metadata.json | 3 ++- 5 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 modules/rules_proto/7.0.0/MODULE.bazel create mode 100644 modules/rules_proto/7.0.0/patches/module_dot_bazel_version.patch create mode 100644 modules/rules_proto/7.0.0/presubmit.yml create mode 100644 modules/rules_proto/7.0.0/source.json diff --git a/modules/rules_proto/7.0.0/MODULE.bazel b/modules/rules_proto/7.0.0/MODULE.bazel new file mode 100644 index 00000000000..4d7fa7ecb97 --- /dev/null +++ b/modules/rules_proto/7.0.0/MODULE.bazel @@ -0,0 +1,19 @@ +"Bazel dependencies" + +module( + name = "rules_proto", + # Note: the publish-to-BCR app will patch this line to stamp the version being published. + version = "7.0.0", + compatibility_level = 1, +) + +bazel_dep(name = "protobuf", version = "27.1", repo_name = "com_google_protobuf") +bazel_dep(name = "bazel_skylib", version = "1.3.0") +bazel_dep(name = "rules_cc", version = "0.0.14") +bazel_dep(name = "rules_license", version = "0.0.7") + +# Dependencies needed in tests +bazel_dep(name = "stardoc", version = "0.7.1", dev_dependency = True, repo_name = "io_bazel_stardoc") +bazel_dep(name = "rules_shell", version = "0.2.0", dev_dependency = True) # only used in docs +bazel_dep(name = "platforms", version = "0.0.8", dev_dependency = True) +bazel_dep(name = "googletest", version = "1.11.0", dev_dependency = True, repo_name = "com_google_googletest") diff --git a/modules/rules_proto/7.0.0/patches/module_dot_bazel_version.patch b/modules/rules_proto/7.0.0/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..992ecbc445e --- /dev/null +++ b/modules/rules_proto/7.0.0/patches/module_dot_bazel_version.patch @@ -0,0 +1,14 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -2,9 +2,9 @@ + + module( + name = "rules_proto", + # Note: the publish-to-BCR app will patch this line to stamp the version being published. +- version = "0.0.0", ++ version = "7.0.0", + compatibility_level = 1, + ) + + bazel_dep(name = "protobuf", version = "27.1", repo_name = "com_google_protobuf") diff --git a/modules/rules_proto/7.0.0/presubmit.yml b/modules/rules_proto/7.0.0/presubmit.yml new file mode 100644 index 00000000000..f7bceee48da --- /dev/null +++ b/modules/rules_proto/7.0.0/presubmit.yml @@ -0,0 +1,10 @@ +matrix: + platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"] + bazel: ['7.x', '6.x'] +tasks: + verify_build_targets: + name: "Verify build targets" + bazel: ${{ bazel }} + platform: ${{ platform }} + build_targets: + - "@rules_proto//proto/..." diff --git a/modules/rules_proto/7.0.0/source.json b/modules/rules_proto/7.0.0/source.json new file mode 100644 index 00000000000..142786ac1a7 --- /dev/null +++ b/modules/rules_proto/7.0.0/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-jhldu2pQXKTHqvprfP+kf+SaJhsno0IFPPsrlzzEqhI=", + "strip_prefix": "rules_proto-7.0.0", + "url": "https://github.com/bazelbuild/rules_proto/releases/download/7.0.0/rules_proto-7.0.0.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-1v8ODA1Z09AYSu8SMWdL/qNUa43R7NGrMMpPb8SwSKs=" + }, + "patch_strip": 1 +} diff --git a/modules/rules_proto/metadata.json b/modules/rules_proto/metadata.json index 1ae8f9356cd..ac82cedf300 100644 --- a/modules/rules_proto/metadata.json +++ b/modules/rules_proto/metadata.json @@ -27,7 +27,8 @@ "6.0.0-rc3", "6.0.0", "6.0.0.bcr.1", - "6.0.2" + "6.0.2", + "7.0.0" ], "yanked_versions": {}, "repository": [