From 487dd1741ceab2c7f662bd78176bde3ae23070b8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Feb 2026 09:23:53 +0000 Subject: [PATCH 1/6] Initial plan From 4ddd9088a50f80b758d3c9f1487618b912e2e5b6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Feb 2026 09:30:06 +0000 Subject: [PATCH 2/6] Add prometheus-metrics-model 0.6.2.envoy to bazel-registry Co-authored-by: phlax <454682+phlax@users.noreply.github.com> --- .../0.6.2.envoy/MODULE.bazel | 9 +++++++ .../0.6.2.envoy/overlay/BUILD.bazel | 27 +++++++++++++++++++ .../0.6.2.envoy/presubmit.yml | 15 +++++++++++ .../0.6.2.envoy/source.json | 8 ++++++ .../prometheus-metrics-model/metadata.json | 11 ++++++++ 5 files changed, 70 insertions(+) create mode 100644 bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/MODULE.bazel create mode 100644 bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel create mode 100644 bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/presubmit.yml create mode 100644 bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json create mode 100644 bazel-registry/modules/prometheus-metrics-model/metadata.json diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/MODULE.bazel b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/MODULE.bazel new file mode 100644 index 0000000000..5f651d78cf --- /dev/null +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/MODULE.bazel @@ -0,0 +1,9 @@ +module( + name = "prometheus-metrics-model", + version = "0.6.2.envoy", + compatibility_level = 1, + repo_name = "prometheus_metrics_model", +) + +bazel_dep(name = "protobuf", version = "29.2") +bazel_dep(name = "rules_proto", version = "7.1.0") diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel new file mode 100644 index 0000000000..e342e35303 --- /dev/null +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel @@ -0,0 +1,27 @@ +load("@protobuf//bazel:proto_library.bzl", "proto_library") +load("@protobuf//bazel:cc_proto_library.bzl", "cc_proto_library") + +proto_library( + name = "client_model_proto", + srcs = [ + "io/prometheus/client/metrics.proto", + ], + strip_import_prefix = "", + deps = [ + "@protobuf//src/google/protobuf:timestamp_proto", + ], + visibility = ["//visibility:public"], +) + +cc_proto_library( + name = "client_model", + deps = [":client_model_proto"], + visibility = ["//visibility:public"], +) + +# Alias for compatibility +alias( + name = "prometheus-metrics-model", + actual = ":client_model", + visibility = ["//visibility:public"], +) diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/presubmit.yml b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/presubmit.yml new file mode 100644 index 0000000000..4fae204338 --- /dev/null +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/presubmit.yml @@ -0,0 +1,15 @@ +matrix: + platform: + - debian11 + - ubuntu2404 + - macos + bazel: + - 8.x + +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - "@prometheus-metrics-model//:client_model" diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json new file mode 100644 index 0000000000..108a3fb5e7 --- /dev/null +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json @@ -0,0 +1,8 @@ +{ + "url": "https://github.com/prometheus/client_model/archive/v0.6.2.tar.gz", + "integrity": "sha256-R8XqeUn2jn97NENQxZtr0x7rkh8O7Gw6Vm4nzxlRRww=", + "strip_prefix": "client_model-0.6.2", + "overlay": { + "BUILD.bazel": "sha256-PpfN/+rthuT2xGN4Mjh1UuEKjoayqo+FNRE6BDoJzss=" + } +} diff --git a/bazel-registry/modules/prometheus-metrics-model/metadata.json b/bazel-registry/modules/prometheus-metrics-model/metadata.json new file mode 100644 index 0000000000..3cf4df1fb2 --- /dev/null +++ b/bazel-registry/modules/prometheus-metrics-model/metadata.json @@ -0,0 +1,11 @@ +{ + "homepage": "https://github.com/prometheus/client_model", + "maintainers": [], + "repository": [ + "github:prometheus/client_model" + ], + "versions": [ + "0.6.2.envoy" + ], + "yanked_versions": {} +} From 9650377a4b51ba694d67b7f0c2c6832f05c022e8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Feb 2026 09:31:13 +0000 Subject: [PATCH 3/6] Update protobuf version to 33.4.envoy and remove rules_proto Co-authored-by: phlax <454682+phlax@users.noreply.github.com> --- .../modules/prometheus-metrics-model/0.6.2.envoy/MODULE.bazel | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/MODULE.bazel b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/MODULE.bazel index 5f651d78cf..cbfe51534a 100644 --- a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/MODULE.bazel +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/MODULE.bazel @@ -5,5 +5,4 @@ module( repo_name = "prometheus_metrics_model", ) -bazel_dep(name = "protobuf", version = "29.2") -bazel_dep(name = "rules_proto", version = "7.1.0") +bazel_dep(name = "protobuf", version = "33.4.envoy") From 4eedc3eabb56781abfba175627969162c899751d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Feb 2026 09:46:27 +0000 Subject: [PATCH 4/6] Fix visibility issue: use @protobuf//:timestamp_proto Co-authored-by: phlax <454682+phlax@users.noreply.github.com> --- .../prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel | 2 +- .../modules/prometheus-metrics-model/0.6.2.envoy/source.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel index e342e35303..4123cfd989 100644 --- a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel @@ -8,7 +8,7 @@ proto_library( ], strip_import_prefix = "", deps = [ - "@protobuf//src/google/protobuf:timestamp_proto", + "@protobuf//:timestamp_proto", ], visibility = ["//visibility:public"], ) diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json index 108a3fb5e7..fddf6550f6 100644 --- a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json @@ -3,6 +3,6 @@ "integrity": "sha256-R8XqeUn2jn97NENQxZtr0x7rkh8O7Gw6Vm4nzxlRRww=", "strip_prefix": "client_model-0.6.2", "overlay": { - "BUILD.bazel": "sha256-PpfN/+rthuT2xGN4Mjh1UuEKjoayqo+FNRE6BDoJzss=" + "BUILD.bazel": "sha256-NSe0d1sTOD0SKKhqVv7LIuKBpxMHZXhisd20H68oaMs=" } } From 2ede47e84d996bad712b9493f762bae23c11b7da Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Feb 2026 09:51:24 +0000 Subject: [PATCH 5/6] Fix target naming: rename to client_model_cc_proto Co-authored-by: phlax <454682+phlax@users.noreply.github.com> --- .../0.6.2.envoy/overlay/BUILD.bazel | 10 ++++++++-- .../prometheus-metrics-model/0.6.2.envoy/presubmit.yml | 1 + .../prometheus-metrics-model/0.6.2.envoy/source.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel index 4123cfd989..ba5c987762 100644 --- a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel @@ -14,14 +14,20 @@ proto_library( ) cc_proto_library( - name = "client_model", + name = "client_model_cc_proto", deps = [":client_model_proto"], visibility = ["//visibility:public"], ) # Alias for compatibility +alias( + name = "client_model", + actual = ":client_model_cc_proto", + visibility = ["//visibility:public"], +) + alias( name = "prometheus-metrics-model", - actual = ":client_model", + actual = ":client_model_cc_proto", visibility = ["//visibility:public"], ) diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/presubmit.yml b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/presubmit.yml index 4fae204338..34d856a738 100644 --- a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/presubmit.yml +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/presubmit.yml @@ -12,4 +12,5 @@ tasks: platform: ${{ platform }} bazel: ${{ bazel }} build_targets: + - "@prometheus-metrics-model//:client_model_cc_proto" - "@prometheus-metrics-model//:client_model" diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json index fddf6550f6..b6684f8a94 100644 --- a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json @@ -3,6 +3,6 @@ "integrity": "sha256-R8XqeUn2jn97NENQxZtr0x7rkh8O7Gw6Vm4nzxlRRww=", "strip_prefix": "client_model-0.6.2", "overlay": { - "BUILD.bazel": "sha256-NSe0d1sTOD0SKKhqVv7LIuKBpxMHZXhisd20H68oaMs=" + "BUILD.bazel": "sha256-UzOBxTvhVGKFLzBCupjWzw1WoOgAv7I0t7hsOEnPaB4=" } } From e4857175c6ad71a80c0f34cbb5b73a1fc9ea8a7c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 5 Feb 2026 09:56:21 +0000 Subject: [PATCH 6/6] Fix proto_library naming: rename to client_model Co-authored-by: phlax <454682+phlax@users.noreply.github.com> --- .../0.6.2.envoy/overlay/BUILD.bazel | 10 +++++----- .../prometheus-metrics-model/0.6.2.envoy/presubmit.yml | 2 +- .../prometheus-metrics-model/0.6.2.envoy/source.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel index ba5c987762..a082985b9c 100644 --- a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/overlay/BUILD.bazel @@ -2,7 +2,7 @@ load("@protobuf//bazel:proto_library.bzl", "proto_library") load("@protobuf//bazel:cc_proto_library.bzl", "cc_proto_library") proto_library( - name = "client_model_proto", + name = "client_model", srcs = [ "io/prometheus/client/metrics.proto", ], @@ -15,14 +15,14 @@ proto_library( cc_proto_library( name = "client_model_cc_proto", - deps = [":client_model_proto"], + deps = [":client_model"], visibility = ["//visibility:public"], ) -# Alias for compatibility +# Backward compatibility aliases alias( - name = "client_model", - actual = ":client_model_cc_proto", + name = "client_model_proto", + actual = ":client_model", visibility = ["//visibility:public"], ) diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/presubmit.yml b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/presubmit.yml index 34d856a738..eeb8c2a19b 100644 --- a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/presubmit.yml +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/presubmit.yml @@ -12,5 +12,5 @@ tasks: platform: ${{ platform }} bazel: ${{ bazel }} build_targets: - - "@prometheus-metrics-model//:client_model_cc_proto" - "@prometheus-metrics-model//:client_model" + - "@prometheus-metrics-model//:client_model_cc_proto" diff --git a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json index b6684f8a94..7934186499 100644 --- a/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json +++ b/bazel-registry/modules/prometheus-metrics-model/0.6.2.envoy/source.json @@ -3,6 +3,6 @@ "integrity": "sha256-R8XqeUn2jn97NENQxZtr0x7rkh8O7Gw6Vm4nzxlRRww=", "strip_prefix": "client_model-0.6.2", "overlay": { - "BUILD.bazel": "sha256-UzOBxTvhVGKFLzBCupjWzw1WoOgAv7I0t7hsOEnPaB4=" + "BUILD.bazel": "sha256-dQjxvJYJ9Es5e41iIrXaW9qy5R/OVcvurTfwd/E/hlQ=" } }