Skip to content

Commit 121f755

Browse files
1 parent cec4c9a commit 121f755

File tree

6 files changed

+83
-11
lines changed

6 files changed

+83
-11
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
"Bazel dependencies"
2+
3+
module(
4+
name = "rules_proto",
5+
# Note: the publish-to-BCR app will patch this line to stamp the version being published.
6+
version = "7.1.0",
7+
compatibility_level = 1,
8+
)
9+
10+
bazel_dep(name = "protobuf", version = "29.1", repo_name = "com_google_protobuf")
11+
bazel_dep(name = "bazel_skylib", version = "1.3.0")
12+
bazel_dep(name = "rules_cc", version = "0.0.15")
13+
bazel_dep(name = "rules_license", version = "0.0.7")
14+
15+
# Dependencies needed in tests
16+
bazel_dep(name = "platforms", version = "0.0.8", dev_dependency = True)
17+
bazel_dep(name = "googletest", version = "1.11.0", dev_dependency = True, repo_name = "com_google_googletest")
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
diff --git a/MODULE.bazel b/MODULE.bazel
2+
index 2a69659..1281fd1 100644
3+
--- a/MODULE.bazel
4+
+++ b/MODULE.bazel
5+
@@ -7,7 +7,7 @@ module(
6+
compatibility_level = 1,
7+
)
8+
9+
-bazel_dep(name = "protobuf", version = "27.1", repo_name = "com_google_protobuf")
10+
+bazel_dep(name = "protobuf", version = "29.1", repo_name = "com_google_protobuf")
11+
bazel_dep(name = "bazel_skylib", version = "1.3.0")
12+
bazel_dep(name = "rules_cc", version = "0.0.15")
13+
bazel_dep(name = "rules_license", version = "0.0.7")
14+
diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock
15+
index df66d56..0605596 100644
16+
--- a/MODULE.bazel.lock
17+
+++ b/MODULE.bazel.lock
18+
@@ -50,10 +50,10 @@
19+
"https://bcr.bazel.build/modules/platforms/0.0.8/MODULE.bazel": "9f142c03e348f6d263719f5074b21ef3adf0b139ee4c5133e2aa35664da9eb2d",
20+
"https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel": "a5a29bb89544f9b97edce05642fac225a808b5b7be74038ea3640fae2f8e66a7",
21+
"https://bcr.bazel.build/modules/protobuf/27.0/MODULE.bazel": "7873b60be88844a0a1d8f80b9d5d20cfbd8495a689b8763e76c6372998d3f64c",
22+
- "https://bcr.bazel.build/modules/protobuf/27.1/MODULE.bazel": "703a7b614728bb06647f965264967a8ef1c39e09e8f167b3ca0bb1fd80449c0d",
23+
"https://bcr.bazel.build/modules/protobuf/29.0-rc2/MODULE.bazel": "6241d35983510143049943fc0d57937937122baf1b287862f9dc8590fc4c37df",
24+
"https://bcr.bazel.build/modules/protobuf/29.0/MODULE.bazel": "319dc8bf4c679ff87e71b1ccfb5a6e90a6dbc4693501d471f48662ac46d04e4e",
25+
- "https://bcr.bazel.build/modules/protobuf/29.0/source.json": "b857f93c796750eef95f0d61ee378f3420d00ee1dd38627b27193aa482f4f981",
26+
+ "https://bcr.bazel.build/modules/protobuf/29.1/MODULE.bazel": "557c3457560ff49e122ed76c0bc3397a64af9574691cb8201b4e46d4ab2ecb95",
27+
+ "https://bcr.bazel.build/modules/protobuf/29.1/source.json": "04cca85dce26b895ed037d98336d860367fe09919208f2ad383f0df1aff63199",
28+
"https://bcr.bazel.build/modules/protobuf/3.19.0/MODULE.bazel": "6b5fbb433f760a99a22b18b6850ed5784ef0e9928a72668b66e4d7ccd47db9b0",
29+
"https://bcr.bazel.build/modules/pybind11_bazel/2.11.1/MODULE.bazel": "88af1c246226d87e65be78ed49ecd1e6f5e98648558c14ce99176da041dc378e",
30+
"https://bcr.bazel.build/modules/pybind11_bazel/2.11.1/source.json": "be4789e951dd5301282729fe3d4938995dc4c1a81c2ff150afc9f1b0504c6022",
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -2,9 +2,9 @@
5+
6+
module(
7+
name = "rules_proto",
8+
# Note: the publish-to-BCR app will patch this line to stamp the version being published.
9+
- version = "0.0.0",
10+
+ version = "7.1.0",
11+
compatibility_level = 1,
12+
)
13+
14+
bazel_dep(name = "protobuf", version = "27.1", repo_name = "com_google_protobuf")
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
matrix:
2+
platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]
3+
bazel: ['7.x', '8.x']
4+
tasks:
5+
verify_build_targets:
6+
name: "Verify build targets"
7+
bazel: ${{ bazel }}
8+
platform: ${{ platform }}
9+
build_targets:
10+
- "@rules_proto//proto/..."
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"integrity": "sha256-FKIlhwq06RhpZSz9ae8gKCd/wdxJENZdNTti1uCuIfQ=",
3+
"strip_prefix": "rules_proto-7.1.0",
4+
"url": "https://github.com/bazelbuild/rules_proto/releases/download/7.1.0/rules_proto-7.1.0.tar.gz",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-GFtfNnjXlShEmp3o0HiTq8AWf0YpNxLkmGVMt98QcfI=",
7+
"MODULE.bazel.patch": "sha256-QC5hjx/QZTZ3deil1x9qT0Ni6G1+ZiFaQ+xGHtXR0HE="
8+
},
9+
"patch_strip": 1
10+
}

modules/rules_proto/metadata.json

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@
77
},
88
{
99
"github": "zhangskz"
10-
},
11-
{
12-
"email": "[email protected]",
13-
"github": "alexeagle",
14-
"name": "Alex Eagle"
15-
},
16-
{
17-
"email": "[email protected]",
18-
"github": "thesayyn",
19-
"name": "Şahin Yort"
2010
}
2111
],
2212
"versions": [
@@ -30,7 +20,8 @@
3020
"6.0.2",
3121
"7.0.0",
3222
"7.0.1",
33-
"7.0.2"
23+
"7.0.2",
24+
"7.1.0"
3425
],
3526
"yanked_versions": {},
3627
"repository": [

0 commit comments

Comments
 (0)