-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
module( | ||
name = "opencensus-proto", | ||
version = "0.4.1", | ||
compatibility_level = 1, | ||
) | ||
|
||
bazel_dep( | ||
name = "grpc", | ||
version = "1.41.0", | ||
repo_name = "com_github_grpc_grpc", | ||
) | ||
bazel_dep( | ||
name = "protobuf", | ||
version = "21.7", | ||
repo_name = "com_google_protobuf", | ||
) | ||
bazel_dep( | ||
name = "rules_go", | ||
version = "0.45.1", | ||
repo_name = "io_bazel_rules_go", | ||
) | ||
bazel_dep( | ||
name = "rules_proto", | ||
version = "5.3.0-21.7", | ||
) | ||
# -- bazel_dep definitions -- # |
12 changes: 12 additions & 0 deletions
12
modules/opencensus-proto/0.4.1/patches/build_dot_bazel.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/opencensus/proto/trace/v1/BUILD.bazel b/opencensus/proto/trace/v1/BUILD.bazel | ||
index 0beb6d8..b11f455 100644 | ||
--- a/opencensus/proto/trace/v1/BUILD.bazel | ||
+++ b/opencensus/proto/trace/v1/BUILD.bazel | ||
@@ -77,7 +77,6 @@ py_proto_library( | ||
srcs = ["trace.proto"], | ||
deps = [ | ||
"//opencensus/proto/resource/v1:resource_proto_py", | ||
- "@com_google_protobuf//:protobuf_python", | ||
], | ||
) | ||
|
29 changes: 29 additions & 0 deletions
29
modules/opencensus-proto/0.4.1/patches/module_dot_bazel.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- a/MODULE.bazel | ||
+++ a/MODULE.bazel | ||
@@ -0,0 +1,26 @@ | ||
+module( | ||
+ name = "opencensus-proto", | ||
+ version = "0.4.1", | ||
+ compatibility_level = 1, | ||
+) | ||
+ | ||
+bazel_dep( | ||
+ name = "grpc", | ||
+ version = "1.41.0", | ||
+ repo_name = "com_github_grpc_grpc", | ||
+) | ||
+bazel_dep( | ||
+ name = "protobuf", | ||
+ version = "21.7", | ||
+ repo_name = "com_google_protobuf", | ||
+) | ||
+bazel_dep( | ||
+ name = "rules_go", | ||
+ version = "0.45.1", | ||
+ repo_name = "io_bazel_rules_go", | ||
+) | ||
+bazel_dep( | ||
+ name = "rules_proto", | ||
+ version = "5.3.0-21.7", | ||
+) | ||
+# -- bazel_dep definitions -- # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
matrix: | ||
platform: | ||
- debian10 | ||
- ubuntu2004 | ||
- macos | ||
- macos_arm64 | ||
- windows | ||
bazel: | ||
- 7.x | ||
- 6.x | ||
tasks: | ||
verify_targets: | ||
name: Verify build targets | ||
platform: ${{ platform }} | ||
bazel: ${{ bazel }} | ||
build_targets: | ||
- '@opencensus-proto//opencensus/proto/agent/common/v1:common_proto' | ||
- '@opencensus-proto//opencensus/proto/agent/metrics/v1:metrics_service_proto' | ||
- '@opencensus-proto//opencensus/proto/agent/trace/v1:trace_service_proto' | ||
- '@opencensus-proto//opencensus/proto/metrics/v1:metrics_proto' | ||
- '@opencensus-proto//opencensus/proto/resource/v1:resource_proto' | ||
- '@opencensus-proto//opencensus/proto/stats/v1:stats_proto' | ||
- '@opencensus-proto//opencensus/proto/trace/v1:trace_proto' | ||
- '@opencensus-proto//opencensus/proto/trace/v1:trace_config_proto' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"url": "https://github.com/census-instrumentation/opencensus-proto/archive/refs/tags/v0.4.1.tar.gz", | ||
"integrity": "sha256-49iff57YTJtu7oGMLpMGlQUZQCv4A2mLFcMQt3yi8PM=", | ||
"strip_prefix": "opencensus-proto-0.4.1/src", | ||
"patches": { | ||
"build_dot_bazel.patch": "sha256-Nfwo77xWETU+N8IrXgEFe6j+n0pk7kyAosq+LIokbcc=", | ||
"module_dot_bazel.patch": "sha256-V+2X4CHqvf8kShzDxQsp+KhpZYmgBRxJID2IUo7NkqU=" | ||
}, | ||
"patch_strip": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"homepage": "https://github.com/census-instrumentation/opencensus-proto", | ||
"maintainers": [ | ||
{ | ||
"email": "[email protected]", | ||
"name": "No Maintainer Specified" | ||
} | ||
], | ||
"repository": [ | ||
"github:census-instrumentation/opencensus-proto" | ||
], | ||
"versions": [ | ||
"0.4.1" | ||
], | ||
"yanked_versions": {} | ||
} |