Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 6 additions & 14 deletions .bcr/patches/remove_dev_deps.patch
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
--- a/MODULE.bazel 2025-11-08 19:15:08
+++ b/MODULE.bazel 2025-11-08 19:15:08
@@ -40,558 +40,3 @@
--- a/MODULE.bazel 2025-11-12 22:13:13
+++ b/MODULE.bazel 2025-11-12 22:13:13
@@ -44,550 +44,4 @@

# HACK: In prod the includer's patch inserts the use_repo for multitool. This
# solves the problem of needing a use_repo here in prod and below in dev.
-
-################################################################################
-# Dev deps
-#
Expand All @@ -24,7 +25,6 @@
-# include("//bazel/include:cargo.MODULE.bazel")
-# include("//bazel/include:test.MODULE.bazel")
-# include("//bazel/include:oci.MODULE.bazel")
-# include("//bazel/include:telemetry.MODULE.bazel")
-# include("//bazel/include:python.MODULE.bazel")
-# include("//bazel/include:release.MODULE.bazel")
-# include("//bazel/include:multitool.MODULE.bazel")
Expand Down Expand Up @@ -284,7 +284,7 @@
- target_triple = "x86_64-unknown-linux-musl",
- versions = [RUST_VERSION], # "versions" only set in first instance of "rust_darwin_x86_64" repository_set (see comment above)
-)
-
-# -> linux arm (musl)
-rust.repository_set(
- name = "rust_darwin_x86_64",
Expand Down Expand Up @@ -462,14 +462,6 @@
-register_toolchains("@bsd_tar_toolchains//:all")
-
-########################################
-# from bazel/include/telemetry.MODULE.bazel
-# tools_telemetry
-bazel_dep(name = "aspect_tools_telemetry", version = "0.2.8")
-
-tel = use_extension("@aspect_tools_telemetry//:extension.bzl", "telemetry")
-use_repo(tel, "aspect_tools_telemetry_report")
-
-########################################
-# from bazel/include/python.MODULE.bazel
-# rules_python and friends
-# Note that we dep on rules_python as part of the prod deps, not here
Expand Down
14 changes: 5 additions & 9 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ use_repo(
host = use_extension("//uv/private/host:extension.bzl", "host_platform")
use_repo(host, "aspect_rules_py_uv_host")

bazel_dep(name = "aspect_tools_telemetry", version = "0.3.0")

tel = use_extension("@aspect_tools_telemetry//:extension.bzl", "telemetry")
use_repo(tel, "aspect_tools_telemetry_report")

# HACK: In prod the includer's patch inserts the use_repo for multitool. This
# solves the problem of needing a use_repo here in prod and below in dev.

Expand All @@ -60,7 +65,6 @@ use_repo(host, "aspect_rules_py_uv_host")
# include("//bazel/include:cargo.MODULE.bazel")
# include("//bazel/include:test.MODULE.bazel")
# include("//bazel/include:oci.MODULE.bazel")
# include("//bazel/include:telemetry.MODULE.bazel")
# include("//bazel/include:python.MODULE.bazel")
# include("//bazel/include:release.MODULE.bazel")
# include("//bazel/include:multitool.MODULE.bazel")
Expand Down Expand Up @@ -497,14 +501,6 @@ use_repo(bazel_lib_toolchains, "bsd_tar_toolchains")

register_toolchains("@bsd_tar_toolchains//:all")

########################################
# from bazel/include/telemetry.MODULE.bazel
# tools_telemetry
bazel_dep(name = "aspect_tools_telemetry", version = "0.2.8")

tel = use_extension("@aspect_tools_telemetry//:extension.bzl", "telemetry")
use_repo(tel, "aspect_tools_telemetry_report")

########################################
# from bazel/include/python.MODULE.bazel
# rules_python and friends
Expand Down
5 changes: 0 additions & 5 deletions bazel/include/telemetry.MODULE.bazel

This file was deleted.

Loading