-
Notifications
You must be signed in to change notification settings - Fork 584
Add [email protected] #6217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add [email protected] #6217
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| module( | ||
| name = "openconfig_attestz", | ||
| version = "0.6.0", | ||
| ) | ||
|
|
||
| bazel_dep(name = "gazelle", version = "0.45.0", repo_name = "bazel_gazelle") | ||
| bazel_dep(name = "grpc", version = "1.74.1", repo_name = "com_github_grpc_grpc") | ||
| bazel_dep(name = "protobuf", version = "32.1", repo_name = "com_google_protobuf") | ||
| bazel_dep(name = "rules_go", version = "0.57.0", repo_name = "io_bazel_rules_go") | ||
| bazel_dep(name = "rules_proto", version = "7.1.0") | ||
|
|
||
| go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk") | ||
| go_sdk.download(version = "1.25.1") | ||
|
|
||
| go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps") | ||
| go_deps.from_file(go_mod = "//:go.mod") | ||
| use_repo(go_deps, "com_github_golang_glog", "com_github_google_go_cmp", "org_golang_google_grpc", "org_golang_google_grpc_cmd_protoc_gen_go_grpc", "org_golang_google_protobuf", "com_github_google_go_tpm") | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- MODULE.bazel | ||
| +++ MODULE.bazel | ||
| @@ -1,6 +1,6 @@ | ||
| module( | ||
| name = "openconfig_attestz", | ||
| - version = "0.0.0", | ||
| + version = "0.6.0", | ||
| ) | ||
|
|
||
| bazel_dep(name = "gazelle", version = "0.45.0", repo_name = "bazel_gazelle") | ||
|
Comment on lines
+1
to
+10
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This patch attempts to modify a I have also taken the liberty of removing the seemingly unused |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| matrix: | ||
| platform: | ||
| - debian10 | ||
| - ubuntu2004 | ||
| bazel: | ||
| - 8.x | ||
| - 7.x | ||
| tasks: | ||
| verify_targets: | ||
| name: Verify build targets | ||
| platform: ${{ platform }} | ||
| bazel: ${{ bazel }} | ||
| build_targets: | ||
| - '@openconfig_attestz//...' |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| { | ||
| "url": "https://github.com/openconfig/attestz/archive/refs/tags/v0.6.0.tar.gz", | ||
| "integrity": "sha256-vyYwtH/64xn954LFOeu4FUZWqFtYDDZVliwpXQeKhpY=", | ||
| "strip_prefix": "attestz-0.6.0", | ||
| "patch_strip": 0, | ||
| "patches": { | ||
| "module_dot_bazel.patch": "sha256-P3Me+JnnfZTCBevBvEg7iVHjyXyVd2uW8WNbBxIQoEo=" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -18,7 +18,8 @@ | |
| "github:openconfig/attestz" | ||
| ], | ||
| "versions": [ | ||
| "0.5.0" | ||
| "0.5.0", | ||
| "0.6.0" | ||
| ], | ||
| "yanked_versions": {} | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This
bazel_depongrpc(the C++ library) appears to be unused for this Go module. The necessary Go gRPC dependencies are fetched viago_depsfromgo.mod, andrules_goutilizes the Go gRPC protoc plugin from those dependencies. Removing this unused dependency will simplify the dependency graph for consumers of this module.