summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2024-02-22 14:43:21 -0800
committerYifan Hong <elsk@google.com>2024-02-22 14:46:56 -0800
commit3422f064566c274ea66633442521704d4a22486d (patch)
treed5a92a052209308c2af5bf9fd00d3122cc9a7f74
parentc2a146df34d283680a5bbdba38f8c8d62eda3e43 (diff)
parente421f1b2e9cfe25c9b43df55e3eaefbdfb367712 (diff)
downloadbazelbuild-bazel-central-registry-main-kernel.tar.gz
Merge remote-tracking branch 'aosp/upstream-main' into main-kernelmain-kernel
e421f1b2e9cfe25c9b43df55e3eaefbdfb367712 This is needed to include rules_rust@0.39.0 Bug: 325494729 Change-Id: I537d80ecedd6eed5034583955b21f9aa0877012e
-rw-r--r--.bazelversion2
-rw-r--r--.github/workflows/bcr_pr_review_notifier.yml25
-rw-r--r--.gitignore1
-rw-r--r--METADATA4
-rw-r--r--docs/README.md7
-rw-r--r--metadata.schema.json3
-rw-r--r--modules/abseil-cpp/20240116.1/MODULE.bazel39
-rw-r--r--modules/abseil-cpp/20240116.1/patches/module_dot_bazel.patch11
-rw-r--r--modules/abseil-cpp/20240116.1/presubmit.yml20
-rw-r--r--modules/abseil-cpp/20240116.1/source.json9
-rw-r--r--modules/abseil-cpp/metadata.json3
-rw-r--r--modules/abseil-py/metadata.json21
-rw-r--r--modules/ape/1.0.0-alpha.1/MODULE.bazel219
-rw-r--r--modules/ape/1.0.0-alpha.1/presubmit.yml20
-rw-r--r--modules/ape/1.0.0-alpha.1/source.json5
-rw-r--r--modules/ape/1.0.0-alpha.2/MODULE.bazel249
-rw-r--r--modules/ape/1.0.0-alpha.2/presubmit.yml20
-rw-r--r--modules/ape/1.0.0-alpha.2/source.json5
-rw-r--r--modules/ape/1.0.0-alpha.3/MODULE.bazel249
-rw-r--r--modules/ape/1.0.0-alpha.3/presubmit.yml20
-rw-r--r--modules/ape/1.0.0-alpha.3/source.json5
-rw-r--r--modules/ape/metadata.json18
-rw-r--r--modules/apple_support/1.12.0/MODULE.bazel22
-rw-r--r--modules/apple_support/1.12.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/apple_support/1.12.0/presubmit.yml25
-rw-r--r--modules/apple_support/1.12.0/source.json9
-rw-r--r--modules/apple_support/1.13.0/MODULE.bazel22
-rw-r--r--modules/apple_support/1.13.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/apple_support/1.13.0/presubmit.yml27
-rw-r--r--modules/apple_support/1.13.0/source.json9
-rw-r--r--modules/apple_support/1.14.0/MODULE.bazel22
-rw-r--r--modules/apple_support/1.14.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/apple_support/1.14.0/presubmit.yml40
-rw-r--r--modules/apple_support/1.14.0/source.json9
-rw-r--r--modules/apple_support/metadata.json5
-rw-r--r--modules/aspect_bazel_lib/1.40.2/MODULE.bazel66
-rw-r--r--modules/aspect_bazel_lib/1.40.2/patches/go_dev_dep.patch27
-rw-r--r--modules/aspect_bazel_lib/1.40.2/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/aspect_bazel_lib/1.40.2/presubmit.yml12
-rw-r--r--modules/aspect_bazel_lib/1.40.2/source.json10
-rw-r--r--modules/aspect_bazel_lib/2.4.1/MODULE.bazel80
-rw-r--r--modules/aspect_bazel_lib/2.4.1/patches/go_dev_dep.patch27
-rw-r--r--modules/aspect_bazel_lib/2.4.1/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/aspect_bazel_lib/2.4.1/presubmit.yml12
-rw-r--r--modules/aspect_bazel_lib/2.4.1/source.json10
-rw-r--r--modules/aspect_bazel_lib/2.4.2/MODULE.bazel80
-rw-r--r--modules/aspect_bazel_lib/2.4.2/patches/go_dev_dep.patch27
-rw-r--r--modules/aspect_bazel_lib/2.4.2/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/aspect_bazel_lib/2.4.2/presubmit.yml12
-rw-r--r--modules/aspect_bazel_lib/2.4.2/source.json10
-rw-r--r--modules/aspect_bazel_lib/metadata.json5
-rw-r--r--modules/aspect_rules_aws/0.2.0/MODULE.bazel62
-rw-r--r--modules/aspect_rules_aws/0.2.0/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/aspect_rules_aws/0.2.0/presubmit.yml12
-rw-r--r--modules/aspect_rules_aws/0.2.0/source.json9
-rw-r--r--modules/aspect_rules_aws/metadata.json20
-rw-r--r--modules/aspect_rules_jest/0.20.0/MODULE.bazel16
-rw-r--r--modules/aspect_rules_jest/0.20.0/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/aspect_rules_jest/0.20.0/presubmit.yml12
-rw-r--r--modules/aspect_rules_jest/0.20.0/source.json9
-rw-r--r--modules/aspect_rules_jest/metadata.json9
-rw-r--r--modules/aspect_rules_js/1.37.0/MODULE.bazel222
-rw-r--r--modules/aspect_rules_js/1.37.0/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/aspect_rules_js/1.37.0/presubmit.yml10
-rw-r--r--modules/aspect_rules_js/1.37.0/source.json9
-rw-r--r--modules/aspect_rules_js/1.37.1/MODULE.bazel222
-rw-r--r--modules/aspect_rules_js/1.37.1/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/aspect_rules_js/1.37.1/presubmit.yml10
-rw-r--r--modules/aspect_rules_js/1.37.1/source.json9
-rw-r--r--modules/aspect_rules_js/metadata.json4
-rw-r--r--modules/aspect_rules_lint/0.11.0/MODULE.bazel29
-rw-r--r--modules/aspect_rules_lint/0.11.0/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/aspect_rules_lint/0.11.0/presubmit.yml14
-rw-r--r--modules/aspect_rules_lint/0.11.0/source.json9
-rw-r--r--modules/aspect_rules_lint/0.11.1/MODULE.bazel28
-rw-r--r--modules/aspect_rules_lint/0.11.1/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/aspect_rules_lint/0.11.1/presubmit.yml14
-rw-r--r--modules/aspect_rules_lint/0.11.1/source.json9
-rw-r--r--modules/aspect_rules_lint/0.12.0/MODULE.bazel28
-rw-r--r--modules/aspect_rules_lint/0.12.0/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/aspect_rules_lint/0.12.0/presubmit.yml14
-rw-r--r--modules/aspect_rules_lint/0.12.0/source.json9
-rw-r--r--modules/aspect_rules_lint/metadata.json5
-rw-r--r--modules/aspect_rules_ts/2.1.1/MODULE.bazel52
-rw-r--r--modules/aspect_rules_ts/2.1.1/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/aspect_rules_ts/2.1.1/presubmit.yml10
-rw-r--r--modules/aspect_rules_ts/2.1.1/source.json9
-rw-r--r--modules/aspect_rules_ts/metadata.json3
-rw-r--r--modules/aspect_rules_webpack/0.14.0/MODULE.bazel15
-rw-r--r--modules/aspect_rules_webpack/0.14.0/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/aspect_rules_webpack/0.14.0/presubmit.yml12
-rw-r--r--modules/aspect_rules_webpack/0.14.0/source.json9
-rw-r--r--modules/aspect_rules_webpack/metadata.json9
-rw-r--r--modules/aws-in-a-box/0.0.48/MODULE.bazel26
-rw-r--r--modules/aws-in-a-box/0.0.48/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/aws-in-a-box/0.0.48/presubmit.yml12
-rw-r--r--modules/aws-in-a-box/0.0.48/source.json9
-rw-r--r--modules/aws-in-a-box/metadata.json3
-rw-r--r--modules/bazel_features/1.4.1/MODULE.bazel16
-rw-r--r--modules/bazel_features/1.4.1/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/bazel_features/1.4.1/presubmit.yml17
-rw-r--r--modules/bazel_features/1.4.1/source.json9
-rw-r--r--modules/bazel_features/1.5.0/MODULE.bazel16
-rw-r--r--modules/bazel_features/1.5.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/bazel_features/1.5.0/presubmit.yml17
-rw-r--r--modules/bazel_features/1.5.0/source.json9
-rw-r--r--modules/bazel_features/metadata.json4
-rw-r--r--modules/blake3/metadata.json25
-rw-r--r--modules/blaze-math/metadata.json19
-rw-r--r--modules/boringssl/0.0.0-20240126-22d349c/MODULE.bazel7
-rw-r--r--modules/boringssl/0.0.0-20240126-22d349c/patches/module_dot_bazel.patch10
-rw-r--r--modules/boringssl/0.0.0-20240126-22d349c/presubmit.yml24
-rw-r--r--modules/boringssl/0.0.0-20240126-22d349c/source.json9
-rw-r--r--modules/boringssl/metadata.json26
-rw-r--r--modules/buildozer/6.4.0.2/MODULE.bazel20
-rw-r--r--modules/buildozer/6.4.0.2/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/buildozer/6.4.0.2/presubmit.yml24
-rw-r--r--modules/buildozer/6.4.0.2/source.json9
-rw-r--r--modules/buildozer/metadata.json3
-rw-r--r--modules/bzip2/metadata.json17
-rw-r--r--modules/bzlparty_tools/0.1.0/MODULE.bazel6
-rw-r--r--modules/bzlparty_tools/0.1.0/presubmit.yml20
-rw-r--r--modules/bzlparty_tools/0.1.0/source.json5
-rw-r--r--modules/bzlparty_tools/0.2.0/MODULE.bazel9
-rw-r--r--modules/bzlparty_tools/0.2.0/presubmit.yml22
-rw-r--r--modules/bzlparty_tools/0.2.0/source.json5
-rw-r--r--modules/bzlparty_tools/metadata.json18
-rw-r--r--modules/c-ares/metadata.json25
-rw-r--r--modules/c-blosc2/2.12.0.bcr.1/MODULE.bazel10
-rw-r--r--modules/c-blosc2/2.12.0.bcr.1/patches/add_build_file.patch119
-rw-r--r--modules/c-blosc2/2.12.0.bcr.1/patches/add_module_dot_bazel.patch13
-rw-r--r--modules/c-blosc2/2.12.0.bcr.1/presubmit.yml13
-rw-r--r--modules/c-blosc2/2.12.0.bcr.1/source.json10
-rw-r--r--modules/c-blosc2/metadata.json3
-rw-r--r--modules/cdt/1.4.0/MODULE.bazel5
-rw-r--r--modules/cdt/1.4.0/patches/add_build_file.patch12
-rw-r--r--modules/cdt/1.4.0/patches/add_module_dot_bazel.patch8
-rw-r--r--modules/cdt/1.4.0/presubmit.yml14
-rw-r--r--modules/cdt/1.4.0/source.json10
-rw-r--r--modules/cdt/metadata.json17
-rw-r--r--modules/circl/metadata.json21
-rw-r--r--modules/cmake_configure_file/0.1.0/MODULE.bazel3
-rw-r--r--modules/cmake_configure_file/0.1.0/presubmit.yml17
-rw-r--r--modules/cmake_configure_file/0.1.0/source.json5
-rw-r--r--modules/cmake_configure_file/metadata.json17
-rw-r--r--modules/contrib_rules_jvm/0.24.0/MODULE.bazel254
-rw-r--r--modules/contrib_rules_jvm/0.24.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/contrib_rules_jvm/0.24.0/presubmit.yml19
-rw-r--r--modules/contrib_rules_jvm/0.24.0/source.json9
-rw-r--r--modules/contrib_rules_jvm/metadata.json3
-rw-r--r--modules/cpplint/1.6.1/MODULE.bazel3
-rw-r--r--modules/cpplint/1.6.1/patches/add_build_file.patch19
-rw-r--r--modules/cpplint/1.6.1/patches/module_dot_bazel.patch9
-rw-r--r--modules/cpplint/1.6.1/presubmit.yml17
-rw-r--r--modules/cpplint/1.6.1/source.json10
-rw-r--r--modules/cpplint/metadata.json17
-rw-r--r--modules/download_utils/1.0.0-beta.1/MODULE.bazel10
-rw-r--r--modules/download_utils/1.0.0-beta.1/presubmit.yml19
-rw-r--r--modules/download_utils/1.0.0-beta.1/source.json5
-rw-r--r--modules/download_utils/metadata.json16
-rw-r--r--modules/eigen/metadata.json21
-rw-r--r--modules/flip/1.3/MODULE.bazel5
-rw-r--r--modules/flip/1.3/patches/add_build_file.patch25
-rw-r--r--modules/flip/1.3/patches/module_dot_bazel.patch8
-rw-r--r--modules/flip/1.3/presubmit.yml21
-rw-r--r--modules/flip/1.3/source.json10
-rw-r--r--modules/flip/metadata.json17
-rw-r--r--modules/foonathan_memory/metadata.json23
-rw-r--r--modules/gflags/metadata.json23
-rw-r--r--modules/giflib/metadata.json19
-rw-r--r--modules/glog/metadata.json25
-rw-r--r--modules/google_benchmark/metadata.json25
-rw-r--r--modules/googletest/metadata.json31
-rw-r--r--modules/grpc/1.56.3.bcr.1/MODULE.bazel68
-rw-r--r--modules/grpc/1.56.3.bcr.1/patches/adopt_bzlmod.patch625
-rw-r--r--modules/grpc/1.56.3.bcr.1/patches/python.patch131
-rw-r--r--modules/grpc/1.56.3.bcr.1/presubmit.yml20
-rw-r--r--modules/grpc/1.56.3.bcr.1/source.json10
-rw-r--r--modules/grpc/metadata.json36
-rw-r--r--modules/hermetic_cc_toolchain/2.2.3/MODULE.bazel51
-rw-r--r--modules/hermetic_cc_toolchain/2.2.3/presubmit.yml15
-rw-r--r--modules/hermetic_cc_toolchain/2.2.3/source.json5
-rw-r--r--modules/hermetic_cc_toolchain/3.0.0/MODULE.bazel49
-rw-r--r--modules/hermetic_cc_toolchain/3.0.0/presubmit.yml15
-rw-r--r--modules/hermetic_cc_toolchain/3.0.0/source.json5
-rw-r--r--modules/hermetic_cc_toolchain/metadata.json4
-rw-r--r--modules/imath/3.1.10/MODULE.bazel7
-rw-r--r--modules/imath/3.1.10/patches/add_build_file.patch85
-rw-r--r--modules/imath/3.1.10/patches/module_dot_bazel.patch10
-rw-r--r--modules/imath/3.1.10/presubmit.yml14
-rw-r--r--modules/imath/3.1.10/source.json10
-rw-r--r--modules/imath/metadata.json3
-rw-r--r--modules/jsonnet/metadata.json23
-rw-r--r--modules/jsonnet_go/metadata.json23
-rw-r--r--modules/libpfm/metadata.json19
-rw-r--r--modules/liburing/2.5/MODULE.bazel7
-rw-r--r--modules/liburing/2.5/patches/add_build_file.patch79
-rw-r--r--modules/liburing/2.5/patches/module_dot_bazel.patch10
-rw-r--r--modules/liburing/2.5/presubmit.yml17
-rw-r--r--modules/liburing/2.5/source.json10
-rw-r--r--modules/liburing/metadata.json17
-rw-r--r--modules/libuuid/2.39.3.bcr.1/MODULE.bazel5
-rw-r--r--modules/libuuid/2.39.3.bcr.1/patches/add_build_file.patch71
-rw-r--r--modules/libuuid/2.39.3.bcr.1/patches/module_dot_bazel.patch11
-rw-r--r--modules/libuuid/2.39.3.bcr.1/presubmit.yml14
-rw-r--r--modules/libuuid/2.39.3.bcr.1/source.json10
-rw-r--r--modules/libuuid/2.39.3/MODULE.bazel5
-rw-r--r--modules/libuuid/2.39.3/patches/add_build_file.patch73
-rw-r--r--modules/libuuid/2.39.3/patches/module_dot_bazel.patch11
-rw-r--r--modules/libuuid/2.39.3/presubmit.yml14
-rw-r--r--modules/libuuid/2.39.3/source.json10
-rw-r--r--modules/libuuid/metadata.json18
-rw-r--r--modules/libyaml/0.2.5/MODULE.bazel6
-rw-r--r--modules/libyaml/0.2.5/patches/add_build_file.patch32
-rw-r--r--modules/libyaml/0.2.5/patches/module_dot_bazel.patch9
-rw-r--r--modules/libyaml/0.2.5/presubmit.yml14
-rw-r--r--modules/libyaml/0.2.5/source.json10
-rw-r--r--modules/libyaml/metadata.json16
-rw-r--r--modules/llvm-project/metadata.json23
-rw-r--r--modules/lz4/metadata.json25
-rw-r--r--modules/mcap/metadata.json27
-rw-r--r--modules/nanobind/metadata.json23
-rw-r--r--modules/nanoflann/1.5.4/MODULE.bazel6
-rw-r--r--modules/nanoflann/1.5.4/patches/add_build_file.patch13
-rw-r--r--modules/nanoflann/1.5.4/patches/module_dot_bazel.patch9
-rw-r--r--modules/nanoflann/1.5.4/presubmit.yml17
-rw-r--r--modules/nanoflann/1.5.4/source.json10
-rw-r--r--modules/nanoflann/metadata.json17
-rw-r--r--modules/openexr/3.2.2/MODULE.bazel13
-rw-r--r--modules/openexr/3.2.2/patches/module_dot_bazel.patch10
-rw-r--r--modules/openexr/3.2.2/presubmit.yml13
-rw-r--r--modules/openexr/3.2.2/source.json9
-rw-r--r--modules/openexr/metadata.json3
-rw-r--r--modules/osqp/0.6.3/MODULE.bazel7
-rw-r--r--modules/osqp/0.6.3/patches/add_build_file.patch108
-rw-r--r--modules/osqp/0.6.3/patches/module_dot_bazel.patch13
-rw-r--r--modules/osqp/0.6.3/presubmit.yml14
-rw-r--r--modules/osqp/0.6.3/source.json9
-rw-r--r--modules/osqp/metadata.json17
-rw-r--r--modules/pigz/2.8/MODULE.bazel9
-rw-r--r--modules/pigz/2.8/patches/add_build_file.patch28
-rw-r--r--modules/pigz/2.8/patches/module_dot_bazel.patch12
-rw-r--r--modules/pigz/2.8/patches/pigz.c.patch11
-rw-r--r--modules/pigz/2.8/presubmit.yml20
-rw-r--r--modules/pigz/2.8/source.json11
-rw-r--r--modules/pigz/metadata.json3
-rw-r--r--modules/protobuf/metadata.json35
-rw-r--r--modules/pugixml/metadata.json23
-rw-r--r--modules/pybind11_bazel/2.11.1.bzl.2/MODULE.bazel12
-rw-r--r--modules/pybind11_bazel/2.11.1.bzl.2/presubmit.yml16
-rw-r--r--modules/pybind11_bazel/2.11.1.bzl.2/source.json5
-rw-r--r--modules/pybind11_bazel/metadata.json3
-rw-r--r--modules/qdldl/0.1.7/MODULE.bazel8
-rw-r--r--modules/qdldl/0.1.7/patches/add_build_file.patch70
-rw-r--r--modules/qdldl/0.1.7/patches/add_cmake_configure_file.patch336
-rw-r--r--modules/qdldl/0.1.7/patches/module_dot_bazel.patch14
-rw-r--r--modules/qdldl/0.1.7/presubmit.yml15
-rw-r--r--modules/qdldl/0.1.7/source.json11
-rw-r--r--modules/qdldl/metadata.json17
-rw-r--r--modules/rapidjson/metadata.json23
-rw-r--r--modules/re2/2024-02-01/MODULE.bazel33
-rw-r--r--modules/re2/2024-02-01/presubmit.yml46
-rw-r--r--modules/re2/2024-02-01/source.json7
-rw-r--r--modules/re2/metadata.json3
-rw-r--r--modules/readerwriterqueue/metadata.json23
-rw-r--r--modules/robin-map/metadata.json23
-rw-r--r--modules/rules_android/metadata.json23
-rw-r--r--modules/rules_appimage/1.7.4/MODULE.bazel52
-rw-r--r--modules/rules_appimage/1.7.4/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_appimage/1.7.4/patches/old-gcc-std20.patch11
-rw-r--r--modules/rules_appimage/1.7.4/presubmit.yml11
-rw-r--r--modules/rules_appimage/1.7.4/source.json10
-rw-r--r--modules/rules_appimage/metadata.json11
-rw-r--r--modules/rules_apple/3.3.0/MODULE.bazel31
-rw-r--r--modules/rules_apple/3.3.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_apple/3.3.0/presubmit.yml12
-rw-r--r--modules/rules_apple/3.3.0/source.json9
-rw-r--r--modules/rules_apple/metadata.json3
-rw-r--r--modules/rules_cc/metadata.json29
-rw-r--r--modules/rules_coreutils/1.0.0-alpha.7/MODULE.bazel195
-rw-r--r--modules/rules_coreutils/1.0.0-alpha.7/presubmit.yml19
-rw-r--r--modules/rules_coreutils/1.0.0-alpha.7/source.json5
-rw-r--r--modules/rules_coreutils/metadata.json16
-rw-r--r--modules/rules_curl/1.0.0-alpha.6/MODULE.bazel28
-rw-r--r--modules/rules_curl/1.0.0-alpha.6/presubmit.yml21
-rw-r--r--modules/rules_curl/1.0.0-alpha.6/source.json5
-rw-r--r--modules/rules_curl/metadata.json16
-rw-r--r--modules/rules_diff/1.0.0-alpha.3/MODULE.bazel33
-rw-r--r--modules/rules_diff/1.0.0-alpha.3/presubmit.yml20
-rw-r--r--modules/rules_diff/1.0.0-alpha.3/source.json5
-rw-r--r--modules/rules_diff/metadata.json16
-rw-r--r--modules/rules_distroless/metadata.json25
-rw-r--r--modules/rules_go/0.46.0/MODULE.bazel45
-rw-r--r--modules/rules_go/0.46.0/presubmit.yml35
-rw-r--r--modules/rules_go/0.46.0/source.json5
-rw-r--r--modules/rules_go/metadata.json3
-rw-r--r--modules/rules_graalvm/0.11.1/MODULE.bazel226
-rw-r--r--modules/rules_graalvm/0.11.1/presubmit.yml11
-rw-r--r--modules/rules_graalvm/0.11.1/source.json5
-rw-r--r--modules/rules_graalvm/metadata.json3
-rw-r--r--modules/rules_haskell/0.19/MODULE.bazel350
-rw-r--r--modules/rules_haskell/0.19/presubmit.yml35
-rw-r--r--modules/rules_haskell/0.19/source.json5
-rw-r--r--modules/rules_haskell/metadata.json3
-rw-r--r--modules/rules_helm/0.3.0/MODULE.bazel40
-rw-r--r--modules/rules_helm/0.3.0/presubmit.yml21
-rw-r--r--modules/rules_helm/0.3.0/source.json5
-rw-r--r--modules/rules_helm/0.3.1/MODULE.bazel40
-rw-r--r--modules/rules_helm/0.3.1/presubmit.yml21
-rw-r--r--modules/rules_helm/0.3.1/source.json5
-rw-r--r--modules/rules_helm/metadata.json4
-rw-r--r--modules/rules_java/7.4.0/MODULE.bazel86
-rw-r--r--modules/rules_java/7.4.0/presubmit.yml16
-rw-r--r--modules/rules_java/7.4.0/source.json5
-rw-r--r--modules/rules_java/metadata.json11
-rw-r--r--modules/rules_kustomize/0.3.8/MODULE.bazel23
-rw-r--r--modules/rules_kustomize/0.3.8/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_kustomize/0.3.8/presubmit.yml22
-rw-r--r--modules/rules_kustomize/0.3.8/source.json9
-rw-r--r--modules/rules_kustomize/metadata.json3
-rw-r--r--modules/rules_license/0.0.8/MODULE.bazel17
-rw-r--r--modules/rules_license/0.0.8/presubmit.yml13
-rw-r--r--modules/rules_license/0.0.8/source.json4
-rw-r--r--modules/rules_license/metadata.json3
-rw-r--r--modules/rules_oci/1.7.0/MODULE.bazel22
-rw-r--r--modules/rules_oci/1.7.0/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/rules_oci/1.7.0/presubmit.yml16
-rw-r--r--modules/rules_oci/1.7.0/source.json9
-rw-r--r--modules/rules_oci/1.7.2/MODULE.bazel22
-rw-r--r--modules/rules_oci/1.7.2/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/rules_oci/1.7.2/presubmit.yml16
-rw-r--r--modules/rules_oci/1.7.2/source.json9
-rw-r--r--modules/rules_oci/metadata.json4
-rw-r--r--modules/rules_pkg/0.10.1/MODULE.bazel25
-rw-r--r--modules/rules_pkg/0.10.1/presubmit.yml17
-rw-r--r--modules/rules_pkg/0.10.1/source.json4
-rw-r--r--modules/rules_pkg/metadata.json36
-rw-r--r--modules/rules_poetry/0.3.1/MODULE.bazel11
-rw-r--r--modules/rules_poetry/0.3.1/presubmit.yml32
-rw-r--r--modules/rules_poetry/0.3.1/source.json7
-rw-r--r--modules/rules_poetry/metadata.json3
-rw-r--r--modules/rules_proto/6.0.0-rc2/MODULE.bazel19
-rw-r--r--modules/rules_proto/6.0.0-rc2/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/rules_proto/6.0.0-rc2/presubmit.yml10
-rw-r--r--modules/rules_proto/6.0.0-rc2/source.json9
-rw-r--r--modules/rules_proto/metadata.json3
-rw-r--r--modules/rules_pycross/0.5.0/MODULE.bazel69
-rw-r--r--modules/rules_pycross/0.5.0/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/rules_pycross/0.5.0/presubmit.yml36
-rw-r--r--modules/rules_pycross/0.5.0/source.json9
-rw-r--r--modules/rules_pycross/0.5.1/MODULE.bazel69
-rw-r--r--modules/rules_pycross/0.5.1/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/rules_pycross/0.5.1/presubmit.yml36
-rw-r--r--modules/rules_pycross/0.5.1/source.json9
-rw-r--r--modules/rules_pycross/0.5.2/MODULE.bazel69
-rw-r--r--modules/rules_pycross/0.5.2/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/rules_pycross/0.5.2/presubmit.yml36
-rw-r--r--modules/rules_pycross/0.5.2/source.json9
-rw-r--r--modules/rules_pycross/metadata.json19
-rw-r--r--modules/rules_python/0.30.0/MODULE.bazel103
-rw-r--r--modules/rules_python/0.30.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_python/0.30.0/presubmit.yml26
-rw-r--r--modules/rules_python/0.30.0/source.json9
-rw-r--r--modules/rules_python/0.31.0/MODULE.bazel103
-rw-r--r--modules/rules_python/0.31.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_python/0.31.0/presubmit.yml26
-rw-r--r--modules/rules_python/0.31.0/source.json9
-rw-r--r--modules/rules_python/metadata.json4
-rw-r--r--modules/rules_python_gazelle_plugin/0.30.0/MODULE.bazel21
-rw-r--r--modules/rules_python_gazelle_plugin/0.30.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_python_gazelle_plugin/0.30.0/presubmit.yml29
-rw-r--r--modules/rules_python_gazelle_plugin/0.30.0/source.json9
-rw-r--r--modules/rules_python_gazelle_plugin/0.31.0/MODULE.bazel21
-rw-r--r--modules/rules_python_gazelle_plugin/0.31.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_python_gazelle_plugin/0.31.0/presubmit.yml29
-rw-r--r--modules/rules_python_gazelle_plugin/0.31.0/source.json9
-rw-r--r--modules/rules_python_gazelle_plugin/metadata.json12
-rw-r--r--modules/rules_ruby/0.6.0/MODULE.bazel16
-rw-r--r--modules/rules_ruby/0.6.0/patches/module_dot_bazel_version.patch14
-rw-r--r--modules/rules_ruby/0.6.0/presubmit.yml10
-rw-r--r--modules/rules_ruby/0.6.0/source.json9
-rw-r--r--modules/rules_ruby/metadata.json3
-rw-r--r--modules/rules_rust/0.39.0/MODULE.bazel142
-rw-r--r--modules/rules_rust/0.39.0/presubmit.yml16
-rw-r--r--modules/rules_rust/0.39.0/source.json5
-rw-r--r--modules/rules_rust/metadata.json3
-rw-r--r--modules/rules_shellcheck/0.3.3/MODULE.bazel27
-rw-r--r--modules/rules_shellcheck/0.3.3/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_shellcheck/0.3.3/presubmit.yml13
-rw-r--r--modules/rules_shellcheck/0.3.3/source.json9
-rw-r--r--modules/rules_shellcheck/metadata.json3
-rw-r--r--modules/rules_squashfs/1.0.0-alpha.1/MODULE.bazel34
-rw-r--r--modules/rules_squashfs/1.0.0-alpha.1/presubmit.yml22
-rw-r--r--modules/rules_squashfs/1.0.0-alpha.1/source.json5
-rw-r--r--modules/rules_squashfs/metadata.json16
-rw-r--r--modules/rules_swift/1.16.0/MODULE.bazel38
-rw-r--r--modules/rules_swift/1.16.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_swift/1.16.0/presubmit.yml35
-rw-r--r--modules/rules_swift/1.16.0/source.json9
-rw-r--r--modules/rules_swift/metadata.json5
-rw-r--r--modules/rules_swift_package_manager/0.26.2/MODULE.bazel78
-rw-r--r--modules/rules_swift_package_manager/0.26.2/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_swift_package_manager/0.26.2/presubmit.yml14
-rw-r--r--modules/rules_swift_package_manager/0.26.2/source.json9
-rw-r--r--modules/rules_swift_package_manager/0.28.0/MODULE.bazel78
-rw-r--r--modules/rules_swift_package_manager/0.28.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_swift_package_manager/0.28.0/presubmit.yml14
-rw-r--r--modules/rules_swift_package_manager/0.28.0/source.json9
-rw-r--r--modules/rules_swift_package_manager/metadata.json4
-rw-r--r--modules/rules_testing/0.6.0/MODULE.bazel42
-rw-r--r--modules/rules_testing/0.6.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_testing/0.6.0/presubmit.yml14
-rw-r--r--modules/rules_testing/0.6.0/source.json9
-rw-r--r--modules/rules_testing/metadata.json3
-rw-r--r--modules/rules_tf/0.0.4/MODULE.bazel24
-rw-r--r--modules/rules_tf/0.0.4/presubmit.yml33
-rw-r--r--modules/rules_tf/0.0.4/source.json6
-rw-r--r--modules/rules_tf/0.0.5/MODULE.bazel24
-rw-r--r--modules/rules_tf/0.0.5/presubmit.yml33
-rw-r--r--modules/rules_tf/0.0.5/source.json6
-rw-r--r--modules/rules_tf/metadata.json4
-rw-r--r--modules/rules_xcodeproj/1.16.0/MODULE.bazel29
-rw-r--r--modules/rules_xcodeproj/1.16.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_xcodeproj/1.16.0/presubmit.yml7
-rw-r--r--modules/rules_xcodeproj/1.16.0/source.json9
-rw-r--r--modules/rules_xcodeproj/metadata.json9
-rw-r--r--modules/rules_zig/0.3.0/MODULE.bazel57
-rw-r--r--modules/rules_zig/0.3.0/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/rules_zig/0.3.0/presubmit.yml12
-rw-r--r--modules/rules_zig/0.3.0/source.json9
-rw-r--r--modules/rules_zig/metadata.json3
-rw-r--r--modules/sophus/1.22.10.bcr.1/MODULE.bazel8
-rw-r--r--modules/sophus/1.22.10.bcr.1/patches/add_build_file.patch43
-rw-r--r--modules/sophus/1.22.10.bcr.1/patches/module_dot_bazel.patch11
-rw-r--r--modules/sophus/1.22.10.bcr.1/presubmit.yml17
-rw-r--r--modules/sophus/1.22.10.bcr.1/source.json10
-rw-r--r--modules/sophus/1.22.10/MODULE.bazel7
-rw-r--r--modules/sophus/1.22.10/patches/add_build_file.patch39
-rw-r--r--modules/sophus/1.22.10/patches/module_dot_bazel.patch10
-rw-r--r--modules/sophus/1.22.10/presubmit.yml17
-rw-r--r--modules/sophus/1.22.10/source.json10
-rw-r--r--modules/sophus/metadata.json18
-rw-r--r--modules/spdlog/1.13.0/MODULE.bazel8
-rw-r--r--modules/spdlog/1.13.0/patches/add_build_file.patch19
-rw-r--r--modules/spdlog/1.13.0/patches/module_dot_bazel.patch11
-rw-r--r--modules/spdlog/1.13.0/presubmit.yml14
-rw-r--r--modules/spdlog/1.13.0/source.json10
-rw-r--r--modules/spdlog/metadata.json3
-rw-r--r--modules/sqlite3/metadata.json19
-rw-r--r--modules/squashfs-tools/4.6.1/MODULE.bazel9
-rw-r--r--modules/squashfs-tools/4.6.1/patches/add_build_file.patch85
-rw-r--r--modules/squashfs-tools/4.6.1/patches/module_dot_bazel.patch12
-rw-r--r--modules/squashfs-tools/4.6.1/presubmit.yml17
-rw-r--r--modules/squashfs-tools/4.6.1/source.json10
-rw-r--r--modules/squashfs-tools/metadata.json17
-rw-r--r--modules/stardoc/metadata.json37
-rw-r--r--modules/suitesparse/7.6.0/MODULE.bazel1
-rw-r--r--modules/suitesparse/7.6.0/patches/add_build_file.patch46
-rw-r--r--modules/suitesparse/7.6.0/patches/module_dot_bazel.patch7
-rw-r--r--modules/suitesparse/7.6.0/presubmit.yml14
-rw-r--r--modules/suitesparse/7.6.0/source.json10
-rw-r--r--modules/suitesparse/metadata.json17
-rw-r--r--modules/swift-index-store/1.6.0/MODULE.bazel12
-rw-r--r--modules/swift-index-store/1.6.0/patches/module_dot_bazel.patch5
-rw-r--r--modules/swift-index-store/1.6.0/presubmit.yml10
-rw-r--r--modules/swift-index-store/1.6.0/source.json9
-rw-r--r--modules/swift-index-store/metadata.json17
-rw-r--r--modules/swift-syntax/509.1.1/MODULE.bazel8
-rw-r--r--modules/swift-syntax/509.1.1/patches/deps.patch8
-rw-r--r--modules/swift-syntax/509.1.1/patches/module_dot_bazel.patch13
-rw-r--r--modules/swift-syntax/509.1.1/presubmit.yml10
-rw-r--r--modules/swift-syntax/509.1.1/source.json10
-rw-r--r--modules/swift-syntax/metadata.json3
-rw-r--r--modules/swift_argument_parser/1.3.0/MODULE.bazel8
-rw-r--r--modules/swift_argument_parser/1.3.0/patches/add_build_file.patch20
-rw-r--r--modules/swift_argument_parser/1.3.0/patches/module_dot_bazel.patch11
-rw-r--r--modules/swift_argument_parser/1.3.0/presubmit.yml10
-rw-r--r--modules/swift_argument_parser/1.3.0/source.json10
-rw-r--r--modules/swift_argument_parser/metadata.json3
-rw-r--r--modules/tinyxml2/10.0.0/MODULE.bazel6
-rw-r--r--modules/tinyxml2/10.0.0/patches/add_build_file.patch15
-rw-r--r--modules/tinyxml2/10.0.0/patches/module_dot_bazel.patch9
-rw-r--r--modules/tinyxml2/10.0.0/presubmit.yml15
-rw-r--r--modules/tinyxml2/10.0.0/source.json10
-rw-r--r--modules/tinyxml2/metadata.json24
-rw-r--r--modules/toolchain_utils/1.0.0-beta.1/MODULE.bazel23
-rw-r--r--modules/toolchain_utils/1.0.0-beta.1/presubmit.yml17
-rw-r--r--modules/toolchain_utils/1.0.0-beta.1/source.json5
-rw-r--r--modules/toolchain_utils/1.0.0-beta.2/MODULE.bazel23
-rw-r--r--modules/toolchain_utils/1.0.0-beta.2/presubmit.yml24
-rw-r--r--modules/toolchain_utils/1.0.0-beta.2/source.json5
-rw-r--r--modules/toolchain_utils/metadata.json23
-rw-r--r--modules/upb/metadata.json29
-rw-r--r--modules/websocketpp/0.8.2/MODULE.bazel8
-rw-r--r--modules/websocketpp/0.8.2/patches/add_build_file.patch23
-rw-r--r--modules/websocketpp/0.8.2/patches/module_dot_bazel.patch11
-rw-r--r--modules/websocketpp/0.8.2/presubmit.yml14
-rw-r--r--modules/websocketpp/0.8.2/source.json10
-rw-r--r--modules/websocketpp/metadata.json16
-rw-r--r--modules/with_cfg.bzl/0.2.2/MODULE.bazel15
-rw-r--r--modules/with_cfg.bzl/0.2.2/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/with_cfg.bzl/0.2.2/presubmit.yml27
-rw-r--r--modules/with_cfg.bzl/0.2.2/source.json9
-rw-r--r--modules/with_cfg.bzl/0.2.3/MODULE.bazel15
-rw-r--r--modules/with_cfg.bzl/0.2.3/patches/module_dot_bazel_version.patch12
-rw-r--r--modules/with_cfg.bzl/0.2.3/presubmit.yml28
-rw-r--r--modules/with_cfg.bzl/0.2.3/source.json9
-rw-r--r--modules/with_cfg.bzl/metadata.json4
-rw-r--r--modules/yaml-cpp/metadata.json23
-rw-r--r--modules/zlib/1.3.1/MODULE.bazel8
-rw-r--r--modules/zlib/1.3.1/patches/add_build_file.patch108
-rw-r--r--modules/zlib/1.3.1/patches/module_dot_bazel.patch11
-rw-r--r--modules/zlib/1.3.1/presubmit.yml15
-rw-r--r--modules/zlib/1.3.1/source.json10
-rw-r--r--modules/zlib/metadata.json3
-rw-r--r--modules/zstd-jni/metadata.json27
-rw-r--r--modules/zstd/1.5.5.bcr.1/MODULE.bazel7
-rw-r--r--modules/zstd/1.5.5.bcr.1/patches/add_build_file.patch133
-rw-r--r--modules/zstd/1.5.5.bcr.1/patches/module_dot_bazel.patch10
-rw-r--r--modules/zstd/1.5.5.bcr.1/presubmit.yml15
-rw-r--r--modules/zstd/1.5.5.bcr.1/source.json10
-rw-r--r--modules/zstd/metadata.json24
-rw-r--r--tools/BUILD21
-rw-r--r--tools/add_module.py4
-rw-r--r--tools/bcr_validation.py26
-rw-r--r--tools/print_all_src_urls.py2
-rw-r--r--tools/registry.py44
-rw-r--r--tools/requirements.in1
-rw-r--r--tools/requirements_lock.txt4
-rw-r--r--tools/update_integrity.py35
-rwxr-xr-xtools/update_integrity_test.sh64
531 files changed, 12259 insertions, 461 deletions
diff --git a/.bazelversion b/.bazelversion
index 66ce77b..a8907c0 100644
--- a/.bazelversion
+++ b/.bazelversion
@@ -1 +1 @@
-7.0.0
+7.0.2
diff --git a/.github/workflows/bcr_pr_review_notifier.yml b/.github/workflows/bcr_pr_review_notifier.yml
new file mode 100644
index 0000000..5bb538b
--- /dev/null
+++ b/.github/workflows/bcr_pr_review_notifier.yml
@@ -0,0 +1,25 @@
+name: Notify Module Maintainers For PR Review
+on:
+ pull_request_target:
+ branches:
+ - main
+ paths:
+ - 'modules/**'
+
+permissions:
+ pull-requests: write
+
+jobs:
+ notify:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Harden Runner
+ uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
+ with:
+ egress-policy: audit
+
+ - name: Run BCR PR Review Notifier
+ uses: bazelbuild/continuous-integration/actions/bcr-pr-review-notifier@6109f3be479ab3c3efc5f190b4443b009d659da9 # master
+ with:
+ # This token needs to be updated annually on Feb 05.
+ token: ${{ secrets.BCR_PR_REVIEW_HELPER_TOKEN }}
diff --git a/.gitignore b/.gitignore
index 26adb73..873ec0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
tools/__pycache__
tools/node_modules
/bazel-*
+MODULE.bazel.lock
diff --git a/METADATA b/METADATA
index a3ec34f..a009b4e 100644
--- a/METADATA
+++ b/METADATA
@@ -12,7 +12,7 @@ homepage: "https://registry.bazel.build/"
value: "https://github.com/bazelbuild/bazel-central-registry"
primary_source: true
}
- version: "e8c50094090d4f61dd095fa94c3605325ea9d07d"
- last_upgrade_date { year: 2024 month: 1 day: 11 }
+ version: "e421f1b2e9cfe25c9b43df55e3eaefbdfb367712"
+ last_upgrade_date { year: 2024 month: 2 day: 22 }
license_type: NOTICE
}
diff --git a/docs/README.md b/docs/README.md
index 0c408bb..551cbd7 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -16,6 +16,9 @@ The script will generate all require changes based on your input, please review,
If you are the project owner, you can set up the [Publish to BCR](https://github.com/apps/publish-to-bcr) Github App for your repository to automatically send a PR to the BCR when cutting a new release.
+When manually editing files you may find `bazel run -- //tools:update_integrity foomod` useful to update the integrity hashes in foomod's source.json file.
+The tool also accepts a `--version` option to update the source.json of a specific version of the module (instead of latest).
+
## Presubmit
Every module version must pass the BCR presubmit before getting merged. The presubmit validates the correctness and consistency of module information, then runs build and test targets specified in the `presubmit.yml` file. The BCR presubmit is driven by the [bcr_presubmit.py](https://github.com/bazelbuild/continuous-integration/blob/master/buildkite/bazel-central-registry/bcr_presubmit.py) script on [Bazel CI](https://github.com/bazelbuild/continuous-integration/tree/master/buildkite#bazel-continuous-integration).
@@ -56,10 +59,12 @@ matrix:
- ubuntu2004
- macos
- windows
+ bazel: [6.x, 7.x]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
+ bazel: ${{ bazel }}
build_targets:
- '@zlib//:zlib'
```
@@ -94,10 +99,12 @@ bcr_test_module:
- ubuntu2004
- macos
- windows
+ bazel: [6.x, 7.x]
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
+ bazel: ${{ bazel }}
build_targets:
- //java/src/com/github/rules_jvm_external/examples/bzlmod:bzlmod_example
```
diff --git a/metadata.schema.json b/metadata.schema.json
index 774079d..2819ea8 100644
--- a/metadata.schema.json
+++ b/metadata.schema.json
@@ -8,6 +8,7 @@
"maintainers": {
"description": "Individuals who can be notified when the module requires human attention",
"type": "array",
+ "minItems": 1,
"items": {
"type": "object",
"properties": {
@@ -46,5 +47,5 @@
}
},
"additionalProperties": false,
- "required": ["homepage", "versions"]
+ "required": ["homepage", "versions", "maintainers"]
}
diff --git a/modules/abseil-cpp/20240116.1/MODULE.bazel b/modules/abseil-cpp/20240116.1/MODULE.bazel
new file mode 100644
index 0000000..6512987
--- /dev/null
+++ b/modules/abseil-cpp/20240116.1/MODULE.bazel
@@ -0,0 +1,39 @@
+# Copyright 2024 The Abseil Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# https://bazel.build/external/overview#bzlmod
+
+module(
+ name = "abseil-cpp",
+ version = "20240116.1",
+ compatibility_level = 1,
+)
+
+# Only direct dependencies need to be listed below.
+# Please keep the versions in sync with the versions in the WORKSPACE file.
+
+bazel_dep(name = "bazel_skylib",
+ version = "1.5.0")
+
+bazel_dep(name = "google_benchmark",
+ version = "1.8.3",
+ repo_name = "com_github_google_benchmark",
+ dev_dependency = True)
+
+bazel_dep(name = "googletest",
+ version = "1.14.0.bcr.1",
+ repo_name = "com_google_googletest")
+
+bazel_dep(name = "platforms",
+ version = "0.0.8")
diff --git a/modules/abseil-cpp/20240116.1/patches/module_dot_bazel.patch b/modules/abseil-cpp/20240116.1/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..6823fe1
--- /dev/null
+++ b/modules/abseil-cpp/20240116.1/patches/module_dot_bazel.patch
@@ -0,0 +1,11 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -16,7 +16,7 @@
+
+ module(
+ name = "abseil-cpp",
+- version = "20240116.0",
++ version = "20240116.1",
+ compatibility_level = 1,
+ )
+
diff --git a/modules/abseil-cpp/20240116.1/presubmit.yml b/modules/abseil-cpp/20240116.1/presubmit.yml
new file mode 100644
index 0000000..30335de
--- /dev/null
+++ b/modules/abseil-cpp/20240116.1/presubmit.yml
@@ -0,0 +1,20 @@
+matrix:
+ bazel:
+ - 6.x
+ - 7.x
+ platform:
+ - centos7_java11_devtoolset10
+ - debian10
+ - ubuntu2004
+ - macos
+ - windows
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_flags:
+ - '--cxxopt=-std=c++14'
+ build_targets:
+ - '@abseil-cpp//absl/strings'
+ - '@abseil-cpp//absl/flags:flag'
diff --git a/modules/abseil-cpp/20240116.1/source.json b/modules/abseil-cpp/20240116.1/source.json
new file mode 100644
index 0000000..d5cafb2
--- /dev/null
+++ b/modules/abseil-cpp/20240116.1/source.json
@@ -0,0 +1,9 @@
+{
+ "url": "https://github.com/abseil/abseil-cpp/releases/download/20240116.1/abseil-cpp-20240116.1.tar.gz",
+ "integrity": "sha256-PHQyBN94NmrS6vI21mMdg/a8ko0XBd0AALhy5Ttz3Go=",
+ "strip_prefix": "abseil-cpp-20240116.1",
+ "patch_strip": 0,
+ "patches": {
+ "module_dot_bazel.patch": "sha256-H6J0U5xTQRVVGFkTsBioOCeWetuCfpavigN8YvpQkIQ="
+ }
+}
diff --git a/modules/abseil-cpp/metadata.json b/modules/abseil-cpp/metadata.json
index 106df0b..794fa25 100644
--- a/modules/abseil-cpp/metadata.json
+++ b/modules/abseil-cpp/metadata.json
@@ -18,7 +18,8 @@
"20230802.0",
"20230802.0.bcr.1",
"20230802.1",
- "20240116.0"
+ "20240116.0",
+ "20240116.1"
],
"yanked_versions": {}
}
diff --git a/modules/abseil-py/metadata.json b/modules/abseil-py/metadata.json
index 1534c84..1f59022 100644
--- a/modules/abseil-py/metadata.json
+++ b/modules/abseil-py/metadata.json
@@ -1,9 +1,16 @@
{
- "homepage": "https://github.com/abseil/abseil-py",
- "maintainers": [],
- "repository": [
- "github:abseil/abseil-py"
- ],
- "versions": ["1.4.0"],
- "yanked_versions": {}
+ "homepage": "https://github.com/abseil/abseil-py",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:abseil/abseil-py"
+ ],
+ "versions": [
+ "1.4.0"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/ape/1.0.0-alpha.1/MODULE.bazel b/modules/ape/1.0.0-alpha.1/MODULE.bazel
new file mode 100644
index 0000000..84ccff9
--- /dev/null
+++ b/modules/ape/1.0.0-alpha.1/MODULE.bazel
@@ -0,0 +1,219 @@
+module(
+ name = "ape",
+ version = "1.0.0-alpha.1",
+ bazel_compatibility = [
+ ">=7.0.0",
+ ],
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.1")
+bazel_dep(name = "download_utils", version = "1.0.0-beta.1")
+
+download_file = use_repo_rule("@download_utils//download/file:defs.bzl", "download_file")
+
+[
+ download_file(
+ name = binary,
+ executable = True,
+ integrity = integrity,
+ output = "ape",
+ urls = ["https://cosmo.zip/pub/cosmos/v/3.2.4/bin/{}".format(binary)],
+ )
+ for binary, integrity in {
+ "ape-arm64.elf": "sha256-h3zL1GUkMGVCbLSjyrQ1GsrZGGSfhlZVa7YEiC7q0I8=",
+ "ape-x86_64.elf": "sha256-fBz4sk4bbdatfaOBcEXVgq2hRrTW7AxqRb6oMOOmX00=",
+ "ape-x86_64.macho": "sha256-btvd3YJTsgZojeJJGIrf2OuFDpw9nxmEMleBS5NsWZg=",
+ }.items()
+]
+
+pe = use_repo_rule("//ape/pe:repository.bzl", "pe")
+
+pe(name = "ape.pe")
+
+select = use_repo_rule("@toolchain_utils//toolchain/local/select:defs.bzl", "toolchain_local_select")
+
+select(
+ name = "launcher",
+ map = {
+ "arm64-linux": "@ape-arm64.elf",
+ "amd64-linux": "@ape-x86_64.elf",
+ "amd64-darwin": "@ape-x86_64.macho",
+ "windows": "@ape.pe",
+ },
+)
+
+ape_entrypoint = use_repo_rule("//ape/entrypoint:defs.bzl", "ape_entrypoint")
+
+export = use_extension("@toolchain_utils//toolchain/export:defs.bzl", "toolchain_export")
+
+[
+ (
+ download_file(
+ name = "cosmos-{}".format(binary),
+ executable = True,
+ integrity = integrity,
+ output = binary,
+ urls = ["https://cosmo.zip/pub/cosmos/v/3.2.4/bin/{}".format(binary)],
+ ),
+ ape_entrypoint(
+ name = binary,
+ binary = "@cosmos-{}//:{}".format(binary, binary),
+ ),
+ export.symlink(
+ name = "ape-{}".format(binary),
+ target = "@{}".format(binary),
+ ),
+ )
+ for binary, integrity in {
+ "awk": "sha256-f+uWrpvZmKp0icmVlTusCWs4TvqR2FrmOkQ1E7JEo/Q=",
+ "b2sum": "sha256-C0A+VvLQwqWyZ43zLhgi3tX5X8mCSGUT4kBoTsCtsOA=",
+ "base32": "sha256-UKvhDPWxj5CBiJcC8v22sLAkAMRbeyr0HgsQT3aRpJo=",
+ "base64": "sha256-Ma0Uq9TjmARCgwZWzTBcuEFyIkMXUahQqms9sUQPYjE=",
+ "basename": "sha256-wVt/L/UlzFofy0HnJzUxwSipYmqvpnWSYNffI6kHSOg=",
+ "basenc": "sha256-ss0EQU9BQPJDOhFS2kyr39G9ql6cme2hKhJ5LXu41No=",
+ "bash": "sha256-817s6bXbU96XAE/lpw/bVjtaG/HZNkiM2orJBhKWaXY=",
+ "berry": "sha256-iRihZOPxJy8riq00G9QqyuDphQGZW87arvQa7wu5WJ0=",
+ "brotli": "sha256-5dbhyGt64HdqXrSmTVdOlpyVgW3A3FTcRy9JNKlETbE=",
+ "bzip2": "sha256-i0jxsBCz1axEaa9Kd1TFPTFwAVYFhbR6dGqUl/OfwYQ=",
+ "cat": "sha256-hxd0pfBMmXT44ii103FiMUI3pQYHj7UmNW4pqnw12HY=",
+ "chcon": "sha256-NKrTh2us8Pc67LI7udJg9JhlhobHU03laNr4U+5DhF8=",
+ "chgrp": "sha256-7KvHpFFsvhK981vIlGyegWuQhIzxY87lYcYfNB/qdC8=",
+ "chown": "sha256-XlKnJcZ1t7cdBKC2twaXC8/X6p7bSpnFoIDQ0xxdrhQ=",
+ "chroot": "sha256-lN46T08G7T85BC9L/q4k9vlLwNKWbyD0YkAclHWUGuw=",
+ "cksum": "sha256-ZN7kzOdpdzCUsa+1+2dsZ19980fhL5x7tnYdKRqW7OY=",
+ "clang-format": "sha256-t1/HDaTZ/klR+VFONNcqj5uxgIm37dafKu5Mp99ecVQ=",
+ "comm": "sha256-Z4pMcRlfC6n9KC5Z8cSZT5NA+e/0Zl30tW4zRB+Ml7I=",
+ "cpuid": "sha256-KZ7I9Vj0m0SYjYdlFCDsWAeZZHq5CL2V2/DiBJgVPFE=",
+ "csplit": "sha256-PnfIPYD2n2cZ8rxV26jvFiE6e+XROXGwhE6sbpjbPSY=",
+ "ctags": "sha256-6GwrTt16hCzJ8EoVXQXoetwnOIOhBR4T4gX2PO/wIfQ=",
+ "curl": "sha256-jc8LNKBMlWgGeHW3Tum9M6AfV2a5PlLmJunmfs00q/M=",
+ "cut": "sha256-N6iYRU/Ue0YN1tW0YElHjCVe0aPrUtbSxWFaJUPXGAE=",
+ "dash": "sha256-DQjaobzAoYxtxBvvDdyQLbTvjPV61HLMOahNEXz8dOM=",
+ "datasette": "sha256-ohY3OEDwK6DOSWfLFlUa/4MTTHd9kKGN8NYTwGyWOZA=",
+ "date": "sha256-4r91y6qrOb4PK5AQ23uY2lskgprTRGLwDTBOkMPF1/c=",
+ "df": "sha256-rrkKRiH346Qfr/uwtOFe5x+Q3X1yajhCndbTxnkkiSI=",
+ "dir": "sha256-XfB99aziyrFfAHbOzI36cXPn+633uND4y02Mn9wTx98=",
+ "dircolors": "sha256-FTu1gC+xUzR1NTxaXk9ZLu4Gp2ACwnQC2FvHJySd1/Q=",
+ "dirname": "sha256-F9LmexRfLOqVyybPSXv+2xBhLakd8fnV01T/yZK78EU=",
+ "du": "sha256-cwPg/fIABRhBnlWOXTpC7GaIEi/L2vgMqPUAZ8vnxLA=",
+ "emacs": "sha256-FHVaf2drHxbWKWpCc0pBlt8NNLiR6x6pX9KrhCkI5zM=",
+ "emacsclient": "sha256-2p9WFK4fF0vnJDUyNTd6a4jigqsQpp0aG41e0MQSJOM=",
+ "env": "sha256-KSmB7dXht0FmmkJB8JQnUw6uQIfG36SugQXyMdPKPso=",
+ "expand": "sha256-GDxdiCM3bnYQtE+brm6GgDN7EyjV+5vxYj1McQ/YGLQ=",
+ "expr": "sha256-GD2DSrlrlym+z+57/BUKL50paNN1QU6FGe1D3wxtnnk=",
+ "factor": "sha256-Pmziyh/iAkeaU/XHmAblS/4QfA6YDbml6qSX/yqVj6s=",
+ "false": "sha256-FuIagCcD2snlx2D2D2k5+qhA2KXgWcoxMDY7O1qlE74=",
+ "find": "sha256-k3BJOldX6NzX1Aq/RX6Q6PQts/3l9IFR7BILMIDUkg8=",
+ "fmt": "sha256-ZjBJtahjGrr6Xll85ZZo+lTGEZNdaSksUNqpkpMqyrY=",
+ "fold": "sha256-u5I83GpxaXBKFtzsJVJEWdQ1hJkpRmJGbQVHzjOYJ3w=",
+ "gmake": "sha256-o5a22Uli7i9upNh3z9qwPRFv3vIF7hOSdYMCXz8ioQc=",
+ "greenbean": "sha256-2e6ANHtNrFdAKdmSAVBOYWacqaF9SxOhrwKesYwIfSc=",
+ "grep": "sha256-btb7IC+1GiiU+CTMX4F7F8ESESShnVx90+Vz8uhgkkA=",
+ "groups": "sha256-1hRskXbgQrpy3YedFo9SmYix5KUTJAV9cL6I0T/DF7c=",
+ "head": "sha256-I4EetDV9GYYKHCNANar3iwNNZMJhJ9+KaQBkWyA0r7o=",
+ "id": "sha256-JtW0OHrUUwEaHsb03yfoawekOVad+XZ2sl8ZnM0+rYc=",
+ "install": "sha256-FT0vE0RtmwB2+ArCfbm59mou/sLQzymNvTqogiVpRTg=",
+ "join": "sha256-KVBK8dBkDM+LijUS4hi7zNsa18hZvJqNS6uWQMvxgWs=",
+ "kill": "sha256-+4mYRIwPgtQ7BEoK7/E6vXx5iriV3vpk0eNrNI2kNh8=",
+ "less": "sha256-ku05PfJLk7zICV/ljbzXavHBvnMlitaLcd3uJvfZcfU=",
+ "life": "sha256-8XQ3CXLLxo7ykT/+jGJovYCAzSEih6H4wnQ26+Q04lM=",
+ "link": "sha256-MRqILGFYuhtO470TDsIxfQe7NE1GrHjbWCnU2nb31QQ=",
+ "links": "sha256-Px+ZWWbcFLnnjuORljLehyqLBW3UIuGtEqQf3vnJXgo=",
+ "ln": "sha256-QevM7NFKo4T79iCOOu6JjAxVuoQHAiSi3zkYf3HQoHI=",
+ "locate": "sha256-zsyqygY6K+gwbw9Cw7j+JEjd1W4T66xKil7PqeFtfA8=",
+ "logname": "sha256-if+qby9Pyn2PT53NEIoPXW/xusX5N8TK6lFNhOYEk7A=",
+ "ls": "sha256-09ABdeL9W/aloHvspUOTk4s1qXPKelusGWs/fI5elBY=",
+ "lua": "sha256-xuf+7nkxzN/uNIJ8j7adEqf6dvm3X+QT4LeDtRBeoBM=",
+ "lz4": "sha256-hS8xfK0iRyQ51wndmPpRqC2iJfJzvk4OSPtdBNoDzIg=",
+ "make": "sha256-oxtmxi2jmEKg2EX4gzBsmikSI3H56Cb4TL5JDLrHmes=",
+ "md5sum": "sha256-V02adwdclgCCznwYMv8TzulmGsJCj0nY6BbLm9+3BmI=",
+ "mkfifo": "sha256-Qn7ki2D6CeAj35bXjjdtn8uoTIWvQzrJQgQW5YwVjNE=",
+ "mknod": "sha256-WuoCTQkW92gL+rkPEsIVekSW3T5jWpLe4d0tkEEVlto=",
+ "mktemp": "sha256-e4OIGcZD2+IeoysBxEx3+PzbkFxduS3t17Xh6APVTg0=",
+ "mktemper": "sha256-ukMdMND+GwcBR+OdH6KDdHTYSOc1pKWAbYomyj9ZoOo=",
+ "nano": "sha256-E8aX3D/XXItFzwVS7UO3tCD2I4gCx9K7oqFjkWC+hEA=",
+ "nesemu1": "sha256-3tEEU6VMPK8bwloRQ2CkLXD8+icXne+EBdHUtfYPsmw=",
+ "nice": "sha256-ukGk1uudFSnluQXKEtGsAIzL6JhXe4NaLC53QdcyK+E=",
+ "ninja": "sha256-6vNW/WRG9QrsaksgbhhdEPyb9VgzATt2AEJj6jlyfmo=",
+ "nl": "sha256-per3cJdCvbTUMe1rs76QJ/E9eQYfUl4VVPafj0yJFHk=",
+ "nohup": "sha256-4eCoAypbSFOk/Bgq8jfyv2BPPP78iNLXb711CK8buGU=",
+ "nproc": "sha256-uKzADOYvOwHwG9Wc7v0EHPJdidt7Vx1CY0ur9QL0ziM=",
+ "numfmt": "sha256-CT5axyDY1ASWxzGJb+hDVTRiWqU2f8+CSzhehOdR/wY=",
+ "od": "sha256-Hy0uDDsgdci74s+jI+R2Bkgj4LVaW0djddoqkzTebSE=",
+ "paste": "sha256-Sa5G8cxyh5Vsr6kkf/wmwnos0KYwIUHNI1/dZ16n24U=",
+ "pathchk": "sha256-ZjR+IGm8fv0b/hy4hmdi1xuxpoA5A7MR0AnGndlfTvc=",
+ "pigz": "sha256-KReMrcHfifpjgxeb/k4WNl6ZtgJwfDIf9mTbcEldR0w=",
+ "pinky": "sha256-ObmAOis790fvuP+YpdxP9cyR5ISU6BB4G/8un3xR4ns=",
+ "pledge": "sha256-rcK6umgSKLv06PIV+glVDhKgPr79vfIodUEsZ7WyGaM=",
+ "pr": "sha256-FVC8+/eRiBZ2MHpZNZRHrRMoDFLi4S9NRMVPQSWimOo=",
+ "printenv": "sha256-zoWUC3FJVC6a8iM2vmiEVNa4mjhmLo76aPkh2TXB+bc=",
+ "printimage": "sha256-myO0x/BQSNFuWWwDop0ph/WmO8tBsnxuTIoIzC6Xsaw=",
+ "ptx": "sha256-x6abLQHeAmLQN213aU0nx+4xfZSfWqlYWP7Fe+wueEs=",
+ "pwd": "sha256-RdIwQz9MZ5PaDIT9y0AY3YZHKYA/tUm8ylYf5RD0S8U=",
+ "pypack1": "sha256-mb3fmOwEqmunaoKZahHdRh2K8OuOSHFQQIc8Yddppic=",
+ "python": "sha256-RvuLtLNsExsN10Mipa/ewh1Qr95a0dpOOJ+j3BBht2g=",
+ "qjs": "sha256-RmszlYwDkeSbX3xZ/0m/yQCgfbJNCflaQ0KHuz1lo/w=",
+ "readlink": "sha256-3/0q9jntaXuBK5+3+FFiUHfnZhVsJILGRyw9C9jsDrM=",
+ "realpath": "sha256-+Wo9k1u/CGPqtTKgHDjdu6z7UraE444Ez82h69SIKm0=",
+ "redbean": "sha256-+zB9iVZklOfgaynLhwQG1qTP+/xUZE2A2UyTTIz9iCk=",
+ "rmdir": "sha256-olbEjveooS5XCXiLtsvXacsfR1l7AFndDB7XRLr3HwU=",
+ "rsync": "sha256-bAJZ6fMDcOpiZ9eNiC/KySEoanb8ZnXL+LBgpOuc8s4=",
+ "runcon": "sha256-m+7V7IWXjMBts1GcBvTn9yLZrekeJ2PnTIZPDPqbHyg=",
+ "script": "sha256-gF6Ux0AVHv3VK3ynVCDfwWSzCzcM6tbYUtAEYkE/Lto=",
+ "sed": "sha256-mLD3mRX7R9we3IQpAZKC7c4mF2Nz7sG8s63Is0TkYcM=",
+ "seq": "sha256-AkvogLBC9nwhq2rpaA1kL0Q4beb00QMrptcxpzXKjE0=",
+ "sha1sum": "sha256-wDWmXDgJmeEuJUd5ER9ed1rGZRxJMwEe1uR7Jrm4r2o=",
+ "sha224sum": "sha256-DPOKHJa+e04UNJm0ptGNf79Qpvdf3OCbAlHKLPFq3oM=",
+ "sha256sum": "sha256-BpxhJqv/rboyFhYy31eq5Ym3eriHcGRqOGDdmbWwAuw=",
+ "sha384sum": "sha256-Ak4+xM3+eGqXyWVghrgtAo80Fgeo6iXd10+K7tOd5HE=",
+ "sha512sum": "sha256-qq4HW+6hZ26U/TiN50QPdd710RpiPDjhrG/XfILWxE0=",
+ "shred": "sha256-7/edcRznrBT9DOKb05J39nRsjJ30LkH9Pz/5QUlsDH4=",
+ "shuf": "sha256-X1v5hF6yG2zM78Qg85wcENzihXXmMZnBTZNleRCscL4=",
+ "sleep": "sha256-esGxinA9WyISgkcQ7sPIuC7B1SwQHMXmGTYHOhZvAx0=",
+ "sort": "sha256-Ar+SpUClNPT5OItQMiiYH7CBHnSoKHa1jjN32BjqMF4=",
+ "split": "sha256-A5nEGoaZdJ5p1j3s54rgp8/BEoBVakaRE4YAqAMMZbQ=",
+ "sqlite3": "sha256-IICFVnTkqMZ/c5PPtIStX89WtBnsmIg3z1qfFJEOXlE=",
+ "stat": "sha256-KO2xc+Vf2HdfUZPh2ItTxfun5CwFNsPQArjJ22fw/a8=",
+ "stty": "sha256-S2BXpqZxSI493gq3piyCqH3dwE+yxvvAL1WWxRVd844=",
+ "sum": "sha256-Uoro6aH+YK1IIBditsXeyXhwAlR9vqLnLOQ9K8PRSuM=",
+ "sync": "sha256-1iFwSaaAXI3pdNdfrMI9PychzSGJhy0UpDCDTwCn8/U=",
+ "tac": "sha256-RG/VXzGH2MSwHLSQIG61wDmoNR5xYch3+xNbtDUROB4=",
+ "tail": "sha256-hdbjryLVn6c7MR/XX/UhaOS7+QKLYhrJUo+DsE3Xz/E=",
+ "tar": "sha256-bK1q+UwoTLgbDi6UeY20FCH3MtJaoRpWV3DHd2U7Mbw=",
+ "tee": "sha256-TJTxJe2mWPIizG4s3vwgg3wrKjew5E+1wGKRrtx+el4=",
+ "test": "sha256-djzefI/wv2XCnNfvFpjfTIJVly06qkSAsV4BoV0gUEo=",
+ "tidy": "sha256-20zyJkRs1n5tzbPTbXPfAt9CaVDsbpGZws8bddOY16E=",
+ "timeout": "sha256-aasJBcTgrDU0Xs4V4UkUW8Wsle1EdXnPdf0Fymw0Fpc=",
+ "tmux": "sha256-ZbW548NXsKv7puCJc+hHvF2hpYI7MQvZc//FAH7oTUI=",
+ "touch": "sha256-Qtxc3zlOZg2B3dXeUABQUcyFdjFCV6WPVQUr8DQP1qk=",
+ "tr": "sha256-1l1OkCTePV8SDxVQyoTtvK0fHCR9Hf+ebHGh5gEriyY=",
+ "tree": "sha256-B0m9Z2PoklikdfkbU1QyFsjlFkVzUemLSGmQTC/OL5I=",
+ "true": "sha256-Cp9RvWCvc8NmfZbMhdDz38cA8YJDVRswENEggHgEoVY=",
+ "truncate": "sha256-/u7bZBCAYeEeEeST5/9z3pmy6bgP0FAGUaUOED/Rppo=",
+ "tsort": "sha256-uTgUXY/AU+WyqjwbCR5AS8O7wzN5pROWV1Jp0hmpykc=",
+ "tty": "sha256-q7ACSLuBRoj8S/6SACtld7x6LC/HbxTjGeY7vu/8ENg=",
+ "ttyinfo": "sha256-30KPzAvNZ0hGPsi+hFXWgEQhItcB1bvRNJY+cokdcTo=",
+ "unbourne": "sha256-Q7/iZUHTlmCUQN6rw8cg7V+tb2A8RCDOnRfR9TZoMq4=",
+ "unexpand": "sha256-1aCgwxoQk7SzJXBlADz3cf/V2vMMcys0MQ3fwaICx2U=",
+ "uniq": "sha256-A6UVJI2TAChs4PaCnCbjOYK74QvhoPef+7iVhgV4urA=",
+ "unlink": "sha256-utJGVV1+wC3tQEdJ9kvr1c17Co2ljegM/+0ASl1WlUQ=",
+ "unzip": "sha256-CuORPmGI+lGcTM34owoLe6NA5O3sO2z6s/u32+52Ay8=",
+ "uptime": "sha256-m/S29ntFqzWNnInIxt6M+G0bXQVRRJullJ6+Cn0t5FM=",
+ "users": "sha256-i5UF16OR/uwcu/Zawzk0Qnj8ng5gKbwWcJQ075HRT/Y=",
+ "vdir": "sha256-iXYsmmp973x1uSnX+4na5G8sHJ5K4Y9en1GX1h8w/Xc=",
+ "verynice": "sha256-49xc858RJTKnORI8VR/qm+rWmw8685O40dyO3xA9MX4=",
+ "vim": "sha256-wf8JV2UJG15mrkruoVW5mCYRziO5+mYtoinHR/MH88o=",
+ "wall": "sha256-yPDUoIdP/jcggElRwyiHqkS89gnVDzBzkCNwJfe8E9U=",
+ "wc": "sha256-0QcoEnBZYML3zxx+8F5OywXn5KlJ2put3tVTtenRivU=",
+ "wget": "sha256-Cc6S4q1wHliGSWDZl2WVxDz+9YEdum6tFA7PLvw/UII=",
+ "who": "sha256-f/7aVNcB5lYIhOpfxiqch8S22b+nI25TrI2C2bSKXI8=",
+ "whoami": "sha256-71b9T2z17+0j8711Eyw1rWrrTBv39cIgqEk85KlWSXw=",
+ "xargs": "sha256-bP3uyxPEzbL5QeMJCTtvQPrhpiXut+iHTTeGuOCpNJg=",
+ "xz": "sha256-gTBKAnJyqP88kGYtlkZcdldoFU2J6VtcQCtfXfhrJDE=",
+ "yes": "sha256-ZGiA91He1rL0kZKHXUUH8qWmaLly/3QxtKO0R8avkbA=",
+ "zip": "sha256-Pba62aWW0gpT1wJK8Aa7HWwf3foaXnEUMxkfN8pZ01E=",
+ "zsh": "sha256-JKePwqxk9+6vQbRdaGA/nZg0hNBn40mE3sKY1ftzxtQ=",
+ "zstd": "sha256-NBtbg/4vD4sgHfqxK9DiUzdtJgu3+lER8GYZ8irR40E=",
+ }.items()
+]
diff --git a/modules/ape/1.0.0-alpha.1/presubmit.yml b/modules/ape/1.0.0-alpha.1/presubmit.yml
new file mode 100644
index 0000000..1e9d758
--- /dev/null
+++ b/modules/ape/1.0.0-alpha.1/presubmit.yml
@@ -0,0 +1,20 @@
+bcr_test_module:
+ module_path: e2e
+ matrix:
+ bazel:
+ - 7.x
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ # TODO: module needs to build the custom launcher on Apple silicon
+ # - macos_arm64
+ # TODO: enable this once the `gitlab.arm.com` does not use a self-signed certificate
+ # - windows
+ tasks:
+ run_tests:
+ name: Run end-to-end Tests
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/ape/1.0.0-alpha.1/source.json b/modules/ape/1.0.0-alpha.1/source.json
new file mode 100644
index 0000000..92c6df2
--- /dev/null
+++ b/modules/ape/1.0.0-alpha.1/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://gitlab.arm.com/bazel/ape/-/releases/v1.0.0-alpha.1/downloads/src.tar.gz",
+ "integrity": "sha512-JIaW/Nza62u2MY6LcvaeG8iO1FsKK4ty9tHtzievtQ0A7sHwphRTfTD1HIgqeAuhdkNeK5XkhHRjERyaudlAzA==",
+ "strip_prefix": "ape-v1.0.0-alpha.1"
+}
diff --git a/modules/ape/1.0.0-alpha.2/MODULE.bazel b/modules/ape/1.0.0-alpha.2/MODULE.bazel
new file mode 100644
index 0000000..4b5b8c9
--- /dev/null
+++ b/modules/ape/1.0.0-alpha.2/MODULE.bazel
@@ -0,0 +1,249 @@
+module(
+ name = "ape",
+ version = "1.0.0-alpha.2",
+ bazel_compatibility = [
+ ">=7.0.0",
+ ],
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.1")
+bazel_dep(name = "download_utils", version = "1.0.0-beta.1")
+
+download_archive = use_repo_rule("@download_utils//download/archive:defs.bzl", "download_archive")
+
+download_file = use_repo_rule("@download_utils//download/file:defs.bzl", "download_file")
+
+[
+ download_file(
+ name = binary,
+ executable = True,
+ integrity = integrity,
+ output = "ape",
+ urls = ["https://cosmo.zip/pub/cosmos/v/3.2.4/bin/{}".format(binary)],
+ )
+ for binary, integrity in {
+ "ape-arm64.elf": "sha256-h3zL1GUkMGVCbLSjyrQ1GsrZGGSfhlZVa7YEiC7q0I8=",
+ "ape-x86_64.elf": "sha256-fBz4sk4bbdatfaOBcEXVgq2hRrTW7AxqRb6oMOOmX00=",
+ "ape-x86_64.macho": "sha256-btvd3YJTsgZojeJJGIrf2OuFDpw9nxmEMleBS5NsWZg=",
+ }.items()
+]
+
+pe = use_repo_rule("//ape/pe:repository.bzl", "pe")
+
+pe(name = "ape.pe")
+
+select = use_repo_rule("@toolchain_utils//toolchain/local/select:defs.bzl", "toolchain_local_select")
+
+select(
+ name = "launcher",
+ map = {
+ "arm64-linux": "@ape-arm64.elf",
+ "amd64-linux": "@ape-x86_64.elf",
+ "amd64-darwin": "@ape-x86_64.macho",
+ "windows": "@ape.pe",
+ },
+)
+
+ape_entrypoint = use_repo_rule("//ape/entrypoint:defs.bzl", "ape_entrypoint")
+
+export = use_extension("@toolchain_utils//toolchain/export:defs.bzl", "toolchain_export")
+
+[
+ (
+ download_file(
+ name = "cosmos-{}".format(binary),
+ executable = True,
+ integrity = integrity,
+ output = binary,
+ urls = ["https://cosmo.zip/pub/cosmos/v/3.2.4/bin/{}".format(binary)],
+ ),
+ ape_entrypoint(
+ name = binary,
+ binary = "@cosmos-{}//:{}".format(binary, binary),
+ ),
+ export.symlink(
+ name = "ape-{}".format(binary),
+ target = "@{}".format(binary),
+ ),
+ )
+ for binary, integrity in {
+ "awk": "sha256-f+uWrpvZmKp0icmVlTusCWs4TvqR2FrmOkQ1E7JEo/Q=",
+ "b2sum": "sha256-C0A+VvLQwqWyZ43zLhgi3tX5X8mCSGUT4kBoTsCtsOA=",
+ "base32": "sha256-UKvhDPWxj5CBiJcC8v22sLAkAMRbeyr0HgsQT3aRpJo=",
+ "base64": "sha256-Ma0Uq9TjmARCgwZWzTBcuEFyIkMXUahQqms9sUQPYjE=",
+ "basename": "sha256-wVt/L/UlzFofy0HnJzUxwSipYmqvpnWSYNffI6kHSOg=",
+ "basenc": "sha256-ss0EQU9BQPJDOhFS2kyr39G9ql6cme2hKhJ5LXu41No=",
+ "bash": "sha256-817s6bXbU96XAE/lpw/bVjtaG/HZNkiM2orJBhKWaXY=",
+ "berry": "sha256-iRihZOPxJy8riq00G9QqyuDphQGZW87arvQa7wu5WJ0=",
+ "brotli": "sha256-5dbhyGt64HdqXrSmTVdOlpyVgW3A3FTcRy9JNKlETbE=",
+ "bzip2": "sha256-i0jxsBCz1axEaa9Kd1TFPTFwAVYFhbR6dGqUl/OfwYQ=",
+ "cat": "sha256-hxd0pfBMmXT44ii103FiMUI3pQYHj7UmNW4pqnw12HY=",
+ "chcon": "sha256-NKrTh2us8Pc67LI7udJg9JhlhobHU03laNr4U+5DhF8=",
+ "chgrp": "sha256-7KvHpFFsvhK981vIlGyegWuQhIzxY87lYcYfNB/qdC8=",
+ "chown": "sha256-XlKnJcZ1t7cdBKC2twaXC8/X6p7bSpnFoIDQ0xxdrhQ=",
+ "chroot": "sha256-lN46T08G7T85BC9L/q4k9vlLwNKWbyD0YkAclHWUGuw=",
+ "cksum": "sha256-ZN7kzOdpdzCUsa+1+2dsZ19980fhL5x7tnYdKRqW7OY=",
+ "clang-format": "sha256-t1/HDaTZ/klR+VFONNcqj5uxgIm37dafKu5Mp99ecVQ=",
+ "comm": "sha256-Z4pMcRlfC6n9KC5Z8cSZT5NA+e/0Zl30tW4zRB+Ml7I=",
+ "cpuid": "sha256-KZ7I9Vj0m0SYjYdlFCDsWAeZZHq5CL2V2/DiBJgVPFE=",
+ "csplit": "sha256-PnfIPYD2n2cZ8rxV26jvFiE6e+XROXGwhE6sbpjbPSY=",
+ "ctags": "sha256-6GwrTt16hCzJ8EoVXQXoetwnOIOhBR4T4gX2PO/wIfQ=",
+ "curl": "sha256-jc8LNKBMlWgGeHW3Tum9M6AfV2a5PlLmJunmfs00q/M=",
+ "cut": "sha256-N6iYRU/Ue0YN1tW0YElHjCVe0aPrUtbSxWFaJUPXGAE=",
+ "dash": "sha256-DQjaobzAoYxtxBvvDdyQLbTvjPV61HLMOahNEXz8dOM=",
+ "datasette": "sha256-ohY3OEDwK6DOSWfLFlUa/4MTTHd9kKGN8NYTwGyWOZA=",
+ "date": "sha256-4r91y6qrOb4PK5AQ23uY2lskgprTRGLwDTBOkMPF1/c=",
+ "df": "sha256-rrkKRiH346Qfr/uwtOFe5x+Q3X1yajhCndbTxnkkiSI=",
+ "dir": "sha256-XfB99aziyrFfAHbOzI36cXPn+633uND4y02Mn9wTx98=",
+ "dircolors": "sha256-FTu1gC+xUzR1NTxaXk9ZLu4Gp2ACwnQC2FvHJySd1/Q=",
+ "dirname": "sha256-F9LmexRfLOqVyybPSXv+2xBhLakd8fnV01T/yZK78EU=",
+ "du": "sha256-cwPg/fIABRhBnlWOXTpC7GaIEi/L2vgMqPUAZ8vnxLA=",
+ "emacs": "sha256-FHVaf2drHxbWKWpCc0pBlt8NNLiR6x6pX9KrhCkI5zM=",
+ "emacsclient": "sha256-2p9WFK4fF0vnJDUyNTd6a4jigqsQpp0aG41e0MQSJOM=",
+ "env": "sha256-KSmB7dXht0FmmkJB8JQnUw6uQIfG36SugQXyMdPKPso=",
+ "expand": "sha256-GDxdiCM3bnYQtE+brm6GgDN7EyjV+5vxYj1McQ/YGLQ=",
+ "expr": "sha256-GD2DSrlrlym+z+57/BUKL50paNN1QU6FGe1D3wxtnnk=",
+ "factor": "sha256-Pmziyh/iAkeaU/XHmAblS/4QfA6YDbml6qSX/yqVj6s=",
+ "false": "sha256-FuIagCcD2snlx2D2D2k5+qhA2KXgWcoxMDY7O1qlE74=",
+ "find": "sha256-k3BJOldX6NzX1Aq/RX6Q6PQts/3l9IFR7BILMIDUkg8=",
+ "fmt": "sha256-ZjBJtahjGrr6Xll85ZZo+lTGEZNdaSksUNqpkpMqyrY=",
+ "fold": "sha256-u5I83GpxaXBKFtzsJVJEWdQ1hJkpRmJGbQVHzjOYJ3w=",
+ "gmake": "sha256-o5a22Uli7i9upNh3z9qwPRFv3vIF7hOSdYMCXz8ioQc=",
+ "greenbean": "sha256-2e6ANHtNrFdAKdmSAVBOYWacqaF9SxOhrwKesYwIfSc=",
+ "grep": "sha256-btb7IC+1GiiU+CTMX4F7F8ESESShnVx90+Vz8uhgkkA=",
+ "groups": "sha256-1hRskXbgQrpy3YedFo9SmYix5KUTJAV9cL6I0T/DF7c=",
+ "head": "sha256-I4EetDV9GYYKHCNANar3iwNNZMJhJ9+KaQBkWyA0r7o=",
+ "id": "sha256-JtW0OHrUUwEaHsb03yfoawekOVad+XZ2sl8ZnM0+rYc=",
+ "install": "sha256-FT0vE0RtmwB2+ArCfbm59mou/sLQzymNvTqogiVpRTg=",
+ "join": "sha256-KVBK8dBkDM+LijUS4hi7zNsa18hZvJqNS6uWQMvxgWs=",
+ "kill": "sha256-+4mYRIwPgtQ7BEoK7/E6vXx5iriV3vpk0eNrNI2kNh8=",
+ "less": "sha256-ku05PfJLk7zICV/ljbzXavHBvnMlitaLcd3uJvfZcfU=",
+ "life": "sha256-8XQ3CXLLxo7ykT/+jGJovYCAzSEih6H4wnQ26+Q04lM=",
+ "link": "sha256-MRqILGFYuhtO470TDsIxfQe7NE1GrHjbWCnU2nb31QQ=",
+ "links": "sha256-Px+ZWWbcFLnnjuORljLehyqLBW3UIuGtEqQf3vnJXgo=",
+ "ln": "sha256-QevM7NFKo4T79iCOOu6JjAxVuoQHAiSi3zkYf3HQoHI=",
+ "locate": "sha256-zsyqygY6K+gwbw9Cw7j+JEjd1W4T66xKil7PqeFtfA8=",
+ "logname": "sha256-if+qby9Pyn2PT53NEIoPXW/xusX5N8TK6lFNhOYEk7A=",
+ "ls": "sha256-09ABdeL9W/aloHvspUOTk4s1qXPKelusGWs/fI5elBY=",
+ "lua": "sha256-xuf+7nkxzN/uNIJ8j7adEqf6dvm3X+QT4LeDtRBeoBM=",
+ "lz4": "sha256-hS8xfK0iRyQ51wndmPpRqC2iJfJzvk4OSPtdBNoDzIg=",
+ "make": "sha256-oxtmxi2jmEKg2EX4gzBsmikSI3H56Cb4TL5JDLrHmes=",
+ "md5sum": "sha256-V02adwdclgCCznwYMv8TzulmGsJCj0nY6BbLm9+3BmI=",
+ "mkfifo": "sha256-Qn7ki2D6CeAj35bXjjdtn8uoTIWvQzrJQgQW5YwVjNE=",
+ "mknod": "sha256-WuoCTQkW92gL+rkPEsIVekSW3T5jWpLe4d0tkEEVlto=",
+ "mktemp": "sha256-e4OIGcZD2+IeoysBxEx3+PzbkFxduS3t17Xh6APVTg0=",
+ "mktemper": "sha256-ukMdMND+GwcBR+OdH6KDdHTYSOc1pKWAbYomyj9ZoOo=",
+ "nano": "sha256-E8aX3D/XXItFzwVS7UO3tCD2I4gCx9K7oqFjkWC+hEA=",
+ "nesemu1": "sha256-3tEEU6VMPK8bwloRQ2CkLXD8+icXne+EBdHUtfYPsmw=",
+ "nice": "sha256-ukGk1uudFSnluQXKEtGsAIzL6JhXe4NaLC53QdcyK+E=",
+ "ninja": "sha256-6vNW/WRG9QrsaksgbhhdEPyb9VgzATt2AEJj6jlyfmo=",
+ "nl": "sha256-per3cJdCvbTUMe1rs76QJ/E9eQYfUl4VVPafj0yJFHk=",
+ "nohup": "sha256-4eCoAypbSFOk/Bgq8jfyv2BPPP78iNLXb711CK8buGU=",
+ "nproc": "sha256-uKzADOYvOwHwG9Wc7v0EHPJdidt7Vx1CY0ur9QL0ziM=",
+ "numfmt": "sha256-CT5axyDY1ASWxzGJb+hDVTRiWqU2f8+CSzhehOdR/wY=",
+ "od": "sha256-Hy0uDDsgdci74s+jI+R2Bkgj4LVaW0djddoqkzTebSE=",
+ "paste": "sha256-Sa5G8cxyh5Vsr6kkf/wmwnos0KYwIUHNI1/dZ16n24U=",
+ "pathchk": "sha256-ZjR+IGm8fv0b/hy4hmdi1xuxpoA5A7MR0AnGndlfTvc=",
+ "pigz": "sha256-KReMrcHfifpjgxeb/k4WNl6ZtgJwfDIf9mTbcEldR0w=",
+ "pinky": "sha256-ObmAOis790fvuP+YpdxP9cyR5ISU6BB4G/8un3xR4ns=",
+ "pledge": "sha256-rcK6umgSKLv06PIV+glVDhKgPr79vfIodUEsZ7WyGaM=",
+ "pr": "sha256-FVC8+/eRiBZ2MHpZNZRHrRMoDFLi4S9NRMVPQSWimOo=",
+ "printenv": "sha256-zoWUC3FJVC6a8iM2vmiEVNa4mjhmLo76aPkh2TXB+bc=",
+ "printimage": "sha256-myO0x/BQSNFuWWwDop0ph/WmO8tBsnxuTIoIzC6Xsaw=",
+ "ptx": "sha256-x6abLQHeAmLQN213aU0nx+4xfZSfWqlYWP7Fe+wueEs=",
+ "pwd": "sha256-RdIwQz9MZ5PaDIT9y0AY3YZHKYA/tUm8ylYf5RD0S8U=",
+ "pypack1": "sha256-mb3fmOwEqmunaoKZahHdRh2K8OuOSHFQQIc8Yddppic=",
+ "python": "sha256-RvuLtLNsExsN10Mipa/ewh1Qr95a0dpOOJ+j3BBht2g=",
+ "qjs": "sha256-RmszlYwDkeSbX3xZ/0m/yQCgfbJNCflaQ0KHuz1lo/w=",
+ "readlink": "sha256-3/0q9jntaXuBK5+3+FFiUHfnZhVsJILGRyw9C9jsDrM=",
+ "realpath": "sha256-+Wo9k1u/CGPqtTKgHDjdu6z7UraE444Ez82h69SIKm0=",
+ "redbean": "sha256-+zB9iVZklOfgaynLhwQG1qTP+/xUZE2A2UyTTIz9iCk=",
+ "rmdir": "sha256-olbEjveooS5XCXiLtsvXacsfR1l7AFndDB7XRLr3HwU=",
+ "rsync": "sha256-bAJZ6fMDcOpiZ9eNiC/KySEoanb8ZnXL+LBgpOuc8s4=",
+ "runcon": "sha256-m+7V7IWXjMBts1GcBvTn9yLZrekeJ2PnTIZPDPqbHyg=",
+ "script": "sha256-gF6Ux0AVHv3VK3ynVCDfwWSzCzcM6tbYUtAEYkE/Lto=",
+ "sed": "sha256-mLD3mRX7R9we3IQpAZKC7c4mF2Nz7sG8s63Is0TkYcM=",
+ "seq": "sha256-AkvogLBC9nwhq2rpaA1kL0Q4beb00QMrptcxpzXKjE0=",
+ "sha1sum": "sha256-wDWmXDgJmeEuJUd5ER9ed1rGZRxJMwEe1uR7Jrm4r2o=",
+ "sha224sum": "sha256-DPOKHJa+e04UNJm0ptGNf79Qpvdf3OCbAlHKLPFq3oM=",
+ "sha256sum": "sha256-BpxhJqv/rboyFhYy31eq5Ym3eriHcGRqOGDdmbWwAuw=",
+ "sha384sum": "sha256-Ak4+xM3+eGqXyWVghrgtAo80Fgeo6iXd10+K7tOd5HE=",
+ "sha512sum": "sha256-qq4HW+6hZ26U/TiN50QPdd710RpiPDjhrG/XfILWxE0=",
+ "shred": "sha256-7/edcRznrBT9DOKb05J39nRsjJ30LkH9Pz/5QUlsDH4=",
+ "shuf": "sha256-X1v5hF6yG2zM78Qg85wcENzihXXmMZnBTZNleRCscL4=",
+ "sleep": "sha256-esGxinA9WyISgkcQ7sPIuC7B1SwQHMXmGTYHOhZvAx0=",
+ "sort": "sha256-Ar+SpUClNPT5OItQMiiYH7CBHnSoKHa1jjN32BjqMF4=",
+ "split": "sha256-A5nEGoaZdJ5p1j3s54rgp8/BEoBVakaRE4YAqAMMZbQ=",
+ "sqlite3": "sha256-IICFVnTkqMZ/c5PPtIStX89WtBnsmIg3z1qfFJEOXlE=",
+ "stat": "sha256-KO2xc+Vf2HdfUZPh2ItTxfun5CwFNsPQArjJ22fw/a8=",
+ "stty": "sha256-S2BXpqZxSI493gq3piyCqH3dwE+yxvvAL1WWxRVd844=",
+ "sum": "sha256-Uoro6aH+YK1IIBditsXeyXhwAlR9vqLnLOQ9K8PRSuM=",
+ "sync": "sha256-1iFwSaaAXI3pdNdfrMI9PychzSGJhy0UpDCDTwCn8/U=",
+ "tac": "sha256-RG/VXzGH2MSwHLSQIG61wDmoNR5xYch3+xNbtDUROB4=",
+ "tail": "sha256-hdbjryLVn6c7MR/XX/UhaOS7+QKLYhrJUo+DsE3Xz/E=",
+ "tar": "sha256-bK1q+UwoTLgbDi6UeY20FCH3MtJaoRpWV3DHd2U7Mbw=",
+ "tee": "sha256-TJTxJe2mWPIizG4s3vwgg3wrKjew5E+1wGKRrtx+el4=",
+ "test": "sha256-djzefI/wv2XCnNfvFpjfTIJVly06qkSAsV4BoV0gUEo=",
+ "tidy": "sha256-20zyJkRs1n5tzbPTbXPfAt9CaVDsbpGZws8bddOY16E=",
+ "timeout": "sha256-aasJBcTgrDU0Xs4V4UkUW8Wsle1EdXnPdf0Fymw0Fpc=",
+ "tmux": "sha256-ZbW548NXsKv7puCJc+hHvF2hpYI7MQvZc//FAH7oTUI=",
+ "touch": "sha256-Qtxc3zlOZg2B3dXeUABQUcyFdjFCV6WPVQUr8DQP1qk=",
+ "tr": "sha256-1l1OkCTePV8SDxVQyoTtvK0fHCR9Hf+ebHGh5gEriyY=",
+ "tree": "sha256-B0m9Z2PoklikdfkbU1QyFsjlFkVzUemLSGmQTC/OL5I=",
+ "true": "sha256-Cp9RvWCvc8NmfZbMhdDz38cA8YJDVRswENEggHgEoVY=",
+ "truncate": "sha256-/u7bZBCAYeEeEeST5/9z3pmy6bgP0FAGUaUOED/Rppo=",
+ "tsort": "sha256-uTgUXY/AU+WyqjwbCR5AS8O7wzN5pROWV1Jp0hmpykc=",
+ "tty": "sha256-q7ACSLuBRoj8S/6SACtld7x6LC/HbxTjGeY7vu/8ENg=",
+ "ttyinfo": "sha256-30KPzAvNZ0hGPsi+hFXWgEQhItcB1bvRNJY+cokdcTo=",
+ "unbourne": "sha256-Q7/iZUHTlmCUQN6rw8cg7V+tb2A8RCDOnRfR9TZoMq4=",
+ "unexpand": "sha256-1aCgwxoQk7SzJXBlADz3cf/V2vMMcys0MQ3fwaICx2U=",
+ "uniq": "sha256-A6UVJI2TAChs4PaCnCbjOYK74QvhoPef+7iVhgV4urA=",
+ "unlink": "sha256-utJGVV1+wC3tQEdJ9kvr1c17Co2ljegM/+0ASl1WlUQ=",
+ "unzip": "sha256-CuORPmGI+lGcTM34owoLe6NA5O3sO2z6s/u32+52Ay8=",
+ "uptime": "sha256-m/S29ntFqzWNnInIxt6M+G0bXQVRRJullJ6+Cn0t5FM=",
+ "users": "sha256-i5UF16OR/uwcu/Zawzk0Qnj8ng5gKbwWcJQ075HRT/Y=",
+ "vdir": "sha256-iXYsmmp973x1uSnX+4na5G8sHJ5K4Y9en1GX1h8w/Xc=",
+ "verynice": "sha256-49xc858RJTKnORI8VR/qm+rWmw8685O40dyO3xA9MX4=",
+ "vim": "sha256-wf8JV2UJG15mrkruoVW5mCYRziO5+mYtoinHR/MH88o=",
+ "wall": "sha256-yPDUoIdP/jcggElRwyiHqkS89gnVDzBzkCNwJfe8E9U=",
+ "wc": "sha256-0QcoEnBZYML3zxx+8F5OywXn5KlJ2put3tVTtenRivU=",
+ "wget": "sha256-Cc6S4q1wHliGSWDZl2WVxDz+9YEdum6tFA7PLvw/UII=",
+ "who": "sha256-f/7aVNcB5lYIhOpfxiqch8S22b+nI25TrI2C2bSKXI8=",
+ "whoami": "sha256-71b9T2z17+0j8711Eyw1rWrrTBv39cIgqEk85KlWSXw=",
+ "xargs": "sha256-bP3uyxPEzbL5QeMJCTtvQPrhpiXut+iHTTeGuOCpNJg=",
+ "xz": "sha256-gTBKAnJyqP88kGYtlkZcdldoFU2J6VtcQCtfXfhrJDE=",
+ "yes": "sha256-ZGiA91He1rL0kZKHXUUH8qWmaLly/3QxtKO0R8avkbA=",
+ "zip": "sha256-Pba62aWW0gpT1wJK8Aa7HWwf3foaXnEUMxkfN8pZ01E=",
+ "zsh": "sha256-JKePwqxk9+6vQbRdaGA/nZg0hNBn40mE3sKY1ftzxtQ=",
+ "zstd": "sha256-NBtbg/4vD4sgHfqxK9DiUzdtJgu3+lER8GYZ8irR40E=",
+ }.items()
+]
+
+# Switch these to `cosmo.zip` when they are added
+download_archive(
+ name = "cli",
+ srcs = ["bin/*"],
+ integrity = "sha256-ky+wwBWUS38eUFu5O3q/w7S2l7UGSJEDZAuYLmKGjc8=",
+ urls = ["https://github.com/ahgamut/superconfigure/releases/download/z0.0.33/cli.zip"],
+)
+
+[
+ (
+ ape_entrypoint(
+ name = binary,
+ binary = "@cli//:bin/{}".format(binary),
+ ),
+ export.symlink(
+ name = "ape-{}".format(binary),
+ target = "@{}".format(binary),
+ ),
+ )
+ for binary in (
+ "diff",
+ "diff3",
+ "sdiff",
+ "cmp",
+ "patch",
+ )
+]
diff --git a/modules/ape/1.0.0-alpha.2/presubmit.yml b/modules/ape/1.0.0-alpha.2/presubmit.yml
new file mode 100644
index 0000000..1e9d758
--- /dev/null
+++ b/modules/ape/1.0.0-alpha.2/presubmit.yml
@@ -0,0 +1,20 @@
+bcr_test_module:
+ module_path: e2e
+ matrix:
+ bazel:
+ - 7.x
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ # TODO: module needs to build the custom launcher on Apple silicon
+ # - macos_arm64
+ # TODO: enable this once the `gitlab.arm.com` does not use a self-signed certificate
+ # - windows
+ tasks:
+ run_tests:
+ name: Run end-to-end Tests
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/ape/1.0.0-alpha.2/source.json b/modules/ape/1.0.0-alpha.2/source.json
new file mode 100644
index 0000000..4bd16b8
--- /dev/null
+++ b/modules/ape/1.0.0-alpha.2/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://gitlab.arm.com/bazel/ape/-/releases/v1.0.0-alpha.2/downloads/src.tar.gz",
+ "integrity": "sha512-iCFLadnB50agFLHmtWn81RoEPE0632AliEsaW5IWl5m1DK+iQ2yS0Dt9Jpj1VYnZMBnyz8Nc3skmF1X0cUF9Ow==",
+ "strip_prefix": "ape-v1.0.0-alpha.2"
+}
diff --git a/modules/ape/1.0.0-alpha.3/MODULE.bazel b/modules/ape/1.0.0-alpha.3/MODULE.bazel
new file mode 100644
index 0000000..33c8214
--- /dev/null
+++ b/modules/ape/1.0.0-alpha.3/MODULE.bazel
@@ -0,0 +1,249 @@
+module(
+ name = "ape",
+ version = "1.0.0-alpha.3",
+ bazel_compatibility = [
+ ">=7.0.0",
+ ],
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.1")
+bazel_dep(name = "download_utils", version = "1.0.0-beta.1")
+
+download_archive = use_repo_rule("@download_utils//download/archive:defs.bzl", "download_archive")
+
+download_file = use_repo_rule("@download_utils//download/file:defs.bzl", "download_file")
+
+[
+ download_file(
+ name = binary,
+ executable = True,
+ integrity = integrity,
+ output = "ape",
+ urls = ["https://cosmo.zip/pub/cosmos/v/3.2.4/bin/{}".format(binary)],
+ )
+ for binary, integrity in {
+ "ape-arm64.elf": "sha256-h3zL1GUkMGVCbLSjyrQ1GsrZGGSfhlZVa7YEiC7q0I8=",
+ "ape-x86_64.elf": "sha256-fBz4sk4bbdatfaOBcEXVgq2hRrTW7AxqRb6oMOOmX00=",
+ "ape-x86_64.macho": "sha256-btvd3YJTsgZojeJJGIrf2OuFDpw9nxmEMleBS5NsWZg=",
+ }.items()
+]
+
+pe = use_repo_rule("//ape/pe:repository.bzl", "pe")
+
+pe(name = "ape.pe")
+
+select = use_repo_rule("@toolchain_utils//toolchain/local/select:defs.bzl", "toolchain_local_select")
+
+select(
+ name = "launcher",
+ map = {
+ "arm64-linux": "@ape-arm64.elf",
+ "amd64-linux": "@ape-x86_64.elf",
+ "amd64-darwin": "@ape-x86_64.macho",
+ "windows": "@ape.pe",
+ },
+)
+
+ape_entrypoint = use_repo_rule("//ape/entrypoint:defs.bzl", "ape_entrypoint")
+
+export = use_extension("@toolchain_utils//toolchain/export:defs.bzl", "toolchain_export")
+
+[
+ (
+ download_file(
+ name = "cosmos-{}".format(binary),
+ executable = True,
+ integrity = integrity,
+ output = binary,
+ urls = ["https://cosmo.zip/pub/cosmos/v/3.2.4/bin/{}".format(binary)],
+ ),
+ ape_entrypoint(
+ name = binary,
+ binary = "@cosmos-{}//:{}".format(binary, binary),
+ ),
+ export.symlink(
+ name = "ape-{}".format(binary),
+ target = "@{}".format(binary),
+ ),
+ )
+ for binary, integrity in {
+ "awk": "sha256-f+uWrpvZmKp0icmVlTusCWs4TvqR2FrmOkQ1E7JEo/Q=",
+ "b2sum": "sha256-C0A+VvLQwqWyZ43zLhgi3tX5X8mCSGUT4kBoTsCtsOA=",
+ "base32": "sha256-UKvhDPWxj5CBiJcC8v22sLAkAMRbeyr0HgsQT3aRpJo=",
+ "base64": "sha256-Ma0Uq9TjmARCgwZWzTBcuEFyIkMXUahQqms9sUQPYjE=",
+ "basename": "sha256-wVt/L/UlzFofy0HnJzUxwSipYmqvpnWSYNffI6kHSOg=",
+ "basenc": "sha256-ss0EQU9BQPJDOhFS2kyr39G9ql6cme2hKhJ5LXu41No=",
+ "bash": "sha256-817s6bXbU96XAE/lpw/bVjtaG/HZNkiM2orJBhKWaXY=",
+ "berry": "sha256-iRihZOPxJy8riq00G9QqyuDphQGZW87arvQa7wu5WJ0=",
+ "brotli": "sha256-5dbhyGt64HdqXrSmTVdOlpyVgW3A3FTcRy9JNKlETbE=",
+ "bzip2": "sha256-i0jxsBCz1axEaa9Kd1TFPTFwAVYFhbR6dGqUl/OfwYQ=",
+ "cat": "sha256-hxd0pfBMmXT44ii103FiMUI3pQYHj7UmNW4pqnw12HY=",
+ "chcon": "sha256-NKrTh2us8Pc67LI7udJg9JhlhobHU03laNr4U+5DhF8=",
+ "chgrp": "sha256-7KvHpFFsvhK981vIlGyegWuQhIzxY87lYcYfNB/qdC8=",
+ "chown": "sha256-XlKnJcZ1t7cdBKC2twaXC8/X6p7bSpnFoIDQ0xxdrhQ=",
+ "chroot": "sha256-lN46T08G7T85BC9L/q4k9vlLwNKWbyD0YkAclHWUGuw=",
+ "cksum": "sha256-ZN7kzOdpdzCUsa+1+2dsZ19980fhL5x7tnYdKRqW7OY=",
+ "clang-format": "sha256-t1/HDaTZ/klR+VFONNcqj5uxgIm37dafKu5Mp99ecVQ=",
+ "comm": "sha256-Z4pMcRlfC6n9KC5Z8cSZT5NA+e/0Zl30tW4zRB+Ml7I=",
+ "cpuid": "sha256-KZ7I9Vj0m0SYjYdlFCDsWAeZZHq5CL2V2/DiBJgVPFE=",
+ "csplit": "sha256-PnfIPYD2n2cZ8rxV26jvFiE6e+XROXGwhE6sbpjbPSY=",
+ "ctags": "sha256-6GwrTt16hCzJ8EoVXQXoetwnOIOhBR4T4gX2PO/wIfQ=",
+ "curl": "sha256-jc8LNKBMlWgGeHW3Tum9M6AfV2a5PlLmJunmfs00q/M=",
+ "cut": "sha256-N6iYRU/Ue0YN1tW0YElHjCVe0aPrUtbSxWFaJUPXGAE=",
+ "dash": "sha256-DQjaobzAoYxtxBvvDdyQLbTvjPV61HLMOahNEXz8dOM=",
+ "datasette": "sha256-ohY3OEDwK6DOSWfLFlUa/4MTTHd9kKGN8NYTwGyWOZA=",
+ "date": "sha256-4r91y6qrOb4PK5AQ23uY2lskgprTRGLwDTBOkMPF1/c=",
+ "df": "sha256-rrkKRiH346Qfr/uwtOFe5x+Q3X1yajhCndbTxnkkiSI=",
+ "dir": "sha256-XfB99aziyrFfAHbOzI36cXPn+633uND4y02Mn9wTx98=",
+ "dircolors": "sha256-FTu1gC+xUzR1NTxaXk9ZLu4Gp2ACwnQC2FvHJySd1/Q=",
+ "dirname": "sha256-F9LmexRfLOqVyybPSXv+2xBhLakd8fnV01T/yZK78EU=",
+ "du": "sha256-cwPg/fIABRhBnlWOXTpC7GaIEi/L2vgMqPUAZ8vnxLA=",
+ "emacs": "sha256-FHVaf2drHxbWKWpCc0pBlt8NNLiR6x6pX9KrhCkI5zM=",
+ "emacsclient": "sha256-2p9WFK4fF0vnJDUyNTd6a4jigqsQpp0aG41e0MQSJOM=",
+ "env": "sha256-KSmB7dXht0FmmkJB8JQnUw6uQIfG36SugQXyMdPKPso=",
+ "expand": "sha256-GDxdiCM3bnYQtE+brm6GgDN7EyjV+5vxYj1McQ/YGLQ=",
+ "expr": "sha256-GD2DSrlrlym+z+57/BUKL50paNN1QU6FGe1D3wxtnnk=",
+ "factor": "sha256-Pmziyh/iAkeaU/XHmAblS/4QfA6YDbml6qSX/yqVj6s=",
+ "false": "sha256-FuIagCcD2snlx2D2D2k5+qhA2KXgWcoxMDY7O1qlE74=",
+ "find": "sha256-k3BJOldX6NzX1Aq/RX6Q6PQts/3l9IFR7BILMIDUkg8=",
+ "fmt": "sha256-ZjBJtahjGrr6Xll85ZZo+lTGEZNdaSksUNqpkpMqyrY=",
+ "fold": "sha256-u5I83GpxaXBKFtzsJVJEWdQ1hJkpRmJGbQVHzjOYJ3w=",
+ "gmake": "sha256-o5a22Uli7i9upNh3z9qwPRFv3vIF7hOSdYMCXz8ioQc=",
+ "greenbean": "sha256-2e6ANHtNrFdAKdmSAVBOYWacqaF9SxOhrwKesYwIfSc=",
+ "grep": "sha256-btb7IC+1GiiU+CTMX4F7F8ESESShnVx90+Vz8uhgkkA=",
+ "groups": "sha256-1hRskXbgQrpy3YedFo9SmYix5KUTJAV9cL6I0T/DF7c=",
+ "head": "sha256-I4EetDV9GYYKHCNANar3iwNNZMJhJ9+KaQBkWyA0r7o=",
+ "id": "sha256-JtW0OHrUUwEaHsb03yfoawekOVad+XZ2sl8ZnM0+rYc=",
+ "install": "sha256-FT0vE0RtmwB2+ArCfbm59mou/sLQzymNvTqogiVpRTg=",
+ "join": "sha256-KVBK8dBkDM+LijUS4hi7zNsa18hZvJqNS6uWQMvxgWs=",
+ "kill": "sha256-+4mYRIwPgtQ7BEoK7/E6vXx5iriV3vpk0eNrNI2kNh8=",
+ "less": "sha256-ku05PfJLk7zICV/ljbzXavHBvnMlitaLcd3uJvfZcfU=",
+ "life": "sha256-8XQ3CXLLxo7ykT/+jGJovYCAzSEih6H4wnQ26+Q04lM=",
+ "link": "sha256-MRqILGFYuhtO470TDsIxfQe7NE1GrHjbWCnU2nb31QQ=",
+ "links": "sha256-Px+ZWWbcFLnnjuORljLehyqLBW3UIuGtEqQf3vnJXgo=",
+ "ln": "sha256-QevM7NFKo4T79iCOOu6JjAxVuoQHAiSi3zkYf3HQoHI=",
+ "locate": "sha256-zsyqygY6K+gwbw9Cw7j+JEjd1W4T66xKil7PqeFtfA8=",
+ "logname": "sha256-if+qby9Pyn2PT53NEIoPXW/xusX5N8TK6lFNhOYEk7A=",
+ "ls": "sha256-09ABdeL9W/aloHvspUOTk4s1qXPKelusGWs/fI5elBY=",
+ "lua": "sha256-xuf+7nkxzN/uNIJ8j7adEqf6dvm3X+QT4LeDtRBeoBM=",
+ "lz4": "sha256-hS8xfK0iRyQ51wndmPpRqC2iJfJzvk4OSPtdBNoDzIg=",
+ "make": "sha256-oxtmxi2jmEKg2EX4gzBsmikSI3H56Cb4TL5JDLrHmes=",
+ "md5sum": "sha256-V02adwdclgCCznwYMv8TzulmGsJCj0nY6BbLm9+3BmI=",
+ "mkfifo": "sha256-Qn7ki2D6CeAj35bXjjdtn8uoTIWvQzrJQgQW5YwVjNE=",
+ "mknod": "sha256-WuoCTQkW92gL+rkPEsIVekSW3T5jWpLe4d0tkEEVlto=",
+ "mktemp": "sha256-e4OIGcZD2+IeoysBxEx3+PzbkFxduS3t17Xh6APVTg0=",
+ "mktemper": "sha256-ukMdMND+GwcBR+OdH6KDdHTYSOc1pKWAbYomyj9ZoOo=",
+ "nano": "sha256-E8aX3D/XXItFzwVS7UO3tCD2I4gCx9K7oqFjkWC+hEA=",
+ "nesemu1": "sha256-3tEEU6VMPK8bwloRQ2CkLXD8+icXne+EBdHUtfYPsmw=",
+ "nice": "sha256-ukGk1uudFSnluQXKEtGsAIzL6JhXe4NaLC53QdcyK+E=",
+ "ninja": "sha256-6vNW/WRG9QrsaksgbhhdEPyb9VgzATt2AEJj6jlyfmo=",
+ "nl": "sha256-per3cJdCvbTUMe1rs76QJ/E9eQYfUl4VVPafj0yJFHk=",
+ "nohup": "sha256-4eCoAypbSFOk/Bgq8jfyv2BPPP78iNLXb711CK8buGU=",
+ "nproc": "sha256-uKzADOYvOwHwG9Wc7v0EHPJdidt7Vx1CY0ur9QL0ziM=",
+ "numfmt": "sha256-CT5axyDY1ASWxzGJb+hDVTRiWqU2f8+CSzhehOdR/wY=",
+ "od": "sha256-Hy0uDDsgdci74s+jI+R2Bkgj4LVaW0djddoqkzTebSE=",
+ "paste": "sha256-Sa5G8cxyh5Vsr6kkf/wmwnos0KYwIUHNI1/dZ16n24U=",
+ "pathchk": "sha256-ZjR+IGm8fv0b/hy4hmdi1xuxpoA5A7MR0AnGndlfTvc=",
+ "pigz": "sha256-KReMrcHfifpjgxeb/k4WNl6ZtgJwfDIf9mTbcEldR0w=",
+ "pinky": "sha256-ObmAOis790fvuP+YpdxP9cyR5ISU6BB4G/8un3xR4ns=",
+ "pledge": "sha256-rcK6umgSKLv06PIV+glVDhKgPr79vfIodUEsZ7WyGaM=",
+ "pr": "sha256-FVC8+/eRiBZ2MHpZNZRHrRMoDFLi4S9NRMVPQSWimOo=",
+ "printenv": "sha256-zoWUC3FJVC6a8iM2vmiEVNa4mjhmLo76aPkh2TXB+bc=",
+ "printimage": "sha256-myO0x/BQSNFuWWwDop0ph/WmO8tBsnxuTIoIzC6Xsaw=",
+ "ptx": "sha256-x6abLQHeAmLQN213aU0nx+4xfZSfWqlYWP7Fe+wueEs=",
+ "pwd": "sha256-RdIwQz9MZ5PaDIT9y0AY3YZHKYA/tUm8ylYf5RD0S8U=",
+ "pypack1": "sha256-mb3fmOwEqmunaoKZahHdRh2K8OuOSHFQQIc8Yddppic=",
+ "python": "sha256-RvuLtLNsExsN10Mipa/ewh1Qr95a0dpOOJ+j3BBht2g=",
+ "qjs": "sha256-RmszlYwDkeSbX3xZ/0m/yQCgfbJNCflaQ0KHuz1lo/w=",
+ "readlink": "sha256-3/0q9jntaXuBK5+3+FFiUHfnZhVsJILGRyw9C9jsDrM=",
+ "realpath": "sha256-+Wo9k1u/CGPqtTKgHDjdu6z7UraE444Ez82h69SIKm0=",
+ "redbean": "sha256-+zB9iVZklOfgaynLhwQG1qTP+/xUZE2A2UyTTIz9iCk=",
+ "rmdir": "sha256-olbEjveooS5XCXiLtsvXacsfR1l7AFndDB7XRLr3HwU=",
+ "rsync": "sha256-bAJZ6fMDcOpiZ9eNiC/KySEoanb8ZnXL+LBgpOuc8s4=",
+ "runcon": "sha256-m+7V7IWXjMBts1GcBvTn9yLZrekeJ2PnTIZPDPqbHyg=",
+ "script": "sha256-gF6Ux0AVHv3VK3ynVCDfwWSzCzcM6tbYUtAEYkE/Lto=",
+ "sed": "sha256-mLD3mRX7R9we3IQpAZKC7c4mF2Nz7sG8s63Is0TkYcM=",
+ "seq": "sha256-AkvogLBC9nwhq2rpaA1kL0Q4beb00QMrptcxpzXKjE0=",
+ "sha1sum": "sha256-wDWmXDgJmeEuJUd5ER9ed1rGZRxJMwEe1uR7Jrm4r2o=",
+ "sha224sum": "sha256-DPOKHJa+e04UNJm0ptGNf79Qpvdf3OCbAlHKLPFq3oM=",
+ "sha256sum": "sha256-BpxhJqv/rboyFhYy31eq5Ym3eriHcGRqOGDdmbWwAuw=",
+ "sha384sum": "sha256-Ak4+xM3+eGqXyWVghrgtAo80Fgeo6iXd10+K7tOd5HE=",
+ "sha512sum": "sha256-qq4HW+6hZ26U/TiN50QPdd710RpiPDjhrG/XfILWxE0=",
+ "shred": "sha256-7/edcRznrBT9DOKb05J39nRsjJ30LkH9Pz/5QUlsDH4=",
+ "shuf": "sha256-X1v5hF6yG2zM78Qg85wcENzihXXmMZnBTZNleRCscL4=",
+ "sleep": "sha256-esGxinA9WyISgkcQ7sPIuC7B1SwQHMXmGTYHOhZvAx0=",
+ "sort": "sha256-Ar+SpUClNPT5OItQMiiYH7CBHnSoKHa1jjN32BjqMF4=",
+ "split": "sha256-A5nEGoaZdJ5p1j3s54rgp8/BEoBVakaRE4YAqAMMZbQ=",
+ "sqlite3": "sha256-IICFVnTkqMZ/c5PPtIStX89WtBnsmIg3z1qfFJEOXlE=",
+ "stat": "sha256-KO2xc+Vf2HdfUZPh2ItTxfun5CwFNsPQArjJ22fw/a8=",
+ "stty": "sha256-S2BXpqZxSI493gq3piyCqH3dwE+yxvvAL1WWxRVd844=",
+ "sum": "sha256-Uoro6aH+YK1IIBditsXeyXhwAlR9vqLnLOQ9K8PRSuM=",
+ "sync": "sha256-1iFwSaaAXI3pdNdfrMI9PychzSGJhy0UpDCDTwCn8/U=",
+ "tac": "sha256-RG/VXzGH2MSwHLSQIG61wDmoNR5xYch3+xNbtDUROB4=",
+ "tail": "sha256-hdbjryLVn6c7MR/XX/UhaOS7+QKLYhrJUo+DsE3Xz/E=",
+ "tar": "sha256-bK1q+UwoTLgbDi6UeY20FCH3MtJaoRpWV3DHd2U7Mbw=",
+ "tee": "sha256-TJTxJe2mWPIizG4s3vwgg3wrKjew5E+1wGKRrtx+el4=",
+ "test": "sha256-djzefI/wv2XCnNfvFpjfTIJVly06qkSAsV4BoV0gUEo=",
+ "tidy": "sha256-20zyJkRs1n5tzbPTbXPfAt9CaVDsbpGZws8bddOY16E=",
+ "timeout": "sha256-aasJBcTgrDU0Xs4V4UkUW8Wsle1EdXnPdf0Fymw0Fpc=",
+ "tmux": "sha256-ZbW548NXsKv7puCJc+hHvF2hpYI7MQvZc//FAH7oTUI=",
+ "touch": "sha256-Qtxc3zlOZg2B3dXeUABQUcyFdjFCV6WPVQUr8DQP1qk=",
+ "tr": "sha256-1l1OkCTePV8SDxVQyoTtvK0fHCR9Hf+ebHGh5gEriyY=",
+ "tree": "sha256-B0m9Z2PoklikdfkbU1QyFsjlFkVzUemLSGmQTC/OL5I=",
+ "true": "sha256-Cp9RvWCvc8NmfZbMhdDz38cA8YJDVRswENEggHgEoVY=",
+ "truncate": "sha256-/u7bZBCAYeEeEeST5/9z3pmy6bgP0FAGUaUOED/Rppo=",
+ "tsort": "sha256-uTgUXY/AU+WyqjwbCR5AS8O7wzN5pROWV1Jp0hmpykc=",
+ "tty": "sha256-q7ACSLuBRoj8S/6SACtld7x6LC/HbxTjGeY7vu/8ENg=",
+ "ttyinfo": "sha256-30KPzAvNZ0hGPsi+hFXWgEQhItcB1bvRNJY+cokdcTo=",
+ "unbourne": "sha256-Q7/iZUHTlmCUQN6rw8cg7V+tb2A8RCDOnRfR9TZoMq4=",
+ "unexpand": "sha256-1aCgwxoQk7SzJXBlADz3cf/V2vMMcys0MQ3fwaICx2U=",
+ "uniq": "sha256-A6UVJI2TAChs4PaCnCbjOYK74QvhoPef+7iVhgV4urA=",
+ "unlink": "sha256-utJGVV1+wC3tQEdJ9kvr1c17Co2ljegM/+0ASl1WlUQ=",
+ "unzip": "sha256-CuORPmGI+lGcTM34owoLe6NA5O3sO2z6s/u32+52Ay8=",
+ "uptime": "sha256-m/S29ntFqzWNnInIxt6M+G0bXQVRRJullJ6+Cn0t5FM=",
+ "users": "sha256-i5UF16OR/uwcu/Zawzk0Qnj8ng5gKbwWcJQ075HRT/Y=",
+ "vdir": "sha256-iXYsmmp973x1uSnX+4na5G8sHJ5K4Y9en1GX1h8w/Xc=",
+ "verynice": "sha256-49xc858RJTKnORI8VR/qm+rWmw8685O40dyO3xA9MX4=",
+ "vim": "sha256-wf8JV2UJG15mrkruoVW5mCYRziO5+mYtoinHR/MH88o=",
+ "wall": "sha256-yPDUoIdP/jcggElRwyiHqkS89gnVDzBzkCNwJfe8E9U=",
+ "wc": "sha256-0QcoEnBZYML3zxx+8F5OywXn5KlJ2put3tVTtenRivU=",
+ "wget": "sha256-Cc6S4q1wHliGSWDZl2WVxDz+9YEdum6tFA7PLvw/UII=",
+ "who": "sha256-f/7aVNcB5lYIhOpfxiqch8S22b+nI25TrI2C2bSKXI8=",
+ "whoami": "sha256-71b9T2z17+0j8711Eyw1rWrrTBv39cIgqEk85KlWSXw=",
+ "xargs": "sha256-bP3uyxPEzbL5QeMJCTtvQPrhpiXut+iHTTeGuOCpNJg=",
+ "xz": "sha256-gTBKAnJyqP88kGYtlkZcdldoFU2J6VtcQCtfXfhrJDE=",
+ "yes": "sha256-ZGiA91He1rL0kZKHXUUH8qWmaLly/3QxtKO0R8avkbA=",
+ "zip": "sha256-Pba62aWW0gpT1wJK8Aa7HWwf3foaXnEUMxkfN8pZ01E=",
+ "zsh": "sha256-JKePwqxk9+6vQbRdaGA/nZg0hNBn40mE3sKY1ftzxtQ=",
+ "zstd": "sha256-NBtbg/4vD4sgHfqxK9DiUzdtJgu3+lER8GYZ8irR40E=",
+ }.items()
+]
+
+# Switch these to `cosmo.zip` when they are added
+download_archive(
+ name = "cli",
+ srcs = ["bin/*"],
+ integrity = "sha256-ky+wwBWUS38eUFu5O3q/w7S2l7UGSJEDZAuYLmKGjc8=",
+ urls = ["https://github.com/ahgamut/superconfigure/releases/download/z0.0.33/cli.zip"],
+)
+
+[
+ (
+ ape_entrypoint(
+ name = binary,
+ binary = "@cli//:bin/{}".format(binary),
+ ),
+ export.symlink(
+ name = "ape-{}".format(binary),
+ target = "@{}".format(binary),
+ ),
+ )
+ for binary in (
+ "diff",
+ "diff3",
+ "sdiff",
+ "cmp",
+ "patch",
+ )
+]
diff --git a/modules/ape/1.0.0-alpha.3/presubmit.yml b/modules/ape/1.0.0-alpha.3/presubmit.yml
new file mode 100644
index 0000000..1e9d758
--- /dev/null
+++ b/modules/ape/1.0.0-alpha.3/presubmit.yml
@@ -0,0 +1,20 @@
+bcr_test_module:
+ module_path: e2e
+ matrix:
+ bazel:
+ - 7.x
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ # TODO: module needs to build the custom launcher on Apple silicon
+ # - macos_arm64
+ # TODO: enable this once the `gitlab.arm.com` does not use a self-signed certificate
+ # - windows
+ tasks:
+ run_tests:
+ name: Run end-to-end Tests
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/ape/1.0.0-alpha.3/source.json b/modules/ape/1.0.0-alpha.3/source.json
new file mode 100644
index 0000000..4f494fd
--- /dev/null
+++ b/modules/ape/1.0.0-alpha.3/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://gitlab.arm.com/bazel/ape/-/releases/v1.0.0-alpha.3/downloads/src.tar.gz",
+ "integrity": "sha512-JdEQJfZEAFr6S17FHuuLNU/59advG/bsj0d+RkwR0yzKg3vCX0fG9IQpslyTzL5lmNl7ieYRxGm8wktUykdZWw==",
+ "strip_prefix": "ape-v1.0.0-alpha.3"
+}
diff --git a/modules/ape/metadata.json b/modules/ape/metadata.json
new file mode 100644
index 0000000..398906b
--- /dev/null
+++ b/modules/ape/metadata.json
@@ -0,0 +1,18 @@
+{
+ "homepage": "https://gitlab.arm.com/bazel/ape",
+ "repository": [
+ "https://gitlab.arm.com/bazel/ape"
+ ],
+ "versions":[
+ "1.0.0-alpha.1",
+ "1.0.0-alpha.2",
+ "1.0.0-alpha.3"
+ ],
+ "maintainers": [
+ {
+ "email": "matthew.clarkson@arm.com",
+ "github": "mattyclarkson",
+ "name": "Matt Clarkson"
+ }
+ ]
+}
diff --git a/modules/apple_support/1.12.0/MODULE.bazel b/modules/apple_support/1.12.0/MODULE.bazel
new file mode 100644
index 0000000..676d277
--- /dev/null
+++ b/modules/apple_support/1.12.0/MODULE.bazel
@@ -0,0 +1,22 @@
+module(
+ name = "apple_support",
+ version = "1.12.0",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+ repo_name = "build_bazel_apple_support",
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.3.0")
+bazel_dep(name = "platforms", version = "0.0.7")
+
+bazel_dep(
+ name = "stardoc",
+ version = "0.6.2",
+ dev_dependency = True,
+ repo_name = "io_bazel_stardoc",
+)
+
+apple_cc_configure = use_extension("//crosstool:setup.bzl", "apple_cc_configure_extension")
+use_repo(apple_cc_configure, "local_config_apple_cc", "local_config_apple_cc_toolchains")
+
+register_toolchains("@local_config_apple_cc_toolchains//:all")
diff --git a/modules/apple_support/1.12.0/patches/module_dot_bazel_version.patch b/modules/apple_support/1.12.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..27fea71
--- /dev/null
+++ b/modules/apple_support/1.12.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "apple_support",
+- version = "0",
++ version = "1.12.0",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+ repo_name = "build_bazel_apple_support",
+ )
diff --git a/modules/apple_support/1.12.0/presubmit.yml b/modules/apple_support/1.12.0/presubmit.yml
new file mode 100644
index 0000000..6855bc0
--- /dev/null
+++ b/modules/apple_support/1.12.0/presubmit.yml
@@ -0,0 +1,25 @@
+matrix:
+ platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]
+ bazel: ["6.x", "7.x", "rolling"]
+
+tasks:
+ verify_targets:
+ name: "Build targets under //lib"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@apple_support//lib/...'
+ run_tests:
+ name: "Run test targets"
+ platform: "macos_arm64"
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@apple_support//lib/...'
+ test_targets:
+ - '@apple_support//test/...'
+ - '--'
+ # Needs the new toolchain
+ - '-@apple_support//test:linking_disable_objc_apple_link_test'
+ # Needs visionOS SDK
+ - '-@apple_support//test:binary_visionos_arm64_simulator_test'
+ - '-@apple_support//test:binary_visionos_device_test'
diff --git a/modules/apple_support/1.12.0/source.json b/modules/apple_support/1.12.0/source.json
new file mode 100644
index 0000000..0584022
--- /dev/null
+++ b/modules/apple_support/1.12.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-EA0SYXqE68fuehDs87Pi/a2uvBZ62Toh+CCmy2AVjq0=",
+ "strip_prefix": "",
+ "url": "https://github.com/bazelbuild/apple_support/releases/download/1.12.0/apple_support.1.12.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-3XmsovSEa1wpKpWGFSDAhBawIG5gQBNKF221WV0Qzks="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/apple_support/1.13.0/MODULE.bazel b/modules/apple_support/1.13.0/MODULE.bazel
new file mode 100644
index 0000000..ce07bfa
--- /dev/null
+++ b/modules/apple_support/1.13.0/MODULE.bazel
@@ -0,0 +1,22 @@
+module(
+ name = "apple_support",
+ version = "1.13.0",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+ repo_name = "build_bazel_apple_support",
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.3.0")
+bazel_dep(name = "platforms", version = "0.0.7")
+
+bazel_dep(
+ name = "stardoc",
+ version = "0.6.2",
+ dev_dependency = True,
+ repo_name = "io_bazel_stardoc",
+)
+
+apple_cc_configure = use_extension("//crosstool:setup.bzl", "apple_cc_configure_extension")
+use_repo(apple_cc_configure, "local_config_apple_cc", "local_config_apple_cc_toolchains")
+
+register_toolchains("@local_config_apple_cc_toolchains//:all")
diff --git a/modules/apple_support/1.13.0/patches/module_dot_bazel_version.patch b/modules/apple_support/1.13.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..cf2d4fc
--- /dev/null
+++ b/modules/apple_support/1.13.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "apple_support",
+- version = "0",
++ version = "1.13.0",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+ repo_name = "build_bazel_apple_support",
+ )
diff --git a/modules/apple_support/1.13.0/presubmit.yml b/modules/apple_support/1.13.0/presubmit.yml
new file mode 100644
index 0000000..bc51ca4
--- /dev/null
+++ b/modules/apple_support/1.13.0/presubmit.yml
@@ -0,0 +1,27 @@
+matrix:
+ platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]
+ bazel: ["6.x", "7.x", "rolling"]
+
+tasks:
+ verify_targets:
+ name: "Build targets under //lib"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@apple_support//lib/...'
+ run_tests:
+ name: "Run test targets"
+ platform: "macos_arm64"
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@apple_support//lib/...'
+ test_targets:
+ - '@apple_support//test/...'
+ - '--'
+ # Needs the new toolchain
+ - '-@apple_support//test:linking_disable_objc_apple_link_test'
+ - '-@apple_support//test:linking_dead_strip_requested_test'
+ - '-@apple_support//test:linking_opt_link_test'
+ # Needs visionOS SDK
+ - '-@apple_support//test:binary_visionos_arm64_simulator_test'
+ - '-@apple_support//test:binary_visionos_device_test'
diff --git a/modules/apple_support/1.13.0/source.json b/modules/apple_support/1.13.0/source.json
new file mode 100644
index 0000000..af290bb
--- /dev/null
+++ b/modules/apple_support/1.13.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-HEAx5ytFagSNgXf1mlWBgIwHWF+p4lXG9f77h1KvfkA=",
+ "strip_prefix": "",
+ "url": "https://github.com/bazelbuild/apple_support/releases/download/1.13.0/apple_support.1.13.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-OqLgfAMNy6ZUF/WaVkNXzB/KcCYLlHLspYNk67mcASA="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/apple_support/1.14.0/MODULE.bazel b/modules/apple_support/1.14.0/MODULE.bazel
new file mode 100644
index 0000000..e0f7bc6
--- /dev/null
+++ b/modules/apple_support/1.14.0/MODULE.bazel
@@ -0,0 +1,22 @@
+module(
+ name = "apple_support",
+ version = "1.14.0",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+ repo_name = "build_bazel_apple_support",
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.3.0")
+bazel_dep(name = "platforms", version = "0.0.7")
+
+bazel_dep(
+ name = "stardoc",
+ version = "0.6.2",
+ dev_dependency = True,
+ repo_name = "io_bazel_stardoc",
+)
+
+apple_cc_configure = use_extension("//crosstool:setup.bzl", "apple_cc_configure_extension")
+use_repo(apple_cc_configure, "local_config_apple_cc", "local_config_apple_cc_toolchains")
+
+register_toolchains("@local_config_apple_cc_toolchains//:all")
diff --git a/modules/apple_support/1.14.0/patches/module_dot_bazel_version.patch b/modules/apple_support/1.14.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..017b108
--- /dev/null
+++ b/modules/apple_support/1.14.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "apple_support",
+- version = "0",
++ version = "1.14.0",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+ repo_name = "build_bazel_apple_support",
+ )
diff --git a/modules/apple_support/1.14.0/presubmit.yml b/modules/apple_support/1.14.0/presubmit.yml
new file mode 100644
index 0000000..f0d2c4d
--- /dev/null
+++ b/modules/apple_support/1.14.0/presubmit.yml
@@ -0,0 +1,40 @@
+matrix:
+ bazel: ["7.x", "rolling"]
+
+tasks:
+ verify_targets:
+ name: "Build targets under //lib"
+ platform: ubuntu2004
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@apple_support//lib/...'
+ run_tests_6.x:
+ name: "Run test targets"
+ platform: "macos_arm64"
+ bazel: 6.x
+ build_targets:
+ - '@apple_support//lib/...'
+ test_targets:
+ - '@apple_support//test/...'
+ - '--'
+ # Needs the new toolchain
+ - '-@apple_support//test:linking_disable_objc_apple_link_test'
+ - '-@apple_support//test:linking_dead_strip_requested_test'
+ - '-@apple_support//test:linking_opt_link_test'
+ - '-@apple_support//test:binary_watchos_device_arm64e_test'
+ - '-@apple_support//test:binary_watchos_device_arm64_test'
+ # Needs visionOS SDK
+ - '-@apple_support//test:binary_visionos_arm64_simulator_test'
+ - '-@apple_support//test:binary_visionos_device_test'
+ run_tests:
+ name: "Run test targets"
+ platform: "macos_arm64"
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@apple_support//lib/...'
+ test_targets:
+ - '@apple_support//test/...'
+ - '--'
+ # Needs visionOS SDK
+ - '-@apple_support//test:binary_visionos_arm64_simulator_test'
+ - '-@apple_support//test:binary_visionos_device_test'
diff --git a/modules/apple_support/1.14.0/source.json b/modules/apple_support/1.14.0/source.json
new file mode 100644
index 0000000..111557b
--- /dev/null
+++ b/modules/apple_support/1.14.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-qLpv0J0P/rqbXzmPOkYmJHD+Ct3dtO9a+n6rGNABp7A=",
+ "strip_prefix": "",
+ "url": "https://github.com/bazelbuild/apple_support/releases/download/1.14.0/apple_support.1.14.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-/uLlHk6yJXSoYbYYc0vfjZsuSwbdKuTkZKrp5Gz6T0E="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/apple_support/metadata.json b/modules/apple_support/metadata.json
index 409bd28..3b30c7a 100644
--- a/modules/apple_support/metadata.json
+++ b/modules/apple_support/metadata.json
@@ -33,7 +33,10 @@
"1.10.0",
"1.10.1",
"1.11.0",
- "1.11.1"
+ "1.11.1",
+ "1.12.0",
+ "1.13.0",
+ "1.14.0"
],
"yanked_versions": {}
}
diff --git a/modules/aspect_bazel_lib/1.40.2/MODULE.bazel b/modules/aspect_bazel_lib/1.40.2/MODULE.bazel
new file mode 100644
index 0000000..d90f14b
--- /dev/null
+++ b/modules/aspect_bazel_lib/1.40.2/MODULE.bazel
@@ -0,0 +1,66 @@
+"aspect-build/bazel-lib"
+
+module(
+ name = "aspect_bazel_lib",
+ version = "1.40.2",
+ compatibility_level = 1,
+)
+
+# Lower-bound versions of our dependencies
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(name = "platforms", version = "0.0.7")
+
+# 0.5.4 is the first version with bzlmod support
+bazel_dep(name = "stardoc", version = "0.5.4", repo_name = "io_bazel_stardoc")
+
+bazel_lib_toolchains = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "toolchains")
+bazel_lib_toolchains.copy_directory()
+bazel_lib_toolchains.copy_to_directory()
+bazel_lib_toolchains.jq()
+bazel_lib_toolchains.yq()
+bazel_lib_toolchains.coreutils()
+bazel_lib_toolchains.expand_template()
+use_repo(bazel_lib_toolchains, "copy_directory_toolchains", "copy_to_directory_toolchains", "coreutils_toolchains", "expand_template_toolchains", "jq_toolchains", "yq_toolchains")
+
+register_toolchains(
+ "@copy_directory_toolchains//:all",
+ "@copy_to_directory_toolchains//:all",
+ "@jq_toolchains//:all",
+ "@yq_toolchains//:all",
+ "@coreutils_toolchains//:all",
+ "@expand_template_toolchains//:all",
+)
+
+# To allow /tools to be built from source
+# NOTE: when publishing to BCR, we patch this to be dev_dependency, as we publish pre-built binaries
+# along with our releases.
+
+bazel_dep(
+ name = "gazelle",
+ version = "0.33.0",
+ dev_dependency = True
+)
+bazel_dep(
+ name = "rules_go",
+ version = "0.41.0",
+ repo_name = "io_bazel_rules_go",
+ dev_dependency = True
+)
+
+go_deps = use_extension(
+ "@gazelle//:extensions.bzl",
+ "go_deps",
+ dev_dependency = True
+)
+go_deps.from_file(go_mod = "//:go.mod")
+use_repo(
+ go_deps,
+ "com_github_bmatcuk_doublestar_v4",
+ "org_golang_x_exp",
+)
+
+# Development-only dependencies
+
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
+bazel_dep(name = "buildifier_prebuilt", version = "6.3.3", dev_dependency = True)
+bazel_dep(name = "bazel_features", version = "0.1.0", dev_dependency = True)
diff --git a/modules/aspect_bazel_lib/1.40.2/patches/go_dev_dep.patch b/modules/aspect_bazel_lib/1.40.2/patches/go_dev_dep.patch
new file mode 100644
index 0000000..99b1bc4
--- /dev/null
+++ b/modules/aspect_bazel_lib/1.40.2/patches/go_dev_dep.patch
@@ -0,0 +1,27 @@
+diff --git a/MODULE.bazel b/MODULE.bazel
+index 07a6eff..26702ad 100644
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -34,19 +34,19 @@ register_toolchains(
+ bazel_dep(
+ name = "gazelle",
+ version = "0.33.0",
+- # In released versions: dev_dependency = True
++ dev_dependency = True
+ )
+ bazel_dep(
+ name = "rules_go",
+ version = "0.41.0",
+ repo_name = "io_bazel_rules_go",
+- # In released versions: dev_dependency = True
++ dev_dependency = True
+ )
+
+ go_deps = use_extension(
+ "@gazelle//:extensions.bzl",
+ "go_deps",
+- # In released versions: dev_dependency = True
++ dev_dependency = True
+ )
+ go_deps.from_file(go_mod = "//:go.mod")
+ use_repo(
diff --git a/modules/aspect_bazel_lib/1.40.2/patches/module_dot_bazel_version.patch b/modules/aspect_bazel_lib/1.40.2/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..e77a0d9
--- /dev/null
+++ b/modules/aspect_bazel_lib/1.40.2/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "aspect-build/bazel-lib"
+
+ module(
+ name = "aspect_bazel_lib",
+- version = "0.0.0",
++ version = "1.40.2",
+ compatibility_level = 1,
+ )
+
+ # Lower-bound versions of our dependencies
diff --git a/modules/aspect_bazel_lib/1.40.2/presubmit.yml b/modules/aspect_bazel_lib/1.40.2/presubmit.yml
new file mode 100644
index 0000000..e63a572
--- /dev/null
+++ b/modules/aspect_bazel_lib/1.40.2/presubmit.yml
@@ -0,0 +1,12 @@
+bcr_test_module:
+ module_path: "e2e/smoke"
+ matrix:
+ platform: ["debian10", "macos", "ubuntu2004", "windows"]
+ bazel: ["7.x", "6.x"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//..."
diff --git a/modules/aspect_bazel_lib/1.40.2/source.json b/modules/aspect_bazel_lib/1.40.2/source.json
new file mode 100644
index 0000000..5e1bec2
--- /dev/null
+++ b/modules/aspect_bazel_lib/1.40.2/source.json
@@ -0,0 +1,10 @@
+{
+ "integrity": "sha256-BP7tzQb3HQSXqB/dMiAUCjc/+dK/+UYg+9ULd0+W2OA=",
+ "strip_prefix": "bazel-lib-1.40.2",
+ "url": "https://github.com/aspect-build/bazel-lib/releases/download/v1.40.2/bazel-lib-v1.40.2.tar.gz",
+ "patches": {
+ "go_dev_dep.patch": "sha256-dEFxvx2hBB/tOWlknfRHRXNCdvYpvrxsYHWaMGF2QgA=",
+ "module_dot_bazel_version.patch": "sha256-1HPK4HHAw+b7Z/geNGKZT3CQuI5QNUryCvwoBfSU0+0="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aspect_bazel_lib/2.4.1/MODULE.bazel b/modules/aspect_bazel_lib/2.4.1/MODULE.bazel
new file mode 100644
index 0000000..f8010d2
--- /dev/null
+++ b/modules/aspect_bazel_lib/2.4.1/MODULE.bazel
@@ -0,0 +1,80 @@
+"aspect-build/bazel-lib"
+
+module(
+ name = "aspect_bazel_lib",
+ version = "2.4.1",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+)
+
+# Lower-bound versions of our dependencies
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "platforms", version = "0.0.8")
+
+# 0.5.4 is the first version with bzlmod support
+bazel_dep(name = "stardoc", version = "0.5.4", repo_name = "io_bazel_stardoc")
+
+bazel_lib_toolchains = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "toolchains")
+bazel_lib_toolchains.copy_directory()
+bazel_lib_toolchains.copy_to_directory()
+bazel_lib_toolchains.jq()
+bazel_lib_toolchains.yq()
+bazel_lib_toolchains.coreutils()
+bazel_lib_toolchains.tar()
+bazel_lib_toolchains.expand_template()
+bazel_lib_toolchains.bats()
+use_repo(bazel_lib_toolchains, "bats_toolchains", "bsd_tar_toolchains", "copy_directory_toolchains", "copy_to_directory_toolchains", "coreutils_toolchains", "expand_template_toolchains", "jq_toolchains", "yq_toolchains")
+
+register_toolchains(
+ "@copy_directory_toolchains//:all",
+ "@copy_to_directory_toolchains//:all",
+ "@jq_toolchains//:all",
+ "@yq_toolchains//:all",
+ "@coreutils_toolchains//:all",
+ "@expand_template_toolchains//:all",
+ "@bats_toolchains//:all",
+ # Expand bsd_tar_toolchains
+ "@bsd_tar_toolchains//:linux_amd64_toolchain",
+ "@bsd_tar_toolchains//:linux_arm64_toolchain",
+ "@bsd_tar_toolchains//:windows_amd64_toolchain",
+ # host toolchain must be last, as it's only suitable as a fallback on macos
+ "@bsd_tar_toolchains//:host_toolchain",
+)
+
+host = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "host", dev_dependency = True)
+host.host()
+use_repo(host, "aspect_bazel_lib_host")
+
+# To allow /tools to be built from source
+# NOTE: when publishing to BCR, we patch this to be dev_dependency, as we publish pre-built binaries
+# along with our releases.
+
+bazel_dep(
+ name = "gazelle",
+ version = "0.33.0",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "rules_go",
+ version = "0.41.0",
+ repo_name = "io_bazel_rules_go",
+ dev_dependency = True,
+)
+
+go_deps = use_extension(
+ "@gazelle//:extensions.bzl",
+ "go_deps",
+ dev_dependency = True,
+)
+go_deps.from_file(go_mod = "//:go.mod")
+use_repo(
+ go_deps,
+ "com_github_bmatcuk_doublestar_v4",
+ "org_golang_x_exp",
+)
+
+# Development-only dependencies
+
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
+bazel_dep(name = "buildifier_prebuilt", version = "6.3.3", dev_dependency = True)
+bazel_dep(name = "bazel_features", version = "0.2.0", dev_dependency = True)
diff --git a/modules/aspect_bazel_lib/2.4.1/patches/go_dev_dep.patch b/modules/aspect_bazel_lib/2.4.1/patches/go_dev_dep.patch
new file mode 100644
index 0000000..1ade7b2
--- /dev/null
+++ b/modules/aspect_bazel_lib/2.4.1/patches/go_dev_dep.patch
@@ -0,0 +1,27 @@
+diff --git a/MODULE.bazel b/MODULE.bazel
+index e63fa5b..9d78a88 100644
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -50,19 +50,19 @@ use_repo(host, "aspect_bazel_lib_host")
+ bazel_dep(
+ name = "gazelle",
+ version = "0.33.0",
+- # In released versions: dev_dependency = True
++ dev_dependency = True,
+ )
+ bazel_dep(
+ name = "rules_go",
+ version = "0.41.0",
+ repo_name = "io_bazel_rules_go",
+- # In released versions: dev_dependency = True
++ dev_dependency = True,
+ )
+
+ go_deps = use_extension(
+ "@gazelle//:extensions.bzl",
+ "go_deps",
+- # In released versions: dev_dependency = True
++ dev_dependency = True,
+ )
+ go_deps.from_file(go_mod = "//:go.mod")
+ use_repo(
diff --git a/modules/aspect_bazel_lib/2.4.1/patches/module_dot_bazel_version.patch b/modules/aspect_bazel_lib/2.4.1/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..8358435
--- /dev/null
+++ b/modules/aspect_bazel_lib/2.4.1/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "aspect-build/bazel-lib"
+
+ module(
+ name = "aspect_bazel_lib",
+- version = "0.0.0",
++ version = "2.4.1",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+ )
+
diff --git a/modules/aspect_bazel_lib/2.4.1/presubmit.yml b/modules/aspect_bazel_lib/2.4.1/presubmit.yml
new file mode 100644
index 0000000..e63a572
--- /dev/null
+++ b/modules/aspect_bazel_lib/2.4.1/presubmit.yml
@@ -0,0 +1,12 @@
+bcr_test_module:
+ module_path: "e2e/smoke"
+ matrix:
+ platform: ["debian10", "macos", "ubuntu2004", "windows"]
+ bazel: ["7.x", "6.x"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//..."
diff --git a/modules/aspect_bazel_lib/2.4.1/source.json b/modules/aspect_bazel_lib/2.4.1/source.json
new file mode 100644
index 0000000..4b48733
--- /dev/null
+++ b/modules/aspect_bazel_lib/2.4.1/source.json
@@ -0,0 +1,10 @@
+{
+ "integrity": "sha256-l5Znu3J27o/PLBFMm+mTK5owUqZKZH4Nyqz7nAAW8KM=",
+ "strip_prefix": "bazel-lib-2.4.1",
+ "url": "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.1/bazel-lib-v2.4.1.tar.gz",
+ "patches": {
+ "go_dev_dep.patch": "sha256-KgABwDzOT+DugUHn9tHLOz05osnk2FLsS10d5zqG/M0=",
+ "module_dot_bazel_version.patch": "sha256-tPDEVxJAVDPISOyyUiiT6M0OSGLtknZvIQGUG5oh9oM="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aspect_bazel_lib/2.4.2/MODULE.bazel b/modules/aspect_bazel_lib/2.4.2/MODULE.bazel
new file mode 100644
index 0000000..03559f8
--- /dev/null
+++ b/modules/aspect_bazel_lib/2.4.2/MODULE.bazel
@@ -0,0 +1,80 @@
+"aspect-build/bazel-lib"
+
+module(
+ name = "aspect_bazel_lib",
+ version = "2.4.2",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+)
+
+# Lower-bound versions of our dependencies
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "platforms", version = "0.0.8")
+
+# 0.5.4 is the first version with bzlmod support
+bazel_dep(name = "stardoc", version = "0.5.4", repo_name = "io_bazel_stardoc")
+
+bazel_lib_toolchains = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "toolchains")
+bazel_lib_toolchains.copy_directory()
+bazel_lib_toolchains.copy_to_directory()
+bazel_lib_toolchains.jq()
+bazel_lib_toolchains.yq()
+bazel_lib_toolchains.coreutils()
+bazel_lib_toolchains.tar()
+bazel_lib_toolchains.expand_template()
+bazel_lib_toolchains.bats()
+use_repo(bazel_lib_toolchains, "bats_toolchains", "bsd_tar_toolchains", "copy_directory_toolchains", "copy_to_directory_toolchains", "coreutils_toolchains", "expand_template_toolchains", "jq_toolchains", "yq_toolchains")
+
+register_toolchains(
+ "@copy_directory_toolchains//:all",
+ "@copy_to_directory_toolchains//:all",
+ "@jq_toolchains//:all",
+ "@yq_toolchains//:all",
+ "@coreutils_toolchains//:all",
+ "@expand_template_toolchains//:all",
+ "@bats_toolchains//:all",
+ # Expand bsd_tar_toolchains
+ "@bsd_tar_toolchains//:linux_amd64_toolchain",
+ "@bsd_tar_toolchains//:linux_arm64_toolchain",
+ "@bsd_tar_toolchains//:windows_amd64_toolchain",
+ # host toolchain must be last, as it's only suitable as a fallback on macos
+ "@bsd_tar_toolchains//:host_toolchain",
+)
+
+host = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "host", dev_dependency = True)
+host.host()
+use_repo(host, "aspect_bazel_lib_host")
+
+# To allow /tools to be built from source
+# NOTE: when publishing to BCR, we patch this to be dev_dependency, as we publish pre-built binaries
+# along with our releases.
+
+bazel_dep(
+ name = "gazelle",
+ version = "0.33.0",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "rules_go",
+ version = "0.41.0",
+ repo_name = "io_bazel_rules_go",
+ dev_dependency = True,
+)
+
+go_deps = use_extension(
+ "@gazelle//:extensions.bzl",
+ "go_deps",
+ dev_dependency = True,
+)
+go_deps.from_file(go_mod = "//:go.mod")
+use_repo(
+ go_deps,
+ "com_github_bmatcuk_doublestar_v4",
+ "org_golang_x_exp",
+)
+
+# Development-only dependencies
+
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
+bazel_dep(name = "buildifier_prebuilt", version = "6.3.3", dev_dependency = True)
+bazel_dep(name = "bazel_features", version = "0.2.0", dev_dependency = True)
diff --git a/modules/aspect_bazel_lib/2.4.2/patches/go_dev_dep.patch b/modules/aspect_bazel_lib/2.4.2/patches/go_dev_dep.patch
new file mode 100644
index 0000000..1ade7b2
--- /dev/null
+++ b/modules/aspect_bazel_lib/2.4.2/patches/go_dev_dep.patch
@@ -0,0 +1,27 @@
+diff --git a/MODULE.bazel b/MODULE.bazel
+index e63fa5b..9d78a88 100644
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -50,19 +50,19 @@ use_repo(host, "aspect_bazel_lib_host")
+ bazel_dep(
+ name = "gazelle",
+ version = "0.33.0",
+- # In released versions: dev_dependency = True
++ dev_dependency = True,
+ )
+ bazel_dep(
+ name = "rules_go",
+ version = "0.41.0",
+ repo_name = "io_bazel_rules_go",
+- # In released versions: dev_dependency = True
++ dev_dependency = True,
+ )
+
+ go_deps = use_extension(
+ "@gazelle//:extensions.bzl",
+ "go_deps",
+- # In released versions: dev_dependency = True
++ dev_dependency = True,
+ )
+ go_deps.from_file(go_mod = "//:go.mod")
+ use_repo(
diff --git a/modules/aspect_bazel_lib/2.4.2/patches/module_dot_bazel_version.patch b/modules/aspect_bazel_lib/2.4.2/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..d2c4351
--- /dev/null
+++ b/modules/aspect_bazel_lib/2.4.2/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "aspect-build/bazel-lib"
+
+ module(
+ name = "aspect_bazel_lib",
+- version = "0.0.0",
++ version = "2.4.2",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+ )
+
diff --git a/modules/aspect_bazel_lib/2.4.2/presubmit.yml b/modules/aspect_bazel_lib/2.4.2/presubmit.yml
new file mode 100644
index 0000000..e63a572
--- /dev/null
+++ b/modules/aspect_bazel_lib/2.4.2/presubmit.yml
@@ -0,0 +1,12 @@
+bcr_test_module:
+ module_path: "e2e/smoke"
+ matrix:
+ platform: ["debian10", "macos", "ubuntu2004", "windows"]
+ bazel: ["7.x", "6.x"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//..."
diff --git a/modules/aspect_bazel_lib/2.4.2/source.json b/modules/aspect_bazel_lib/2.4.2/source.json
new file mode 100644
index 0000000..b6e86bb
--- /dev/null
+++ b/modules/aspect_bazel_lib/2.4.2/source.json
@@ -0,0 +1,10 @@
+{
+ "integrity": "sha256-910DeDWI4FSJnrBympf7W4lzwaJvMDc/r9SFyQvyB9E=",
+ "strip_prefix": "bazel-lib-2.4.2",
+ "url": "https://github.com/aspect-build/bazel-lib/releases/download/v2.4.2/bazel-lib-v2.4.2.tar.gz",
+ "patches": {
+ "go_dev_dep.patch": "sha256-KgABwDzOT+DugUHn9tHLOz05osnk2FLsS10d5zqG/M0=",
+ "module_dot_bazel_version.patch": "sha256-6cUwZH0MmVcCGvxN/Sc8cWFmqIHF82hwLfrGh3nREEE="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aspect_bazel_lib/metadata.json b/modules/aspect_bazel_lib/metadata.json
index a4e295e..b75cdd0 100644
--- a/modules/aspect_bazel_lib/metadata.json
+++ b/modules/aspect_bazel_lib/metadata.json
@@ -91,6 +91,7 @@
"1.39.0",
"1.39.1",
"1.40.0",
+ "1.40.2",
"2.0.0-beta0",
"2.0.0-beta1",
"2.0.0-rc0",
@@ -102,7 +103,9 @@
"2.1.0",
"2.1.2",
"2.2.0",
- "2.3.0"
+ "2.3.0",
+ "2.4.1",
+ "2.4.2"
],
"yanked_versions": {
"1.31.0": "1.31.0 has a breaking change to the default yq version",
diff --git a/modules/aspect_rules_aws/0.2.0/MODULE.bazel b/modules/aspect_rules_aws/0.2.0/MODULE.bazel
new file mode 100644
index 0000000..1919f30
--- /dev/null
+++ b/modules/aspect_rules_aws/0.2.0/MODULE.bazel
@@ -0,0 +1,62 @@
+"Bazel dependencies"
+
+module(
+ name = "aspect_rules_aws",
+ version = "0.2.0",
+ compatibility_level = 1,
+)
+
+# Lower-bound dependency versions.
+# Do not change unless the rules no longer work with the current version.
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "platforms", version = "0.0.8")
+bazel_dep(name = "rules_oci", version = "1.7.0")
+bazel_dep(name = "rules_pkg", version = "0.9.1")
+bazel_dep(name = "rules_python", version = "0.29.0")
+
+# Development dependencies which are not exposed to users
+bazel_dep(name = "aspect_bazel_lib", version = "2.4.1", dev_dependency = True)
+bazel_dep(name = "aspect_rules_py", version = "0.5.0", dev_dependency = True)
+bazel_dep(name = "buildifier_prebuilt", version = "6.4.0", dev_dependency = True)
+bazel_dep(name = "container_structure_test", version = "1.16.0", dev_dependency = True)
+
+aws = use_extension("//aws:extensions.bzl", "aws")
+aws.toolchain(aws_cli_version = "2.13.0")
+use_repo(aws, "aws", "aws_darwin", "aws_linux-aarch64", "aws_linux-x86_64", "aws_toolchains")
+
+oci = use_extension(
+ "@rules_oci//oci:extensions.bzl",
+ "oci",
+ dev_dependency = True,
+)
+oci.pull(
+ name = "ubuntu",
+ digest = "sha256:0bced47fffa3361afa981854fcabcd4577cd43cebbb808cea2b1f33a3dd7f508", # tag = "latest" on 13 July 2023
+ image = "ubuntu",
+ platforms = [
+ "linux/amd64",
+ "linux/arm64/v8",
+ ],
+)
+use_repo(oci, "ubuntu")
+
+register_toolchains("@aws_toolchains//:all")
+
+aws_py_lambda = use_extension(
+ "@aspect_rules_aws//aws:repositories.oci.bzl",
+ "aws_py_lambda",
+ dev_dependency = True,
+)
+use_repo(aws_py_lambda, "aws_lambda_python")
+
+pip = use_extension(
+ "@rules_python//python/extensions:pip.bzl",
+ "pip",
+ dev_dependency = True,
+)
+pip.parse(
+ hub_name = "pip",
+ python_version = "3.11",
+ requirements_lock = "//examples/python_lambda:requirements.txt",
+)
+use_repo(pip, "pip")
diff --git a/modules/aspect_rules_aws/0.2.0/patches/module_dot_bazel_version.patch b/modules/aspect_rules_aws/0.2.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..6eb65db
--- /dev/null
+++ b/modules/aspect_rules_aws/0.2.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "Bazel dependencies"
+
+ module(
+ name = "aspect_rules_aws",
+- version = "0.0.0",
++ version = "0.2.0",
+ compatibility_level = 1,
+ )
+
+ # Lower-bound dependency versions.
diff --git a/modules/aspect_rules_aws/0.2.0/presubmit.yml b/modules/aspect_rules_aws/0.2.0/presubmit.yml
new file mode 100644
index 0000000..16dd5a6
--- /dev/null
+++ b/modules/aspect_rules_aws/0.2.0/presubmit.yml
@@ -0,0 +1,12 @@
+bcr_test_module:
+ module_path: "e2e/smoke"
+ matrix:
+ bazel: ["7.x", "6.x"]
+ platform: ["debian10", "macos", "ubuntu2004", "windows"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/aspect_rules_aws/0.2.0/source.json b/modules/aspect_rules_aws/0.2.0/source.json
new file mode 100644
index 0000000..bb2e866
--- /dev/null
+++ b/modules/aspect_rules_aws/0.2.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-sdC/Of4AMH5drN5YgCCJrm+Hy8CcvyOD6q8+F/AlIaI=",
+ "strip_prefix": "rules_aws-0.2.0",
+ "url": "https://github.com/aspect-build/rules_aws/releases/download/v0.2.0/rules_aws-v0.2.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-+habm2WlPIzuBqRxhCS80G1YC7v9v9jtCdPFIGZqY7g="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aspect_rules_aws/metadata.json b/modules/aspect_rules_aws/metadata.json
new file mode 100644
index 0000000..4dad885
--- /dev/null
+++ b/modules/aspect_rules_aws/metadata.json
@@ -0,0 +1,20 @@
+{
+ "homepage": "https://github.com/aspect-build/rules_aws",
+ "maintainers": [
+ {
+ "email": "alex@aspect.dev",
+ "github": "alexeagle",
+ "name": "Alex Eagle"
+ },
+ {
+ "github": "CaerusKaru"
+ }
+ ],
+ "repository": [
+ "github:aspect-build/rules_aws"
+ ],
+ "versions": [
+ "0.2.0"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/aspect_rules_jest/0.20.0/MODULE.bazel b/modules/aspect_rules_jest/0.20.0/MODULE.bazel
new file mode 100644
index 0000000..1dd37e7
--- /dev/null
+++ b/modules/aspect_rules_jest/0.20.0/MODULE.bazel
@@ -0,0 +1,16 @@
+"aspect-build/rules_jest"
+
+module(
+ name = "aspect_rules_jest",
+ version = "0.20.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "aspect_bazel_lib", version = "1.32.1")
+bazel_dep(name = "aspect_rules_js", version = "1.29.2")
+bazel_dep(name = "bazel_skylib", version = "1.4.1")
+bazel_dep(name = "rules_nodejs", version = "5.8.2")
+
+bazel_dep(name = "gazelle", version = "0.29.0", dev_dependency = True, repo_name = "bazel_gazelle")
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
+bazel_dep(name = "buildifier_prebuilt", version = "6.3.3", dev_dependency = True)
diff --git a/modules/aspect_rules_jest/0.20.0/patches/module_dot_bazel_version.patch b/modules/aspect_rules_jest/0.20.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..e9a5532
--- /dev/null
+++ b/modules/aspect_rules_jest/0.20.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "aspect-build/rules_jest"
+
+ module(
+ name = "aspect_rules_jest",
+- version = "0.0.0",
++ version = "0.20.0",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "aspect_bazel_lib", version = "1.32.1")
diff --git a/modules/aspect_rules_jest/0.20.0/presubmit.yml b/modules/aspect_rules_jest/0.20.0/presubmit.yml
new file mode 100644
index 0000000..8ce35eb
--- /dev/null
+++ b/modules/aspect_rules_jest/0.20.0/presubmit.yml
@@ -0,0 +1,12 @@
+bcr_test_module:
+ module_path: "e2e/smoke"
+ matrix:
+ bazel: ["6.x"]
+ platform: ["debian10", "macos", "ubuntu2004", "windows"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/aspect_rules_jest/0.20.0/source.json b/modules/aspect_rules_jest/0.20.0/source.json
new file mode 100644
index 0000000..33271d2
--- /dev/null
+++ b/modules/aspect_rules_jest/0.20.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-ScaI44OMhVqazzt3vCXPsYvdcLA/8IEPv9Y1PdYFX+s=",
+ "strip_prefix": "rules_jest-0.20.0",
+ "url": "https://github.com/aspect-build/rules_jest/releases/download/v0.20.0/rules_jest-v0.20.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-rjl5GAT1jffo6cajU76zBUe64mPTi4HdFbFK4CJ8X4k="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aspect_rules_jest/metadata.json b/modules/aspect_rules_jest/metadata.json
index 104d853..ab635b6 100644
--- a/modules/aspect_rules_jest/metadata.json
+++ b/modules/aspect_rules_jest/metadata.json
@@ -2,9 +2,9 @@
"homepage": "https://docs.aspect.build/rules/aspect_rules_jest",
"maintainers": [
{
- "email": "hello@aspect.dev",
- "github": "aspect-build",
- "name": "Aspect team"
+ "name": "Greg Magolan",
+ "email": "greg@aspect.dev",
+ "github": "gregmagolan"
}
],
"repository": [
@@ -15,7 +15,8 @@
"0.19.2",
"0.19.3",
"0.19.5",
- "0.19.6"
+ "0.19.6",
+ "0.20.0"
],
"yanked_versions": {}
}
diff --git a/modules/aspect_rules_js/1.37.0/MODULE.bazel b/modules/aspect_rules_js/1.37.0/MODULE.bazel
new file mode 100644
index 0000000..a4b29ad
--- /dev/null
+++ b/modules/aspect_rules_js/1.37.0/MODULE.bazel
@@ -0,0 +1,222 @@
+"aspect-build/rules_js"
+
+module(
+ name = "aspect_rules_js",
+ version = "1.37.0",
+ compatibility_level = 1,
+)
+
+# Lower-bounds for runtime dependencies.
+# Do not bump these unless rules_js requires a newer version to function.
+bazel_dep(name = "aspect_bazel_lib", version = "1.40.0")
+bazel_dep(name = "aspect_rules_lint", version = "0.9.1")
+bazel_dep(name = "bazel_features", version = "0.1.0")
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "rules_nodejs", version = "5.8.2")
+bazel_dep(name = "platforms", version = "0.0.5")
+
+node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
+use_repo(node, "nodejs_darwin_amd64")
+use_repo(node, "nodejs_darwin_arm64")
+use_repo(node, "nodejs_linux_amd64")
+use_repo(node, "nodejs_linux_arm64")
+use_repo(node, "nodejs_linux_ppc64le")
+use_repo(node, "nodejs_linux_s390x")
+use_repo(node, "nodejs_windows_amd64")
+
+pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm")
+pnpm.pnpm(
+ name = "pnpm",
+ pnpm_version = "8.6.7",
+ pnpm_version_integrity = "sha512-vRIWpD/L4phf9Bk2o/O2TDR8fFoJnpYrp2TKqTIZF/qZ2/rgL3qKXzHofHgbXsinwMoSEigz28sqk3pQ+yMEQQ==",
+)
+use_repo(pnpm, "pnpm", "pnpm__links")
+
+bazel_lib_toolchains = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "toolchains")
+use_repo(bazel_lib_toolchains, "coreutils_toolchains")
+use_repo(bazel_lib_toolchains, "yq_darwin_amd64")
+use_repo(bazel_lib_toolchains, "yq_darwin_arm64")
+use_repo(bazel_lib_toolchains, "yq_linux_amd64")
+use_repo(bazel_lib_toolchains, "yq_linux_arm64")
+use_repo(bazel_lib_toolchains, "yq_linux_ppc64le")
+use_repo(bazel_lib_toolchains, "yq_linux_s390x")
+use_repo(bazel_lib_toolchains, "yq_windows_amd64")
+
+####### Dev dependencies ########
+
+bazel_dep(name = "gazelle", version = "0.33.0", dev_dependency = True, repo_name = "bazel_gazelle")
+bazel_dep(name = "buildifier_prebuilt", version = "6.3.3", dev_dependency = True)
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
+bazel_dep(name = "rules_go", version = "0.41.0", dev_dependency = True)
+
+host = use_extension(
+ "@aspect_bazel_lib//lib:extensions.bzl",
+ "host",
+ dev_dependency = True,
+)
+host.host()
+use_repo(host, "aspect_bazel_lib_host")
+
+node_dev = use_extension(
+ "@rules_nodejs//nodejs:extensions.bzl",
+ "node",
+ dev_dependency = True,
+)
+use_repo(node_dev, "nodejs_toolchains")
+use_repo(node_dev, "node18_linux_amd64")
+use_repo(node_dev, "node18_darwin_arm64")
+use_repo(node_dev, "node18_darwin_amd64")
+use_repo(node_dev, "node18_linux_arm64")
+use_repo(node_dev, "node18_linux_s390x")
+use_repo(node_dev, "node18_linux_ppc64le")
+use_repo(node_dev, "node18_windows_amd64")
+use_repo(node_dev, "node16_linux_amd64")
+use_repo(node_dev, "node16_darwin_arm64")
+use_repo(node_dev, "node16_darwin_amd64")
+use_repo(node_dev, "node16_linux_arm64")
+use_repo(node_dev, "node16_linux_s390x")
+use_repo(node_dev, "node16_linux_ppc64le")
+use_repo(node_dev, "node16_windows_amd64")
+node_dev.toolchain(node_version = "16.14.2")
+node_dev.toolchain(
+ name = "node16",
+ node_version = "16.13.1",
+)
+node_dev.toolchain(
+ name = "node18",
+ node_version = "18.13.0",
+)
+
+############################################
+# npm dependencies used by examples
+
+npm = use_extension(
+ "@aspect_rules_js//npm:extensions.bzl",
+ "npm",
+ dev_dependency = True,
+)
+npm.npm_translate_lock(
+ name = "npm",
+ bins = {
+ # derived from "bin" attribute in node_modules/typescript/package.json
+ "typescript": [
+ "tsc=./bin/tsc",
+ "tsserver=./bin/tsserver",
+ ],
+ },
+ custom_postinstalls = {
+ "@aspect-test/c": "echo moo > cow.txt",
+ "@aspect-test/c@2.0.2": "echo mooo >> cow.txt",
+ },
+ data = [
+ "//:examples/npm_deps/patches/meaning-of-life@1.0.0-pnpm.patch",
+ "//:package.json",
+ "//:pnpm-workspace.yaml",
+ "//examples/js_binary:package.json",
+ "//examples/macro:package.json",
+ "//examples/npm_deps:package.json",
+ "//examples/npm_package/libs/lib_a:package.json",
+ "//examples/npm_package/packages/pkg_a:package.json",
+ "//examples/npm_package/packages/pkg_b:package.json",
+ "//examples/webpack_cli:package.json",
+ "//js/private/coverage/bundle:package.json",
+ "//js/private/worker/src:package.json",
+ "//npm/private/test:package.json",
+ "//npm/private/test:vendored/lodash-4.17.21.tgz",
+ "//npm/private/test/npm_package:package.json",
+ "//npm/private/test/vendored/is-odd:package.json",
+ "//npm/private/test/vendored/semver-max:package.json",
+ ],
+ generate_bzl_library_targets = True,
+ lifecycle_hooks = {
+ # We fetch @kubernetes/client-node from source and it has a `prepare` lifecycle hook that needs to be run
+ # which runs the `build` package.json script: https://github.com/kubernetes-client/javascript/blob/fc681991e61c6808dd26012a2331f83671a11218/package.json#L28.
+ # Here we run run build so we just run `tsc` instead of `npm run build` which ends up just running `tsc`.
+ "@kubernetes/client-node": ["build"],
+ # 'install' hook fails as it assumes the following path to `node-pre-gyp`: ./node_modules/.bin/node-pre-gyp
+ # https://github.com/stultuss/protoc-gen-grpc-ts/blob/53d52a9d0e1fe3cbe930dec5581eca89b3dde807/package.json#L28
+ "protoc-gen-grpc@2.0.3": [],
+ },
+ lifecycle_hooks_execution_requirements = {
+ "*": [
+ "no-sandbox",
+ ],
+ # If @kubernetes/client-node is not sandboxed, will fail with
+ # ```
+ # src/azure_auth.ts(97,43): error TS2575: No overload expects 2 arguments, but overloads do exist that expect either 1 or 4 arguments.
+ # src/azure_auth.ts(98,34): error TS2575: No overload expects 2 arguments, but overloads do exist that expect either 1 or 4 arguments.
+ # src/gcp_auth.ts(93,43): error TS2575: No overload expects 2 arguments, but overloads do exist that expect either 1 or 4 arguments.
+ # src/gcp_auth.ts(94,34): error TS2575: No overload expects 2 arguments, but overloads do exist that expect either 1 or 4 arguments.
+ # ```
+ # since a `jsonpath-plus@7.2.0` that is newer then the transitive dep `jsonpath-plus@0.19.0` is found outside of the sandbox that
+ # includes typings that don't match the 0.19.0 "any" usage.
+ "@kubernetes/client-node": [],
+ "@figma/nodegit": [
+ "no-sandbox",
+ "requires-network",
+ ],
+ "esbuild": [
+ "no-sandbox",
+ "requires-network",
+ ],
+ "segfault-handler": [
+ "no-sandbox",
+ "requires-network",
+ ],
+ "puppeteer": [
+ "no-sandbox",
+ "requires-network",
+ ],
+ },
+ npmrc = "//:.npmrc",
+ package_visibility = {
+ "unused": ["//visibility:private"],
+ "@mycorp/pkg-a": ["//examples:__subpackages__"],
+ },
+ patch_args = {
+ "*": ["-p1"],
+ },
+ patches = {
+ "meaning-of-life@1.0.0": ["//examples/npm_deps:patches/meaning-of-life@1.0.0-after_pnpm.patch"],
+ },
+ pnpm_lock = "//:pnpm-lock.yaml",
+ # NB: this is a no-op because we already installed a pnpm repo above
+ pnpm_version = "7.25.0",
+ public_hoist_packages = {
+ # Instructs the linker to hoist the ms@2.1.3 npm package to `node_modules/ms` in the `examples/npm_deps` package.
+ # Similar to adding `public-hoist-pattern[]=ms` in .npmrc but with control over which version to hoist and where
+ # to hoist it. This hoisted package can be referenced by the label `//examples/npm_deps:node_modules/ms` same as
+ # other direct dependencies in the `examples/npm_deps/package.json`.
+ "ms@2.1.3": ["examples/npm_deps"],
+ },
+ update_pnpm_lock = True,
+ verify_node_modules_ignored = "//:.bazelignore",
+ verify_patches = "//examples/npm_deps/patches:patches",
+)
+use_repo(npm, "npm", "npm__rollup__2.70.2", "npm__webpack-bundle-analyzer__4.5.0__bufferutil_4.0.7")
+
+# As an example, manually import a package using explicit coordinates.
+# Just a demonstration of the syntax de-sugaring.
+npm.npm_import(
+ name = "acorn__8.4.0",
+ bins = {"acorn": "./bin/acorn"},
+ integrity = "sha512-ULr0LDaEqQrMFGyQ3bhJkLsbtrQ8QibAseGZeaSUiT/6zb9IvIkomWHJIvgvwad+hinRAgsI51JcWk2yvwyL+w==",
+ package = "acorn",
+ # Root package where to link the virtual store
+ root_package = "",
+ version = "8.4.0",
+)
+use_repo(npm, "acorn__8.4.0")
+use_repo(npm, "acorn__8.4.0__links")
+
+# Used by formatter
+go_sdk = use_extension(
+ "@rules_go//go:extensions.bzl",
+ "go_sdk",
+ dev_dependency = True,
+)
+go_sdk.download(
+ name = "go_sdk",
+ version = "1.20.3",
+)
+use_repo(go_sdk, "go_sdk")
diff --git a/modules/aspect_rules_js/1.37.0/patches/module_dot_bazel_version.patch b/modules/aspect_rules_js/1.37.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..6e77290
--- /dev/null
+++ b/modules/aspect_rules_js/1.37.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "aspect-build/rules_js"
+
+ module(
+ name = "aspect_rules_js",
+- version = "0.0.0",
++ version = "1.37.0",
+ compatibility_level = 1,
+ )
+
+ # Lower-bounds for runtime dependencies.
diff --git a/modules/aspect_rules_js/1.37.0/presubmit.yml b/modules/aspect_rules_js/1.37.0/presubmit.yml
new file mode 100644
index 0000000..cbcfdbb
--- /dev/null
+++ b/modules/aspect_rules_js/1.37.0/presubmit.yml
@@ -0,0 +1,10 @@
+bcr_test_module:
+ module_path: 'e2e/bzlmod'
+ matrix:
+ platform: ['debian10', 'macos', 'ubuntu2004', 'windows']
+ tasks:
+ run_tests:
+ name: 'Run test module'
+ platform: ${{ platform }}
+ test_targets:
+ - '//...'
diff --git a/modules/aspect_rules_js/1.37.0/source.json b/modules/aspect_rules_js/1.37.0/source.json
new file mode 100644
index 0000000..80106d8
--- /dev/null
+++ b/modules/aspect_rules_js/1.37.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-cTCCDOctEUiVAUeazMAHLUXlOpFuSrxekbaAtzdLPa0=",
+ "strip_prefix": "rules_js-1.37.0",
+ "url": "https://github.com/aspect-build/rules_js/releases/download/v1.37.0/rules_js-v1.37.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-AXfq5Nh6/8IinQv8sCHg47m9JNMtmX/NRlsYABJRnfE="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aspect_rules_js/1.37.1/MODULE.bazel b/modules/aspect_rules_js/1.37.1/MODULE.bazel
new file mode 100644
index 0000000..6159ab0
--- /dev/null
+++ b/modules/aspect_rules_js/1.37.1/MODULE.bazel
@@ -0,0 +1,222 @@
+"aspect-build/rules_js"
+
+module(
+ name = "aspect_rules_js",
+ version = "1.37.1",
+ compatibility_level = 1,
+)
+
+# Lower-bounds for runtime dependencies.
+# Do not bump these unless rules_js requires a newer version to function.
+bazel_dep(name = "aspect_bazel_lib", version = "1.40.0")
+bazel_dep(name = "aspect_rules_lint", version = "0.9.1")
+bazel_dep(name = "bazel_features", version = "0.1.0")
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "rules_nodejs", version = "5.8.2")
+bazel_dep(name = "platforms", version = "0.0.5")
+
+node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
+use_repo(node, "nodejs_darwin_amd64")
+use_repo(node, "nodejs_darwin_arm64")
+use_repo(node, "nodejs_linux_amd64")
+use_repo(node, "nodejs_linux_arm64")
+use_repo(node, "nodejs_linux_ppc64le")
+use_repo(node, "nodejs_linux_s390x")
+use_repo(node, "nodejs_windows_amd64")
+
+pnpm = use_extension("@aspect_rules_js//npm:extensions.bzl", "pnpm")
+pnpm.pnpm(
+ name = "pnpm",
+ pnpm_version = "8.6.7",
+ pnpm_version_integrity = "sha512-vRIWpD/L4phf9Bk2o/O2TDR8fFoJnpYrp2TKqTIZF/qZ2/rgL3qKXzHofHgbXsinwMoSEigz28sqk3pQ+yMEQQ==",
+)
+use_repo(pnpm, "pnpm", "pnpm__links")
+
+bazel_lib_toolchains = use_extension("@aspect_bazel_lib//lib:extensions.bzl", "toolchains")
+use_repo(bazel_lib_toolchains, "coreutils_toolchains")
+use_repo(bazel_lib_toolchains, "yq_darwin_amd64")
+use_repo(bazel_lib_toolchains, "yq_darwin_arm64")
+use_repo(bazel_lib_toolchains, "yq_linux_amd64")
+use_repo(bazel_lib_toolchains, "yq_linux_arm64")
+use_repo(bazel_lib_toolchains, "yq_linux_ppc64le")
+use_repo(bazel_lib_toolchains, "yq_linux_s390x")
+use_repo(bazel_lib_toolchains, "yq_windows_amd64")
+
+####### Dev dependencies ########
+
+bazel_dep(name = "gazelle", version = "0.33.0", dev_dependency = True, repo_name = "bazel_gazelle")
+bazel_dep(name = "buildifier_prebuilt", version = "6.3.3", dev_dependency = True)
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
+bazel_dep(name = "rules_go", version = "0.41.0", dev_dependency = True)
+
+host = use_extension(
+ "@aspect_bazel_lib//lib:extensions.bzl",
+ "host",
+ dev_dependency = True,
+)
+host.host()
+use_repo(host, "aspect_bazel_lib_host")
+
+node_dev = use_extension(
+ "@rules_nodejs//nodejs:extensions.bzl",
+ "node",
+ dev_dependency = True,
+)
+use_repo(node_dev, "nodejs_toolchains")
+use_repo(node_dev, "node18_linux_amd64")
+use_repo(node_dev, "node18_darwin_arm64")
+use_repo(node_dev, "node18_darwin_amd64")
+use_repo(node_dev, "node18_linux_arm64")
+use_repo(node_dev, "node18_linux_s390x")
+use_repo(node_dev, "node18_linux_ppc64le")
+use_repo(node_dev, "node18_windows_amd64")
+use_repo(node_dev, "node16_linux_amd64")
+use_repo(node_dev, "node16_darwin_arm64")
+use_repo(node_dev, "node16_darwin_amd64")
+use_repo(node_dev, "node16_linux_arm64")
+use_repo(node_dev, "node16_linux_s390x")
+use_repo(node_dev, "node16_linux_ppc64le")
+use_repo(node_dev, "node16_windows_amd64")
+node_dev.toolchain(node_version = "16.14.2")
+node_dev.toolchain(
+ name = "node16",
+ node_version = "16.13.1",
+)
+node_dev.toolchain(
+ name = "node18",
+ node_version = "18.13.0",
+)
+
+############################################
+# npm dependencies used by examples
+
+npm = use_extension(
+ "@aspect_rules_js//npm:extensions.bzl",
+ "npm",
+ dev_dependency = True,
+)
+npm.npm_translate_lock(
+ name = "npm",
+ bins = {
+ # derived from "bin" attribute in node_modules/typescript/package.json
+ "typescript": [
+ "tsc=./bin/tsc",
+ "tsserver=./bin/tsserver",
+ ],
+ },
+ custom_postinstalls = {
+ "@aspect-test/c": "echo moo > cow.txt",
+ "@aspect-test/c@2.0.2": "echo mooo >> cow.txt",
+ },
+ data = [
+ "//:examples/npm_deps/patches/meaning-of-life@1.0.0-pnpm.patch",
+ "//:package.json",
+ "//:pnpm-workspace.yaml",
+ "//examples/js_binary:package.json",
+ "//examples/macro:package.json",
+ "//examples/npm_deps:package.json",
+ "//examples/npm_package/libs/lib_a:package.json",
+ "//examples/npm_package/packages/pkg_a:package.json",
+ "//examples/npm_package/packages/pkg_b:package.json",
+ "//examples/webpack_cli:package.json",
+ "//js/private/coverage/bundle:package.json",
+ "//js/private/worker/src:package.json",
+ "//npm/private/test:package.json",
+ "//npm/private/test:vendored/lodash-4.17.21.tgz",
+ "//npm/private/test/npm_package:package.json",
+ "//npm/private/test/vendored/is-odd:package.json",
+ "//npm/private/test/vendored/semver-max:package.json",
+ ],
+ generate_bzl_library_targets = True,
+ lifecycle_hooks = {
+ # We fetch @kubernetes/client-node from source and it has a `prepare` lifecycle hook that needs to be run
+ # which runs the `build` package.json script: https://github.com/kubernetes-client/javascript/blob/fc681991e61c6808dd26012a2331f83671a11218/package.json#L28.
+ # Here we run run build so we just run `tsc` instead of `npm run build` which ends up just running `tsc`.
+ "@kubernetes/client-node": ["build"],
+ # 'install' hook fails as it assumes the following path to `node-pre-gyp`: ./node_modules/.bin/node-pre-gyp
+ # https://github.com/stultuss/protoc-gen-grpc-ts/blob/53d52a9d0e1fe3cbe930dec5581eca89b3dde807/package.json#L28
+ "protoc-gen-grpc@2.0.3": [],
+ },
+ lifecycle_hooks_execution_requirements = {
+ "*": [
+ "no-sandbox",
+ ],
+ # If @kubernetes/client-node is not sandboxed, will fail with
+ # ```
+ # src/azure_auth.ts(97,43): error TS2575: No overload expects 2 arguments, but overloads do exist that expect either 1 or 4 arguments.
+ # src/azure_auth.ts(98,34): error TS2575: No overload expects 2 arguments, but overloads do exist that expect either 1 or 4 arguments.
+ # src/gcp_auth.ts(93,43): error TS2575: No overload expects 2 arguments, but overloads do exist that expect either 1 or 4 arguments.
+ # src/gcp_auth.ts(94,34): error TS2575: No overload expects 2 arguments, but overloads do exist that expect either 1 or 4 arguments.
+ # ```
+ # since a `jsonpath-plus@7.2.0` that is newer then the transitive dep `jsonpath-plus@0.19.0` is found outside of the sandbox that
+ # includes typings that don't match the 0.19.0 "any" usage.
+ "@kubernetes/client-node": [],
+ "@figma/nodegit": [
+ "no-sandbox",
+ "requires-network",
+ ],
+ "esbuild": [
+ "no-sandbox",
+ "requires-network",
+ ],
+ "segfault-handler": [
+ "no-sandbox",
+ "requires-network",
+ ],
+ "puppeteer": [
+ "no-sandbox",
+ "requires-network",
+ ],
+ },
+ npmrc = "//:.npmrc",
+ package_visibility = {
+ "unused": ["//visibility:private"],
+ "@mycorp/pkg-a": ["//examples:__subpackages__"],
+ },
+ patch_args = {
+ "*": ["-p1"],
+ },
+ patches = {
+ "meaning-of-life@1.0.0": ["//examples/npm_deps:patches/meaning-of-life@1.0.0-after_pnpm.patch"],
+ },
+ pnpm_lock = "//:pnpm-lock.yaml",
+ # NB: this is a no-op because we already installed a pnpm repo above
+ pnpm_version = "7.25.0",
+ public_hoist_packages = {
+ # Instructs the linker to hoist the ms@2.1.3 npm package to `node_modules/ms` in the `examples/npm_deps` package.
+ # Similar to adding `public-hoist-pattern[]=ms` in .npmrc but with control over which version to hoist and where
+ # to hoist it. This hoisted package can be referenced by the label `//examples/npm_deps:node_modules/ms` same as
+ # other direct dependencies in the `examples/npm_deps/package.json`.
+ "ms@2.1.3": ["examples/npm_deps"],
+ },
+ update_pnpm_lock = True,
+ verify_node_modules_ignored = "//:.bazelignore",
+ verify_patches = "//examples/npm_deps/patches:patches",
+)
+use_repo(npm, "npm", "npm__rollup__2.70.2", "npm__webpack-bundle-analyzer__4.5.0__bufferutil_4.0.7")
+
+# As an example, manually import a package using explicit coordinates.
+# Just a demonstration of the syntax de-sugaring.
+npm.npm_import(
+ name = "acorn__8.4.0",
+ bins = {"acorn": "./bin/acorn"},
+ integrity = "sha512-ULr0LDaEqQrMFGyQ3bhJkLsbtrQ8QibAseGZeaSUiT/6zb9IvIkomWHJIvgvwad+hinRAgsI51JcWk2yvwyL+w==",
+ package = "acorn",
+ # Root package where to link the virtual store
+ root_package = "",
+ version = "8.4.0",
+)
+use_repo(npm, "acorn__8.4.0")
+use_repo(npm, "acorn__8.4.0__links")
+
+# Used by formatter
+go_sdk = use_extension(
+ "@rules_go//go:extensions.bzl",
+ "go_sdk",
+ dev_dependency = True,
+)
+go_sdk.download(
+ name = "go_sdk",
+ version = "1.20.3",
+)
+use_repo(go_sdk, "go_sdk")
diff --git a/modules/aspect_rules_js/1.37.1/patches/module_dot_bazel_version.patch b/modules/aspect_rules_js/1.37.1/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..ffd3cb0
--- /dev/null
+++ b/modules/aspect_rules_js/1.37.1/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "aspect-build/rules_js"
+
+ module(
+ name = "aspect_rules_js",
+- version = "0.0.0",
++ version = "1.37.1",
+ compatibility_level = 1,
+ )
+
+ # Lower-bounds for runtime dependencies.
diff --git a/modules/aspect_rules_js/1.37.1/presubmit.yml b/modules/aspect_rules_js/1.37.1/presubmit.yml
new file mode 100644
index 0000000..cbcfdbb
--- /dev/null
+++ b/modules/aspect_rules_js/1.37.1/presubmit.yml
@@ -0,0 +1,10 @@
+bcr_test_module:
+ module_path: 'e2e/bzlmod'
+ matrix:
+ platform: ['debian10', 'macos', 'ubuntu2004', 'windows']
+ tasks:
+ run_tests:
+ name: 'Run test module'
+ platform: ${{ platform }}
+ test_targets:
+ - '//...'
diff --git a/modules/aspect_rules_js/1.37.1/source.json b/modules/aspect_rules_js/1.37.1/source.json
new file mode 100644
index 0000000..8224143
--- /dev/null
+++ b/modules/aspect_rules_js/1.37.1/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-Ywpxq6ZsQCOlsWqz76+u7YsaKGXM0WijRhHrc4drP8Q=",
+ "strip_prefix": "rules_js-1.37.1",
+ "url": "https://github.com/aspect-build/rules_js/releases/download/v1.37.1/rules_js-v1.37.1.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-pSJN4KCVMVTmVTEMfwuV3pqu/yDEI90ulkkFBtksYD4="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aspect_rules_js/metadata.json b/modules/aspect_rules_js/metadata.json
index 25014de..f96c9a9 100644
--- a/modules/aspect_rules_js/metadata.json
+++ b/modules/aspect_rules_js/metadata.json
@@ -87,7 +87,9 @@
"1.34.0",
"1.34.1",
"1.35.0",
- "1.36.1"
+ "1.36.1",
+ "1.37.0",
+ "1.37.1"
],
"yanked_versions": {}
}
diff --git a/modules/aspect_rules_lint/0.11.0/MODULE.bazel b/modules/aspect_rules_lint/0.11.0/MODULE.bazel
new file mode 100644
index 0000000..139745d
--- /dev/null
+++ b/modules/aspect_rules_lint/0.11.0/MODULE.bazel
@@ -0,0 +1,29 @@
+"Bazel dependencies"
+
+module(
+ name = "aspect_rules_lint",
+ version = "0.11.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "aspect_bazel_lib", version = "1.38.0")
+
+# Needed in the root because we use js_lib_helpers in our aspect impl
+# Minimum version needs 'chore: bump bazel-lib to 2.0 by @alexeagle in #1311'
+# to allow users on bazel-lib 2.0
+bazel_dep(name = "aspect_rules_js", version = "1.33.1")
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(name = "platforms", version = "0.0.7")
+
+# Needed in the root because we dereference ProtoInfo in our aspect impl
+bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
+
+# Needed in the root because we dereference the toolchain in our aspect impl
+bazel_dep(name = "rules_buf", version = "0.1.1")
+
+# Needed due to rules_proto leaking the dependency
+bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
+bazel_dep(name = "rules_go", version = "0.39.1", repo_name = "io_bazel_rules_go")
+
+bazel_dep(name = "gazelle", version = "0.31.0", dev_dependency = True)
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
diff --git a/modules/aspect_rules_lint/0.11.0/patches/module_dot_bazel_version.patch b/modules/aspect_rules_lint/0.11.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..ff0d9cd
--- /dev/null
+++ b/modules/aspect_rules_lint/0.11.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "Bazel dependencies"
+
+ module(
+ name = "aspect_rules_lint",
+- version = "0.0.0",
++ version = "0.11.0",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "aspect_bazel_lib", version = "1.38.0")
diff --git a/modules/aspect_rules_lint/0.11.0/presubmit.yml b/modules/aspect_rules_lint/0.11.0/presubmit.yml
new file mode 100644
index 0000000..c810b54
--- /dev/null
+++ b/modules/aspect_rules_lint/0.11.0/presubmit.yml
@@ -0,0 +1,14 @@
+bcr_test_module:
+ module_path: "example"
+ matrix:
+ bazel: ["7.x", "6.x"]
+ platform: ["debian10", "macos", "ubuntu2004"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ environment:
+ BAZELISK_BASE_URL: "https://github.com/bazelbuild/bazel/releases/download/"
+ test_targets:
+ - "//..."
diff --git a/modules/aspect_rules_lint/0.11.0/source.json b/modules/aspect_rules_lint/0.11.0/source.json
new file mode 100644
index 0000000..61896fc
--- /dev/null
+++ b/modules/aspect_rules_lint/0.11.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-mL7XSv9kmOqbWP822yepUsehtTdkFxxdDSnvDGH/xPs=",
+ "strip_prefix": "rules_lint-0.11.0",
+ "url": "https://github.com/aspect-build/rules_lint/releases/download/v0.11.0/rules_lint-v0.11.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-5iJXzgrcnGQCfL3wXQI1varALRu0HU1uGGfOJWAZrEs="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aspect_rules_lint/0.11.1/MODULE.bazel b/modules/aspect_rules_lint/0.11.1/MODULE.bazel
new file mode 100644
index 0000000..773310f
--- /dev/null
+++ b/modules/aspect_rules_lint/0.11.1/MODULE.bazel
@@ -0,0 +1,28 @@
+"Bazel dependencies"
+
+module(
+ name = "aspect_rules_lint",
+ version = "0.11.1",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "aspect_bazel_lib", version = "1.38.0")
+
+# Needed in the root because we use js_lib_helpers in our aspect impl
+# Minimum version needs 'chore: bump bazel-lib to 2.0 by @alexeagle in #1311'
+# to allow users on bazel-lib 2.0
+bazel_dep(name = "aspect_rules_js", version = "1.33.1")
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(name = "platforms", version = "0.0.7")
+
+# Needed in the root because we dereference ProtoInfo in our aspect impl
+bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
+
+# Needed in the root because we dereference the toolchain in our aspect impl
+bazel_dep(name = "rules_buf", version = "0.1.1")
+
+# Needed due to rules_proto leaking the dependency
+bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
+
+# Needed to get the 'go_context' symbol, to invoke golangci-lint
+bazel_dep(name = "rules_go", version = "0.39.1", repo_name = "io_bazel_rules_go")
diff --git a/modules/aspect_rules_lint/0.11.1/patches/module_dot_bazel_version.patch b/modules/aspect_rules_lint/0.11.1/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..60cf5f0
--- /dev/null
+++ b/modules/aspect_rules_lint/0.11.1/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "Bazel dependencies"
+
+ module(
+ name = "aspect_rules_lint",
+- version = "0.0.0",
++ version = "0.11.1",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "aspect_bazel_lib", version = "1.38.0")
diff --git a/modules/aspect_rules_lint/0.11.1/presubmit.yml b/modules/aspect_rules_lint/0.11.1/presubmit.yml
new file mode 100644
index 0000000..c810b54
--- /dev/null
+++ b/modules/aspect_rules_lint/0.11.1/presubmit.yml
@@ -0,0 +1,14 @@
+bcr_test_module:
+ module_path: "example"
+ matrix:
+ bazel: ["7.x", "6.x"]
+ platform: ["debian10", "macos", "ubuntu2004"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ environment:
+ BAZELISK_BASE_URL: "https://github.com/bazelbuild/bazel/releases/download/"
+ test_targets:
+ - "//..."
diff --git a/modules/aspect_rules_lint/0.11.1/source.json b/modules/aspect_rules_lint/0.11.1/source.json
new file mode 100644
index 0000000..f26ac63
--- /dev/null
+++ b/modules/aspect_rules_lint/0.11.1/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-YAW6aGjkca+9S//bkiNmeal1UjnysvqHkiZEqpul3tA=",
+ "strip_prefix": "rules_lint-0.11.1",
+ "url": "https://github.com/aspect-build/rules_lint/releases/download/v0.11.1/rules_lint-v0.11.1.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-l2Cy/YL/PsLJ4IQoMBw95Edm8F3IurUYaJ6wpW5ghFw="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aspect_rules_lint/0.12.0/MODULE.bazel b/modules/aspect_rules_lint/0.12.0/MODULE.bazel
new file mode 100644
index 0000000..dd21823
--- /dev/null
+++ b/modules/aspect_rules_lint/0.12.0/MODULE.bazel
@@ -0,0 +1,28 @@
+"Bazel dependencies"
+
+module(
+ name = "aspect_rules_lint",
+ version = "0.12.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "aspect_bazel_lib", version = "1.38.0")
+
+# Needed in the root because we use js_lib_helpers in our aspect impl
+# Minimum version needs 'chore: bump bazel-lib to 2.0 by @alexeagle in #1311'
+# to allow users on bazel-lib 2.0
+bazel_dep(name = "aspect_rules_js", version = "1.33.1")
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(name = "platforms", version = "0.0.7")
+
+# Needed in the root because we dereference ProtoInfo in our aspect impl
+bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
+
+# Needed in the root because we dereference the toolchain in our aspect impl
+bazel_dep(name = "rules_buf", version = "0.1.1")
+
+# Needed due to rules_proto leaking the dependency
+bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
+
+# Needed to get the 'go_context' symbol, to invoke golangci-lint
+bazel_dep(name = "rules_go", version = "0.39.1", repo_name = "io_bazel_rules_go")
diff --git a/modules/aspect_rules_lint/0.12.0/patches/module_dot_bazel_version.patch b/modules/aspect_rules_lint/0.12.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..dc3dffa
--- /dev/null
+++ b/modules/aspect_rules_lint/0.12.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "Bazel dependencies"
+
+ module(
+ name = "aspect_rules_lint",
+- version = "0.0.0",
++ version = "0.12.0",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "aspect_bazel_lib", version = "1.38.0")
diff --git a/modules/aspect_rules_lint/0.12.0/presubmit.yml b/modules/aspect_rules_lint/0.12.0/presubmit.yml
new file mode 100644
index 0000000..c810b54
--- /dev/null
+++ b/modules/aspect_rules_lint/0.12.0/presubmit.yml
@@ -0,0 +1,14 @@
+bcr_test_module:
+ module_path: "example"
+ matrix:
+ bazel: ["7.x", "6.x"]
+ platform: ["debian10", "macos", "ubuntu2004"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ environment:
+ BAZELISK_BASE_URL: "https://github.com/bazelbuild/bazel/releases/download/"
+ test_targets:
+ - "//..."
diff --git a/modules/aspect_rules_lint/0.12.0/source.json b/modules/aspect_rules_lint/0.12.0/source.json
new file mode 100644
index 0000000..d7e53ed
--- /dev/null
+++ b/modules/aspect_rules_lint/0.12.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-QfrTY/EcyrRqJE+T+Myw9EK8I15gbS+th4AZh60HWbE=",
+ "strip_prefix": "rules_lint-0.12.0",
+ "url": "https://github.com/aspect-build/rules_lint/releases/download/v0.12.0/rules_lint-v0.12.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-UalspyPiq7NghK8dC4FsJYIk0q6VE4tep18M0P6mwnw="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aspect_rules_lint/metadata.json b/modules/aspect_rules_lint/metadata.json
index ab138e1..095576e 100644
--- a/modules/aspect_rules_lint/metadata.json
+++ b/modules/aspect_rules_lint/metadata.json
@@ -21,7 +21,10 @@
"0.7.0",
"0.8.0",
"0.9.1",
- "0.10.0"
+ "0.10.0",
+ "0.11.0",
+ "0.11.1",
+ "0.12.0"
],
"yanked_versions": {}
}
diff --git a/modules/aspect_rules_ts/2.1.1/MODULE.bazel b/modules/aspect_rules_ts/2.1.1/MODULE.bazel
new file mode 100644
index 0000000..4d00e30
--- /dev/null
+++ b/modules/aspect_rules_ts/2.1.1/MODULE.bazel
@@ -0,0 +1,52 @@
+"aspect-build/rules_ts"
+
+module(
+ name = "aspect_rules_ts",
+ version = "2.1.1",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.4.1")
+bazel_dep(name = "aspect_rules_js", version = "1.34.0")
+bazel_dep(name = "aspect_bazel_lib", version = "1.38.1")
+bazel_dep(name = "aspect_rules_jasmine", version = "1.1.1")
+
+# Similar to rules_python/MODULE.bazel, see https://github.com/bazelbuild/rules_python/pull/832
+# These are loaded only when using ts_proto_library
+bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
+bazel_dep(name = "platforms", version = "0.0.5")
+
+# Only needed because rules_proto doesn't provide the protoc toolchain yet.
+# TODO(alex/sahin): remove in the future
+bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
+
+bazel_dep(name = "buildifier_prebuilt", version = "6.0.0.1", dev_dependency = True)
+bazel_dep(name = "rules_nodejs", version = "5.8.2", dev_dependency = True)
+bazel_dep(name = "gazelle", version = "0.33.0", dev_dependency = True, repo_name = "bazel_gazelle")
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
+bazel_dep(name = "aspect_rules_lint", version = "0.9.1", dev_dependency = True)
+bazel_dep(name = "rules_go", version = "0.35.0", dev_dependency = True, repo_name = "io_bazel_rules_go")
+
+npm = use_extension(
+ "@aspect_rules_js//npm:extensions.bzl",
+ "npm",
+ dev_dependency = True,
+)
+npm.npm_translate_lock(
+ name = "npm",
+ pnpm_lock = "//examples:pnpm-lock.yaml",
+ verify_node_modules_ignored = "//:.bazelignore",
+)
+use_repo(npm, "npm")
+
+rules_ts_ext = use_extension(
+ "@aspect_rules_ts//ts:extensions.bzl",
+ "ext",
+ dev_dependency = True,
+)
+rules_ts_ext.deps(ts_version_from = "//examples:package.json")
+use_repo(rules_ts_ext, "npm_typescript")
+
+go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk", dev_dependency = True)
+go_sdk.download()
+use_repo(go_sdk, go_sdk = "go_default_sdk")
diff --git a/modules/aspect_rules_ts/2.1.1/patches/module_dot_bazel_version.patch b/modules/aspect_rules_ts/2.1.1/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..b260d23
--- /dev/null
+++ b/modules/aspect_rules_ts/2.1.1/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "aspect-build/rules_ts"
+
+ module(
+ name = "aspect_rules_ts",
+- version = "0.0.0",
++ version = "2.1.1",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "bazel_skylib", version = "1.4.1")
diff --git a/modules/aspect_rules_ts/2.1.1/presubmit.yml b/modules/aspect_rules_ts/2.1.1/presubmit.yml
new file mode 100644
index 0000000..cbcfdbb
--- /dev/null
+++ b/modules/aspect_rules_ts/2.1.1/presubmit.yml
@@ -0,0 +1,10 @@
+bcr_test_module:
+ module_path: 'e2e/bzlmod'
+ matrix:
+ platform: ['debian10', 'macos', 'ubuntu2004', 'windows']
+ tasks:
+ run_tests:
+ name: 'Run test module'
+ platform: ${{ platform }}
+ test_targets:
+ - '//...'
diff --git a/modules/aspect_rules_ts/2.1.1/source.json b/modules/aspect_rules_ts/2.1.1/source.json
new file mode 100644
index 0000000..d140ac0
--- /dev/null
+++ b/modules/aspect_rules_ts/2.1.1/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-atKLW6wrtadOc3kl+8P2LOHtq+WkjWGpmAxJHvTO37c=",
+ "strip_prefix": "rules_ts-2.1.1",
+ "url": "https://github.com/aspect-build/rules_ts/releases/download/v2.1.1/rules_ts-v2.1.1.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-QSOW57rHaCNqJY1TAJJbaJcZA0yF+Kr0R8iAfK+ZVK4="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aspect_rules_ts/metadata.json b/modules/aspect_rules_ts/metadata.json
index c2c6961..e1da432 100644
--- a/modules/aspect_rules_ts/metadata.json
+++ b/modules/aspect_rules_ts/metadata.json
@@ -50,7 +50,8 @@
"2.0.0-rc1",
"2.0.0",
"2.0.1",
- "2.1.0"
+ "2.1.0",
+ "2.1.1"
],
"yanked_versions": {}
}
diff --git a/modules/aspect_rules_webpack/0.14.0/MODULE.bazel b/modules/aspect_rules_webpack/0.14.0/MODULE.bazel
new file mode 100644
index 0000000..b068485
--- /dev/null
+++ b/modules/aspect_rules_webpack/0.14.0/MODULE.bazel
@@ -0,0 +1,15 @@
+"aspect-build/rules_webpack"
+
+module(
+ name = "aspect_rules_webpack",
+ version = "0.14.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "aspect_bazel_lib", version = "1.38.1")
+bazel_dep(name = "aspect_rules_js", version = "1.34.0")
+bazel_dep(name = "bazel_skylib", version = "1.4.1")
+
+bazel_dep(name = "gazelle", version = "0.29.0", dev_dependency = True, repo_name = "bazel_gazelle")
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
+bazel_dep(name = "buildifier_prebuilt", version = "6.1.2.1", dev_dependency = True)
diff --git a/modules/aspect_rules_webpack/0.14.0/patches/module_dot_bazel_version.patch b/modules/aspect_rules_webpack/0.14.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..e18df99
--- /dev/null
+++ b/modules/aspect_rules_webpack/0.14.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "aspect-build/rules_webpack"
+
+ module(
+ name = "aspect_rules_webpack",
+- version = "0.0.0",
++ version = "0.14.0",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "aspect_bazel_lib", version = "1.38.1")
diff --git a/modules/aspect_rules_webpack/0.14.0/presubmit.yml b/modules/aspect_rules_webpack/0.14.0/presubmit.yml
new file mode 100644
index 0000000..c0ccf56
--- /dev/null
+++ b/modules/aspect_rules_webpack/0.14.0/presubmit.yml
@@ -0,0 +1,12 @@
+bcr_test_module:
+ module_path: 'e2e/smoke'
+ matrix:
+ bazel: ['7.x', '6.x']
+ platform: ['debian10', 'macos', 'ubuntu2004', 'windows']
+ tasks:
+ run_tests:
+ name: 'Run test module'
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - '//...'
diff --git a/modules/aspect_rules_webpack/0.14.0/source.json b/modules/aspect_rules_webpack/0.14.0/source.json
new file mode 100644
index 0000000..74211e0
--- /dev/null
+++ b/modules/aspect_rules_webpack/0.14.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-/3dGzVx+jvMtj7zMcg43xeyQVPvnBfNXYBPbqh+1rUA=",
+ "strip_prefix": "rules_webpack-0.14.0",
+ "url": "https://github.com/aspect-build/rules_webpack/releases/download/v0.14.0/rules_webpack-v0.14.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-3ZBLQzSA3ZmUipzzeUCDppkqffYhgoeB0hVbBmQl7c0="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aspect_rules_webpack/metadata.json b/modules/aspect_rules_webpack/metadata.json
index 829ff0e..1c73442 100644
--- a/modules/aspect_rules_webpack/metadata.json
+++ b/modules/aspect_rules_webpack/metadata.json
@@ -2,16 +2,17 @@
"homepage": "https://docs.aspect.build/rules/aspect_rules_webpack",
"maintainers": [
{
- "email": "hello@aspect.dev",
- "github": "aspect-build",
- "name": "Aspect team"
+ "name": "Greg Magolan",
+ "email": "greg@aspect.dev",
+ "github": "gregmagolan"
}
],
"repository": [
"github:aspect-build/rules_webpack"
],
"versions": [
- "0.13.0"
+ "0.13.0",
+ "0.14.0"
],
"yanked_versions": {}
}
diff --git a/modules/aws-in-a-box/0.0.48/MODULE.bazel b/modules/aws-in-a-box/0.0.48/MODULE.bazel
new file mode 100644
index 0000000..452e9e8
--- /dev/null
+++ b/modules/aws-in-a-box/0.0.48/MODULE.bazel
@@ -0,0 +1,26 @@
+module(
+ name = "aws-in-a-box",
+ version = "0.0.48",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "rules_go", version = "0.44.0")
+
+bazel_dep(name = "gazelle", version = "0.34.0")
+go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
+go_deps.from_file(go_mod = "//:go.mod")
+
+use_repo(
+ go_deps,
+ "com_github_aws_aws_sdk_go_v2",
+ "com_github_aws_aws_sdk_go_v2_service_kinesis",
+ "com_github_aws_aws_sdk_go_v2_service_kms",
+ "com_github_aws_aws_sdk_go_v2_service_s3",
+ "com_github_aws_aws_sdk_go_v2_service_sqs",
+ "com_github_aws_smithy_go",
+ "com_github_fxamacker_cbor_v2",
+ "com_github_gofrs_uuid_v5",
+ "com_github_google_go_cmp",
+ "org_golang_x_exp",
+ "org_golang_x_net",
+)
diff --git a/modules/aws-in-a-box/0.0.48/patches/module_dot_bazel_version.patch b/modules/aws-in-a-box/0.0.48/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..5913f9f
--- /dev/null
+++ b/modules/aws-in-a-box/0.0.48/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "aws-in-a-box",
+- version = "0.0.41",
++ version = "0.0.48",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "rules_go", version = "0.44.0")
diff --git a/modules/aws-in-a-box/0.0.48/presubmit.yml b/modules/aws-in-a-box/0.0.48/presubmit.yml
new file mode 100644
index 0000000..c13d125
--- /dev/null
+++ b/modules/aws-in-a-box/0.0.48/presubmit.yml
@@ -0,0 +1,12 @@
+bcr_test_module:
+ module_path: "."
+ matrix:
+ platform: ["debian10", "macos", "ubuntu2004"]
+ bazel: ["7.x"]
+ tasks:
+ run_tests:
+ name: "Run tests"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//..."
diff --git a/modules/aws-in-a-box/0.0.48/source.json b/modules/aws-in-a-box/0.0.48/source.json
new file mode 100644
index 0000000..2900378
--- /dev/null
+++ b/modules/aws-in-a-box/0.0.48/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-+g3y0x/9FT2Lvizlt1CRtP4hpHsv7xLdkF3ATv01nHI=",
+ "strip_prefix": "aws-in-a-box-0.0.48",
+ "url": "https://github.com/dzbarsky/aws-in-a-box/releases/download/v0.0.48/aws-in-a-box-v0.0.48.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-4vGLmIkgtUaIhCZfihpCDE0tfL/4y1NwaowXZPuNwIE="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/aws-in-a-box/metadata.json b/modules/aws-in-a-box/metadata.json
index 8e22aaf..25a5a5a 100644
--- a/modules/aws-in-a-box/metadata.json
+++ b/modules/aws-in-a-box/metadata.json
@@ -12,7 +12,8 @@
],
"versions": [
"0.0.43",
- "0.0.44"
+ "0.0.44",
+ "0.0.48"
],
"yanked_versions": {}
}
diff --git a/modules/bazel_features/1.4.1/MODULE.bazel b/modules/bazel_features/1.4.1/MODULE.bazel
new file mode 100644
index 0000000..0796d5c
--- /dev/null
+++ b/modules/bazel_features/1.4.1/MODULE.bazel
@@ -0,0 +1,16 @@
+module(
+ name = "bazel_features",
+ version = "1.4.1",
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+
+bazel_dep(
+ name = "stardoc",
+ version = "0.6.2",
+ dev_dependency = True,
+ repo_name = "io_bazel_stardoc",
+)
+
+version = use_extension("//private:extensions.bzl", "version_extension")
+use_repo(version, "bazel_features_globals", "bazel_features_version")
diff --git a/modules/bazel_features/1.4.1/patches/module_dot_bazel_version.patch b/modules/bazel_features/1.4.1/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..eac009e
--- /dev/null
+++ b/modules/bazel_features/1.4.1/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "bazel_features",
+- version = "0.0.0",
++ version = "1.4.1",
+ )
+
+ bazel_dep(name = "bazel_skylib", version = "1.5.0")
+
diff --git a/modules/bazel_features/1.4.1/presubmit.yml b/modules/bazel_features/1.4.1/presubmit.yml
new file mode 100644
index 0000000..fa049b6
--- /dev/null
+++ b/modules/bazel_features/1.4.1/presubmit.yml
@@ -0,0 +1,17 @@
+bcr_test_module:
+ module_path: test/bcr_test
+ matrix:
+ platform:
+ - centos7
+ - debian10
+ - ubuntu2004
+ - macos
+ - windows
+ bazel: [6.x, 7.x]
+ tasks:
+ run_test_module:
+ name: Run test module
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//..."
diff --git a/modules/bazel_features/1.4.1/source.json b/modules/bazel_features/1.4.1/source.json
new file mode 100644
index 0000000..8057f4d
--- /dev/null
+++ b/modules/bazel_features/1.4.1/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-DyPXXHYj1tuh/TBROpSGBEfeh8iCRXBSH8yWbtoxUcI=",
+ "strip_prefix": "bazel_features-1.4.1",
+ "url": "https://github.com/bazel-contrib/bazel_features/releases/download/v1.4.1/bazel_features-v1.4.1.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-O/VqYWbp8/cs7YxQ3xnhq2jLmfi3+I2muZtMJKyd2VI="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/bazel_features/1.5.0/MODULE.bazel b/modules/bazel_features/1.5.0/MODULE.bazel
new file mode 100644
index 0000000..4dc8977
--- /dev/null
+++ b/modules/bazel_features/1.5.0/MODULE.bazel
@@ -0,0 +1,16 @@
+module(
+ name = "bazel_features",
+ version = "1.5.0",
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+
+bazel_dep(
+ name = "stardoc",
+ version = "0.6.2",
+ dev_dependency = True,
+ repo_name = "io_bazel_stardoc",
+)
+
+version = use_extension("//private:extensions.bzl", "version_extension")
+use_repo(version, "bazel_features_globals", "bazel_features_version")
diff --git a/modules/bazel_features/1.5.0/patches/module_dot_bazel_version.patch b/modules/bazel_features/1.5.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..4eb6269
--- /dev/null
+++ b/modules/bazel_features/1.5.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "bazel_features",
+- version = "0.0.0",
++ version = "1.5.0",
+ )
+
+ bazel_dep(name = "bazel_skylib", version = "1.5.0")
+
diff --git a/modules/bazel_features/1.5.0/presubmit.yml b/modules/bazel_features/1.5.0/presubmit.yml
new file mode 100644
index 0000000..fa049b6
--- /dev/null
+++ b/modules/bazel_features/1.5.0/presubmit.yml
@@ -0,0 +1,17 @@
+bcr_test_module:
+ module_path: test/bcr_test
+ matrix:
+ platform:
+ - centos7
+ - debian10
+ - ubuntu2004
+ - macos
+ - windows
+ bazel: [6.x, 7.x]
+ tasks:
+ run_test_module:
+ name: Run test module
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//..."
diff --git a/modules/bazel_features/1.5.0/source.json b/modules/bazel_features/1.5.0/source.json
new file mode 100644
index 0000000..eb0671b
--- /dev/null
+++ b/modules/bazel_features/1.5.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-6RWOO24ssrdXOQeL9PTTD2kxuTGvXzdCBslz12bGdq0=",
+ "strip_prefix": "bazel_features-1.5.0",
+ "url": "https://github.com/bazel-contrib/bazel_features/releases/download/v1.5.0/bazel_features-v1.5.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-bzItN2iUMHFhxZiuMeNb8mt3RNlYvJ9tQG8x7gwBBWw="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/bazel_features/metadata.json b/modules/bazel_features/metadata.json
index 9e3ab70..658231c 100644
--- a/modules/bazel_features/metadata.json
+++ b/modules/bazel_features/metadata.json
@@ -27,7 +27,9 @@
"1.1.0",
"1.1.1",
"1.2.0",
- "1.3.0"
+ "1.3.0",
+ "1.4.1",
+ "1.5.0"
],
"yanked_versions": {}
}
diff --git a/modules/blake3/metadata.json b/modules/blake3/metadata.json
index aa9f4b1..f27b6cf 100644
--- a/modules/blake3/metadata.json
+++ b/modules/blake3/metadata.json
@@ -1,12 +1,17 @@
{
- "homepage": "https://github.com/BLAKE3-team/BLAKE3",
- "maintainers": [],
- "repository": [
- "github:BLAKE3-team/BLAKE3"
- ],
- "versions": [
- "1.3.3",
- "1.3.3.bcr.1"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/BLAKE3-team/BLAKE3",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:BLAKE3-team/BLAKE3"
+ ],
+ "versions": [
+ "1.3.3",
+ "1.3.3.bcr.1"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/blaze-math/metadata.json b/modules/blaze-math/metadata.json
index 6bddff8..2b67611 100644
--- a/modules/blaze-math/metadata.json
+++ b/modules/blaze-math/metadata.json
@@ -1,9 +1,14 @@
{
- "homepage": "https://bitbucket.org/blaze-lib/blaze",
- "maintainers": [],
- "repository": [],
- "versions": [
- "3.8.2"
- ],
- "yanked_versions": {}
+ "homepage": "https://bitbucket.org/blaze-lib/blaze",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [],
+ "versions": [
+ "3.8.2"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/boringssl/0.0.0-20240126-22d349c/MODULE.bazel b/modules/boringssl/0.0.0-20240126-22d349c/MODULE.bazel
new file mode 100644
index 0000000..1a07310
--- /dev/null
+++ b/modules/boringssl/0.0.0-20240126-22d349c/MODULE.bazel
@@ -0,0 +1,7 @@
+module(
+ name = "boringssl",
+ version = "0.0.0-20240126-22d349c",
+ compatibility_level = 2,
+)
+bazel_dep(name = "rules_cc", version = "0.0.9")
+bazel_dep(name = "platforms", version = "0.0.8")
diff --git a/modules/boringssl/0.0.0-20240126-22d349c/patches/module_dot_bazel.patch b/modules/boringssl/0.0.0-20240126-22d349c/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..370b8db
--- /dev/null
+++ b/modules/boringssl/0.0.0-20240126-22d349c/patches/module_dot_bazel.patch
@@ -0,0 +1,10 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -0,0 +1,7 @@
++module(
++ name = "boringssl",
++ version = "0.0.0-20240126-22d349c",
++ compatibility_level = 2,
++)
++bazel_dep(name = "rules_cc", version = "0.0.9")
++bazel_dep(name = "platforms", version = "0.0.8")
diff --git a/modules/boringssl/0.0.0-20240126-22d349c/presubmit.yml b/modules/boringssl/0.0.0-20240126-22d349c/presubmit.yml
new file mode 100644
index 0000000..71ca6b0
--- /dev/null
+++ b/modules/boringssl/0.0.0-20240126-22d349c/presubmit.yml
@@ -0,0 +1,24 @@
+build_targets: &build_targets
+ - "@boringssl//:crypto"
+ - "@boringssl//:ssl"
+
+matrix:
+ platform:
+ - centos7_java11_devtoolset10
+ - debian11
+ - ubuntu2204
+ - windows
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets: *build_targets
+ # Work around https://github.com/bazelbuild/bazel/issues/10472
+ verify_targets_on_macos:
+ name: Verify build targets on macOS
+ platform: macos
+ bazel: ${{ bazel }}
+ build_targets: *build_targets
+ build_flags: [--sandbox_block_path=/usr/local]
diff --git a/modules/boringssl/0.0.0-20240126-22d349c/source.json b/modules/boringssl/0.0.0-20240126-22d349c/source.json
new file mode 100644
index 0000000..53b29d8
--- /dev/null
+++ b/modules/boringssl/0.0.0-20240126-22d349c/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-rMEdcuN6QX90hSzHXUCE7HEhcnwBvR6bVSUjHJsDwnc=",
+ "strip_prefix": "boringssl-22d349c4596e81425ec88f82fab47063a9a2bac6",
+ "url": "https://github.com/google/boringssl/archive/22d349c4596e81425ec88f82fab47063a9a2bac6.tar.gz",
+ "patch_strip": 0,
+ "patches": {
+ "module_dot_bazel.patch": "sha256-vLc6oUB/XI3PtPUx1z0U5e+l6BEuz3IeRW7wR8Omp14="
+ }
+}
diff --git a/modules/boringssl/metadata.json b/modules/boringssl/metadata.json
index 538dd8d..b453c80 100644
--- a/modules/boringssl/metadata.json
+++ b/modules/boringssl/metadata.json
@@ -1,12 +1,18 @@
{
- "homepage": "https://github.com/google/boringssl",
- "maintainers": [],
- "repository": [
- "github:google/boringssl"
- ],
- "versions": [
- "0.0.0-20211025-d4f1ab9",
- "0.0.0-20230215-5c22014"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/google/boringssl",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:google/boringssl"
+ ],
+ "versions": [
+ "0.0.0-20211025-d4f1ab9",
+ "0.0.0-20230215-5c22014",
+ "0.0.0-20240126-22d349c"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/buildozer/6.4.0.2/MODULE.bazel b/modules/buildozer/6.4.0.2/MODULE.bazel
new file mode 100644
index 0000000..4eb05a8
--- /dev/null
+++ b/modules/buildozer/6.4.0.2/MODULE.bazel
@@ -0,0 +1,20 @@
+module(
+ name = "buildozer",
+ version = "6.4.0.2",
+ bazel_compatibility = [">=6.2.0"],
+)
+
+buildozer_binary = use_extension("//:buildozer_binary.bzl", "buildozer_binary")
+buildozer_binary.buildozer(
+ sha256 = {
+ "darwin-amd64": "d29e347ecd6b5673d72cb1a8de05bf1b06178dd229ff5eb67fad5100c840cc8e",
+ "darwin-arm64": "9b9e71bdbec5e7223871e913b65d12f6d8fa026684daf991f00e52ed36a6978d",
+ "linux-amd64": "8dfd6345da4e9042daa738d7fdf34f699c5dfce4632f7207956fceedd8494119",
+ "linux-arm64": "6559558fded658c8fa7432a9d011f7c4dcbac6b738feae73d2d5c352e5f605fa",
+ "windows-amd64": "e7f05bf847f7c3689dd28926460ce6e1097ae97380ac8e6ae7147b7b706ba19b",
+ },
+ version = "6.4.0",
+)
+use_repo(buildozer_binary, "buildozer_binary")
+
+bazel_dep(name = "platforms", version = "0.0.7", dev_dependency = True)
diff --git a/modules/buildozer/6.4.0.2/patches/module_dot_bazel_version.patch b/modules/buildozer/6.4.0.2/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..d6ab815
--- /dev/null
+++ b/modules/buildozer/6.4.0.2/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "buildozer",
+- version = "0.0.0",
++ version = "6.4.0.2",
+ bazel_compatibility = [">=6.2.0"],
+ )
+
+ buildozer_binary = use_extension("//:buildozer_binary.bzl", "buildozer_binary")
diff --git a/modules/buildozer/6.4.0.2/presubmit.yml b/modules/buildozer/6.4.0.2/presubmit.yml
new file mode 100644
index 0000000..8d45d45
--- /dev/null
+++ b/modules/buildozer/6.4.0.2/presubmit.yml
@@ -0,0 +1,24 @@
+bcr_test_module:
+ module_path: tests/bcr
+ matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ - windows
+ bazel: [6.x, 7.x]
+ tasks:
+ run_test_module:
+ name: Run test module
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ batch_commands:
+ # Workaround for https://github.com/bazelbuild/bazel/issues/3268
+ - echo bazel-bcr/>> .bazelignore
+ run_targets:
+ - //:run_buildozer
+ build_targets:
+ - //...
+ test_targets:
+ - //...
diff --git a/modules/buildozer/6.4.0.2/source.json b/modules/buildozer/6.4.0.2/source.json
new file mode 100644
index 0000000..d1752c1
--- /dev/null
+++ b/modules/buildozer/6.4.0.2/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-k7tFKQMR2AygxpmZfH0yEPnQmF3efFgD9rBPkj+Yz/8=",
+ "strip_prefix": "buildozer-6.4.0.2",
+ "url": "https://github.com/fmeum/buildozer/releases/download/v6.4.0.2/buildozer-v6.4.0.2.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-gKANF2HMilj7bWmuXs4lbBIAAansuWC4IhWGB/CerjU="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/buildozer/metadata.json b/modules/buildozer/metadata.json
index 4c65cac..db39f4d 100644
--- a/modules/buildozer/metadata.json
+++ b/modules/buildozer/metadata.json
@@ -11,7 +11,8 @@
"github:fmeum/buildozer"
],
"versions": [
- "6.4.0"
+ "6.4.0",
+ "6.4.0.2"
],
"yanked_versions": {}
}
diff --git a/modules/bzip2/metadata.json b/modules/bzip2/metadata.json
index 2b697aa..37767bf 100644
--- a/modules/bzip2/metadata.json
+++ b/modules/bzip2/metadata.json
@@ -1,8 +1,13 @@
{
- "homepage": "https://www.sourceware.org/bzip2/",
- "maintainers": [],
- "versions": [
- "1.0.8"
- ],
- "yanked_versions": {}
+ "homepage": "https://www.sourceware.org/bzip2/",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "versions": [
+ "1.0.8"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/bzlparty_tools/0.1.0/MODULE.bazel b/modules/bzlparty_tools/0.1.0/MODULE.bazel
new file mode 100644
index 0000000..410eca4
--- /dev/null
+++ b/modules/bzlparty_tools/0.1.0/MODULE.bazel
@@ -0,0 +1,6 @@
+module(
+ name = "bzlparty_tools",
+ version = "0.1.0",
+ compatibility_level = 1,
+)
+bazel_dep(name = "platforms", version = "0.0.8")
diff --git a/modules/bzlparty_tools/0.1.0/presubmit.yml b/modules/bzlparty_tools/0.1.0/presubmit.yml
new file mode 100644
index 0000000..39fe81b
--- /dev/null
+++ b/modules/bzlparty_tools/0.1.0/presubmit.yml
@@ -0,0 +1,20 @@
+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:
+ - '@bzlparty_tools//lib:github.bzl'
+ - '@bzlparty_tools//lib:platforms.bzl'
+ - '@bzlparty_tools//shasums:shasums'
+ - '@bzlparty_tools//platforms:host.bzl'
diff --git a/modules/bzlparty_tools/0.1.0/source.json b/modules/bzlparty_tools/0.1.0/source.json
new file mode 100644
index 0000000..c2bbf24
--- /dev/null
+++ b/modules/bzlparty_tools/0.1.0/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://github.com/bzlparty/tools/releases/download/v0.1.0/tools-v0.1.0.tar.gz",
+ "integrity": "sha256-RbrOehyJuMzjyGZqSKEUf/9vj0DH5hA3Z/NkVsnM/8s=",
+ "strip_prefix": "tools-0.1.0"
+}
diff --git a/modules/bzlparty_tools/0.2.0/MODULE.bazel b/modules/bzlparty_tools/0.2.0/MODULE.bazel
new file mode 100644
index 0000000..4654a06
--- /dev/null
+++ b/modules/bzlparty_tools/0.2.0/MODULE.bazel
@@ -0,0 +1,9 @@
+module(
+ name = "bzlparty_tools",
+ version = "0.2.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "platforms", version = "0.0.8")
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "aspect_bazel_lib", version = "2.3.0")
diff --git a/modules/bzlparty_tools/0.2.0/presubmit.yml b/modules/bzlparty_tools/0.2.0/presubmit.yml
new file mode 100644
index 0000000..e361fd9
--- /dev/null
+++ b/modules/bzlparty_tools/0.2.0/presubmit.yml
@@ -0,0 +1,22 @@
+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:
+ - '@bzlparty_tools//lib:github.bzl'
+ - '@bzlparty_tools//lib:platforms.bzl'
+ - '@bzlparty_tools//shasums:shasums'
+ - '@bzlparty_tools//platforms:host.bzl'
+ - '@bzlparty_tools//rules:diff.bzl'
+ - '@bzlparty_tools//git:tag'
diff --git a/modules/bzlparty_tools/0.2.0/source.json b/modules/bzlparty_tools/0.2.0/source.json
new file mode 100644
index 0000000..9cb579d
--- /dev/null
+++ b/modules/bzlparty_tools/0.2.0/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://github.com/bzlparty/tools/releases/download/v0.2.0/tools-v0.2.0.tar.gz",
+ "integrity": "sha256-czCvI/Qum/fnm78lPtEJYdByM8duQ0wxiODCHBraXFw=",
+ "strip_prefix": "tools-0.2.0"
+}
diff --git a/modules/bzlparty_tools/metadata.json b/modules/bzlparty_tools/metadata.json
new file mode 100644
index 0000000..a31a8aa
--- /dev/null
+++ b/modules/bzlparty_tools/metadata.json
@@ -0,0 +1,18 @@
+{
+ "homepage": "https://github.com/bzlparty/tools",
+ "maintainers": [
+ {
+ "email": "dev@mgred.dev",
+ "github": "mgred",
+ "name": "Marc Redemske"
+ }
+ ],
+ "repository": [
+ "github:bzlparty/tools"
+ ],
+ "versions": [
+ "0.1.0",
+ "0.2.0"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/c-ares/metadata.json b/modules/c-ares/metadata.json
index dc53273..b1c4ea1 100644
--- a/modules/c-ares/metadata.json
+++ b/modules/c-ares/metadata.json
@@ -1,12 +1,17 @@
{
- "homepage": "https://github.com/c-ares/c-ares",
- "maintainers": [],
- "repository": [
- "github:c-ares/c-ares"
- ],
- "versions": [
- "1.15.0",
- "1.16.1"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/c-ares/c-ares",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:c-ares/c-ares"
+ ],
+ "versions": [
+ "1.15.0",
+ "1.16.1"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/c-blosc2/2.12.0.bcr.1/MODULE.bazel b/modules/c-blosc2/2.12.0.bcr.1/MODULE.bazel
new file mode 100644
index 0000000..7a9477d
--- /dev/null
+++ b/modules/c-blosc2/2.12.0.bcr.1/MODULE.bazel
@@ -0,0 +1,10 @@
+module(
+ name = "c-blosc2",
+ version = "2.12.0.bcr.1",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "lz4", version = "1.9.4")
+bazel_dep(name = "platforms", version = "0.0.8")
+bazel_dep(name = "zlib-ng", version = "2.0.7")
+bazel_dep(name = "zstd", version = "1.5.5")
diff --git a/modules/c-blosc2/2.12.0.bcr.1/patches/add_build_file.patch b/modules/c-blosc2/2.12.0.bcr.1/patches/add_build_file.patch
new file mode 100644
index 0000000..934ce33
--- /dev/null
+++ b/modules/c-blosc2/2.12.0.bcr.1/patches/add_build_file.patch
@@ -0,0 +1,119 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,116 @@
++cc_library(
++ name = "c-blosc2",
++ srcs = [
++ "blosc/b2nd_utils.c",
++ "blosc/b2nd-private.h",
++ "blosc/b2nd.c",
++ "blosc/bitshuffle-avx2.c",
++ "blosc/bitshuffle-avx2.h",
++ "blosc/bitshuffle-generic.c",
++ "blosc/bitshuffle-generic.h",
++ "blosc/bitshuffle-sse2.c",
++ "blosc/bitshuffle-sse2.h",
++ "blosc/blosc-private.h",
++ "blosc/blosc2-stdio.c",
++ "blosc/blosc2.c",
++ "blosc/blosclz.c",
++ "blosc/blosclz.h",
++ "blosc/delta.c",
++ "blosc/directories.c",
++ "blosc/fastcopy.c",
++ "blosc/frame.c",
++ "blosc/frame.h",
++ "blosc/schunk-private.h",
++ "blosc/schunk.c",
++ "blosc/sframe.c",
++ "blosc/sframe.h",
++ "blosc/shuffle-avx2.c",
++ "blosc/shuffle-avx2.h",
++ "blosc/shuffle-generic.c",
++ "blosc/shuffle-generic.h",
++ "blosc/shuffle-sse2.c",
++ "blosc/shuffle-sse2.h",
++ "blosc/shuffle.c",
++ "blosc/shuffle.h",
++ "blosc/stune.c",
++ "blosc/timestamp.c",
++ "blosc/trunc-prec.c",
++ "plugins/codecs/codecs-registry.c",
++ "plugins/codecs/ndlz/ndlz-private.h",
++ "plugins/codecs/ndlz/ndlz.c",
++ "plugins/codecs/ndlz/ndlz.h",
++ "plugins/codecs/ndlz/ndlz4x4.c",
++ "plugins/codecs/ndlz/ndlz4x4.h",
++ "plugins/codecs/ndlz/ndlz8x8.c",
++ "plugins/codecs/ndlz/ndlz8x8.h",
++ "plugins/codecs/ndlz/xxhash.c",
++ "plugins/codecs/ndlz/xxhash.h",
++ "plugins/codecs/zfp/blosc2-zfp.c",
++ "plugins/codecs/zfp/src/bitstream.c",
++ "plugins/codecs/zfp/src/zfp.c",
++ "plugins/codecs/zfp/zfp-private.h",
++ "plugins/filters/bytedelta/bytedelta.c",
++ "plugins/filters/filters-registry.c",
++ "plugins/filters/ndcell/ndcell.c",
++ "plugins/filters/ndcell/ndcell.h",
++ "plugins/filters/ndmean/ndmean.c",
++ "plugins/filters/ndmean/ndmean.h",
++ "plugins/plugin_utils.c",
++ "plugins/plugin_utils.h",
++ "plugins/tuners/tuners-registry.c",
++ "plugins/codecs/zfp/src/template/template.h",
++ "plugins/filters/bytedelta/bytedelta.h",
++ ],
++ hdrs = [
++ "blosc/context.h",
++ "blosc/delta.h",
++ "blosc/fastcopy.h",
++ "blosc/stune.h",
++ "blosc/trunc-prec.h",
++ "internal-complibs/lz4-1.9.4/lz4.c",
++ "plugins/codecs/zfp/blosc2-zfp.h",
++ "plugins/codecs/zfp/include",
++ ] + glob([
++ "include/**/*.h",
++ ]),
++ copts = select({
++ "@platforms//os:linux": [
++ "-msse4.1",
++ ],
++ "//conditions:default": [
++ ],
++ }),
++ includes = [
++ "blosc",
++ "include",
++ "internal-complibs/lz4-1.9.4",
++ "internal-complibs/zlib-ng-2.0.7",
++ "plugins/codecs",
++ "plugins/codecs/ndlz",
++ "plugins/codecs/zfp/include",
++ "plugins/codecs/zfp/src",
++ ],
++ textual_hdrs = [
++ "plugins/codecs/zfp/src/decode3l.c",
++ "plugins/codecs/zfp/src/encode1f.c",
++ "plugins/codecs/zfp/src/encode1d.c",
++ "plugins/codecs/zfp/src/decode4f.c",
++ "plugins/codecs/zfp/src/decode4l.c",
++ "plugins/codecs/zfp/src/encode1i.c",
++ "plugins/codecs/zfp/src/decode4d.c",
++ "plugins/codecs/zfp/src/decode3f.c",
++ "plugins/codecs/zfp/src/decode4i.c",
++ "plugins/codecs/zfp/src/inline/bitstream.c",
++ "plugins/codecs/zfp/src/share/parallel.c",
++ "plugins/codecs/zfp/src/share/omp.c",
++ "plugins/codecs/zfp/src/template/compress.c",
++ "plugins/codecs/zfp/src/template/decompress.c",
++ "plugins/codecs/zfp/src/template/ompcompress.c",
++ ],
++ visibility = ["//visibility:public"],
++ deps = [
++ "@lz4//:lz4_hc",
++ "@zlib-ng//:zlib-ng",
++ "@zstd",
++ ],
++)
diff --git a/modules/c-blosc2/2.12.0.bcr.1/patches/add_module_dot_bazel.patch b/modules/c-blosc2/2.12.0.bcr.1/patches/add_module_dot_bazel.patch
new file mode 100644
index 0000000..fce5443
--- /dev/null
+++ b/modules/c-blosc2/2.12.0.bcr.1/patches/add_module_dot_bazel.patch
@@ -0,0 +1,13 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -0,0 +1,10 @@
++module(
++ name = "c-blosc2",
++ version = "2.12.0.bcr.1",
++ compatibility_level = 1,
++)
++
++bazel_dep(name = "lz4", version = "1.9.4")
++bazel_dep(name = "platforms", version = "0.0.8")
++bazel_dep(name = "zlib-ng", version = "2.0.7")
++bazel_dep(name = "zstd", version = "1.5.5")
diff --git a/modules/c-blosc2/2.12.0.bcr.1/presubmit.yml b/modules/c-blosc2/2.12.0.bcr.1/presubmit.yml
new file mode 100644
index 0000000..d512df4
--- /dev/null
+++ b/modules/c-blosc2/2.12.0.bcr.1/presubmit.yml
@@ -0,0 +1,13 @@
+matrix:
+ platform:
+ - ubuntu2004
+ - macos
+ - windows
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@c-blosc2//:c-blosc2'
diff --git a/modules/c-blosc2/2.12.0.bcr.1/source.json b/modules/c-blosc2/2.12.0.bcr.1/source.json
new file mode 100644
index 0000000..1bda0e5
--- /dev/null
+++ b/modules/c-blosc2/2.12.0.bcr.1/source.json
@@ -0,0 +1,10 @@
+{
+ "integrity": "sha256-uPoHqwYnwZ+2UuCKWtoZfrCTm3Xpfi+3a77hRertxuk=",
+ "patch_strip": 0,
+ "patches": {
+ "add_build_file.patch": "sha256-PTaH5OllNorenDRvaON38L1DkYKPeIs9aupI40qs85c=",
+ "add_module_dot_bazel.patch": "sha256-Xf1v8vz+RtK9epDzNuxAOqGaZHYWzt3wwjM3K/ifl3w="
+ },
+ "strip_prefix": "c-blosc2-2.12.0",
+ "url": "https://github.com/Blosc/c-blosc2/archive/refs/tags/v2.12.0.tar.gz"
+}
diff --git a/modules/c-blosc2/metadata.json b/modules/c-blosc2/metadata.json
index 8574272..fdcd369 100644
--- a/modules/c-blosc2/metadata.json
+++ b/modules/c-blosc2/metadata.json
@@ -11,7 +11,8 @@
"github:Blosc/c-blosc2"
],
"versions": [
- "2.12.0"
+ "2.12.0",
+ "2.12.0.bcr.1"
],
"yanked_versions": {}
}
diff --git a/modules/cdt/1.4.0/MODULE.bazel b/modules/cdt/1.4.0/MODULE.bazel
new file mode 100644
index 0000000..db811b1
--- /dev/null
+++ b/modules/cdt/1.4.0/MODULE.bazel
@@ -0,0 +1,5 @@
+module(
+ name = "cdt",
+ version = "1.4.0",
+ compatibility_level = 1,
+)
diff --git a/modules/cdt/1.4.0/patches/add_build_file.patch b/modules/cdt/1.4.0/patches/add_build_file.patch
new file mode 100644
index 0000000..0367e71
--- /dev/null
+++ b/modules/cdt/1.4.0/patches/add_build_file.patch
@@ -0,0 +1,12 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,9 @@
++cc_library(
++ name = "cdt",
++ srcs = ["CDT/src/CDT.cpp"],
++ includes = ['CDT/include'],
++ hdrs = glob(['CDT/include/**']),
++ visibility = ["//visibility:public"],
++ strip_include_prefix = "CDT/include",
++ include_prefix = "CDT",
++)
diff --git a/modules/cdt/1.4.0/patches/add_module_dot_bazel.patch b/modules/cdt/1.4.0/patches/add_module_dot_bazel.patch
new file mode 100644
index 0000000..97e5a37
--- /dev/null
+++ b/modules/cdt/1.4.0/patches/add_module_dot_bazel.patch
@@ -0,0 +1,8 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -0,0 +1,5 @@
++module(
++ name = "cdt",
++ version = "1.4.0",
++ compatibility_level = 1,
++)
diff --git a/modules/cdt/1.4.0/presubmit.yml b/modules/cdt/1.4.0/presubmit.yml
new file mode 100644
index 0000000..3fa7a61
--- /dev/null
+++ b/modules/cdt/1.4.0/presubmit.yml
@@ -0,0 +1,14 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - windows
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@cdt//:cdt'
diff --git a/modules/cdt/1.4.0/source.json b/modules/cdt/1.4.0/source.json
new file mode 100644
index 0000000..eba8457
--- /dev/null
+++ b/modules/cdt/1.4.0/source.json
@@ -0,0 +1,10 @@
+{
+ "integrity": "sha256-y1qVo5tBf1pNFwx+vpcjLQ7TbqZAaTObFJZN1S3qlas=",
+ "patch_strip": 0,
+ "patches": {
+ "add_build_file.patch": "sha256-3nrflojLAliQS1TinyN2kylIaqWmZbCQFob5qpyIqf4=",
+ "add_module_dot_bazel.patch": "sha256-TDNy2I8FvE1sXfGbu4zuyX4d9tg1wqOWGfwj2M4eT+8="
+ },
+ "strip_prefix": "CDT-1.4.0",
+ "url": "https://github.com/artem-ogre/CDT/archive/refs/tags/1.4.0.tar.gz"
+}
diff --git a/modules/cdt/metadata.json b/modules/cdt/metadata.json
new file mode 100644
index 0000000..30b3bc7
--- /dev/null
+++ b/modules/cdt/metadata.json
@@ -0,0 +1,17 @@
+{
+ "homepage": "https://github.com/artem-ogre/CDT",
+ "maintainers": [
+ {
+ "email": "",
+ "github": "phaedon",
+ "name": "Phaedon Sinis"
+ }
+ ],
+ "repository": [
+ "github:artem-ogre/CDT"
+ ],
+ "versions": [
+ "1.4.0"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/circl/metadata.json b/modules/circl/metadata.json
index b9a48df..d4bfa37 100644
--- a/modules/circl/metadata.json
+++ b/modules/circl/metadata.json
@@ -1,10 +1,15 @@
{
- "homepage": "https://github.com/cloudflare/circl",
- "maintainers": [],
- "repository": [],
- "versions": [
- "1.3.3",
- "1.3.7"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/cloudflare/circl",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [],
+ "versions": [
+ "1.3.3",
+ "1.3.7"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/cmake_configure_file/0.1.0/MODULE.bazel b/modules/cmake_configure_file/0.1.0/MODULE.bazel
new file mode 100644
index 0000000..7e0c8ca
--- /dev/null
+++ b/modules/cmake_configure_file/0.1.0/MODULE.bazel
@@ -0,0 +1,3 @@
+module(name = "cmake_configure_file", version = "0.1.0")
+
+bazel_dep(name = "platforms", version = "0.0.8")
diff --git a/modules/cmake_configure_file/0.1.0/presubmit.yml b/modules/cmake_configure_file/0.1.0/presubmit.yml
new file mode 100644
index 0000000..8a37e42
--- /dev/null
+++ b/modules/cmake_configure_file/0.1.0/presubmit.yml
@@ -0,0 +1,17 @@
+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:
+ - '@cmake_configure_file'
diff --git a/modules/cmake_configure_file/0.1.0/source.json b/modules/cmake_configure_file/0.1.0/source.json
new file mode 100644
index 0000000..0c67605
--- /dev/null
+++ b/modules/cmake_configure_file/0.1.0/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://github.com/wep21/cmake_configure_file/releases/download/v0.1.0/cmake_configure_file_v0.1.0.tar.gz",
+ "strip_prefix": "cmake_configure_file-0.1.0",
+ "integrity": "sha256-3jNs7rMqmwfWHsVuB8Z77vv0HXHNUiJWTr61kWJcXoQ="
+}
diff --git a/modules/cmake_configure_file/metadata.json b/modules/cmake_configure_file/metadata.json
new file mode 100644
index 0000000..d2d6872
--- /dev/null
+++ b/modules/cmake_configure_file/metadata.json
@@ -0,0 +1,17 @@
+{
+ "homepage": "https://github.com/wep21/cmake_configure_file",
+ "maintainers": [
+ {
+ "email": "daisuke.nishimatsu1021@gmail.com",
+ "github": "wep21",
+ "name": "Daisuke Nishimatsu"
+ }
+ ],
+ "repository": [
+ "github:wep21/cmake_configure_file"
+ ],
+ "versions": [
+ "0.1.0"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/contrib_rules_jvm/0.24.0/MODULE.bazel b/modules/contrib_rules_jvm/0.24.0/MODULE.bazel
new file mode 100644
index 0000000..e1a5231
--- /dev/null
+++ b/modules/contrib_rules_jvm/0.24.0/MODULE.bazel
@@ -0,0 +1,254 @@
+module(
+ name = "contrib_rules_jvm",
+ version = "0.24.0",
+ repo_name = "contrib_rules_jvm",
+)
+
+# TODO: This should be read from repositories.bzl, but we can't until this issue is solved:
+# - https://github.com/bazelbuild/bazel/issues/17880
+PROTOBUF_VERSION = "21.7"
+
+# The java packages are published to maven under a different versioning scheme.
+PROTOBUF_JAVA_VERSION = "3.{}".format(PROTOBUF_VERSION)
+
+bazel_dep(
+ name = "apple_rules_lint",
+ version = "0.3.2",
+)
+bazel_dep(
+ name = "bazel_skylib",
+ version = "1.4.2",
+)
+
+bazel_dep(
+ name = "bazel_skylib_gazelle_plugin",
+ version = "1.4.2",
+ dev_dependency = True,
+)
+
+bazel_dep(
+ name = "gazelle",
+ version = "0.34.0",
+ repo_name = "bazel_gazelle",
+)
+bazel_dep(
+ name = "protobuf",
+ version = PROTOBUF_VERSION,
+ repo_name = "com_google_protobuf",
+)
+bazel_dep(
+ name = "rules_cc",
+ version = "0.0.9",
+)
+bazel_dep(
+ name = "rules_go",
+ version = "0.43.0",
+ repo_name = "io_bazel_rules_go",
+)
+bazel_dep(
+ name = "rules_java",
+ version = "6.1.1",
+)
+bazel_dep(
+ name = "rules_jvm_external",
+ version = "5.3",
+)
+bazel_dep(
+ name = "rules_proto",
+ version = "5.3.0-{}".format(PROTOBUF_VERSION),
+)
+
+bazel_dep(
+ name = "stardoc",
+ version = "0.5.6",
+ dev_dependency = True,
+ repo_name = "io_bazel_stardoc",
+)
+
+non_module_deps = use_extension("//java/private:non-module-deps.bzl", "non_module_deps")
+use_repo(
+ non_module_deps,
+ "io_grpc_grpc_java",
+)
+
+linter = use_extension("@apple_rules_lint//lint:extensions.bzl", "linter")
+linter.register(name = "java-checkstyle")
+linter.configure(
+ name = "java-checkstyle",
+ config = "//java:checkstyle-default-config",
+)
+linter.register(name = "java-pmd")
+linter.configure(
+ name = "java-pmd",
+ config = "//java:pmd-config",
+)
+linter.register(name = "java-spotbugs")
+linter.configure(
+ name = "java-spotbugs",
+ config = "//java:spotbugs-default-config",
+)
+use_repo(
+ linter,
+ "apple_linters",
+)
+
+maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
+
+IO_GRPC_GRPC_JAVA_ARTIFACTS = [
+ "com.google.android:annotations:4.1.1.4",
+ "com.google.api.grpc:proto-google-common-protos:2.9.0",
+ "com.google.auth:google-auth-library-credentials:0.22.0",
+ "com.google.auth:google-auth-library-oauth2-http:0.22.0",
+ "com.google.auto.value:auto-value-annotations:1.9",
+ "com.google.auto.value:auto-value:1.9",
+ "com.google.code.findbugs:jsr305:3.0.2",
+ "com.google.code.gson:gson:2.9.0",
+ "com.google.errorprone:error_prone_annotations:2.9.0",
+ "com.google.guava:failureaccess:1.0.1",
+ "com.google.guava:guava:31.0.1-android",
+ "com.google.j2objc:j2objc-annotations:1.3",
+ "com.google.re2j:re2j:1.6",
+ "com.google.truth:truth:1.0.1",
+ "com.squareup.okhttp:okhttp:2.7.5",
+ "com.squareup.okio:okio:1.17.5",
+ "io.netty:netty-buffer:4.1.87.Final",
+ "io.netty:netty-codec-http2:4.1.87.Final",
+ "io.netty:netty-codec-http:4.1.87.Final",
+ "io.netty:netty-codec-socks:4.1.87.Final",
+ "io.netty:netty-codec:4.1.87.Final",
+ "io.netty:netty-common:4.1.87.Final",
+ "io.netty:netty-handler-proxy:4.1.87.Final",
+ "io.netty:netty-handler:4.1.87.Final",
+ "io.netty:netty-resolver:4.1.87.Final",
+ "io.netty:netty-tcnative-boringssl-static:2.0.56.Final",
+ "io.netty:netty-tcnative-classes:2.0.56.Final",
+ "io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.87.Final",
+ "io.netty:netty-transport-native-unix-common:4.1.87.Final",
+ "io.netty:netty-transport:4.1.87.Final",
+ "io.opencensus:opencensus-api:0.24.0",
+ "io.opencensus:opencensus-contrib-grpc-metrics:0.24.0",
+ "io.perfmark:perfmark-api:0.25.0",
+ "junit:junit:4.12",
+ "org.apache.tomcat:annotations-api:6.0.53",
+ "org.codehaus.mojo:animal-sniffer-annotations:1.21",
+]
+
+maven.install(
+ name = "contrib_rules_jvm_deps",
+ artifacts = [
+ "com.google.code.findbugs:jsr305:3.0.2",
+ "com.google.errorprone:error_prone_annotations:2.11.0",
+ "com.google.guava:guava:30.1.1-jre",
+ "commons-cli:commons-cli:1.5.0",
+ "io.grpc:grpc-api:1.40.0",
+ "io.grpc:grpc-core:1.40.0",
+ "io.grpc:grpc-netty:1.40.0",
+ "io.grpc:grpc-services:1.40.0",
+ "io.grpc:grpc-stub:1.40.0",
+ "org.slf4j:slf4j-simple:1.7.32",
+ "com.google.googlejavaformat:google-java-format:1.15.0",
+
+ # These can be versioned independently of the versions in `repositories.bzl`
+ # so long as the version numbers are higher.
+ "org.junit.jupiter:junit-jupiter-engine:5.8.2",
+ "org.junit.jupiter:junit-jupiter-api:5.8.2",
+ "org.junit.platform:junit-platform-launcher:1.8.2",
+ "org.junit.platform:junit-platform-reporting:1.8.2",
+ "org.junit.vintage:junit-vintage-engine:5.8.2",
+
+ # Open Test Alliance for the JVM dep
+ "org.opentest4j:opentest4j:1.2.0",
+
+ # Checkstyle deps
+ "com.puppycrawl.tools:checkstyle:10.2",
+
+ # PMD deps
+ "net.sourceforge.pmd:pmd-dist:6.46.0",
+
+ # Spotbugs deps
+ "org.slf4j:slf4j-api:1.7.32",
+ "org.slf4j:slf4j-jdk14:1.7.32",
+
+ # We explicitly declare a protobuf runtime version
+ # so that it coincides with the one we use to generate the code.
+ "com.google.protobuf:protobuf-java:{}".format(PROTOBUF_JAVA_VERSION),
+ ] + IO_GRPC_GRPC_JAVA_ARTIFACTS,
+ fail_if_repin_required = True,
+ generate_compat_repositories = True,
+ strict_visibility = False,
+)
+
+# Spotbugs deps
+# We don't want to force people to use 1.8-beta
+# but we can't use the `maven` macros because
+# we've not loaded rules yet. Fortunately, the
+# expansion is easy :)
+maven.artifact(
+ name = "contrib_rules_jvm_deps",
+ artifact = "spotbugs",
+ exclusions = ["org.slf4j:slf4j-api"],
+ group = "com.github.spotbugs",
+ version = "4.7.0",
+)
+use_repo(
+ maven,
+ "com_google_api_grpc_proto_google_common_protos",
+ "com_google_code_findbugs_jsr305",
+ "com_google_errorprone_error_prone_annotations",
+ "com_google_guava_failureaccess",
+ "com_google_guava_guava",
+ "com_google_j2objc_j2objc_annotations",
+ "contrib_rules_jvm_deps",
+ "org_apache_tomcat_annotations_api",
+)
+
+dev_maven = use_extension(
+ "@rules_jvm_external//:extensions.bzl",
+ "maven",
+ dev_dependency = True,
+)
+dev_maven.install(
+ name = "contrib_rules_jvm_tests",
+ artifacts = [
+ # These can be versioned independently of the versions in `repositories.bzl`
+ # so long as the version numbers are higher.
+ "org.junit.jupiter:junit-jupiter-engine:5.8.2",
+ "org.junit.jupiter:junit-jupiter-api:5.8.2",
+ "org.junit.jupiter:junit-jupiter-params:5.8.2",
+ "org.junit.platform:junit-platform-launcher:1.8.2",
+ "org.junit.platform:junit-platform-reporting:1.8.2",
+ "org.junit.platform:junit-platform-suite:1.8.2",
+ "org.junit.platform:junit-platform-suite-api:1.8.2",
+ "org.junit.platform:junit-platform-suite-engine:1.8.2",
+ "org.junit.vintage:junit-vintage-engine:5.8.2",
+ "org.mockito:mockito-core:4.8.1",
+ ],
+ fail_if_repin_required = True,
+ fetch_sources = True,
+)
+use_repo(
+ dev_maven,
+ "contrib_rules_jvm_tests",
+)
+
+go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
+go_sdk.download(version = "1.21.5")
+
+go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
+go_deps.from_file(go_mod = "//:go.mod")
+use_repo(
+ go_deps,
+ "com_github_aristanetworks_goarista",
+ "com_github_bazelbuild_buildtools",
+ "com_github_google_btree",
+ "com_github_google_go_cmp",
+ "com_github_google_uuid",
+ "com_github_hashicorp_golang_lru",
+ "com_github_rs_zerolog",
+ "com_github_sergi_go_diff",
+ "com_github_stretchr_testify",
+ "net_starlark_go",
+ "org_golang_google_grpc",
+ "org_golang_x_tools",
+ "org_golang_x_tools_go_vcs",
+)
diff --git a/modules/contrib_rules_jvm/0.24.0/patches/module_dot_bazel_version.patch b/modules/contrib_rules_jvm/0.24.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..44493bd
--- /dev/null
+++ b/modules/contrib_rules_jvm/0.24.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "contrib_rules_jvm",
+- version = "0.18.0",
++ version = "0.24.0",
+ repo_name = "contrib_rules_jvm",
+ )
+
+ # TODO: This should be read from repositories.bzl, but we can't until this issue is solved:
diff --git a/modules/contrib_rules_jvm/0.24.0/presubmit.yml b/modules/contrib_rules_jvm/0.24.0/presubmit.yml
new file mode 100644
index 0000000..5a79d1d
--- /dev/null
+++ b/modules/contrib_rules_jvm/0.24.0/presubmit.yml
@@ -0,0 +1,19 @@
+bcr_test_module:
+ module_path: ""
+ matrix:
+ platform: ["debian10", "macos", "ubuntu2004"]
+ tasks:
+ gazelle:
+ working_directory: "examples/gazelle"
+ name: "Gazelle"
+ platform: ${{ platform }}
+ run_targets:
+ - "//:gazelle"
+ test_targets:
+ - "//..."
+ tests_and_lints:
+ working_directory: "examples/tests_and_lints"
+ name: "Tests and lints"
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/contrib_rules_jvm/0.24.0/source.json b/modules/contrib_rules_jvm/0.24.0/source.json
new file mode 100644
index 0000000..63039e1
--- /dev/null
+++ b/modules/contrib_rules_jvm/0.24.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-JBLiK8HrnTperhUYDzBBQPGq0/gYTb2ZyEX6/eCWRVk=",
+ "strip_prefix": "rules_jvm-0.24.0",
+ "url": "https://github.com/bazel-contrib/rules_jvm/releases/download/v0.24.0/rules_jvm-v0.24.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-MUoTfIEZDOl8MY9az4nJtTpZfslKa4y2M0L8TkVqnns="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/contrib_rules_jvm/metadata.json b/modules/contrib_rules_jvm/metadata.json
index 196afc5..f1365cc 100644
--- a/modules/contrib_rules_jvm/metadata.json
+++ b/modules/contrib_rules_jvm/metadata.json
@@ -25,7 +25,8 @@
"0.18.0",
"0.21.4",
"0.22.0",
- "0.23.0"
+ "0.23.0",
+ "0.24.0"
],
"yanked_versions": {}
}
diff --git a/modules/cpplint/1.6.1/MODULE.bazel b/modules/cpplint/1.6.1/MODULE.bazel
new file mode 100644
index 0000000..d5d779f
--- /dev/null
+++ b/modules/cpplint/1.6.1/MODULE.bazel
@@ -0,0 +1,3 @@
+module(name = "cpplint", version = "1.6.1")
+
+bazel_dep(name = "rules_python", version = "0.31.0")
diff --git a/modules/cpplint/1.6.1/patches/add_build_file.patch b/modules/cpplint/1.6.1/patches/add_build_file.patch
new file mode 100644
index 0000000..c60f954
--- /dev/null
+++ b/modules/cpplint/1.6.1/patches/add_build_file.patch
@@ -0,0 +1,19 @@
+diff --git BUILD.bazel BUILD.bazel
+new file mode 100644
+index 0000000..93b1562
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,13 @@
++load("@rules_python//python:defs.bzl", "py_binary")
++
++package(default_visibility = ["//visibility:public"])
++
++licenses(["notice"])
++
++py_binary(
++ name = "cpplint",
++ srcs = ["cpplint.py"],
++ imports = ["cpplint"],
++ main = "cpplint.py",
++ visibility = ["//visibility:public"],
++)
diff --git a/modules/cpplint/1.6.1/patches/module_dot_bazel.patch b/modules/cpplint/1.6.1/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..46e6efc
--- /dev/null
+++ b/modules/cpplint/1.6.1/patches/module_dot_bazel.patch
@@ -0,0 +1,9 @@
+diff --git MODULE.bazel MODULE.bazel
+new file mode 100644
+index 0000000..d5d779f
+--- /dev/null
++++ MODULE.bazel
+@@ -0,0 +1,3 @@
++module(name = "cpplint", version = "1.6.1")
++
++bazel_dep(name = "rules_python", version = "0.31.0")
diff --git a/modules/cpplint/1.6.1/presubmit.yml b/modules/cpplint/1.6.1/presubmit.yml
new file mode 100644
index 0000000..47e8411
--- /dev/null
+++ b/modules/cpplint/1.6.1/presubmit.yml
@@ -0,0 +1,17 @@
+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:
+ - '@cpplint'
diff --git a/modules/cpplint/1.6.1/source.json b/modules/cpplint/1.6.1/source.json
new file mode 100644
index 0000000..45a53cd
--- /dev/null
+++ b/modules/cpplint/1.6.1/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/cpplint/cpplint/archive/refs/tags/1.6.1.tar.gz",
+ "strip_prefix": "cpplint-1.6.1",
+ "integrity": "sha256-e+R5mMS9WQ4inPlPMxLEZWPT7jXqA3tO04lyD1EAKdY=",
+ "patch_strip": 0,
+ "patches": {
+ "module_dot_bazel.patch": "sha256-1oaXB6n4dc9oLVKMNfug+SB83OwZceJVMPCZEO2cVx4=",
+ "add_build_file.patch": "sha256-5ZFDpcDF+AQ9YStNzcQUh16q3bcjJ8mr1QWAieFYC2c="
+ }
+}
diff --git a/modules/cpplint/metadata.json b/modules/cpplint/metadata.json
new file mode 100644
index 0000000..4918074
--- /dev/null
+++ b/modules/cpplint/metadata.json
@@ -0,0 +1,17 @@
+{
+ "homepage": "https://github.com/cpplint/cpplint",
+ "maintainers": [
+ {
+ "email": "daisuke.nishimatsu1021@gmail.com",
+ "github": "wep21",
+ "name": "Daisuke Nishimatsu"
+ }
+ ],
+ "repository": [
+ "github:cpplint/cpplint"
+ ],
+ "versions": [
+ "1.6.1"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/download_utils/1.0.0-beta.1/MODULE.bazel b/modules/download_utils/1.0.0-beta.1/MODULE.bazel
new file mode 100644
index 0000000..9166a90
--- /dev/null
+++ b/modules/download_utils/1.0.0-beta.1/MODULE.bazel
@@ -0,0 +1,10 @@
+module(
+ name = "download_utils",
+ version = "1.0.0-beta.1",
+ bazel_compatibility = [
+ ">=7.0.0",
+ ],
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.4.2", dev_dependency = True)
diff --git a/modules/download_utils/1.0.0-beta.1/presubmit.yml b/modules/download_utils/1.0.0-beta.1/presubmit.yml
new file mode 100644
index 0000000..d4513c8
--- /dev/null
+++ b/modules/download_utils/1.0.0-beta.1/presubmit.yml
@@ -0,0 +1,19 @@
+bcr_test_module:
+ module_path: e2e
+ matrix:
+ bazel:
+ - 7.x
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ # TODO: enable this once the `gitlab.arm.com` does not use a self-signed certificate
+ # - windows
+ tasks:
+ run_tests:
+ name: Run end-to-end Tests
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/download_utils/1.0.0-beta.1/source.json b/modules/download_utils/1.0.0-beta.1/source.json
new file mode 100644
index 0000000..0cc5d79
--- /dev/null
+++ b/modules/download_utils/1.0.0-beta.1/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://gitlab.arm.com/bazel/download_utils/-/releases/v1.0.0-beta.1/downloads/src.tar.gz",
+ "integrity": "sha512-MGz3+3iDOc8wod5Qhc1uiQTM34QS64cVlSR4RSzCFV6yCRkrWZR555IuxHzOsvpths80rYe42C2JdwmXtKSFnw==",
+ "strip_prefix": "download_utils-v1.0.0-beta.1"
+}
diff --git a/modules/download_utils/metadata.json b/modules/download_utils/metadata.json
new file mode 100644
index 0000000..fc75ee0
--- /dev/null
+++ b/modules/download_utils/metadata.json
@@ -0,0 +1,16 @@
+{
+ "homepage": "https://gitlab.arm.com/bazel/download_utils",
+ "repository": [
+ "https://gitlab.arm.com/bazel/download_utils"
+ ],
+ "versions":[
+ "1.0.0-beta.1"
+ ],
+ "maintainers": [
+ {
+ "email": "matthew.clarkson@arm.com",
+ "github": "mattyclarkson",
+ "name": "Matt Clarkson"
+ }
+ ]
+}
diff --git a/modules/eigen/metadata.json b/modules/eigen/metadata.json
index 978a0cd..7c8cf92 100644
--- a/modules/eigen/metadata.json
+++ b/modules/eigen/metadata.json
@@ -1,10 +1,15 @@
{
- "homepage": "https://gitlab.com/libeigen/eigen",
- "maintainers": [],
- "repository": [],
- "versions": [
- "3.4.0",
- "3.4.0.bcr.1"
- ],
- "yanked_versions": {}
+ "homepage": "https://gitlab.com/libeigen/eigen",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [],
+ "versions": [
+ "3.4.0",
+ "3.4.0.bcr.1"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/flip/1.3/MODULE.bazel b/modules/flip/1.3/MODULE.bazel
new file mode 100644
index 0000000..1a7023a
--- /dev/null
+++ b/modules/flip/1.3/MODULE.bazel
@@ -0,0 +1,5 @@
+module(
+ name = "flip",
+ version = "1.3",
+ compatibility_level = 1,
+)
diff --git a/modules/flip/1.3/patches/add_build_file.patch b/modules/flip/1.3/patches/add_build_file.patch
new file mode 100644
index 0000000..68ed6de
--- /dev/null
+++ b/modules/flip/1.3/patches/add_build_file.patch
@@ -0,0 +1,25 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,22 @@
++cc_library(
++ name = "flip",
++ hdrs = ["cpp/FLIP.h"],
++ includes = ["cpp"],
++ visibility = ["//visibility:public"],
++)
++
++cc_binary(
++ name = "flip-cli",
++ srcs = [
++ "cpp/tool/FLIP-tool.cpp",
++ "cpp/tool/commandline.h",
++ "cpp/tool/filename.h",
++ "cpp/tool/imagehelpers.h",
++ "cpp/tool/pooling.h",
++ "cpp/tool/stb_image.h",
++ "cpp/tool/stb_image_write.h",
++ "cpp/tool/tinyexr.h",
++ ],
++ visibility = ["//visibility:public"],
++ deps = [":flip"],
++)
diff --git a/modules/flip/1.3/patches/module_dot_bazel.patch b/modules/flip/1.3/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..2814854
--- /dev/null
+++ b/modules/flip/1.3/patches/module_dot_bazel.patch
@@ -0,0 +1,8 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -0,0 +1,5 @@
++module(
++ name = "flip",
++ version = "1.3",
++ compatibility_level = 1,
++)
diff --git a/modules/flip/1.3/presubmit.yml b/modules/flip/1.3/presubmit.yml
new file mode 100644
index 0000000..5a7739e
--- /dev/null
+++ b/modules/flip/1.3/presubmit.yml
@@ -0,0 +1,21 @@
+matrix:
+ bazel: [6.x, 7.x]
+ unix_platform: ["macos", "ubuntu2004"]
+
+tasks:
+ unix_test:
+ platform: ${{ unix_platform }}
+ bazel: ${{ bazel }}
+ build_flags:
+ - --cxxopt=-std=c++17
+ build_targets:
+ - '@flip//:flip'
+ - '@flip//:flip-cli'
+ windows_test:
+ platform: "windows"
+ bazel: ${{ bazel }}
+ build_flags:
+ - --cxxopt=/std:c++20
+ build_targets:
+ - '@flip//:flip'
+ - '@flip//:flip-cli' \ No newline at end of file
diff --git a/modules/flip/1.3/source.json b/modules/flip/1.3/source.json
new file mode 100644
index 0000000..83bb859
--- /dev/null
+++ b/modules/flip/1.3/source.json
@@ -0,0 +1,10 @@
+{
+ "integrity": "sha256-LOjrk/BIrxB7/n+C0bbe6CSfaCTEdAir2i4EUYnWZo8=",
+ "patch_strip": 0,
+ "patches": {
+ "add_build_file.patch": "sha256-ZCvGiVB5hRv9sFJ8atbmIDQEnPCDnqKVVdRdN7no8rQ=",
+ "module_dot_bazel.patch": "sha256-1qMqu/ACZB1oemR3u1UHnqnGpWiy/woSpKt9fW0uQhk="
+ },
+ "strip_prefix": "flip-a00bc7d4b8730bdaddfe0627ff94fdb01ca79e77",
+ "url": "https://github.com/NVlabs/flip/archive/a00bc7d4b8730bdaddfe0627ff94fdb01ca79e77.tar.gz"
+}
diff --git a/modules/flip/metadata.json b/modules/flip/metadata.json
new file mode 100644
index 0000000..a52b020
--- /dev/null
+++ b/modules/flip/metadata.json
@@ -0,0 +1,17 @@
+{
+ "homepage": "https://github.com/NVlabs/flip",
+ "maintainers": [
+ {
+ "email": "julian.amann@tum.de",
+ "github": "Vertexwahn",
+ "name": "Julian Amann"
+ }
+ ],
+ "repository": [
+ "github:NVlabs/flip"
+ ],
+ "versions": [
+ "1.3"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/foonathan_memory/metadata.json b/modules/foonathan_memory/metadata.json
index 04e623c..03257d4 100644
--- a/modules/foonathan_memory/metadata.json
+++ b/modules/foonathan_memory/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://github.com/foonathan/memory",
- "maintainers": [],
- "repository": [
- "github:foonathan/memory"
- ],
- "versions": [
- "0.7.3"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/foonathan/memory",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:foonathan/memory"
+ ],
+ "versions": [
+ "0.7.3"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/gflags/metadata.json b/modules/gflags/metadata.json
index afd2810..15769ff 100644
--- a/modules/gflags/metadata.json
+++ b/modules/gflags/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://gflags.github.io/gflags/",
- "maintainers": [],
- "repository": [
- "github:gflags/gflags"
- ],
- "versions": [
- "2.2.2"
- ],
- "yanked_versions": {}
+ "homepage": "https://gflags.github.io/gflags/",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:gflags/gflags"
+ ],
+ "versions": [
+ "2.2.2"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/giflib/metadata.json b/modules/giflib/metadata.json
index 349aef4..16ab1a4 100644
--- a/modules/giflib/metadata.json
+++ b/modules/giflib/metadata.json
@@ -1,9 +1,14 @@
{
- "homepage": "https://giflib.sourceforge.net/",
- "maintainers": [],
- "repository": [],
- "versions": [
- "5.2.1"
- ],
- "yanked_versions": {}
+ "homepage": "https://giflib.sourceforge.net/",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [],
+ "versions": [
+ "5.2.1"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/glog/metadata.json b/modules/glog/metadata.json
index 48ecf0a..7de7ea1 100644
--- a/modules/glog/metadata.json
+++ b/modules/glog/metadata.json
@@ -1,12 +1,17 @@
{
- "homepage": "https://github.com/google/glog",
- "maintainers": [],
- "repository": [
- "github:google/glog"
- ],
- "versions": [
- "0.5.0",
- "0.6.0"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/google/glog",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:google/glog"
+ ],
+ "versions": [
+ "0.5.0",
+ "0.6.0"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/google_benchmark/metadata.json b/modules/google_benchmark/metadata.json
index ee8c5eb..3bce0ac 100644
--- a/modules/google_benchmark/metadata.json
+++ b/modules/google_benchmark/metadata.json
@@ -1,12 +1,17 @@
{
- "homepage": "https://github.com/google/benchmark",
- "maintainers": [],
- "repository": [
- "github:google/benchmark"
- ],
- "versions": [
- "1.8.2",
- "1.8.3"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/google/benchmark",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:google/benchmark"
+ ],
+ "versions": [
+ "1.8.2",
+ "1.8.3"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/googletest/metadata.json b/modules/googletest/metadata.json
index 7f3f01b..26525db 100644
--- a/modules/googletest/metadata.json
+++ b/modules/googletest/metadata.json
@@ -1,15 +1,20 @@
{
- "homepage": "https://google.github.io/googletest/",
- "maintainers": [],
- "repository": [
- "github:google/googletest"
- ],
- "versions": [
- "1.11.0",
- "1.12.1",
- "1.13.0",
- "1.14.0",
- "1.14.0.bcr.1"
- ],
- "yanked_versions": {}
+ "homepage": "https://google.github.io/googletest/",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:google/googletest"
+ ],
+ "versions": [
+ "1.11.0",
+ "1.12.1",
+ "1.13.0",
+ "1.14.0",
+ "1.14.0.bcr.1"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/grpc/1.56.3.bcr.1/MODULE.bazel b/modules/grpc/1.56.3.bcr.1/MODULE.bazel
new file mode 100644
index 0000000..2fdc564
--- /dev/null
+++ b/modules/grpc/1.56.3.bcr.1/MODULE.bazel
@@ -0,0 +1,68 @@
+module(
+ name = "grpc",
+ compatibility_level = 1,
+ repo_name = "com_github_grpc_grpc",
+ version = "1.56.3.bcr.1",
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.2.0")
+bazel_dep(name = "platforms", version = "0.0.8")
+bazel_dep(name = "boringssl", version = "0.0.0-20230215-5c22014")
+bazel_dep(name = "c-ares", repo_name = "com_github_cares_cares", version = "1.15.0")
+bazel_dep(name = "abseil-cpp", repo_name = "com_google_absl", version = "20220623.1")
+bazel_dep(name = "protobuf", repo_name = "com_google_protobuf", version = "3.19.2")
+bazel_dep(name = "re2", repo_name = "com_googlesource_code_re2", version = "2021-09-01")
+bazel_dep(name = "rules_proto", version = "4.0.0")
+bazel_dep(name = "upb", version = "0.0.0-20230516-61a97ef")
+bazel_dep(name = "zlib", version = "1.2.13")
+bazel_dep(name = "rules_java", version = "5.1.0")
+bazel_dep(name = "rules_go", repo_name = "io_bazel_rules_go", version = "0.39.1")
+bazel_dep(name = "googletest", version = "1.14.0.bcr.1", repo_name = "com_google_googletest")
+bazel_dep(name = "rules_cc", version = "0.0.9")
+
+grpc_repo_deps_ext = use_extension("//bazel:grpc_deps.bzl", "grpc_repo_deps_ext")
+
+use_repo(
+ grpc_repo_deps_ext,
+ "com_envoyproxy_protoc_gen_validate",
+ "com_google_googleapis",
+ "com_github_cncf_udpa",
+ "envoy_api",
+ "io_opencensus_cpp",
+)
+
+grpc_extra_deps_ext = use_extension("//bazel:grpc_extra_deps.bzl", "grpc_extra_deps_ext")
+
+use_repo(grpc_extra_deps_ext, "com_google_googleapis_imports")
+
+bazel_dep(name = "rules_python", version = "0.29.0")
+
+PYTHON_VERSIONS = [
+ "3.8",
+ "3.9",
+ "3.10",
+ "3.11",
+ "3.12",
+]
+
+python = use_extension("@rules_python//python/extensions:python.bzl", "python")
+[
+ python.toolchain(
+ is_default = python_version == PYTHON_VERSIONS[-1],
+ python_version = python_version,
+ )
+ for python_version in PYTHON_VERSIONS
+]
+
+pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
+[
+ pip.parse(
+ hub_name = "grpc_python_dependencies",
+ python_version = python_version,
+ requirements_lock = "//:requirements.bazel.txt",
+ )
+ for python_version in PYTHON_VERSIONS
+]
+use_repo(pip, "grpc_python_dependencies")
+grpc_python_deps_ext = use_extension("//bazel:grpc_python_deps.bzl", "grpc_python_deps_ext")
+use_repo(grpc_python_deps_ext, "cython")
diff --git a/modules/grpc/1.56.3.bcr.1/patches/adopt_bzlmod.patch b/modules/grpc/1.56.3.bcr.1/patches/adopt_bzlmod.patch
new file mode 100644
index 0000000..83ad68c
--- /dev/null
+++ b/modules/grpc/1.56.3.bcr.1/patches/adopt_bzlmod.patch
@@ -0,0 +1,625 @@
+diff --git a/BUILD b/BUILD
+index 74d1fadd1a..d447ff01b3 100644
+--- a/BUILD
++++ b/BUILD
+@@ -1102,6 +1102,7 @@ grpc_cc_library(
+ "//src/core:default_event_engine",
+ "//src/core:iomgr_fwd",
+ "//src/core:iomgr_port",
++ "//src/core:notification",
+ "//src/core:slice",
+ "//src/core:slice_refcount",
+ "//src/core:status_helper",
+@@ -1827,6 +1828,7 @@ grpc_cc_library(
+ deps = [
+ "gpr",
+ "grpc_trace",
++ "//src/core:slice_buffer",
+ ],
+ )
+
+@@ -2010,8 +2012,11 @@ grpc_cc_library(
+ "ref_counted_ptr",
+ "//src/core:arena",
+ "//src/core:channel_args",
++ "//src/core:channel_fwd",
+ "//src/core:channel_init",
++ "//src/core:channel_stack_type",
+ "//src/core:closure",
++ "//src/core:default_event_engine",
+ "//src/core:error",
+ "//src/core:gpr_atm",
+ "//src/core:gpr_manual_constructor",
+@@ -2022,7 +2027,9 @@ grpc_cc_library(
+ "//src/core:ref_counted",
+ "//src/core:resource_quota",
+ "//src/core:slice",
++ "//src/core:slice_buffer",
+ "//src/core:socket_mutator",
++ "//src/core:thread_quota",
+ "//src/core:time",
+ "//src/core:useful",
+ ],
+@@ -2698,6 +2705,7 @@ grpc_cc_library(
+ external_deps = [
+ "absl/strings",
+ "absl/strings:str_format",
++ "absl/types:optional",
+ ],
+ tags = ["nofixdeps"],
+ visibility = ["@grpc:iomgr_buffer_list"],
+diff --git a/MODULE.bazel b/MODULE.bazel
+new file mode 100644
+index 0000000000..caf4f829d4
+--- /dev/null
++++ b/MODULE.bazel
+@@ -0,0 +1,36 @@
++module(
++ name = "grpc",
++ compatibility_level = 1,
++ repo_name = "com_github_grpc_grpc",
++ version = "1.56.3.bcr.1",
++)
++
++bazel_dep(name = "bazel_skylib", version = "1.2.0")
++bazel_dep(name = "platforms", version = "0.0.8")
++bazel_dep(name = "boringssl", version = "0.0.0-20230215-5c22014")
++bazel_dep(name = "c-ares", repo_name = "com_github_cares_cares", version = "1.15.0")
++bazel_dep(name = "abseil-cpp", repo_name = "com_google_absl", version = "20220623.1")
++bazel_dep(name = "protobuf", repo_name = "com_google_protobuf", version = "3.19.2")
++bazel_dep(name = "re2", repo_name = "com_googlesource_code_re2", version = "2021-09-01")
++bazel_dep(name = "rules_proto", version = "4.0.0")
++bazel_dep(name = "upb", version = "0.0.0-20230516-61a97ef")
++bazel_dep(name = "zlib", version = "1.2.13")
++bazel_dep(name = "rules_java", version = "5.1.0")
++bazel_dep(name = "rules_go", repo_name = "io_bazel_rules_go", version = "0.39.1")
++bazel_dep(name = "googletest", version = "1.14.0.bcr.1", repo_name = "com_google_googletest")
++bazel_dep(name = "rules_cc", version = "0.0.9")
++
++grpc_repo_deps_ext = use_extension("//bazel:grpc_deps.bzl", "grpc_repo_deps_ext")
++
++use_repo(
++ grpc_repo_deps_ext,
++ "com_envoyproxy_protoc_gen_validate",
++ "com_google_googleapis",
++ "com_github_cncf_udpa",
++ "envoy_api",
++ "io_opencensus_cpp",
++)
++
++grpc_extra_deps_ext = use_extension("//bazel:grpc_extra_deps.bzl", "grpc_extra_deps_ext")
++
++use_repo(grpc_extra_deps_ext, "com_google_googleapis_imports")
+diff --git a/bazel/generate_cc.bzl b/bazel/generate_cc.bzl
+index 2d90414b41..de0d3a0540 100644
+--- a/bazel/generate_cc.bzl
++++ b/bazel/generate_cc.bzl
+@@ -132,16 +132,13 @@ def generate_cc_impl(ctx):
+ for i in includes
+ ]
+
+- # Include the output directory so that protoc puts the generated code in the
+- # right directory.
+- arguments.append("--proto_path={0}{1}".format(dir_out, proto_root))
+ arguments += [_get_srcs_file_path(proto) for proto in protos]
+
+ # create a list of well known proto files if the argument is non-None
+ well_known_proto_files = []
+ if ctx.attr.well_known_protos:
+ f = ctx.attr.well_known_protos.files.to_list()[0].dirname
+- if f != "external/com_google_protobuf/src/google/protobuf":
++ if not f.endswith("/src/google/protobuf"):
+ print(
+ "Error: Only @com_google_protobuf//:well_known_type_protos is supported",
+ ) # buildifier: disable=print
+@@ -187,7 +184,7 @@ _generate_cc = rule(
+ mandatory = False,
+ ),
+ "_protoc": attr.label(
+- default = Label("//external:protocol_compiler"),
++ default = Label("//third_party:protocol_compiler"),
+ executable = True,
+ cfg = "host",
+ ),
+diff --git a/bazel/generate_objc.bzl b/bazel/generate_objc.bzl
+index 25314ae1bd..63b3dac273 100644
+--- a/bazel/generate_objc.bzl
++++ b/bazel/generate_objc.bzl
+@@ -180,7 +180,7 @@ generate_objc = rule(
+ default = "@com_google_protobuf//:well_known_type_protos",
+ ),
+ "_protoc": attr.label(
+- default = Label("//external:protocol_compiler"),
++ default = Label("//third_party:protocol_compiler"),
+ executable = True,
+ cfg = "host",
+ ),
+diff --git a/bazel/grpc_build_system.bzl b/bazel/grpc_build_system.bzl
+index d85b08a6be..8e99d66f0a 100644
+--- a/bazel/grpc_build_system.bzl
++++ b/bazel/grpc_build_system.bzl
+@@ -31,8 +31,6 @@ load("//bazel:cc_grpc_library.bzl", "cc_grpc_library")
+ load("//bazel:copts.bzl", "GRPC_DEFAULT_COPTS")
+ load("//bazel:experiments.bzl", "EXPERIMENTS")
+ load("@upb//bazel:upb_proto_library.bzl", "upb_proto_library", "upb_proto_reflection_library")
+-load("@build_bazel_rules_apple//apple:ios.bzl", "ios_unit_test")
+-load("@build_bazel_rules_apple//apple/testing/default_runner:ios_test_runner.bzl", "ios_test_runner")
+
+ # The set of pollers to test against if a test exercises polling
+ POLLERS = ["epoll1", "poll"]
+@@ -64,7 +62,7 @@ def _get_external_deps(external_deps):
+ elif dep == "cares":
+ ret += select({
+ "//:grpc_no_ares": [],
+- "//conditions:default": ["//external:cares"],
++ "//conditions:default": ["//third_party:cares"],
+ })
+ elif dep == "cronet_c_for_grpc":
+ ret.append("//third_party/objective_c/Cronet:cronet_c_for_grpc")
+@@ -73,7 +71,7 @@ def _get_external_deps(external_deps):
+ elif dep.startswith("google/"):
+ ret.append("@com_google_googleapis//" + dep)
+ else:
+- ret.append("//external:" + dep)
++ ret.append("//third_party:" + dep)
+ return ret
+
+ def _update_visibility(visibility):
+@@ -243,10 +241,6 @@ def ios_cc_test(
+ test_lib_ios = name + "_test_lib_ios"
+ ios_tags = tags + ["manual", "ios_cc_test"]
+ test_runner = "ios_x86_64_sim_runner_" + name
+- ios_test_runner(
+- name = test_runner,
+- device_type = "iPhone X",
+- )
+ if not any([t for t in tags if t.startswith("no_test_ios")]):
+ native.objc_library(
+ name = test_lib_ios,
+@@ -259,15 +253,6 @@ def ios_cc_test(
+ testonly = 1,
+ )
+ ios_test_deps = [":" + test_lib_ios]
+- ios_unit_test(
+- name = name + "_on_ios",
+- size = kwargs.get("size"),
+- data = kwargs.get("data"),
+- tags = ios_tags,
+- minimum_os_version = "9.0",
+- runner = test_runner,
+- deps = ios_test_deps,
+- )
+
+ def expand_tests(name, srcs, deps, tags, args, exclude_pollers, uses_polling, uses_event_engine, flaky):
+ """Common logic used to parameterize tests for every poller and EventEngine and experiment.
+diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl
+index 2fb3564d0c..37a19e455f 100644
+--- a/bazel/grpc_deps.bzl
++++ b/bazel/grpc_deps.bzl
+@@ -14,10 +14,10 @@
+ """Load dependencies needed to compile and test the grpc library as a 3rd-party consumer."""
+
+ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+-load("@com_github_grpc_grpc//bazel:grpc_python_deps.bzl", "grpc_python_deps")
++load("//bazel:grpc_python_deps.bzl", "grpc_python_deps")
+
+ # buildifier: disable=unnamed-macro
+-def grpc_deps():
++def grpc_bind_deps():
+ """Loads dependencies need to compile and test the grpc library."""
+
+ native.bind(
+@@ -225,6 +225,7 @@ def grpc_deps():
+ actual = "@com_google_googleapis//google/logging/v2:logging_cc_proto",
+ )
+
++def grpc_repo_deps():
+ if "boringssl" not in native.existing_rules():
+ http_archive(
+ name = "boringssl",
+@@ -250,22 +251,6 @@ def grpc_deps():
+ ],
+ )
+
+- if "com_google_protobuf" not in native.existing_rules():
+- http_archive(
+- name = "com_google_protobuf",
+- sha256 = "209385d3c08252e320196b628584c8007f849f9ec8a26c2796a886345ee58bb6",
+- strip_prefix = "protobuf-2dca62f7296e5b49d729f7384f975cecb38382a0",
+- urls = [
+- # https://github.com/protocolbuffers/protobuf/commits/v23.1
+- "https://storage.googleapis.com/grpc-bazel-mirror/github.com/protocolbuffers/protobuf/archive/2dca62f7296e5b49d729f7384f975cecb38382a0.tar.gz",
+- "https://github.com/protocolbuffers/protobuf/archive/2dca62f7296e5b49d729f7384f975cecb38382a0.tar.gz",
+- ],
+- patches = [
+- "@com_github_grpc_grpc//third_party:protobuf.patch",
+- ],
+- patch_args = ["-p1"],
+- )
+-
+ if "com_google_googletest" not in native.existing_rules():
+ http_archive(
+ name = "com_google_googletest",
+@@ -413,16 +398,6 @@ def grpc_deps():
+ ],
+ )
+
+- if "io_bazel_rules_go" not in native.existing_rules():
+- http_archive(
+- name = "io_bazel_rules_go",
+- sha256 = "69de5c704a05ff37862f7e0f5534d4f479418afc21806c887db544a316f3cb6b",
+- urls = [
+- "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.27.0/rules_go-v0.27.0.tar.gz",
+- "https://github.com/bazelbuild/rules_go/releases/download/v0.27.0/rules_go-v0.27.0.tar.gz",
+- ],
+- )
+-
+ if "build_bazel_rules_apple" not in native.existing_rules():
+ http_archive(
+ name = "build_bazel_rules_apple",
+@@ -485,6 +460,8 @@ def grpc_deps():
+ "https://storage.googleapis.com/grpc-bazel-mirror/github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz",
+ "https://github.com/census-instrumentation/opencensus-proto/archive/v0.3.0.tar.gz",
+ ],
++ patches = ["//third_party:opencensus-proto.patch"],
++ patch_args = ["-p2"],
+ )
+
+ if "com_envoyproxy_protoc_gen_validate" not in native.existing_rules():
+@@ -510,6 +487,11 @@ def grpc_deps():
+ ],
+ )
+
++grpc_repo_deps_ext = module_extension(implementation = lambda ctx: grpc_repo_deps())
++
++def grpc_deps():
++ grpc_bind_deps()
++ grpc_repo_deps()
+ grpc_python_deps()
+
+ # TODO: move some dependencies from "grpc_deps" here?
+diff --git a/bazel/grpc_extra_deps.bzl b/bazel/grpc_extra_deps.bzl
+index 4d8afa3131..b4ab0d5f5b 100644
+--- a/bazel/grpc_extra_deps.bzl
++++ b/bazel/grpc_extra_deps.bzl
+@@ -13,9 +13,9 @@
+ # limitations under the License.
+ """Loads the dependencies necessary for the external repositories defined in grpc_deps.bzl."""
+
+-load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
+-load("@build_bazel_apple_support//lib:repositories.bzl", "apple_support_dependencies")
+-load("@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies")
++# load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies")
++# load("@build_bazel_apple_support//lib:repositories.bzl", "apple_support_dependencies")
++# load("@build_bazel_rules_apple//apple:repositories.bzl", "apple_rules_dependencies")
+ load("@com_envoyproxy_protoc_gen_validate//:dependencies.bzl", "go_third_party")
+ load("@com_google_googleapis//:repository_rules.bzl", "switched_rules_by_language")
+ load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
+@@ -54,16 +54,19 @@ def grpc_extra_deps(ignore_version_differences = False):
+
+ go_rules_dependencies()
+ go_register_toolchains(version = "1.18")
+- gazelle_dependencies()
++ # gazelle_dependencies()
+
+ # Pull-in the go 3rd party dependencies for protoc_gen_validate, which is
+ # needed for building C++ xDS protos
+ go_third_party()
+
+- apple_rules_dependencies(ignore_version_differences = ignore_version_differences)
++ # apple_rules_dependencies(ignore_version_differences = ignore_version_differences)
+
+- apple_support_dependencies()
++ # apple_support_dependencies()
+
++ googleapis_deps()
++
++def googleapis_deps():
+ # Initialize Google APIs with only C++ and Python targets
+ switched_rules_by_language(
+ name = "com_google_googleapis_imports",
+@@ -71,3 +74,5 @@ def grpc_extra_deps(ignore_version_differences = False):
+ grpc = True,
+ python = True,
+ )
++
++grpc_extra_deps_ext = module_extension(implementation = lambda ctx: googleapis_deps())
+diff --git a/bazel/python_rules.bzl b/bazel/python_rules.bzl
+index 97d9736058..735e2bbc63 100644
+--- a/bazel/python_rules.bzl
++++ b/bazel/python_rules.bzl
+@@ -107,7 +107,7 @@ _gen_py_aspect = aspect(
+ fragments = ["py"],
+ attrs = {
+ "_protoc": attr.label(
+- default = Label("//external:protocol_compiler"),
++ default = Label("//third_party:protocol_compiler"),
+ providers = ["files_to_run"],
+ executable = True,
+ cfg = "host",
+@@ -163,7 +163,7 @@ py_proto_library = rule(
+ aspects = [_gen_py_aspect],
+ ),
+ "_protoc": attr.label(
+- default = Label("//external:protocol_compiler"),
++ default = Label("//third_party:protocol_compiler"),
+ providers = ["files_to_run"],
+ executable = True,
+ cfg = "host",
+@@ -251,7 +251,7 @@ _generate_pb2_grpc_src = rule(
+ executable = True,
+ providers = ["files_to_run"],
+ cfg = "host",
+- default = Label("//external:protocol_compiler"),
++ default = Label("//third_party:protocol_compiler"),
+ ),
+ "_grpc_library": attr.label(
+ default = Label("//src/python/grpcio/grpc:grpcio"),
+diff --git a/third_party/BUILD b/third_party/BUILD
+index 72a4730d89..7677d49801 100644
+--- a/third_party/BUILD
++++ b/third_party/BUILD
+@@ -15,3 +15,211 @@ exports_files([
+ "rules_python.patch",
+ "protoc-gen-validate.patch",
+ ])
++
++package(default_visibility = ["//:__subpackages__"])
++
++alias(
++ name = "upb_lib",
++ actual = "@upb//:upb",
++)
++
++alias(
++ name = "upb_collections_lib",
++ actual = "@upb//:collections",
++)
++
++alias(
++ name = "upb_reflection",
++ actual = "@upb//:reflection",
++)
++
++alias(
++ name = "upb_lib_descriptor",
++ actual = "@upb//:descriptor_upb_proto",
++)
++
++alias(
++ name = "upb_lib_descriptor_reflection",
++ actual = "@upb//:descriptor_upb_proto_reflection",
++)
++
++alias(
++ name = "upb_textformat_lib",
++ actual = "@upb//:textformat",
++)
++
++alias(
++ name = "upb_json_lib",
++ actual = "@upb//:json",
++)
++
++alias(
++ name = "upb_generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me",
++ actual = "@upb//:generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me",
++)
++
++alias(
++ name = "libssl",
++ actual = "@boringssl//:ssl",
++)
++
++alias(
++ name = "libcrypto",
++ actual = "@boringssl//:crypto",
++)
++
++alias(
++ name = "madler_zlib",
++ actual = "@zlib//:zlib",
++)
++
++alias(
++ name = "protobuf",
++ actual = "@com_google_protobuf//:protobuf",
++)
++
++alias(
++ name = "protobuf_clib",
++ actual = "@com_google_protobuf//:protoc_lib",
++)
++
++alias(
++ name = "protobuf_headers",
++ actual = "@com_google_protobuf//:protobuf_headers",
++)
++
++alias(
++ name = "protocol_compiler",
++ actual = "@com_google_protobuf//:protoc",
++ visibility = ["//visibility:public"],
++)
++
++alias(
++ name = "cares",
++ actual = "@com_github_cares_cares//:ares",
++)
++
++alias(
++ name = "gtest",
++ actual = "@com_google_googletest//:gtest",
++)
++
++alias(
++ name = "fuzztest",
++ actual = "@com_google_fuzztest//fuzztest",
++)
++
++alias(
++ name = "fuzztest_main",
++ actual = "@com_google_fuzztest//fuzztest:fuzztest_gtest_main",
++)
++
++alias(
++ name = "benchmark",
++ actual = "@com_github_google_benchmark//:benchmark",
++)
++
++alias(
++ name = "re2",
++ actual = "@com_googlesource_code_re2//:re2",
++)
++
++alias(
++ name = "grpc_cpp_plugin",
++ actual = "@com_github_grpc_grpc//src/compiler:grpc_cpp_plugin",
++)
++
++alias(
++ name = "grpc++_codegen_proto",
++ actual = "@com_github_grpc_grpc//:grpc++_codegen_proto",
++)
++
++alias(
++ name = "opencensus-context",
++ actual = "@io_opencensus_cpp//opencensus/context:context",
++)
++
++alias(
++ name = "opencensus-trace",
++ actual = "@io_opencensus_cpp//opencensus/trace:trace",
++)
++
++alias(
++ name = "opencensus-trace-context_util",
++ actual = "@io_opencensus_cpp//opencensus/trace:context_util",
++)
++
++alias(
++ name = "opencensus-trace-propagation",
++ actual = "@io_opencensus_cpp//opencensus/trace:grpc_trace_bin",
++)
++
++alias(
++ name = "opencensus-trace-span_context",
++ actual = "@io_opencensus_cpp//opencensus/trace:span_context",
++)
++
++alias(
++ name = "opencensus-stats",
++ actual = "@io_opencensus_cpp//opencensus/stats:stats",
++)
++
++alias(
++ name = "opencensus-stats-test",
++ actual = "@io_opencensus_cpp//opencensus/stats:test_utils",
++)
++
++alias(
++ name = "opencensus-with-tag-map",
++ actual = "@io_opencensus_cpp//opencensus/tags:with_tag_map",
++)
++
++alias(
++ name = "opencensus-tags",
++ actual = "@io_opencensus_cpp//opencensus/tags:tags",
++)
++
++alias(
++ name = "opencensus-tags-context_util",
++ actual = "@io_opencensus_cpp//opencensus/tags:context_util",
++)
++
++alias(
++ name = "opencensus-trace-stackdriver_exporter",
++ actual = "@io_opencensus_cpp//opencensus/exporters/trace/stackdriver:stackdriver_exporter",
++)
++
++alias(
++ name = "opencensus-stats-stackdriver_exporter",
++ actual = "@io_opencensus_cpp//opencensus/exporters/stats/stackdriver:stackdriver_exporter",
++)
++
++alias(
++ name = "libuv",
++ actual = "@com_github_libuv_libuv//:libuv",
++)
++
++alias(
++ name = "libuv_test",
++ actual = "@com_github_libuv_libuv//:libuv_test",
++)
++
++alias(
++ name = "googleapis_trace_grpc_service",
++ actual = "@com_google_googleapis//google/devtools/cloudtrace/v2:cloudtrace_cc_grpc",
++)
++
++alias(
++ name = "googleapis_monitoring_grpc_service",
++ actual = "@com_google_googleapis//google/monitoring/v3:monitoring_cc_grpc",
++)
++
++alias(
++ name = "googleapis_logging_grpc_service",
++ actual = "@com_google_googleapis//google/logging/v2:logging_cc_grpc",
++)
++
++alias(
++ name = "googleapis_logging_cc_proto",
++ actual = "@com_google_googleapis//google/logging/v2:logging_cc_proto",
++)
+diff --git a/third_party/opencensus-proto.patch b/third_party/opencensus-proto.patch
+new file mode 100644
+index 0000000000..4ebf1c1ac2
+--- /dev/null
++++ b/third_party/opencensus-proto.patch
+@@ -0,0 +1,14 @@
++diff --git a/src/opencensus/proto/trace/v1/BUILD.bazel b/src/opencensus/proto/trace/v1/BUILD.bazel
++index 0beb6d8..f7f61e6 100644
++--- a/src/opencensus/proto/trace/v1/BUILD.bazel
+++++ b/src/opencensus/proto/trace/v1/BUILD.bazel
++@@ -77,7 +77,7 @@ py_proto_library(
++ srcs = ["trace.proto"],
++ deps = [
++ "//opencensus/proto/resource/v1:resource_proto_py",
++- "@com_google_protobuf//:protobuf_python",
+++ # "@com_google_protobuf//:protobuf_python",
++ ],
++ )
++
++
+diff --git a/third_party/protoc-gen-validate.patch b/third_party/protoc-gen-validate.patch
+index bea7b87cec..db863aa85a 100644
+--- a/third_party/protoc-gen-validate.patch
++++ b/third_party/protoc-gen-validate.patch
+@@ -1,14 +1,13 @@
+-index 5b2443d..c26a9dd 100644
+---- a/dependencies.bzl
+-+++ b/dependencies.bzl
+-@@ -104,8 +104,8 @@ def go_third_party():
+- go_repository(
+- name = "org_golang_google_protobuf",
+- importpath = "google.golang.org/protobuf",
+-- sum = "h1:bxAC2xTBsZGibn2RTntX0oH50xLsqy1OxA9tTL3p/lk=",
+-- version = "v1.27.1",
+-+ sum = "h1:w43yiav+6bVFTBQFZX0r7ipe9JQ1QsbMgHwbBziscLw=",
+-+ version = "v1.28.0",
+- )
+- go_repository(
+- name = "org_golang_x_crypto",
++diff --git a/validate/BUILD b/validate/BUILD
++index 5040d64..03e4e52 100644
++--- a/validate/BUILD
+++++ b/validate/BUILD
++@@ -28,7 +28,7 @@ cc_proto_library(
++ py_proto_library(
++ name = "validate_py",
++ srcs = ["validate.proto"],
++- deps = ["@com_google_protobuf//:protobuf_python"],
+++ # deps = ["@com_google_protobuf//:protobuf_python"],
++ )
++
++ go_proto_library(
diff --git a/modules/grpc/1.56.3.bcr.1/patches/python.patch b/modules/grpc/1.56.3.bcr.1/patches/python.patch
new file mode 100644
index 0000000..0f791ff
--- /dev/null
+++ b/modules/grpc/1.56.3.bcr.1/patches/python.patch
@@ -0,0 +1,131 @@
+diff --git a/MODULE.bazel b/MODULE.bazel
+index caf4f829d4..6a3ceb08e8 100644
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -34,3 +34,35 @@ use_repo(
+ grpc_extra_deps_ext = use_extension("//bazel:grpc_extra_deps.bzl", "grpc_extra_deps_ext")
+
+ use_repo(grpc_extra_deps_ext, "com_google_googleapis_imports")
++
++bazel_dep(name = "rules_python", version = "0.29.0")
++
++PYTHON_VERSIONS = [
++ "3.8",
++ "3.9",
++ "3.10",
++ "3.11",
++ "3.12",
++]
++
++python = use_extension("@rules_python//python/extensions:python.bzl", "python")
++[
++ python.toolchain(
++ is_default = python_version == PYTHON_VERSIONS[-1],
++ python_version = python_version,
++ )
++ for python_version in PYTHON_VERSIONS
++]
++
++pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
++[
++ pip.parse(
++ hub_name = "grpc_python_dependencies",
++ python_version = python_version,
++ requirements_lock = "//:requirements.bazel.txt",
++ )
++ for python_version in PYTHON_VERSIONS
++]
++use_repo(pip, "grpc_python_dependencies")
++grpc_python_deps_ext = use_extension("//bazel:grpc_python_deps.bzl", "grpc_python_deps_ext")
++use_repo(grpc_python_deps_ext, "cython")
+diff --git a/bazel/cython_library.bzl b/bazel/cython_library.bzl
+index dc2ef7a890..fd2881ed8c 100644
+--- a/bazel/cython_library.bzl
++++ b/bazel/cython_library.bzl
+@@ -72,7 +72,7 @@ def pyx_library(name, deps = [], py_deps = [], srcs = [], **kwargs):
+ native.cc_binary(
+ name = shared_object_name,
+ srcs = [stem + ".cpp"],
+- deps = deps + ["@local_config_python//:python_headers"],
++ deps = deps + ["@rules_python//python/cc:current_py_cc_headers"],
+ defines = defines,
+ linkshared = 1,
+ )
+diff --git a/bazel/grpc_python_deps.bzl b/bazel/grpc_python_deps.bzl
+index 39893eef6e..172933e062 100644
+--- a/bazel/grpc_python_deps.bzl
++++ b/bazel/grpc_python_deps.bzl
+@@ -16,6 +16,18 @@
+ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
+ load("@com_github_grpc_grpc//third_party/py:python_configure.bzl", "python_configure")
+
++# buildifier: disable=unnamed-macro
++def cython():
++ http_archive(
++ name = "cython",
++ build_file = "@com_github_grpc_grpc//third_party:cython.BUILD",
++ sha256 = "a2da56cc22be823acf49741b9aa3aa116d4f07fa8e8b35a3cb08b8447b37c607",
++ strip_prefix = "cython-0.29.35",
++ urls = [
++ "https://github.com/cython/cython/archive/0.29.35.tar.gz",
++ ],
++ )
++
+ # buildifier: disable=unnamed-macro
+ def grpc_python_deps():
+ """Loads dependencies for gRPC Python."""
+@@ -36,12 +48,6 @@ def grpc_python_deps():
+ )
+
+ if "cython" not in native.existing_rules():
+- http_archive(
+- name = "cython",
+- build_file = "@com_github_grpc_grpc//third_party:cython.BUILD",
+- sha256 = "a2da56cc22be823acf49741b9aa3aa116d4f07fa8e8b35a3cb08b8447b37c607",
+- strip_prefix = "cython-0.29.35",
+- urls = [
+- "https://github.com/cython/cython/archive/0.29.35.tar.gz",
+- ],
+- )
++ cython()
++
++grpc_python_deps_ext = module_extension(implementation = lambda ctx: cython())
+diff --git a/requirements.bazel.txt b/requirements.bazel.txt
+index f2dbfd7af8..ea81395c14 100644
+--- a/requirements.bazel.txt
++++ b/requirements.bazel.txt
+@@ -1,17 +1,25 @@
+ # GRPC Python setup requirements
++cachetools==4.2.4
++certifi==2017.4.17
++chardet==3.0.4
+ coverage==4.5.4
+ cython==0.29.21
+-protobuf>=3.5.0.post1, < 4.0dev
+-wheel==0.36.2
++gevent==22.8.0
+ google-auth==1.24.0
++googleapis-common-protos==1.5.5
++greenlet==1.1.3.post0
++grpcio==1.56.2
++idna==2.7
+ oauth2client==4.1.0
++protobuf>=3.5.0.post1, < 4.0dev
++pyasn1==0.5.1
++pyasn1-modules==0.3.0
+ requests==2.25.1
++rsa==4.9
++setuptools==69.0.3
++six==1.16.0
+ urllib3==1.26.5
+-chardet==3.0.4
+-certifi==2017.4.17
+-idna==2.7
+-googleapis-common-protos==1.5.5
+-gevent==22.08.0
+-zope.event==4.5.0
+-setuptools==44.1.1
++wheel==0.36.2
+ xds-protos==0.0.11
++zope-event==4.5.0
++zope-interface==6.1
diff --git a/modules/grpc/1.56.3.bcr.1/presubmit.yml b/modules/grpc/1.56.3.bcr.1/presubmit.yml
new file mode 100644
index 0000000..47f1fca
--- /dev/null
+++ b/modules/grpc/1.56.3.bcr.1/presubmit.yml
@@ -0,0 +1,20 @@
+.common_task_config: &common_task_config
+ build_targets:
+ - '@grpc//:grpc'
+ - '@grpc//:grpc_unsecure'
+ - '@grpc//:grpc++'
+ - '@grpc//:grpc++_unsecure'
+tasks:
+ debian10:
+ <<: *common_task_config
+ build_flags:
+ - "--cxxopt=-Wno-array-bounds"
+ - "--host_cxxopt=-Wno-array-bounds"
+ ubuntu2004:
+ <<: *common_task_config
+ macos:
+ <<: *common_task_config
+ build_flags:
+ - "--copt=-isystem/usr/local/include"
+ windows:
+ <<: *common_task_config
diff --git a/modules/grpc/1.56.3.bcr.1/source.json b/modules/grpc/1.56.3.bcr.1/source.json
new file mode 100644
index 0000000..9cff724
--- /dev/null
+++ b/modules/grpc/1.56.3.bcr.1/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/grpc/grpc/archive/refs/tags/v1.56.3.tar.gz",
+ "integrity": "sha256-hOMadwF5EbLxZH7K2wFyZx2WBJ6prVEJ8CtHF8DwNwI=",
+ "strip_prefix": "grpc-1.56.3",
+ "patches": {
+ "adopt_bzlmod.patch": "sha256-zzQ1ITvkm+aqpJSgxJfjfmIGFQa5U13IwSGhnulrmkI=",
+ "python.patch": "sha256-hO8Zza1CzukY2uIHdPfl/yALDwlVepWxqxzrwbhHimw="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/grpc/metadata.json b/modules/grpc/metadata.json
index 46fe352..71c76f8 100644
--- a/modules/grpc/metadata.json
+++ b/modules/grpc/metadata.json
@@ -1,17 +1,23 @@
{
- "homepage": "https://github.com/grpc/grpc",
- "maintainers": [],
- "repository": [
- "github:grpc/grpc"
- ],
- "versions": [
- "1.41.0",
- "1.47.0",
- "1.48.1",
- "1.48.1.bcr.1",
- "1.48.1.bcr.2",
- "1.48.1.bcr.3",
- "1.56.3"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/grpc/grpc",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:grpc/grpc"
+ ],
+ "versions": [
+ "1.41.0",
+ "1.47.0",
+ "1.48.1",
+ "1.48.1.bcr.1",
+ "1.48.1.bcr.2",
+ "1.48.1.bcr.3",
+ "1.56.3",
+ "1.56.3.bcr.1"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/hermetic_cc_toolchain/2.2.3/MODULE.bazel b/modules/hermetic_cc_toolchain/2.2.3/MODULE.bazel
new file mode 100644
index 0000000..0d44399
--- /dev/null
+++ b/modules/hermetic_cc_toolchain/2.2.3/MODULE.bazel
@@ -0,0 +1,51 @@
+module(
+ name = "hermetic_cc_toolchain",
+ version = "2.2.3",
+)
+
+bazel_dep(name = "platforms", version = "0.0.8")
+
+bazel_dep(name = "rules_go", version = "0.43.0", dev_dependency = True)
+
+go_sdk = use_extension(
+ "@rules_go//go:extensions.bzl",
+ "go_sdk",
+ dev_dependency = True,
+)
+use_repo(go_sdk, "go_default_sdk")
+
+bazel_dep(name = "gazelle", version = "0.34.0", dev_dependency = True)
+
+go_deps = use_extension(
+ "@gazelle//:extensions.bzl",
+ "go_deps",
+ dev_dependency = True,
+)
+go_deps.from_file(go_mod = "//:go.mod")
+use_repo(
+ go_deps,
+ "com_github_bazelbuild_buildtools",
+ "com_github_stretchr_testify",
+)
+
+toolchains = use_extension("//toolchain:ext.bzl", "toolchains")
+use_repo(toolchains, "zig_sdk")
+
+register_toolchains(
+ # if no `--platform` is specified, these toolchains will be used for
+ # (linux,darwin,windows)x(amd64,arm64)
+ "@zig_sdk//toolchain:linux_amd64_gnu.2.28",
+ "@zig_sdk//toolchain:linux_arm64_gnu.2.28",
+ "@zig_sdk//toolchain:darwin_amd64",
+ "@zig_sdk//toolchain:darwin_arm64",
+ "@zig_sdk//toolchain:windows_amd64",
+ "@zig_sdk//toolchain:windows_arm64",
+
+ # amd64 toolchains for libc-aware platforms:
+ "@zig_sdk//libc_aware/toolchain:linux_amd64_gnu.2.28",
+ "@zig_sdk//libc_aware/toolchain:linux_amd64_gnu.2.31",
+ "@zig_sdk//libc_aware/toolchain:linux_amd64_musl",
+ # arm64 toolchains for libc-aware platforms:
+ "@zig_sdk//libc_aware/toolchain:linux_arm64_gnu.2.28",
+ "@zig_sdk//libc_aware/toolchain:linux_arm64_musl",
+)
diff --git a/modules/hermetic_cc_toolchain/2.2.3/presubmit.yml b/modules/hermetic_cc_toolchain/2.2.3/presubmit.yml
new file mode 100644
index 0000000..12326ee
--- /dev/null
+++ b/modules/hermetic_cc_toolchain/2.2.3/presubmit.yml
@@ -0,0 +1,15 @@
+matrix:
+ platform:
+ - debian11
+ - ubuntu2004_arm64
+ - macos_arm64
+ bazel:
+ - 6.x
+ - 7.x
+tasks:
+ verify_targets:
+ name: Verify this module can be built as a depenedency of another module
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@hermetic_cc_toolchain//toolchain/...'
diff --git a/modules/hermetic_cc_toolchain/2.2.3/source.json b/modules/hermetic_cc_toolchain/2.2.3/source.json
new file mode 100644
index 0000000..4c916ff
--- /dev/null
+++ b/modules/hermetic_cc_toolchain/2.2.3/source.json
@@ -0,0 +1,5 @@
+{
+ "integrity": "sha256-B6KxpFIGWjhRAOY8KBT9djGnx2PaseAIoBCHBZRMlK8=",
+ "strip_prefix": "",
+ "url": "https://github.com/uber/hermetic_cc_toolchain/releases/download/v2.2.3/hermetic_cc_toolchain-v2.2.3.tar.gz"
+}
diff --git a/modules/hermetic_cc_toolchain/3.0.0/MODULE.bazel b/modules/hermetic_cc_toolchain/3.0.0/MODULE.bazel
new file mode 100644
index 0000000..98e7453
--- /dev/null
+++ b/modules/hermetic_cc_toolchain/3.0.0/MODULE.bazel
@@ -0,0 +1,49 @@
+module(
+ name = "hermetic_cc_toolchain",
+ version = "3.0.0",
+)
+
+bazel_dep(name = "platforms", version = "0.0.8")
+
+bazel_dep(name = "rules_go", version = "0.45.1", dev_dependency = True)
+
+go_sdk = use_extension(
+ "@rules_go//go:extensions.bzl",
+ "go_sdk",
+ dev_dependency = True,
+)
+use_repo(go_sdk, "go_default_sdk")
+
+bazel_dep(name = "gazelle", version = "0.35.0", dev_dependency = True)
+
+go_deps = use_extension(
+ "@gazelle//:extensions.bzl",
+ "go_deps",
+ dev_dependency = True,
+)
+go_deps.from_file(go_mod = "//:go.mod")
+use_repo(
+ go_deps,
+ "com_github_bazelbuild_buildtools",
+ "com_github_stretchr_testify",
+)
+
+toolchains = use_extension("//toolchain:ext.bzl", "toolchains")
+use_repo(toolchains, "zig_sdk")
+
+register_toolchains(
+ # if no `--platform` is specified, these toolchains will be used for
+ # (linux,darwin,windows)x(amd64,arm64)
+ "@zig_sdk//toolchain:linux_amd64_gnu.2.28",
+ "@zig_sdk//toolchain:linux_arm64_gnu.2.28",
+ "@zig_sdk//toolchain:windows_amd64",
+ "@zig_sdk//toolchain:windows_arm64",
+
+ # amd64 toolchains for libc-aware platforms:
+ "@zig_sdk//libc_aware/toolchain:linux_amd64_gnu.2.28",
+ "@zig_sdk//libc_aware/toolchain:linux_amd64_gnu.2.31",
+ "@zig_sdk//libc_aware/toolchain:linux_amd64_musl",
+ # arm64 toolchains for libc-aware platforms:
+ "@zig_sdk//libc_aware/toolchain:linux_arm64_gnu.2.28",
+ "@zig_sdk//libc_aware/toolchain:linux_arm64_musl",
+)
diff --git a/modules/hermetic_cc_toolchain/3.0.0/presubmit.yml b/modules/hermetic_cc_toolchain/3.0.0/presubmit.yml
new file mode 100644
index 0000000..12326ee
--- /dev/null
+++ b/modules/hermetic_cc_toolchain/3.0.0/presubmit.yml
@@ -0,0 +1,15 @@
+matrix:
+ platform:
+ - debian11
+ - ubuntu2004_arm64
+ - macos_arm64
+ bazel:
+ - 6.x
+ - 7.x
+tasks:
+ verify_targets:
+ name: Verify this module can be built as a depenedency of another module
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@hermetic_cc_toolchain//toolchain/...'
diff --git a/modules/hermetic_cc_toolchain/3.0.0/source.json b/modules/hermetic_cc_toolchain/3.0.0/source.json
new file mode 100644
index 0000000..c156123
--- /dev/null
+++ b/modules/hermetic_cc_toolchain/3.0.0/source.json
@@ -0,0 +1,5 @@
+{
+ "integrity": "sha256-/gC9Em5XpMP+xO+mIL8HTj0fH71wt1ETylagENenDZM=",
+ "strip_prefix": "",
+ "url": "https://github.com/uber/hermetic_cc_toolchain/releases/download/v3.0.0/hermetic_cc_toolchain-v3.0.0.tar.gz"
+}
diff --git a/modules/hermetic_cc_toolchain/metadata.json b/modules/hermetic_cc_toolchain/metadata.json
index ac6f805..8ab50fa 100644
--- a/modules/hermetic_cc_toolchain/metadata.json
+++ b/modules/hermetic_cc_toolchain/metadata.json
@@ -19,7 +19,9 @@
"2.1.2",
"2.1.3",
"2.2.0",
- "2.2.1"
+ "2.2.1",
+ "2.2.3",
+ "3.0.0"
],
"yanked_versions": {}
}
diff --git a/modules/imath/3.1.10/MODULE.bazel b/modules/imath/3.1.10/MODULE.bazel
new file mode 100644
index 0000000..43b2b0d
--- /dev/null
+++ b/modules/imath/3.1.10/MODULE.bazel
@@ -0,0 +1,7 @@
+module(
+ name = "imath",
+ version = "3.1.10",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
diff --git a/modules/imath/3.1.10/patches/add_build_file.patch b/modules/imath/3.1.10/patches/add_build_file.patch
new file mode 100644
index 0000000..12d6434
--- /dev/null
+++ b/modules/imath/3.1.10/patches/add_build_file.patch
@@ -0,0 +1,85 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,82 @@
++# SPDX-License-Identifier: BSD-3-Clause
++# Copyright (c) Contributors to the OpenEXR Project.
++
++load("@bazel_skylib//rules:expand_template.bzl", "expand_template")
++
++expand_template(
++ name = "ImathConfig",
++ out = "src/Imath/ImathConfig.h",
++ substitutions = {
++ "@IMATH_INTERNAL_NAMESPACE@": "Imath_3_1",
++ "@IMATH_LIB_VERSION@": "3.1.10",
++ "@IMATH_NAMESPACE_CUSTOM@": "0",
++ "@IMATH_NAMESPACE@": "Imath",
++ "@IMATH_PACKAGE_NAME@": "Imath 3.1.10",
++ "@Imath_VERSION_MAJOR@": "3",
++ "@Imath_VERSION_MINOR@": "1",
++ "@Imath_VERSION_PATCH@": "10",
++ "@IMATH_VERSION@": "3.1.10",
++ "#cmakedefine IMATH_HALF_USE_LOOKUP_TABLE": "#define IMATH_HALF_USE_LOOKUP_TABLE",
++ "#cmakedefine IMATH_ENABLE_API_VISIBILITY": "#define IMATH_ENABLE_API_VISIBILITY",
++ "#cmakedefine IMATH_HAVE_LARGE_STACK": "/* #undef IMATH_HAVE_LARGE_STACK */",
++ "#cmakedefine01 IMATH_USE_NOEXCEPT": "#define IMATH_USE_NOEXCEPT 1",
++ },
++ template = "config/ImathConfig.h.in",
++)
++
++cc_library(
++ name = "Imath",
++ srcs = [
++ "src/Imath/ImathColorAlgo.cpp",
++ "src/Imath/ImathFun.cpp",
++ "src/Imath/ImathMatrixAlgo.cpp",
++ "src/Imath/ImathRandom.cpp",
++ "src/Imath/half.cpp",
++ "src/Imath/toFloat.h",
++ ],
++ hdrs = [
++ "src/Imath/ImathBox.h",
++ "src/Imath/ImathBoxAlgo.h",
++ "src/Imath/ImathColor.h",
++ "src/Imath/ImathColorAlgo.h",
++ "src/Imath/ImathConfig.h",
++ "src/Imath/ImathEuler.h",
++ "src/Imath/ImathExport.h",
++ "src/Imath/ImathForward.h",
++ "src/Imath/ImathFrame.h",
++ "src/Imath/ImathFrustum.h",
++ "src/Imath/ImathFrustumTest.h",
++ "src/Imath/ImathFun.h",
++ "src/Imath/ImathGL.h",
++ "src/Imath/ImathGLU.h",
++ "src/Imath/ImathInt64.h",
++ "src/Imath/ImathInterval.h",
++ "src/Imath/ImathLine.h",
++ "src/Imath/ImathLineAlgo.h",
++ "src/Imath/ImathMath.h",
++ "src/Imath/ImathMatrix.h",
++ "src/Imath/ImathMatrixAlgo.h",
++ "src/Imath/ImathNamespace.h",
++ "src/Imath/ImathPlane.h",
++ "src/Imath/ImathPlatform.h",
++ "src/Imath/ImathQuat.h",
++ "src/Imath/ImathRandom.h",
++ "src/Imath/ImathRoots.h",
++ "src/Imath/ImathShear.h",
++ "src/Imath/ImathSphere.h",
++ "src/Imath/ImathTypeTraits.h",
++ "src/Imath/ImathVec.h",
++ "src/Imath/ImathVecAlgo.h",
++ "src/Imath/half.h",
++ "src/Imath/halfFunction.h",
++ "src/Imath/halfLimits.h",
++ ],
++ includes = ["src/Imath"],
++ visibility = ["//visibility:public"],
++)
++
++alias(
++ name = "imath",
++ actual = ":Imath",
++ visibility = ["//visibility:public"],
++)
diff --git a/modules/imath/3.1.10/patches/module_dot_bazel.patch b/modules/imath/3.1.10/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..e00893c
--- /dev/null
+++ b/modules/imath/3.1.10/patches/module_dot_bazel.patch
@@ -0,0 +1,10 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -0,0 +1,7 @@
++module(
++ name = "imath",
++ version = "3.1.10",
++ compatibility_level = 1,
++)
++
++bazel_dep(name = "bazel_skylib", version = "1.5.0")
diff --git a/modules/imath/3.1.10/presubmit.yml b/modules/imath/3.1.10/presubmit.yml
new file mode 100644
index 0000000..65df231
--- /dev/null
+++ b/modules/imath/3.1.10/presubmit.yml
@@ -0,0 +1,14 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - windows
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@imath//:Imath'
diff --git a/modules/imath/3.1.10/source.json b/modules/imath/3.1.10/source.json
new file mode 100644
index 0000000..3a7c6b2
--- /dev/null
+++ b/modules/imath/3.1.10/source.json
@@ -0,0 +1,10 @@
+{
+ "integrity": "sha256-8pQ+hr+2lOIWxguaFp5TVvipDxj70017bjRQvhT2CxA=",
+ "patch_strip": 0,
+ "patches": {
+ "add_build_file.patch": "sha256-Sm4ffncaCYrvNvsdI5wNFNKjj/y44kJUAbMBJ8CquTE=",
+ "module_dot_bazel.patch": "sha256-/g7w528fXahY3vTK7A8rLu/K6WlvqxN8vbfWyGGZ8rE="
+ },
+ "strip_prefix": "Imath-3.1.10",
+ "url": "https://github.com/AcademySoftwareFoundation/Imath/archive/refs/tags/v3.1.10.tar.gz"
+}
diff --git a/modules/imath/metadata.json b/modules/imath/metadata.json
index de13d8f..7f9aab4 100644
--- a/modules/imath/metadata.json
+++ b/modules/imath/metadata.json
@@ -11,7 +11,8 @@
"github:AcademySoftwareFoundation/Imath"
],
"versions": [
- "3.1.9"
+ "3.1.9",
+ "3.1.10"
],
"yanked_versions": {}
}
diff --git a/modules/jsonnet/metadata.json b/modules/jsonnet/metadata.json
index 6edf175..441d7c1 100644
--- a/modules/jsonnet/metadata.json
+++ b/modules/jsonnet/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://jsonnet.org",
- "maintainers": [],
- "repository": [
- "github:google/jsonnet"
- ],
- "versions": [
- "0.20.0"
- ],
- "yanked_versions": {}
+ "homepage": "https://jsonnet.org",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:google/jsonnet"
+ ],
+ "versions": [
+ "0.20.0"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/jsonnet_go/metadata.json b/modules/jsonnet_go/metadata.json
index f64e440..b1ff5b0 100644
--- a/modules/jsonnet_go/metadata.json
+++ b/modules/jsonnet_go/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://github.com/google/go-jsonnet",
- "maintainers": [],
- "repository": [
- "github:google/go-jsonnet"
- ],
- "versions": [
- "0.20.0"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/google/go-jsonnet",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:google/go-jsonnet"
+ ],
+ "versions": [
+ "0.20.0"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/libpfm/metadata.json b/modules/libpfm/metadata.json
index 48405da..cba1a9a 100644
--- a/modules/libpfm/metadata.json
+++ b/modules/libpfm/metadata.json
@@ -1,9 +1,14 @@
{
- "homepage": "https://perfmon2.sourceforge.net",
- "maintainers": [],
- "repository": [],
- "versions": [
- "4.11.0"
- ],
- "yanked_versions": {}
+ "homepage": "https://perfmon2.sourceforge.net",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [],
+ "versions": [
+ "4.11.0"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/liburing/2.5/MODULE.bazel b/modules/liburing/2.5/MODULE.bazel
new file mode 100644
index 0000000..9f5bea3
--- /dev/null
+++ b/modules/liburing/2.5/MODULE.bazel
@@ -0,0 +1,7 @@
+module(
+ name = "liburing",
+ version = "2.5",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "rules_cc", version = "0.0.9")
diff --git a/modules/liburing/2.5/patches/add_build_file.patch b/modules/liburing/2.5/patches/add_build_file.patch
new file mode 100644
index 0000000..df356f0
--- /dev/null
+++ b/modules/liburing/2.5/patches/add_build_file.patch
@@ -0,0 +1,79 @@
+--- /dev/null
++++ a/BUILD.bazel
+@@ -0,0 +1,76 @@
++# SPDX-License-Identifier: Apache-2.0
++
++# This genrule facilitates the installed kernel headers to configure a
++# compatibility header file. While that effectively breaks hermeticity, there
++# is not much we can do about that. We can't really bring the kernel headers
++# into BCR as they correspond to the host kernel. The good news is that the
++# resulting library is portable due to the compatibility layer at compile
++# time.
++genrule(
++ name = "generate_headers",
++ srcs = [
++ "Makefile.common",
++ "liburing.spec",
++ ],
++ outs = [
++ "config-host.h",
++ "src/include/liburing/compat.h",
++ "src/include/liburing/io_uring_version.h",
++ ],
++ cmd = """
++ export CC=$(CC) CXX=$(CC)++
++
++ # switch to the package dir to execute "configure" right there
++ pushd $$(dirname $(location configure))
++ mkdir -p src/include/liburing
++ ./configure --use-libc
++ popd
++
++ # collect the outputs
++ for out in $(OUTS); do
++ cp $$(realpath --relative-to=$(BINDIR) $$out) $$out
++ done
++ """,
++ toolchains = ["@bazel_tools//tools/cpp:current_cc_toolchain"],
++ tools = ["configure"],
++)
++
++cc_library(
++ name = "uring",
++ srcs = [
++ "config-host.h",
++ "src/include/liburing/compat.h",
++ "src/include/liburing/io_uring_version.h",
++ "src/queue.c",
++ "src/register.c",
++ "src/setup.c",
++ "src/syscall.c",
++ "src/version.c",
++ ] + glob([
++ "src/arch/**/*.h",
++ "src/*.h",
++ ]),
++ hdrs = glob(["src/include/**/*.h"]),
++
++ # cflags aligned with upstream:
++ # https://github.com/axboe/liburing/blob/master/src/Makefile#L13
++ copts = [
++ "-D_GNU_SOURCE",
++ "-D_LARGEFILE_SOURCE",
++ "-D_FILE_OFFSET_BITS=64",
++ "-DLIBURING_INTERNAL",
++ "-O3",
++ "-Wall",
++ "-Wextra",
++ "-fno-stack-protector",
++ "-include config-host.h",
++ ],
++ includes = ["src/include"],
++ visibility = ["//visibility:public"],
++)
++
++alias(
++ name = "liburing",
++ actual = ":uring",
++ visibility = ["//visibility:public"],
++)
diff --git a/modules/liburing/2.5/patches/module_dot_bazel.patch b/modules/liburing/2.5/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..9789a71
--- /dev/null
+++ b/modules/liburing/2.5/patches/module_dot_bazel.patch
@@ -0,0 +1,10 @@
+--- a/MODULE.bazel
++++ a/MODULE.bazel
+@@ -0,0 +1,7 @@
++module(
++ name = "liburing",
++ version = "2.5",
++ compatibility_level = 1,
++)
++
++bazel_dep(name = "rules_cc", version = "0.0.9")
diff --git a/modules/liburing/2.5/presubmit.yml b/modules/liburing/2.5/presubmit.yml
new file mode 100644
index 0000000..d62fbe5
--- /dev/null
+++ b/modules/liburing/2.5/presubmit.yml
@@ -0,0 +1,17 @@
+matrix:
+ platform:
+ - debian11
+ - debian10
+ - fedora39
+ - ubuntu2004
+ - ubuntu2204
+ bazel:
+ - 7.x
+ - 6.x
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@liburing'
diff --git a/modules/liburing/2.5/source.json b/modules/liburing/2.5/source.json
new file mode 100644
index 0000000..060d461
--- /dev/null
+++ b/modules/liburing/2.5/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/axboe/liburing/archive/refs/tags/liburing-2.5.tar.gz",
+ "integrity": "sha256-RW9fiCFlYw8Nx7dej9U70BqVXV1HIHKbQyMJfm6fKpg=",
+ "strip_prefix": "liburing-liburing-2.5",
+ "patches": {
+ "add_build_file.patch": "sha256-bSFDyIEyJYYP0sXNNePKjbnLKGMveouIm6pZ6fRY9Yc=",
+ "module_dot_bazel.patch": "sha256-YB8pxLkYyg8znqTewNFcc9D/bPjQ30plU+xoLEKWSco="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/liburing/metadata.json b/modules/liburing/metadata.json
new file mode 100644
index 0000000..ff1aba5
--- /dev/null
+++ b/modules/liburing/metadata.json
@@ -0,0 +1,17 @@
+{
+ "homepage": "https://github.com/axboe/liburing",
+ "maintainers": [
+ {
+ "email": "maennich@google.com",
+ "github": "metti",
+ "name": "Matthias Maennich"
+ }
+ ],
+ "repository": [
+ "github:axboe/liburing"
+ ],
+ "versions": [
+ "2.5"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/libuuid/2.39.3.bcr.1/MODULE.bazel b/modules/libuuid/2.39.3.bcr.1/MODULE.bazel
new file mode 100644
index 0000000..a32fcff
--- /dev/null
+++ b/modules/libuuid/2.39.3.bcr.1/MODULE.bazel
@@ -0,0 +1,5 @@
+module(
+ name = "libuuid",
+ version = "2.39.3.bcr.1",
+ compatibility_level = 1,
+)
diff --git a/modules/libuuid/2.39.3.bcr.1/patches/add_build_file.patch b/modules/libuuid/2.39.3.bcr.1/patches/add_build_file.patch
new file mode 100644
index 0000000..a5189f5
--- /dev/null
+++ b/modules/libuuid/2.39.3.bcr.1/patches/add_build_file.patch
@@ -0,0 +1,71 @@
+diff --git BUILD.bazel BUILD.bazel
+new file mode 100644
+index 000000000..19d8a6a34
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,65 @@
++cc_library(
++ name = "common",
++ srcs = [
++ "lib/md5.c",
++ "lib/randutils.c",
++ "lib/sha1.c",
++ "lib/strutils.c",
++ ],
++ hdrs = [
++ "include/all-io.h",
++ "include/bitops.h",
++ "include/c.h",
++ "include/md5.h",
++ "include/nls.h",
++ "include/pathnames.h",
++ "include/randutils.h",
++ "include/sha1.h",
++ "include/strutils.h",
++ ],
++ copts = [
++ "-Wno-implicit-function-declaration",
++ "-Wno-return-type",
++ ],
++ defines = ["HAVE_NANOSLEEP"],
++ includes = ["include"],
++ visibility = ["//visibility:public"],
++)
++
++cc_library(
++ name = "uuid",
++ srcs = [
++ "libuuid/src/uuidP.h",
++ "libuuid/src/clear.c",
++ "libuuid/src/compare.c",
++ "libuuid/src/copy.c",
++ "libuuid/src/gen_uuid.c",
++ "libuuid/src/isnull.c",
++ "libuuid/src/pack.c",
++ "libuuid/src/parse.c",
++ "libuuid/src/predefined.c",
++ "libuuid/src/unpack.c",
++ "libuuid/src/unparse.c",
++ "libuuid/src/uuidd.h",
++ "libuuid/src/uuid_time.c",
++ ],
++ deps = [
++ ":common",
++ ],
++ hdrs = [
++ "libuuid/src/uuid.h",
++ ],
++ copts = [
++ "-Wno-implicit-function-declaration",
++ "-Wno-unused-parameter",
++ ],
++ strip_include_prefix = "libuuid/src",
++ include_prefix = "uuid",
++ visibility = ["//visibility:public"],
++)
++
++alias(
++ name = "libuuid",
++ actual = ":uuid",
++ visibility = ["//visibility:public"],
++)
diff --git a/modules/libuuid/2.39.3.bcr.1/patches/module_dot_bazel.patch b/modules/libuuid/2.39.3.bcr.1/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..b065c4f
--- /dev/null
+++ b/modules/libuuid/2.39.3.bcr.1/patches/module_dot_bazel.patch
@@ -0,0 +1,11 @@
+diff --git MODULE.bazel MODULE.bazel
+new file mode 100644
+index 000000000..a32fcff02
+--- /dev/null
++++ MODULE.bazel
+@@ -0,0 +1,5 @@
++module(
++ name = "libuuid",
++ version = "2.39.3.bcr.1",
++ compatibility_level = 1,
++)
diff --git a/modules/libuuid/2.39.3.bcr.1/presubmit.yml b/modules/libuuid/2.39.3.bcr.1/presubmit.yml
new file mode 100644
index 0000000..87b00fc
--- /dev/null
+++ b/modules/libuuid/2.39.3.bcr.1/presubmit.yml
@@ -0,0 +1,14 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@libuuid//:libuuid"
diff --git a/modules/libuuid/2.39.3.bcr.1/source.json b/modules/libuuid/2.39.3.bcr.1/source.json
new file mode 100644
index 0000000..057518e
--- /dev/null
+++ b/modules/libuuid/2.39.3.bcr.1/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/util-linux/util-linux/archive/refs/tags/v2.39.3.tar.gz",
+ "integrity": "sha256-JDTt0c8qrKKit2td5c58mLEvda+fYAgAwGVa8gvoWVY=",
+ "strip_prefix": "util-linux-2.39.3",
+ "patches": {
+ "add_build_file.patch": "sha256-YixA6F0seuVHetu/SRjN6su/YvrgRb4rWSLIYQxOlDM=",
+ "module_dot_bazel.patch": "sha256-M7ExPZ6UEi/t3LC4J4RtRDkleIYdeHwHoVjiY2iAyuo="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/libuuid/2.39.3/MODULE.bazel b/modules/libuuid/2.39.3/MODULE.bazel
new file mode 100644
index 0000000..1108dc3
--- /dev/null
+++ b/modules/libuuid/2.39.3/MODULE.bazel
@@ -0,0 +1,5 @@
+module(
+ name = "libuuid",
+ version = "2.39.3",
+ compatibility_level = 1,
+)
diff --git a/modules/libuuid/2.39.3/patches/add_build_file.patch b/modules/libuuid/2.39.3/patches/add_build_file.patch
new file mode 100644
index 0000000..7a03af2
--- /dev/null
+++ b/modules/libuuid/2.39.3/patches/add_build_file.patch
@@ -0,0 +1,73 @@
+diff --git BUILD.bazel BUILD.bazel
+new file mode 100644
+index 000000000..95cec7b01
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,67 @@
++cc_library(
++ name = "common",
++ srcs = [
++ "lib/md5.c",
++ "lib/randutils.c",
++ "lib/sha1.c",
++ "lib/strutils.c",
++ ],
++ hdrs = [
++ "include/all-io.h",
++ "include/bitops.h",
++ "include/c.h",
++ "include/md5.h",
++ "include/nls.h",
++ "include/pathnames.h",
++ "include/randutils.h",
++ "include/sha1.h",
++ "include/strutils.h",
++ ],
++ defines = ["HAVE_NANOSLEEP"],
++ strip_include_prefix = "include",
++ visibility = ["//visibility:public"],
++)
++
++cc_library(
++ name = "uuid",
++ srcs = [
++ "include/all-io.h",
++ "include/bitops.h",
++ "include/c.h",
++ "include/md5.h",
++ "include/nls.h",
++ "include/pathnames.h",
++ "include/randutils.h",
++ "include/sha1.h",
++ "include/strutils.h",
++ "lib/md5.c",
++ "lib/randutils.c",
++ "lib/sha1.c",
++ "lib/strutils.c",
++ "libuuid/src/uuidP.h",
++ "libuuid/src/clear.c",
++ "libuuid/src/compare.c",
++ "libuuid/src/copy.c",
++ "libuuid/src/gen_uuid.c",
++ "libuuid/src/isnull.c",
++ "libuuid/src/pack.c",
++ "libuuid/src/parse.c",
++ "libuuid/src/uuidd.h",
++ "libuuid/src/uuid_time.c",
++ ],
++ deps = [
++ ":common",
++ ],
++ hdrs = [
++ "libuuid/src/uuid.h",
++ ],
++ strip_include_prefix = "libuuid/src",
++ include_prefix = "uuid",
++ visibility = ["//visibility:public"],
++)
++
++alias(
++ name = "libuuid",
++ actual = ":uuid",
++ visibility = ["//visibility:public"],
++)
diff --git a/modules/libuuid/2.39.3/patches/module_dot_bazel.patch b/modules/libuuid/2.39.3/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..9c177b3
--- /dev/null
+++ b/modules/libuuid/2.39.3/patches/module_dot_bazel.patch
@@ -0,0 +1,11 @@
+diff --git MODULE.bazel MODULE.bazel
+new file mode 100644
+index 000000000..1108dc3c1
+--- /dev/null
++++ MODULE.bazel
+@@ -0,0 +1,5 @@
++module(
++ name = "libuuid",
++ version = "2.39.3",
++ compatibility_level = 1,
++)
diff --git a/modules/libuuid/2.39.3/presubmit.yml b/modules/libuuid/2.39.3/presubmit.yml
new file mode 100644
index 0000000..87b00fc
--- /dev/null
+++ b/modules/libuuid/2.39.3/presubmit.yml
@@ -0,0 +1,14 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@libuuid//:libuuid"
diff --git a/modules/libuuid/2.39.3/source.json b/modules/libuuid/2.39.3/source.json
new file mode 100644
index 0000000..dccf4b0
--- /dev/null
+++ b/modules/libuuid/2.39.3/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/util-linux/util-linux/archive/refs/tags/v2.39.3.tar.gz",
+ "integrity": "sha256-JDTt0c8qrKKit2td5c58mLEvda+fYAgAwGVa8gvoWVY=",
+ "strip_prefix": "util-linux-2.39.3",
+ "patches": {
+ "add_build_file.patch": "sha256-YmHnBzBeat43JsiFGoS7ZEs+ju7OQ2Azvads6+9gRoE=",
+ "module_dot_bazel.patch": "sha256-P0W+YmFD9pqCq5sKDOauWh/QNK40Zp5y/1LYlRlo5KI="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/libuuid/metadata.json b/modules/libuuid/metadata.json
new file mode 100644
index 0000000..12fd452
--- /dev/null
+++ b/modules/libuuid/metadata.json
@@ -0,0 +1,18 @@
+{
+ "homepage": "https://github.com/util-linux/util-linux",
+ "maintainers": [
+ {
+ "email": "daisuke.nishimatsu1021@gmail.com",
+ "github": "wep21",
+ "name": "Daisuke Nishimatsu"
+ }
+ ],
+ "repository": [
+ "github:util-linux/util-linux"
+ ],
+ "versions": [
+ "2.39.3",
+ "2.39.3.bcr.1"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/libyaml/0.2.5/MODULE.bazel b/modules/libyaml/0.2.5/MODULE.bazel
new file mode 100644
index 0000000..89ef469
--- /dev/null
+++ b/modules/libyaml/0.2.5/MODULE.bazel
@@ -0,0 +1,6 @@
+module(
+ name = "libyaml",
+ version = "0.2.5",
+ compatibility_level = 1,
+)
+bazel_dep(name = "rules_cc", version = "0.0.9")
diff --git a/modules/libyaml/0.2.5/patches/add_build_file.patch b/modules/libyaml/0.2.5/patches/add_build_file.patch
new file mode 100644
index 0000000..cbe527f
--- /dev/null
+++ b/modules/libyaml/0.2.5/patches/add_build_file.patch
@@ -0,0 +1,32 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,29 @@
++""" Builds libyaml.
++"""
++
++load("@rules_cc//cc:defs.bzl", "cc_library")
++
++cc_library(
++ name = "libyaml",
++ srcs = [
++ "src/api.c",
++ "src/dumper.c",
++ "src/emitter.c",
++ "src/loader.c",
++ "src/parser.c",
++ "src/reader.c",
++ "src/scanner.c",
++ "src/writer.c",
++ "src/yaml_private.h",
++ ],
++ hdrs = ["include/yaml.h"],
++ copts = ["-w"],
++ includes = ["include"],
++ local_defines = [
++ "YAML_VERSION_MAJOR=0",
++ "YAML_VERSION_MINOR=2",
++ "YAML_VERSION_PATCH=5",
++ 'YAML_VERSION_STRING=\\"0.2.5\\"',
++ ],
++ visibility = ["//visibility:public"],
++)
diff --git a/modules/libyaml/0.2.5/patches/module_dot_bazel.patch b/modules/libyaml/0.2.5/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..0dd578a
--- /dev/null
+++ b/modules/libyaml/0.2.5/patches/module_dot_bazel.patch
@@ -0,0 +1,9 @@
+--- /dev/null
++++ MODULE.bazel
+@@ -0,0 +1,6 @@
++module(
++ name = "libyaml",
++ version = "0.2.5",
++ compatibility_level = 1,
++)
++bazel_dep(name = "rules_cc", version = "0.0.9")
diff --git a/modules/libyaml/0.2.5/presubmit.yml b/modules/libyaml/0.2.5/presubmit.yml
new file mode 100644
index 0000000..3e96242
--- /dev/null
+++ b/modules/libyaml/0.2.5/presubmit.yml
@@ -0,0 +1,14 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@libyaml'
diff --git a/modules/libyaml/0.2.5/source.json b/modules/libyaml/0.2.5/source.json
new file mode 100644
index 0000000..f5a63fd
--- /dev/null
+++ b/modules/libyaml/0.2.5/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/yaml/libyaml/releases/download/0.2.5/yaml-0.2.5.tar.gz",
+ "integrity": "sha256-xkKum3X+4SCy2WxxJTi9LPKDIo0jN98s8piOPAJnjvQ=",
+ "strip_prefix": "yaml-0.2.5",
+ "patches": {
+ "add_build_file.patch": "sha256-/v4tc0vcSCT1ztwhNQoCSvt/YuDUWJ8uQUfr6cAk51w=",
+ "module_dot_bazel.patch": "sha256-nafHcADd1Yx3bXwUrNemoevJPRtRAWyUtxGmOg4QHs8="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/libyaml/metadata.json b/modules/libyaml/metadata.json
new file mode 100644
index 0000000..0abc42a
--- /dev/null
+++ b/modules/libyaml/metadata.json
@@ -0,0 +1,16 @@
+{
+ "homepage": "https://github.com/yaml/libyaml",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:yaml/libyaml"
+ ],
+ "versions": [
+ "0.2.5"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/llvm-project/metadata.json b/modules/llvm-project/metadata.json
index af3b4ae..613e7a8 100644
--- a/modules/llvm-project/metadata.json
+++ b/modules/llvm-project/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://llvm.org/",
- "maintainers": [],
- "repository": [
- "github:llvm/llvm-project"
- ],
- "versions": [
- "17.0.3"
- ],
- "yanked_versions": {}
+ "homepage": "https://llvm.org/",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:llvm/llvm-project"
+ ],
+ "versions": [
+ "17.0.3"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/lz4/metadata.json b/modules/lz4/metadata.json
index c3c575e..e475534 100644
--- a/modules/lz4/metadata.json
+++ b/modules/lz4/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://github.com/lz4/lz4",
- "maintainers": [],
- "repository": [
- "github:lz4/lz4"
- ],
- "versions": [
- "1.9.4"
- ],
- "yanked_versions": {}
-} \ No newline at end of file
+ "homepage": "https://github.com/lz4/lz4",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:lz4/lz4"
+ ],
+ "versions": [
+ "1.9.4"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/mcap/metadata.json b/modules/mcap/metadata.json
index 1b0425a..4fa1114 100644
--- a/modules/mcap/metadata.json
+++ b/modules/mcap/metadata.json
@@ -1,12 +1,17 @@
{
- "homepage": "https://github.com/foxglove/mcap",
- "maintainers": [],
- "repository": [
- "github:foxglove/mcap"
- ],
- "versions": [
- "0.8.0",
- "1.2.1"
- ],
- "yanked_versions": {}
-} \ No newline at end of file
+ "homepage": "https://github.com/foxglove/mcap",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:foxglove/mcap"
+ ],
+ "versions": [
+ "0.8.0",
+ "1.2.1"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/nanobind/metadata.json b/modules/nanobind/metadata.json
index 80d613a..167dc3c 100644
--- a/modules/nanobind/metadata.json
+++ b/modules/nanobind/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://github.com/wjakob/nanobind",
- "maintainers": [],
- "repository": [
- "github:wjakob/nanobind"
- ],
- "versions": [
- "1.2.0"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/wjakob/nanobind",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:wjakob/nanobind"
+ ],
+ "versions": [
+ "1.2.0"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/nanoflann/1.5.4/MODULE.bazel b/modules/nanoflann/1.5.4/MODULE.bazel
new file mode 100644
index 0000000..4968aae
--- /dev/null
+++ b/modules/nanoflann/1.5.4/MODULE.bazel
@@ -0,0 +1,6 @@
+module(
+ name = "nanoflann",
+ version = "1.5.4",
+ compatibility_level = 1,
+)
+bazel_dep(name = "rules_cc", version = "0.0.9") \ No newline at end of file
diff --git a/modules/nanoflann/1.5.4/patches/add_build_file.patch b/modules/nanoflann/1.5.4/patches/add_build_file.patch
new file mode 100644
index 0000000..0801b3b
--- /dev/null
+++ b/modules/nanoflann/1.5.4/patches/add_build_file.patch
@@ -0,0 +1,13 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,10 @@
++load("@rules_cc//cc:defs.bzl", "cc_library")
++
++cc_library(
++ name = "nanoflann",
++ hdrs = ["include/nanoflann.hpp"],
++ include_prefix = "nanoflann",
++ strip_include_prefix = "include",
++ visibility = ["//visibility:public"],
++)
++
diff --git a/modules/nanoflann/1.5.4/patches/module_dot_bazel.patch b/modules/nanoflann/1.5.4/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..eb5a0e3
--- /dev/null
+++ b/modules/nanoflann/1.5.4/patches/module_dot_bazel.patch
@@ -0,0 +1,9 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -0,0 +1,6 @@
++module(
++ name = "nanoflann",
++ version = "1.5.4",
++ compatibility_level = 1,
++)
++bazel_dep(name = "rules_cc", version = "0.0.9")
diff --git a/modules/nanoflann/1.5.4/presubmit.yml b/modules/nanoflann/1.5.4/presubmit.yml
new file mode 100644
index 0000000..2ee5f23
--- /dev/null
+++ b/modules/nanoflann/1.5.4/presubmit.yml
@@ -0,0 +1,17 @@
+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:
+ - '@nanoflann'
diff --git a/modules/nanoflann/1.5.4/source.json b/modules/nanoflann/1.5.4/source.json
new file mode 100644
index 0000000..118b261
--- /dev/null
+++ b/modules/nanoflann/1.5.4/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/jlblancoc/nanoflann/archive/refs/tags/v1.5.4.tar.gz",
+ "strip_prefix": "nanoflann-1.5.4",
+ "integrity": "sha256-p/ZNC9/0JhTFYeUmgLFt5GwO2slxnyH5NcXh+LBlSvw=",
+ "patches": {
+ "add_build_file.patch": "sha256-bmSGK4naLUxbHWsz8f3bqHpiZKjtzx9Ys/ehUuDkaRg=",
+ "module_dot_bazel.patch": "sha256-81wmGqQjECLE5Xce06bwuANB985+G3zN2RzFIEDINvQ="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/nanoflann/metadata.json b/modules/nanoflann/metadata.json
new file mode 100644
index 0000000..95d2afe
--- /dev/null
+++ b/modules/nanoflann/metadata.json
@@ -0,0 +1,17 @@
+{
+ "homepage": "https://github.com/jlblancoc/nanoflann",
+ "maintainers": [
+ {
+ "email": "git@van-opdenbosch.net",
+ "github": "d-vo",
+ "name": "Dominik Van Opdenbosch"
+ }
+ ],
+ "repository": [
+ "github:jlblancoc/nanoflann"
+ ],
+ "versions": [
+ "1.5.4"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/openexr/3.2.2/MODULE.bazel b/modules/openexr/3.2.2/MODULE.bazel
new file mode 100644
index 0000000..864096e
--- /dev/null
+++ b/modules/openexr/3.2.2/MODULE.bazel
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright Contributors to the OpenEXR Project.
+
+module(
+ name = "openexr",
+ version = "3.2.2",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(name = "imath", repo_name = "Imath", version = "3.1.9")
+bazel_dep(name = "libdeflate", version = "1.19")
+bazel_dep(name = "platforms", version = "0.0.7")
diff --git a/modules/openexr/3.2.2/patches/module_dot_bazel.patch b/modules/openexr/3.2.2/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..97bd04e
--- /dev/null
+++ b/modules/openexr/3.2.2/patches/module_dot_bazel.patch
@@ -0,0 +1,10 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -3,6 +3,7 @@
+
+ module(
+ name = "openexr",
++ version = "3.2.2",
+ compatibility_level = 1,
+ )
+
diff --git a/modules/openexr/3.2.2/presubmit.yml b/modules/openexr/3.2.2/presubmit.yml
new file mode 100644
index 0000000..8d00290
--- /dev/null
+++ b/modules/openexr/3.2.2/presubmit.yml
@@ -0,0 +1,13 @@
+matrix:
+ platform:
+ - ubuntu2004
+ - macos
+ - windows
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@openexr//:OpenEXR'
diff --git a/modules/openexr/3.2.2/source.json b/modules/openexr/3.2.2/source.json
new file mode 100644
index 0000000..428d22b
--- /dev/null
+++ b/modules/openexr/3.2.2/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-Zd5kWcJFpJd85Nd3fnCzDX70jsOODPsQIFcGylCovy4=",
+ "patch_strip": 0,
+ "patches": {
+ "module_dot_bazel.patch": "sha256-/FqRyi/1Al132Vy7cLXFQb0yXopB4rpY0IL1be0nkvk="
+ },
+ "strip_prefix": "openexr-3.2.2",
+ "url": "https://github.com/AcademySoftwareFoundation/openexr/archive/refs/tags/v3.2.2.tar.gz"
+}
diff --git a/modules/openexr/metadata.json b/modules/openexr/metadata.json
index ddeb945..575254f 100644
--- a/modules/openexr/metadata.json
+++ b/modules/openexr/metadata.json
@@ -12,7 +12,8 @@
],
"versions": [
"3.2.0",
- "3.2.1"
+ "3.2.1",
+ "3.2.2"
],
"yanked_versions": {}
}
diff --git a/modules/osqp/0.6.3/MODULE.bazel b/modules/osqp/0.6.3/MODULE.bazel
new file mode 100644
index 0000000..44caadb
--- /dev/null
+++ b/modules/osqp/0.6.3/MODULE.bazel
@@ -0,0 +1,7 @@
+module(name = "osqp", version = "0.6.3")
+
+bazel_dep(name = "rules_cc", version = "0.0.9")
+bazel_dep(name = "platforms", version = "0.0.8")
+bazel_dep(name = "qdldl", version = "0.1.7")
+bazel_dep(name = "suitesparse", version = "7.6.0")
+bazel_dep(name = "cmake_configure_file", version = "0.1.0")
diff --git a/modules/osqp/0.6.3/patches/add_build_file.patch b/modules/osqp/0.6.3/patches/add_build_file.patch
new file mode 100644
index 0000000..bd4017e
--- /dev/null
+++ b/modules/osqp/0.6.3/patches/add_build_file.patch
@@ -0,0 +1,108 @@
+diff --git BUILD.bazel BUILD.bazel
+new file mode 100644
+index 00000000..00cc62f8
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,102 @@
++load("@rules_cc//cc:defs.bzl", "cc_library")
++
++package(default_visibility = ["//visibility:public"])
++
++licenses(["notice"])
++
++load(
++ "@cmake_configure_file//:cmake_configure_file.bzl",
++ "cmake_configure_file",
++)
++
++# Generates osqp_configure.h based on the defines= we want in Drake.
++cmake_configure_file(
++ name = "configure_file",
++ src = "configure/osqp_configure.h.in",
++ out = "include/osqp_configure.h",
++ defines = [
++ "PRINTING",
++ "PROFILING",
++ # Keep the default primitive size of `double` and `int`. Don't define
++ # 'DFLOAT' nor 'DLONG' unless @qdldl_internal and @scs_internal are
++ # also changed to use those primitive sizes.
++ # See drake/tools/workspace/qdldl_internal/README.md.
++ ] + select({
++ "@platforms//os:windows": [
++ "IS_WINDOWS",
++ ],
++ "@platforms//os:osx": [
++ "IS_MAC",
++ ],
++ "//conditions:default": [
++ "IS_LINUX",
++ ],
++ }),
++ undefines = [
++ "OSQP_CUSTOM_MEMORY",
++ ],
++ visibility = ["//visibility:private"],
++)
++
++cc_library(
++ name = "osqp",
++ # Our hdrs match OSQP's ./include/CMakeLists.txt variable `osqp_headers`.
++ hdrs = [
++ # These headers are always enabled in CMakeLists.
++ "include/auxil.h",
++ "include/constants.h",
++ "include/error.h",
++ "include/glob_opts.h",
++ "include/lin_alg.h",
++ "include/osqp.h",
++ "include/osqp_configure.h",
++ "include/proj.h",
++ "include/scaling.h",
++ "include/types.h",
++ "include/util.h",
++ "include/version.h",
++ # These headers are enabled in CMakeLists only when building in normal
++ # mode.
++ "include/kkt.h",
++ # These headers are enabled in CMakeLists only when building in
++ # non-embedded mode.
++ "include/cs.h",
++ "include/polish.h",
++ "include/lin_sys.h",
++ ],
++ srcs = [
++ # From ./lin_sys/direct/qdldl/CMakeLists.txt at `qdldl_interface_src`.
++ "lin_sys/direct/qdldl/qdldl_interface.h",
++ "lin_sys/direct/qdldl/qdldl_interface.c",
++ # From ./src/CMakeLists.txt at `osqp_src`.
++ # These sources are always enabled in CMakeLists.
++ "src/auxil.c",
++ "src/error.c",
++ "src/lin_alg.c",
++ "src/osqp.c",
++ "src/proj.c",
++ "src/scaling.c",
++ "src/util.c",
++ # These sources are enabled in CMakeLists only when building in normal
++ # mode.
++ "src/kkt.c",
++ # These sources are enabled in CMakeLists only when building in
++ # non-embedded mode.
++ "src/cs.c",
++ "src/polish.c",
++ "src/lin_sys.c",
++ ],
++ includes = [
++ "include",
++ "lin_sys/direct/qdldl",
++ ],
++ copts = [
++ "-fvisibility=hidden",
++ "-w",
++ "-Werror=incompatible-pointer-types",
++ ],
++ deps = [
++ "@qdldl//:qdldl",
++ "@suitesparse//:amd",
++ ],
++)
diff --git a/modules/osqp/0.6.3/patches/module_dot_bazel.patch b/modules/osqp/0.6.3/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..daf0584
--- /dev/null
+++ b/modules/osqp/0.6.3/patches/module_dot_bazel.patch
@@ -0,0 +1,13 @@
+diff --git MODULE.bazel MODULE.bazel
+new file mode 100644
+index 00000000..44caadb7
+--- /dev/null
++++ MODULE.bazel
+@@ -0,0 +1,7 @@
++module(name = "osqp", version = "0.6.3")
++
++bazel_dep(name = "rules_cc", version = "0.0.9")
++bazel_dep(name = "platforms", version = "0.0.8")
++bazel_dep(name = "qdldl", version = "0.1.7")
++bazel_dep(name = "suitesparse", version = "7.6.0")
++bazel_dep(name = "cmake_configure_file", version = "0.1.0")
diff --git a/modules/osqp/0.6.3/presubmit.yml b/modules/osqp/0.6.3/presubmit.yml
new file mode 100644
index 0000000..6a97fe9
--- /dev/null
+++ b/modules/osqp/0.6.3/presubmit.yml
@@ -0,0 +1,14 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@osqp//:osqp"
diff --git a/modules/osqp/0.6.3/source.json b/modules/osqp/0.6.3/source.json
new file mode 100644
index 0000000..20fa948
--- /dev/null
+++ b/modules/osqp/0.6.3/source.json
@@ -0,0 +1,9 @@
+{
+ "url": "https://github.com/osqp/osqp/releases/download/v0.6.3/osqp-v0.6.3-src.tar.gz",
+ "integrity": "sha256-KFsqYPaNEToQkHZ+yKnIGmWzry0lj4x4oxzD+YulhFY=",
+ "patches": {
+ "add_build_file.patch": "sha256-kB7vzhNR2VjE5V+iuA5M+FbCvV8r+q6qEeYW+b7gMzk=",
+ "module_dot_bazel.patch": "sha256-GwkYBvO9hNQ77O/e5QHLR2u5+BRKKI+/xvDqhLvK2Pk="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/osqp/metadata.json b/modules/osqp/metadata.json
new file mode 100644
index 0000000..368bb51
--- /dev/null
+++ b/modules/osqp/metadata.json
@@ -0,0 +1,17 @@
+{
+ "homepage": "https://github.com/osqp/osqp",
+ "maintainers": [
+ {
+ "email": "daisuke.nishimatsu1021@gmail.com",
+ "github": "wep21",
+ "name": "Daisuke Nishimatsu"
+ }
+ ],
+ "repository": [
+ "github:osqp/osqp"
+ ],
+ "versions": [
+ "0.6.3"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/pigz/2.8/MODULE.bazel b/modules/pigz/2.8/MODULE.bazel
new file mode 100644
index 0000000..25b3167
--- /dev/null
+++ b/modules/pigz/2.8/MODULE.bazel
@@ -0,0 +1,9 @@
+module(
+ name = "pigz",
+ version = "2.8",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "platforms", version = "0.0.8")
+bazel_dep(name = "zopfli", version = "1.0.3")
+bazel_dep(name = "zlib", version = "1.3")
diff --git a/modules/pigz/2.8/patches/add_build_file.patch b/modules/pigz/2.8/patches/add_build_file.patch
new file mode 100644
index 0000000..7147447
--- /dev/null
+++ b/modules/pigz/2.8/patches/add_build_file.patch
@@ -0,0 +1,28 @@
+--- /dev/null 2023-06-26 14:23:42
++++ BUILD.bazel 2023-06-26 14:23:36
+@@ -0,0 +1,25 @@
++_COPTS = ["-O3", "-Wall", "-Wextra", "-Wno-unknown-pragmas", "-Wcast-qual"]
++
++cc_binary(
++ name = "pigz",
++ srcs = [
++ "pigz.c",
++ "try.c",
++ "try.h",
++ "yarn.c",
++ "yarn.h",
++ ],
++ copts = _COPTS,
++ linkopts = [
++ "-lm",
++ "-lpthread",
++ ],
++ visibility = ["//visibility:public"],
++ deps = ["@zopfli", "@zlib"],
++)
++
++alias(
++ name = "bin",
++ actual = ":pigz",
++ visibility = ["//visibility:public"],
++)
diff --git a/modules/pigz/2.8/patches/module_dot_bazel.patch b/modules/pigz/2.8/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..164af0a
--- /dev/null
+++ b/modules/pigz/2.8/patches/module_dot_bazel.patch
@@ -0,0 +1,12 @@
+--- /dev/null 2023-06-26 13:35:45
++++ MODULE.bazel 2023-06-26 13:33:20
+@@ -0,0 +1,9 @@
++module(
++ name = "pigz",
++ version = "2.8",
++ compatibility_level = 1,
++)
++
++bazel_dep(name = "platforms", version = "0.0.8")
++bazel_dep(name = "zopfli", version = "1.0.3")
++bazel_dep(name = "zlib", version = "1.3")
diff --git a/modules/pigz/2.8/patches/pigz.c.patch b/modules/pigz/2.8/patches/pigz.c.patch
new file mode 100644
index 0000000..c5b5e77
--- /dev/null
+++ b/modules/pigz/2.8/patches/pigz.c.patch
@@ -0,0 +1,11 @@
+--- pigz.c
++++ pigz.c
+@@ -429,7 +429,7 @@
+ #endif
+
+ #ifndef NOZOPFLI
+-# include "zopfli/src/zopfli/deflate.h" // ZopfliDeflatePart(),
++# include "zopfli/deflate.h" // ZopfliDeflatePart(),
+ // ZopfliInitOptions(),
+ // ZopfliOptions
+ #endif \ No newline at end of file
diff --git a/modules/pigz/2.8/presubmit.yml b/modules/pigz/2.8/presubmit.yml
new file mode 100644
index 0000000..653c641
--- /dev/null
+++ b/modules/pigz/2.8/presubmit.yml
@@ -0,0 +1,20 @@
+matrix:
+ platform:
+ - centos7
+ - debian10
+ - debian11
+ - ubuntu2004
+ - ubuntu2204
+ - macos
+ # Failing with pthread.h not found
+ # - windows
+ bazel:
+ - 7.x
+ - 6.x
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@pigz'
diff --git a/modules/pigz/2.8/source.json b/modules/pigz/2.8/source.json
new file mode 100644
index 0000000..166799b
--- /dev/null
+++ b/modules/pigz/2.8/source.json
@@ -0,0 +1,11 @@
+{
+ "url": "https://zlib.net/pigz/pigz-2.8.tar.gz",
+ "integrity": "sha256-64crTw4fDr5Zyfe9jFBsQgSJO6aoSS3jHfQW8NUXD9A=",
+ "strip_prefix": "pigz-2.8",
+ "patches": {
+ "pigz.c.patch": "sha256-hn43ocLFj8X6QOJj5iQj1e2KyZmvvfKQcqE10Kzhaak=",
+ "add_build_file.patch": "sha256-guRDEB3t2BVgJsczmia/0+5xHLH9edmBh8dsGXGO3Yw=",
+ "module_dot_bazel.patch": "sha256-MLC4Fuem38sMA+1vV8/A7n2MizMeuglBSKElOxqcpaI="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/pigz/metadata.json b/modules/pigz/metadata.json
index 6feb3c4..1ac3bd7 100644
--- a/modules/pigz/metadata.json
+++ b/modules/pigz/metadata.json
@@ -9,7 +9,8 @@
],
"repository": [],
"versions": [
- "2.7"
+ "2.7",
+ "2.8"
],
"yanked_versions": {}
}
diff --git a/modules/protobuf/metadata.json b/modules/protobuf/metadata.json
index 0f8b25a..6cbd219 100644
--- a/modules/protobuf/metadata.json
+++ b/modules/protobuf/metadata.json
@@ -1,18 +1,23 @@
{
- "homepage": "https://github.com/protocolbuffers/protobuf",
- "maintainers": [],
- "repository": [
- "github:protocolbuffers/protobuf"
- ],
- "versions": [
- "3.19.0",
- "3.19.2",
- "3.19.6",
- "21.7",
- "23.1"
- ],
- "yanked_versions": {
- "3.19.0": "CVE-2022-3171 (https://github.com/advisories/GHSA-h4h5-3hr4-j3g2)",
- "3.19.2": "CVE-2022-3171 (https://github.com/advisories/GHSA-h4h5-3hr4-j3g2)"
+ "homepage": "https://github.com/protocolbuffers/protobuf",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
}
+ ],
+ "repository": [
+ "github:protocolbuffers/protobuf"
+ ],
+ "versions": [
+ "3.19.0",
+ "3.19.2",
+ "3.19.6",
+ "21.7",
+ "23.1"
+ ],
+ "yanked_versions": {
+ "3.19.0": "CVE-2022-3171 (https://github.com/advisories/GHSA-h4h5-3hr4-j3g2)",
+ "3.19.2": "CVE-2022-3171 (https://github.com/advisories/GHSA-h4h5-3hr4-j3g2)"
+ }
}
diff --git a/modules/pugixml/metadata.json b/modules/pugixml/metadata.json
index d37d9aa..848e69b 100644
--- a/modules/pugixml/metadata.json
+++ b/modules/pugixml/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://github.com/zeux/pugixml.git",
- "maintainers": [],
- "repository": [
- "github:zeux/pugixml"
- ],
- "versions": [
- "1.14"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/zeux/pugixml.git",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:zeux/pugixml"
+ ],
+ "versions": [
+ "1.14"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/pybind11_bazel/2.11.1.bzl.2/MODULE.bazel b/modules/pybind11_bazel/2.11.1.bzl.2/MODULE.bazel
new file mode 100644
index 0000000..fafb6a1
--- /dev/null
+++ b/modules/pybind11_bazel/2.11.1.bzl.2/MODULE.bazel
@@ -0,0 +1,12 @@
+# Bazel extensions for pybind11
+module(
+ name = "pybind11_bazel",
+ version = "2.11.1.bzl.2",
+)
+
+bazel_dep(name = "platforms", version = "0.0.8")
+bazel_dep(name = "rules_cc", version = "0.0.9")
+bazel_dep(name = "rules_python", version = "0.31.0")
+
+internal_configure = use_extension("//:internal_configure.bzl", "internal_configure_extension")
+use_repo(internal_configure, "pybind11")
diff --git a/modules/pybind11_bazel/2.11.1.bzl.2/presubmit.yml b/modules/pybind11_bazel/2.11.1.bzl.2/presubmit.yml
new file mode 100644
index 0000000..17686aa
--- /dev/null
+++ b/modules/pybind11_bazel/2.11.1.bzl.2/presubmit.yml
@@ -0,0 +1,16 @@
+matrix:
+ platform:
+ - centos7_java11_devtoolset10
+ - debian10
+ - ubuntu2004
+ - macos
+ - windows
+ bazel:
+ - 6.x
+ - 7.x
+tasks:
+ build:
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@pybind11_bazel//...'
diff --git a/modules/pybind11_bazel/2.11.1.bzl.2/source.json b/modules/pybind11_bazel/2.11.1.bzl.2/source.json
new file mode 100644
index 0000000..20fedf1
--- /dev/null
+++ b/modules/pybind11_bazel/2.11.1.bzl.2/source.json
@@ -0,0 +1,5 @@
+{
+ "integrity": "sha256-2RHvFpdQSRyd205mMLrogrEnQlYnrxDlnUmfD3/5Ckg=",
+ "strip_prefix": "pybind11_bazel-2.11.1.bzl.2",
+ "url": "https://github.com/pybind/pybind11_bazel/releases/download/v2.11.1.bzl.2/pybind11_bazel-2.11.1.bzl.2.zip"
+}
diff --git a/modules/pybind11_bazel/metadata.json b/modules/pybind11_bazel/metadata.json
index 1219d46..6514d44 100644
--- a/modules/pybind11_bazel/metadata.json
+++ b/modules/pybind11_bazel/metadata.json
@@ -17,7 +17,8 @@
],
"versions": [
"2.11.1",
- "2.11.1.bzl.1"
+ "2.11.1.bzl.1",
+ "2.11.1.bzl.2"
],
"yanked_versions": {}
}
diff --git a/modules/qdldl/0.1.7/MODULE.bazel b/modules/qdldl/0.1.7/MODULE.bazel
new file mode 100644
index 0000000..01bf673
--- /dev/null
+++ b/modules/qdldl/0.1.7/MODULE.bazel
@@ -0,0 +1,8 @@
+module(
+ name = "qdldl",
+ version = "0.1.7",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "platforms", version = "0.0.8")
+bazel_dep(name = "rules_cc", version = "0.0.9")
diff --git a/modules/qdldl/0.1.7/patches/add_build_file.patch b/modules/qdldl/0.1.7/patches/add_build_file.patch
new file mode 100644
index 0000000..6176f37
--- /dev/null
+++ b/modules/qdldl/0.1.7/patches/add_build_file.patch
@@ -0,0 +1,70 @@
+diff --git BUILD.bazel BUILD.bazel
+new file mode 100644
+index 0000000..aabba4f
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,64 @@
++load("@rules_cc//cc:defs.bzl", "cc_library")
++
++load(
++ "//bazel:cmake_configure_file.bzl",
++ "cmake_configure_file",
++)
++
++licenses(["notice"])
++
++package(
++ default_visibility = ["//visibility:public"],
++)
++
++cmake_configure_file(
++ name = "configure_file_types",
++ src = "configure/qdldl_types.h.in",
++ out = "include/qdldl_types.h",
++ # https://github.com/osqp/qdldl/blob/v0.1.6/README.md#custom-types-for-integer-floats-and-booleans
++ defines = [
++ "QDLDL_BOOL_TYPE=unsigned char",
++ # Keep the `int` type sync'd with the build of @osqp_internal and
++ # @scs_internal. See drake/tools/workspace/qdldl_internal/README.md.
++ "QDLDL_INT_TYPE=int",
++ "QDLDL_LONG=0",
++ # Keep the `int` type sync'd with the build of @osqp_internal and
++ # @scs_internal. See drake/tools/workspace/qdldl_internal/README.md.
++ "QDLDL_FLOAT_TYPE=double",
++ "QDLDL_FLOAT=0",
++ # Match this to QDLDL_INT_TYPE above.
++ "QDLDL_INT_TYPE_MAX=INT_MAX",
++ ],
++ visibility = ["//visibility:private"],
++)
++
++cmake_configure_file(
++ name = "configure_file_version",
++ src = "configure/qdldl_version.h.in",
++ out = "include/qdldl_version.h",
++ cmakelists = [
++ "CMakeLists.txt",
++ ],
++ visibility = ["//visibility:private"],
++)
++
++cc_library(
++ name = "qdldl",
++ hdrs = [
++ "include/qdldl.h",
++ ":include/qdldl_types.h",
++ ":include/qdldl_version.h",
++ ],
++ srcs = [
++ "src/qdldl.c",
++ ],
++ copts = [
++ "-fvisibility=hidden",
++ ] + select({
++ "@platforms//os:windows": [],
++ "//conditions:default": ["-Werror=incompatible-pointer-types"],
++ }),
++ includes = [
++ "include",
++ ],
++)
diff --git a/modules/qdldl/0.1.7/patches/add_cmake_configure_file.patch b/modules/qdldl/0.1.7/patches/add_cmake_configure_file.patch
new file mode 100644
index 0000000..1e133c9
--- /dev/null
+++ b/modules/qdldl/0.1.7/patches/add_cmake_configure_file.patch
@@ -0,0 +1,336 @@
+diff --git bazel/BUILD.bazel bazel/BUILD.bazel
+new file mode 100644
+index 0000000..e5d9278
+--- /dev/null
++++ bazel/BUILD.bazel
+@@ -0,0 +1,5 @@
++py_binary(
++ name = "cmake_configure_file",
++ srcs = ["cmake_configure_file.py"],
++ visibility = ["//visibility:public"],
++)
+\ No newline at end of file
+diff --git bazel/cmake_configure_file.bzl bazel/cmake_configure_file.bzl
+new file mode 100644
+index 0000000..08d9fdd
+--- /dev/null
++++ bazel/cmake_configure_file.bzl
+@@ -0,0 +1,86 @@
++# -*- python -*-
++
++# Copied from the Drake project:
++# https://github.com/RobotLocomotion/drake/blob/17423f8fb6f292b4af0b4cf3c6c0f157273af501/tools/workspace/cmake_configure_file.bzl
++
++# Defines the implementation actions to cmake_configure_file.
++def _cmake_configure_file_impl(ctx):
++ arguments = [
++ "--input",
++ ctx.file.src.path,
++ "--output",
++ ctx.outputs.out.path,
++ ]
++ for item in ctx.attr.defines:
++ arguments += ["-D" + item]
++ for item in ctx.attr.undefines:
++ arguments += ["-U" + item]
++ for item in ctx.files.cmakelists:
++ arguments += ["--cmakelists", item.path]
++ ctx.actions.run(
++ inputs = [ctx.file.src] + ctx.files.cmakelists,
++ outputs = [ctx.outputs.out],
++ arguments = arguments,
++ env = ctx.attr.env,
++ executable = ctx.executable.cmake_configure_file_py,
++ )
++ return []
++
++# Defines the rule to cmake_configure_file.
++_cmake_configure_file_gen = rule(
++ attrs = {
++ "src": attr.label(
++ allow_single_file = True,
++ mandatory = True,
++ ),
++ "out": attr.output(mandatory = True),
++ "defines": attr.string_list(),
++ "undefines": attr.string_list(),
++ "cmakelists": attr.label_list(allow_files = True),
++ "cmake_configure_file_py": attr.label(
++ cfg = "exec",
++ executable = True,
++ default = Label("//bazel:cmake_configure_file"),
++ ),
++ "env": attr.string_dict(
++ mandatory = True,
++ allow_empty = True,
++ ),
++ },
++ output_to_genfiles = True,
++ implementation = _cmake_configure_file_impl,
++)
++
++def cmake_configure_file(
++ name,
++ src = None,
++ out = None,
++ defines = None,
++ undefines = None,
++ cmakelists = None,
++ **kwargs):
++ """Creates a rule to generate an out= file from a src= file, using CMake's
++ configure_file substitution semantics. This implementation is incomplete,
++ and may not produce the same result as CMake in all cases.
++ Definitions optionally can be passed in directly as defines= strings (with
++ the usual defines= convention of either a name-only "HAVE_FOO", or a
++ key-value "MYSCALAR=DOUBLE").
++ Definitions optionally can be read from simple CMakeLists files that
++ contain statements of the form "set(FOO_MAJOR_VERSION 1)" and similar.
++ Variables that are known substitutions but which should be undefined can be
++ passed as undefines= strings.
++ See cmake_configure_file.py for our implementation of the configure_file
++ substitution rules.
++ The CMake documentation of the configure_file macro is:
++ https://cmake.org/cmake/help/latest/command/configure_file.html
++ """
++ _cmake_configure_file_gen(
++ name = name,
++ src = src,
++ out = out,
++ defines = defines,
++ undefines = undefines,
++ cmakelists = cmakelists,
++ env = {},
++ **kwargs
++ )
+diff --git bazel/cmake_configure_file.py bazel/cmake_configure_file.py
+new file mode 100644
+index 0000000..7097821
+--- /dev/null
++++ bazel/cmake_configure_file.py
+@@ -0,0 +1,226 @@
++"""A re-implementation of CMake's configure_file substitution semantics. This
++implementation is incomplete, and may not produce the same result as CMake in
++all (or even many) cases.
++
++The CMake documentation of the configure_file macro is:
++https://cmake.org/cmake/help/latest/command/configure_file.html
++
++"""
++
++import argparse
++import os
++import re
++import sys
++
++from collections import OrderedDict
++
++# Looks like "#cmakedefine VAR ..." or "#cmakedefine01 VAR".
++_cmakedefine = re.compile(r'^(\s*)#cmakedefine(01)? ([^ \r\n]+)(.*?)([\r\n]+)')
++
++# Looks like "@VAR@" or "${VAR}".
++_varsubst = re.compile(r'^(.*?)(@[^ ]+?@|\$\{[^ ]+?\})(.*)([\r\n]*)')
++
++
++# Transform a source code line per CMake's configure_file semantics.
++#
++# The 'definitions' provides values for CMake variables. The dict's keys are
++# the variable names to substitute, and the dict's values are the values to
++# substitute. (The values can be None, for known-but-undefined variable keys.)
++#
++# The configuration semantics are as follows:
++#
++# - An input line 'cmakedefine VAR' turns into '#define VAR VALUE' if and only
++# if the 'definitions' dict has a non-None value VALUE for VAR, otherwise it
++# turns into '/* #undef VAR */'. When in strict mode, it is an error if
++# there is no such key in the dict.
++#
++# - An input line 'cmakedefine01 VAR' turns into '#define VAR 1' if and only if
++# the 'definitions' dict has a non-None value for VAR, otherwise it turns
++# into '#define VAR 0'. When in strict mode, it is an error if there is no
++# such key in the dict.
++#
++# - An input line with a substitution '@VAR@' or '${VAR}' replaces the
++# substitution token with the value in 'definitions' dict for that VAR, or
++# else the empty string if the value is None. It is an error if there is no
++# such key in the dict.
++def _transform_cmake(*, line, definitions, strict):
++ used_vars = set()
++
++ # Replace define statements.
++ match = _cmakedefine.match(line)
++ if match:
++ blank, maybe01, var, rest, newline = match.groups()
++ if var not in definitions:
++ defined = False
++ if strict:
++ raise KeyError(var)
++ else:
++ defined = definitions[var] is not None
++ used_vars.add(var)
++ if maybe01:
++ line = blank + '#define ' + var + [' 0', ' 1'][defined] + newline
++ return line, used_vars
++ elif defined:
++ line = blank + '#define ' + var + rest + newline
++ else:
++ line = blank + '/* #undef ' + var + ' */' + newline
++ return line, used_vars
++
++ # Replace variable substitutions.
++ while True:
++ match = _varsubst.match(line)
++ if not match:
++ break
++ before, xvarx, after, newline = match.groups()
++ if xvarx[0] == '$':
++ assert len(xvarx) >= 4
++ assert xvarx[1] == '{'
++ assert xvarx[-1] == '}'
++ var = xvarx[2:-1]
++ elif xvarx[0] == '@':
++ assert len(xvarx) >= 3
++ assert xvarx[-1] == '@'
++ var = xvarx[1:-1]
++ assert len(var) > 0
++
++ if var not in definitions:
++ raise KeyError(var)
++ used_vars.add(var)
++ value = definitions.get(var)
++ if value is None:
++ value = ''
++ line = before + value + after + newline
++
++ return line, used_vars
++
++
++# Looks like "#undef VAR".
++_autoconf_undef = re.compile(r'^(\s*)#undef +([^ \r\n]+)([\r\n]+)')
++
++
++# Transform a source code line using autoconf format.
++# The 'definitions' provides variable values, just like _transform_cmake above.
++def _transform_autoconf(*, line, definitions, strict):
++ used_vars = set()
++ match = _autoconf_undef.match(line)
++ if match:
++ blank, var, newline = match.groups()
++ if var in definitions:
++ used_vars.add(var)
++ value = definitions[var]
++ if value is not None:
++ line = blank + f'#define {var} {value}' + newline
++ else:
++ line = blank + f'/* undef {var} */' + newline
++ elif strict:
++ raise KeyError(f"Missing define or undefine decision for {var}"
++ " when running in strict=True mode")
++ else:
++ line = blank + f'/* missing {var} */' + newline
++ return line, used_vars
++
++
++# Looks like "set(VAR value)".
++_set_var = re.compile(r'^\s*set\s*\(\s*(.+)\s+(.+)\s*\)\s*$')
++
++
++# From a line of CMakeLists.txt, return a set(...) key-value pair, if found.
++def _extract_definition(line, prior_definitions):
++ match = _set_var.match(line)
++ if not match:
++ return dict()
++ var, value = match.groups()
++ try:
++ value, _ = _transform_cmake(
++ line=value,
++ definitions=prior_definitions,
++ strict=False)
++ except KeyError:
++ return dict()
++ if value.startswith('"'):
++ assert value.endswith('"')
++ value = value[1:-1]
++ return {var: value}
++
++
++# Load our definitions dict, given the command-line args:
++# - A command-line '-Dfoo' will add ('foo', '1') to the result.
++# - A command-line '-Dfoo=bar' will add ('foo', 'bar') to the result.
++# - A command-line '-Ufoo' will add ('foo', None) to the result.
++def _setup_definitions(args):
++ result = OrderedDict()
++ for item in args.defines:
++ if '=' in item:
++ key, value = item.split('=', 1)
++ result[key] = value
++ else:
++ result[item] = '1'
++
++ for item in args.undefines:
++ result[item] = None
++
++ cmakelist_keys = set()
++ for filename in args.cmakelists:
++ with open(filename, 'r') as cmakelist:
++ for line in cmakelist.readlines():
++ definition = _extract_definition(line, result)
++ result.update(definition)
++ cmakelist_keys.update(definition.keys())
++
++ return result, cmakelist_keys
++
++
++def main():
++ parser = argparse.ArgumentParser()
++ parser.add_argument(
++ '--input', metavar='FILE', action='append', default=[])
++ parser.add_argument(
++ '--output', metavar='FILE', action='append', default=[])
++ parser.add_argument(
++ '-D', metavar='NAME', dest='defines', action='append', default=[])
++ parser.add_argument(
++ '-U', metavar='NAME', dest='undefines', action='append', default=[])
++ parser.add_argument(
++ '--autoconf', action='store_true',
++ help='The input file is in autoconf format, not cmake format.')
++ parser.add_argument(
++ '--cmakelists', action='append', default=[])
++ parser.add_argument(
++ '--strict', action='store_true')
++ args = parser.parse_args()
++ if len(args.input) == 0:
++ parser.error("There must be at least one --input")
++ if len(args.input) != len(args.output):
++ parser.error("The number of --input and --output must be congruent")
++ definitions, cmakelist_keys = _setup_definitions(args)
++
++ transformer = _transform_autoconf if args.autoconf else _transform_cmake
++ total_used_vars = set()
++ missing_vars = set()
++ for input_path, output_path in zip(args.input, args.output):
++ with open(input_path, 'r') as input_file:
++ with open(output_path + '.tmp', 'w') as output_file:
++ for input_line in input_file.readlines():
++ try:
++ output_line, used_vars = transformer(
++ line=input_line,
++ definitions=definitions,
++ strict=args.strict)
++ output_file.write(output_line)
++ total_used_vars |= used_vars
++ except KeyError as e:
++ missing_vars.add(e.args[0])
++ if missing_vars:
++ raise RuntimeError(f"The definitions of {sorted(missing_vars)} were"
++ " required, but missing.")
++ unused_vars = definitions.keys() - cmakelist_keys - total_used_vars
++ if unused_vars:
++ raise RuntimeError(f"The definitions of {sorted(unused_vars)} were"
++ " ignored and therefore seem like dead code;"
++ " remove them from defines= or undefines=.")
++ for output_path in args.output:
++ os.rename(output_path + '.tmp', output_path)
++
++
++if __name__ == '__main__':
++ main()
diff --git a/modules/qdldl/0.1.7/patches/module_dot_bazel.patch b/modules/qdldl/0.1.7/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..5a8fd0a
--- /dev/null
+++ b/modules/qdldl/0.1.7/patches/module_dot_bazel.patch
@@ -0,0 +1,14 @@
+diff --git MODULE.bazel MODULE.bazel
+new file mode 100644
+index 0000000..01bf673
+--- /dev/null
++++ MODULE.bazel
+@@ -0,0 +1,8 @@
++module(
++ name = "qdldl",
++ version = "0.1.7",
++ compatibility_level = 1,
++)
++
++bazel_dep(name = "platforms", version = "0.0.8")
++bazel_dep(name = "rules_cc", version = "0.0.9")
diff --git a/modules/qdldl/0.1.7/presubmit.yml b/modules/qdldl/0.1.7/presubmit.yml
new file mode 100644
index 0000000..dfb02c8
--- /dev/null
+++ b/modules/qdldl/0.1.7/presubmit.yml
@@ -0,0 +1,15 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ - windows
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@qdldl//:qdldl"
diff --git a/modules/qdldl/0.1.7/source.json b/modules/qdldl/0.1.7/source.json
new file mode 100644
index 0000000..7bf2c51
--- /dev/null
+++ b/modules/qdldl/0.1.7/source.json
@@ -0,0 +1,11 @@
+{
+ "url": "https://github.com/osqp/qdldl/archive/refs/tags/v0.1.7.tar.gz",
+ "integrity": "sha256-YxrmXzZ4Wfoe+t4WVuS6IrfaeJwG4BDM64spZWv2V1c=",
+ "strip_prefix": "qdldl-0.1.7",
+ "patches": {
+ "add_build_file.patch": "sha256-pEBWcLi9c2DOUtDgju2dMnL86H7yKth86RqwzEylNqk=",
+ "add_cmake_configure_file.patch": "sha256-qge+NoLlQcrPkS5AR0TbJKkhE3FETgjuzvj9O0WqWwc=",
+ "module_dot_bazel.patch": "sha256-YHOoqz6XUJQGUmFyoJ9icG2a4Z/4zO8K5zEX4IU8e2Y="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/qdldl/metadata.json b/modules/qdldl/metadata.json
new file mode 100644
index 0000000..f19d96e
--- /dev/null
+++ b/modules/qdldl/metadata.json
@@ -0,0 +1,17 @@
+{
+ "homepage": "https://github.com/osqp/qdldl",
+ "maintainers": [
+ {
+ "email": "daisuke.nishimatsu1021@gmail.com",
+ "github": "wep21",
+ "name": "Daisuke Nishimatsu"
+ }
+ ],
+ "repository": [
+ "github:osqp/qdldl"
+ ],
+ "versions": [
+ "0.1.7"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/rapidjson/metadata.json b/modules/rapidjson/metadata.json
index 1340d6c..7b59ff9 100644
--- a/modules/rapidjson/metadata.json
+++ b/modules/rapidjson/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://github.com/Tencent/rapidjson",
- "maintainers": [],
- "repository": [
- "github:Tencent/rapidjson"
- ],
- "versions": [
- "1.1.0"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/Tencent/rapidjson",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:Tencent/rapidjson"
+ ],
+ "versions": [
+ "1.1.0"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/re2/2024-02-01/MODULE.bazel b/modules/re2/2024-02-01/MODULE.bazel
new file mode 100644
index 0000000..f99fcd2
--- /dev/null
+++ b/modules/re2/2024-02-01/MODULE.bazel
@@ -0,0 +1,33 @@
+# Copyright 2009 The RE2 Authors. All Rights Reserved.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file.
+
+# Bazel (http://bazel.build/) MODULE file for RE2.
+
+module(
+ name = "re2",
+ version = "2024-02-01",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "platforms", version = "0.0.8")
+bazel_dep(name = "apple_support", version = "1.11.1", repo_name = "build_bazel_apple_support")
+bazel_dep(name = "rules_cc", version = "0.0.9")
+bazel_dep(name = "abseil-cpp", version = "20240116.0", repo_name = "com_google_absl")
+bazel_dep(name = "rules_python", version = "0.29.0")
+bazel_dep(name = "pybind11_bazel", version = "2.11.1.bzl.1")
+
+# This is a temporary hack for `x64_x86_windows`.
+# TODO(junyer): Remove whenever no longer needed.
+cc_configure = use_extension("@bazel_tools//tools/cpp:cc_configure.bzl", "cc_configure_extension")
+use_repo(cc_configure, "local_config_cc")
+
+python_configure = use_extension("@pybind11_bazel//:python_configure.bzl", "extension")
+python_configure.toolchain(python_version = "3") # ignored when non-root module
+use_repo(python_configure, "local_config_python", "pybind11")
+
+# These dependencies will be ignored when the `re2` module is not
+# the root module (or when `--ignore_dev_dependency` is enabled).
+bazel_dep(name = "google_benchmark", version = "1.8.3", dev_dependency = True)
+bazel_dep(name = "googletest", version = "1.14.0.bcr.1", dev_dependency = True)
+bazel_dep(name = "abseil-py", version = "1.4.0", dev_dependency = True)
diff --git a/modules/re2/2024-02-01/presubmit.yml b/modules/re2/2024-02-01/presubmit.yml
new file mode 100644
index 0000000..8fcf293
--- /dev/null
+++ b/modules/re2/2024-02-01/presubmit.yml
@@ -0,0 +1,46 @@
+matrix:
+ platform:
+ - centos7_java11_devtoolset10
+ - debian10
+ - ubuntu2004
+ - macos
+ - windows
+ bazel:
+ - 6.x
+ - 7.x
+tasks:
+ build:
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_flags:
+ - '--cxxopt=-std=c++14'
+ build_targets:
+ - '@re2//:re2'
+
+bcr_test_module:
+ module_path: '.'
+
+ matrix:
+ platform:
+ - centos7_java11_devtoolset10
+ - debian10
+ - ubuntu2004
+ - macos
+ - windows
+ bazel:
+ - 6.x
+ - 7.x
+ tasks:
+ test:
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_flags:
+ - '--cxxopt=-std=c++14'
+ test_targets:
+ - '//:all'
+ - '-//:dfa_test'
+ - '-//:exhaustive1_test'
+ - '-//:exhaustive2_test'
+ - '-//:exhaustive3_test'
+ - '-//:exhaustive_test'
+ - '-//:random_test'
diff --git a/modules/re2/2024-02-01/source.json b/modules/re2/2024-02-01/source.json
new file mode 100644
index 0000000..3ce628d
--- /dev/null
+++ b/modules/re2/2024-02-01/source.json
@@ -0,0 +1,7 @@
+{
+ "integrity": "sha256-fp3bkJbJJWjn2btKkS1+7nT+/cSREtqle60/JOaxi08=",
+ "strip_prefix": "re2-2024-02-01",
+ "url": "https://github.com/google/re2/releases/download/2024-02-01/re2-2024-02-01.zip",
+ "patch_strip": 0,
+ "patches": {}
+}
diff --git a/modules/re2/metadata.json b/modules/re2/metadata.json
index 16d5d00..63cb934 100644
--- a/modules/re2/metadata.json
+++ b/modules/re2/metadata.json
@@ -15,7 +15,8 @@
"2023-06-02",
"2023-08-01",
"2023-09-01",
- "2023-11-01"
+ "2023-11-01",
+ "2024-02-01"
],
"yanked_versions": {
"2023-06-02": "bad compatibility_level, upgrade to 2023-09-01 or newer",
diff --git a/modules/readerwriterqueue/metadata.json b/modules/readerwriterqueue/metadata.json
index 151514e..35a6c03 100644
--- a/modules/readerwriterqueue/metadata.json
+++ b/modules/readerwriterqueue/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://github.com/cameron314/readerwriterqueue",
- "maintainers": [],
- "repository": [
- "github:cameron314/readerwriterqueue"
- ],
- "versions": [
- "1.0.6"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/cameron314/readerwriterqueue",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:cameron314/readerwriterqueue"
+ ],
+ "versions": [
+ "1.0.6"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/robin-map/metadata.json b/modules/robin-map/metadata.json
index 49d88ca..1d55a2b 100644
--- a/modules/robin-map/metadata.json
+++ b/modules/robin-map/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://github.com/Tessil/robin-map",
- "maintainers": [],
- "repository": [
- "github:Tessil/robin-map"
- ],
- "versions": [
- "1.2.1"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/Tessil/robin-map",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:Tessil/robin-map"
+ ],
+ "versions": [
+ "1.2.1"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/rules_android/metadata.json b/modules/rules_android/metadata.json
index 4536247..c679329 100644
--- a/modules/rules_android/metadata.json
+++ b/modules/rules_android/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://github.com/bazelbuild/rules_android",
- "maintainers": [],
- "repository": [
- "github:bazelbuild/rules_android"
- ],
- "versions": [
- "0.1.1"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/bazelbuild/rules_android",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:bazelbuild/rules_android"
+ ],
+ "versions": [
+ "0.1.1"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/rules_appimage/1.7.4/MODULE.bazel b/modules/rules_appimage/1.7.4/MODULE.bazel
new file mode 100644
index 0000000..954a854
--- /dev/null
+++ b/modules/rules_appimage/1.7.4/MODULE.bazel
@@ -0,0 +1,52 @@
+"""AppImage rules for Bazel."""
+
+module(name = "rules_appimage", version = "1.7.4")
+
+bazel_dep(name = "bazel_skylib", version = "1.5.0", dev_dependency = True)
+bazel_dep(name = "platforms", version = "0.0.8")
+bazel_dep(name = "rules_cc", version = "0.0.9")
+bazel_dep(name = "rules_python", version = "0.29.0")
+
+rules_appimage = use_extension("//:extensions.bzl", "appimage_ext_dependencies")
+use_repo(
+ rules_appimage,
+ "appimage_runtime_aarch64",
+ "appimage_runtime_i386",
+ "appimage_runtime_armv7e-m",
+ "appimage_runtime_x86_64",
+ "appimagetool.png",
+ "squashfs-tools",
+)
+
+register_toolchains("//appimage:all")
+
+PYTHON_VERSIONS = [
+ "3.8",
+ "3.9",
+ "3.10",
+ "3.11",
+ "3.12",
+]
+
+python = use_extension("@rules_python//python/extensions:python.bzl", "python")
+
+[
+ python.toolchain(
+ is_default = python_version == PYTHON_VERSIONS[-1],
+ python_version = python_version,
+ )
+ for python_version in PYTHON_VERSIONS
+]
+
+pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
+
+[
+ pip.parse(
+ hub_name = "rules_appimage_py_deps",
+ python_version = python_version,
+ requirements_lock = "//:requirements.txt",
+ )
+ for python_version in PYTHON_VERSIONS
+]
+
+use_repo(pip, "rules_appimage_py_deps")
diff --git a/modules/rules_appimage/1.7.4/patches/module_dot_bazel_version.patch b/modules/rules_appimage/1.7.4/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..98ef517
--- /dev/null
+++ b/modules/rules_appimage/1.7.4/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ """AppImage rules for Bazel."""
+
+-module(name = "rules_appimage", version = "0.0.0")
++module(name = "rules_appimage", version = "1.7.4")
+
+ bazel_dep(name = "bazel_skylib", version = "1.5.0", dev_dependency = True)
+ bazel_dep(name = "platforms", version = "0.0.8")
+ bazel_dep(name = "rules_cc", version = "0.0.9")
diff --git a/modules/rules_appimage/1.7.4/patches/old-gcc-std20.patch b/modules/rules_appimage/1.7.4/patches/old-gcc-std20.patch
new file mode 100644
index 0000000..e8a98d5
--- /dev/null
+++ b/modules/rules_appimage/1.7.4/patches/old-gcc-std20.patch
@@ -0,0 +1,11 @@
+diff --git a/.bazelrc b/.bazelrc
+index c1cf743..6263144 100644
+--- a/.bazelrc
++++ b/.bazelrc
+@@ -1,5 +1,5 @@
+ build --color=yes
+-build --cxxopt=-std=c++20
++build --cxxopt=-std=c++2a
+ build --incompatible_strict_action_env
+ build --keep_going
+ common --experimental_allow_unresolved_symlinks # Only required for Bazel 5
diff --git a/modules/rules_appimage/1.7.4/presubmit.yml b/modules/rules_appimage/1.7.4/presubmit.yml
new file mode 100644
index 0000000..d2eca4c
--- /dev/null
+++ b/modules/rules_appimage/1.7.4/presubmit.yml
@@ -0,0 +1,11 @@
+bcr_test_module:
+ module_path: ""
+ matrix:
+ platform: [macos, ubuntu2004]
+ bazel: [6.x, 7.x]
+ tasks:
+ run_tests:
+ name: Run tests
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets: [//...]
diff --git a/modules/rules_appimage/1.7.4/source.json b/modules/rules_appimage/1.7.4/source.json
new file mode 100644
index 0000000..f2efe35
--- /dev/null
+++ b/modules/rules_appimage/1.7.4/source.json
@@ -0,0 +1,10 @@
+{
+ "integrity": "sha256-04vid8qIukiX0ekvqiSrFHzg30HaptWi2cZsSKpUcio=",
+ "strip_prefix": "rules_appimage-1.7.4",
+ "url": "https://github.com/lalten/rules_appimage/releases/download/v1.7.4/rules_appimage-1.7.4.tar.gz",
+ "patches": {
+ "old-gcc-std20.patch": "sha256-5BxHfsXEquhfPU2abeRg+8NsyOL5qLd1vm3QuIF4+Vg=",
+ "module_dot_bazel_version.patch": "sha256-ckzJBmpvOPqtiftcLyoLX51LGlRwnRdkG5zQsHWTT4U="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_appimage/metadata.json b/modules/rules_appimage/metadata.json
index 28920e0..4355175 100644
--- a/modules/rules_appimage/metadata.json
+++ b/modules/rules_appimage/metadata.json
@@ -1,11 +1,18 @@
{
"homepage": "https://github.com/lalten/rules_appimage",
- "maintainers": [],
+ "maintainers": [
+ {
+ "email": "bcr@laure.nz",
+ "github": "lalten",
+ "name": "lalten"
+ }
+ ],
"repository": [
"github:lalten/rules_appimage"
],
"versions": [
- "1.6.0"
+ "1.6.0",
+ "1.7.4"
],
"yanked_versions": {}
}
diff --git a/modules/rules_apple/3.3.0/MODULE.bazel b/modules/rules_apple/3.3.0/MODULE.bazel
new file mode 100644
index 0000000..f6749f5
--- /dev/null
+++ b/modules/rules_apple/3.3.0/MODULE.bazel
@@ -0,0 +1,31 @@
+module(
+ name = "rules_apple",
+ version = "3.3.0",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+ repo_name = "build_bazel_rules_apple",
+)
+
+bazel_dep(name = "apple_support", version = "1.13.0", repo_name = "build_bazel_apple_support")
+bazel_dep(name = "bazel_skylib", version = "1.3.0")
+bazel_dep(name = "platforms", version = "0.0.7")
+bazel_dep(name = "rules_swift", version = "1.16.0", repo_name = "build_bazel_rules_swift")
+
+bazel_dep(
+ name = "stardoc",
+ version = "0.6.2",
+ dev_dependency = True,
+ repo_name = "io_bazel_stardoc",
+)
+
+non_module_deps = use_extension("//apple:extensions.bzl", "non_module_deps")
+use_repo(
+ non_module_deps,
+ "xctestrunner",
+)
+
+provisioning_profile_repository = use_extension("//apple:apple.bzl", "provisioning_profile_repository_extension")
+use_repo(provisioning_profile_repository, "local_provisioning_profiles")
+
+apple_cc_configure = use_extension("@build_bazel_apple_support//crosstool:setup.bzl", "apple_cc_configure_extension")
+use_repo(apple_cc_configure, "local_config_apple_cc")
diff --git a/modules/rules_apple/3.3.0/patches/module_dot_bazel_version.patch b/modules/rules_apple/3.3.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..3ccfc2c
--- /dev/null
+++ b/modules/rules_apple/3.3.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_apple",
+- version = "0",
++ version = "3.3.0",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+ repo_name = "build_bazel_rules_apple",
+ )
diff --git a/modules/rules_apple/3.3.0/presubmit.yml b/modules/rules_apple/3.3.0/presubmit.yml
new file mode 100644
index 0000000..d367baa
--- /dev/null
+++ b/modules/rules_apple/3.3.0/presubmit.yml
@@ -0,0 +1,12 @@
+matrix:
+ bazel: ["7.x", "rolling"]
+
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: macos_arm64
+ bazel: ${{ bazel }}
+ test_targets:
+ - '@rules_apple//examples/macos/CommandLine:ExamplesBuildTest'
+ test_flags:
+ - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"
diff --git a/modules/rules_apple/3.3.0/source.json b/modules/rules_apple/3.3.0/source.json
new file mode 100644
index 0000000..36496e9
--- /dev/null
+++ b/modules/rules_apple/3.3.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-Zer6/pS4Vz50Fgt/WH0JGg+jTWnm0sQcSvse7xQDg+w=",
+ "strip_prefix": "",
+ "url": "https://github.com/bazelbuild/rules_apple/releases/download/3.3.0/rules_apple.3.3.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-/SG91j6MqDD8f0UWI9nAaYKIn3OmNHUeldbuxIos2Ao="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_apple/metadata.json b/modules/rules_apple/metadata.json
index 56defc0..5249490 100644
--- a/modules/rules_apple/metadata.json
+++ b/modules/rules_apple/metadata.json
@@ -45,7 +45,8 @@
"3.1.0",
"3.1.1",
"3.2.0",
- "3.2.1"
+ "3.2.1",
+ "3.3.0"
],
"yanked_versions": {}
}
diff --git a/modules/rules_cc/metadata.json b/modules/rules_cc/metadata.json
index 6f94b9e..75e6077 100644
--- a/modules/rules_cc/metadata.json
+++ b/modules/rules_cc/metadata.json
@@ -1,14 +1,19 @@
{
- "homepage": "https://github.com/bazelbuild/rules_cc",
- "maintainers": [],
- "versions": [
- "0.0.1",
- "0.0.2",
- "0.0.4",
- "0.0.5",
- "0.0.6",
- "0.0.8",
- "0.0.9"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/bazelbuild/rules_cc",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "versions": [
+ "0.0.1",
+ "0.0.2",
+ "0.0.4",
+ "0.0.5",
+ "0.0.6",
+ "0.0.8",
+ "0.0.9"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/rules_coreutils/1.0.0-alpha.7/MODULE.bazel b/modules/rules_coreutils/1.0.0-alpha.7/MODULE.bazel
new file mode 100644
index 0000000..8d5142a
--- /dev/null
+++ b/modules/rules_coreutils/1.0.0-alpha.7/MODULE.bazel
@@ -0,0 +1,195 @@
+module(
+ name = "rules_coreutils",
+ version = "1.0.0-alpha.7",
+ bazel_compatibility = [
+ ">=7.0.0",
+ ],
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.1")
+bazel_dep(name = "download_utils", version = "1.0.0-beta.1")
+
+archive = use_repo_rule("@download_utils//download/archive:defs.bzl", "download_archive")
+
+archive(
+ name = "coreutils-arm64-linux-gnu",
+ srcs = ["entrypoint"],
+ integrity = "sha256-8wMVMgAgf8JQ2+2LdoewkyDo416VEsf9RlMJl4jiBjk=",
+ links = {
+ "coreutils": "entrypoint",
+ },
+ strip_prefix = "coreutils-0.0.23-aarch64-unknown-linux-gnu",
+ urls = ["https://github.com/uutils/coreutils/releases/download/0.0.23/coreutils-0.0.23-aarch64-unknown-linux-gnu.tar.gz"],
+)
+
+archive(
+ name = "coreutils-amd64-linux-gnu",
+ srcs = ["entrypoint"],
+ integrity = "sha256-u7OMW43Y46aXRRIKULfKdfUW51WJn6G70s5Xxwb6/1g=",
+ links = {
+ "coreutils": "entrypoint",
+ },
+ strip_prefix = "coreutils-0.0.23-x86_64-unknown-linux-gnu",
+ urls = ["https://github.com/uutils/coreutils/releases/download/0.0.23/coreutils-0.0.23-x86_64-unknown-linux-gnu.tar.gz"],
+)
+
+archive(
+ name = "coreutils-amd64-windows-msvc",
+ srcs = ["entrypoint"],
+ integrity = "sha256-aglIj5JvFGLm2ABwRzWAsZRTTD3X444V3GxHM9pGJS4=",
+ links = {
+ "coreutils.exe": "entrypoint",
+ },
+ strip_prefix = "coreutils-0.0.23-x86_64-pc-windows-msvc",
+ urls = ["https://github.com/uutils/coreutils/releases/download/0.0.23/coreutils-0.0.23-x86_64-pc-windows-msvc.zip"],
+)
+
+archive(
+ name = "coreutils-arm64-macos-darwin",
+ srcs = ["entrypoint"],
+ integrity = "sha256-KP90sjKxtXDbLC+o5f4+gQnvP3Tr7O0RopME4g9QF5E=",
+ links = {
+ "coreutils": "entrypoint",
+ },
+ strip_prefix = "coreutils-0.0.23-aarch64-apple-darwin",
+ urls = ["https://github.com/uutils/coreutils/releases/download/0.0.23/coreutils-0.0.23-aarch64-apple-darwin.tar.gz"],
+)
+
+archive(
+ name = "coreutils-amd64-macos-darwin",
+ srcs = ["entrypoint"],
+ integrity = "sha256-SswetVAuK/hMK1r9uBvNnKj5JpSgD0bzkbsHTxOabCo=",
+ links = {
+ "coreutils": "entrypoint",
+ },
+ strip_prefix = "coreutils-0.0.23-x86_64-apple-darwin",
+ urls = ["https://github.com/uutils/coreutils/releases/download/0.0.23/coreutils-0.0.23-x86_64-apple-darwin.tar.gz"],
+)
+
+select = use_repo_rule("@toolchain_utils//toolchain/local/select:defs.bzl", "toolchain_local_select")
+
+select(
+ name = "coreutils",
+ map = {
+ "amd64-linux-gnu": "@coreutils-amd64-linux-gnu",
+ "arm64-linux-gnu": "@coreutils-arm64-linux-gnu",
+ "amd64-windows": "@coreutils-amd64-windows-msvc",
+ "arm64-macos-darwin": "@coreutils-arm64-macos-darwin",
+ "amd64-macos-darwin": "@coreutils-amd64-macos-darwin",
+ },
+)
+
+export = use_extension("@toolchain_utils//toolchain/export:defs.bzl", "toolchain_export")
+export.symlink(
+ name = "coreutils",
+ target = "@coreutils",
+)
+
+deb = use_repo_rule("@download_utils//download/deb:defs.bzl", "download_deb")
+
+deb(
+ name = "busybox-arm64-linux",
+ srcs = ["busybox"],
+ integrity = "sha256-C0+0zi0/0Woc11BTX5d1ugxC2GOeE9ZjUka6g6DUvc8=",
+ strip_prefix = "bin",
+ urls = ["http://ftp.uk.debian.org/debian/pool/main/b/busybox/busybox-static_1.35.0-4+b3_arm64.deb"],
+)
+
+deb(
+ name = "busybox-amd64-linux",
+ srcs = ["busybox"],
+ integrity = "sha256-rMRMIHKVuGEU2kiV71Ouvxhr8839wmmloaCer6xqYNs=",
+ strip_prefix = "bin",
+ urls = ["http://ftp.uk.debian.org/debian/pool/main/b/busybox/busybox-static_1.35.0-4+b3_amd64.deb"],
+)
+
+resolved = use_repo_rule("@toolchain_utils//toolchain/resolved:defs.bzl", "toolchain_resolved")
+
+which = use_repo_rule("@toolchain_utils//toolchain/local/which:defs.bzl", "toolchain_local_which")
+
+[
+ (
+ resolved(
+ name = "resolved-{}".format(tool),
+ basename = tool,
+ toolchain_type = "//coreutils/toolchain/{}:type".format(tool),
+ ),
+ which(
+ name = "which-{}".format(tool),
+ basename = tool,
+ ),
+ )
+ for tool in (
+ "busybox",
+ "coreutils",
+ "arch",
+ "base64",
+ "basename",
+ "cat",
+ "chmod",
+ "chown",
+ "cp",
+ "cut",
+ "date",
+ "dd",
+ "df",
+ "dirname",
+ "du",
+ "echo",
+ "env",
+ "expand",
+ "expr",
+ "factor",
+ "false",
+ "fold",
+ "head",
+ "hostname",
+ "install",
+ "link",
+ "ln",
+ "ls",
+ "md5sum",
+ "mkdir",
+ "mktemp",
+ "more",
+ "mv",
+ "nl",
+ "nproc",
+ "od",
+ "paste",
+ "printf",
+ "pwd",
+ "readlink",
+ "realpath",
+ "rm",
+ "rmdir",
+ "seq",
+ "sha1sum",
+ "sha256sum",
+ "sha3sum",
+ "sha512sum",
+ "shred",
+ "shuf",
+ "sleep",
+ "sort",
+ "sync",
+ "tac",
+ "tail",
+ "tee",
+ "test",
+ "touch",
+ "tr",
+ "true",
+ "truncate",
+ "uname",
+ "unexpand",
+ "uniq",
+ "unlink",
+ "wc",
+ "whoami",
+ "yes",
+ )
+]
+
+register_toolchains("//coreutils/toolchain/...")
diff --git a/modules/rules_coreutils/1.0.0-alpha.7/presubmit.yml b/modules/rules_coreutils/1.0.0-alpha.7/presubmit.yml
new file mode 100644
index 0000000..d4513c8
--- /dev/null
+++ b/modules/rules_coreutils/1.0.0-alpha.7/presubmit.yml
@@ -0,0 +1,19 @@
+bcr_test_module:
+ module_path: e2e
+ matrix:
+ bazel:
+ - 7.x
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ # TODO: enable this once the `gitlab.arm.com` does not use a self-signed certificate
+ # - windows
+ tasks:
+ run_tests:
+ name: Run end-to-end Tests
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/rules_coreutils/1.0.0-alpha.7/source.json b/modules/rules_coreutils/1.0.0-alpha.7/source.json
new file mode 100644
index 0000000..00bb224
--- /dev/null
+++ b/modules/rules_coreutils/1.0.0-alpha.7/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://gitlab.arm.com/bazel/rules_coreutils/-/releases/v1.0.0-alpha.7/downloads/src.tar.gz",
+ "integrity": "sha512-x67O5V7ht6zZXiE5kVbaJK9clGpKki8h98bFLC4G8cbaHNyUXYYgPCVZUPec8EP8N7cVdozyqiEpyJT5lnZH4w==",
+ "strip_prefix": "rules_coreutils-v1.0.0-alpha.7"
+}
diff --git a/modules/rules_coreutils/metadata.json b/modules/rules_coreutils/metadata.json
new file mode 100644
index 0000000..c42bc0a
--- /dev/null
+++ b/modules/rules_coreutils/metadata.json
@@ -0,0 +1,16 @@
+{
+ "homepage": "https://gitlab.arm.com/bazel/rules_coreutils",
+ "repository": [
+ "https://gitlab.arm.com/bazel/rules_coreutils"
+ ],
+ "versions":[
+ "1.0.0-alpha.7"
+ ],
+ "maintainers": [
+ {
+ "email": "matthew.clarkson@arm.com",
+ "github": "mattyclarkson",
+ "name": "Matt Clarkson"
+ }
+ ]
+}
diff --git a/modules/rules_curl/1.0.0-alpha.6/MODULE.bazel b/modules/rules_curl/1.0.0-alpha.6/MODULE.bazel
new file mode 100644
index 0000000..04d5381
--- /dev/null
+++ b/modules/rules_curl/1.0.0-alpha.6/MODULE.bazel
@@ -0,0 +1,28 @@
+module(
+ name = "rules_curl",
+ version = "1.0.0-alpha.6",
+ bazel_compatibility = [
+ ">=7.0.0",
+ ],
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.1")
+bazel_dep(name = "ape", version = "1.0.0-alpha.1")
+
+export = use_extension("@toolchain_utils//toolchain/export:defs.bzl", "toolchain_export")
+use_repo(export, "ape-curl")
+export.symlink(
+ name = "curl",
+ target = "@ape-curl",
+)
+use_repo(export, "curl")
+
+resolved = use_repo_rule("@toolchain_utils//toolchain/resolved:defs.bzl", "toolchain_resolved")
+
+resolved(
+ name = "resolved-curl",
+ toolchain_type = "//curl/toolchain/cli:type",
+)
+
+register_toolchains("//curl/toolchain/cli:all")
diff --git a/modules/rules_curl/1.0.0-alpha.6/presubmit.yml b/modules/rules_curl/1.0.0-alpha.6/presubmit.yml
new file mode 100644
index 0000000..2ad974f
--- /dev/null
+++ b/modules/rules_curl/1.0.0-alpha.6/presubmit.yml
@@ -0,0 +1,21 @@
+bcr_test_module:
+ module_path: e2e
+ matrix:
+ bazel:
+ - 7.x
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ # TODO: enable this once `ape` has working launcher for Apple silicon
+ # - macos_arm64
+ # TODO: enable this once the `gitlab.arm.com` does not use a self-signed certificate
+ # TODO: enable this once `curl_upload_file` has a Batch script to work on Windows
+ # - windows
+ tasks:
+ run_tests:
+ name: Run end-to-end Tests
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/rules_curl/1.0.0-alpha.6/source.json b/modules/rules_curl/1.0.0-alpha.6/source.json
new file mode 100644
index 0000000..dd6b91d
--- /dev/null
+++ b/modules/rules_curl/1.0.0-alpha.6/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://gitlab.arm.com/bazel/rules_curl/-/releases/v1.0.0-alpha.6/downloads/src.tar.gz",
+ "integrity": "sha512-bVBNf7SH5rgyb41fUfzi3ouQ5mw3Ab7CXn3KDUZdntlnzdT3GcQz6aL2YTbOqlzzUCLZrs5Pp3VOkFWeX4/lzg==",
+ "strip_prefix": "rules_curl-v1.0.0-alpha.6"
+}
diff --git a/modules/rules_curl/metadata.json b/modules/rules_curl/metadata.json
new file mode 100644
index 0000000..f6d451e
--- /dev/null
+++ b/modules/rules_curl/metadata.json
@@ -0,0 +1,16 @@
+{
+ "homepage": "https://gitlab.arm.com/bazel/rules_curl",
+ "repository": [
+ "https://gitlab.arm.com/bazel/rules_curl"
+ ],
+ "versions":[
+ "1.0.0-alpha.6"
+ ],
+ "maintainers": [
+ {
+ "email": "matthew.clarkson@arm.com",
+ "github": "mattyclarkson",
+ "name": "Matt Clarkson"
+ }
+ ]
+}
diff --git a/modules/rules_diff/1.0.0-alpha.3/MODULE.bazel b/modules/rules_diff/1.0.0-alpha.3/MODULE.bazel
new file mode 100644
index 0000000..6072f42
--- /dev/null
+++ b/modules/rules_diff/1.0.0-alpha.3/MODULE.bazel
@@ -0,0 +1,33 @@
+module(
+ name = "rules_diff",
+ version = "1.0.0-alpha.3",
+ bazel_compatibility = [
+ ">=7.0.0",
+ ],
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.1")
+bazel_dep(name = "ape", version = "1.0.0-alpha.3")
+
+export = use_extension("@toolchain_utils//toolchain/export:defs.bzl", "toolchain_export")
+
+resolved = use_repo_rule("@toolchain_utils//toolchain/resolved:defs.bzl", "toolchain_resolved")
+
+[
+ (
+ use_repo(export, "ape-{}".format(tool)),
+ export.symlink(
+ name = tool,
+ target = "@ape-{}".format(tool),
+ ),
+ use_repo(export, tool),
+ resolved(
+ name = "resolved-{}".format(tool),
+ toolchain_type = "//diff/toolchain/{}:type".format(tool),
+ ),
+ )
+ for tool in ("diff", "diff3", "sdiff", "cmp")
+]
+
+register_toolchains("//diff/toolchain/...")
diff --git a/modules/rules_diff/1.0.0-alpha.3/presubmit.yml b/modules/rules_diff/1.0.0-alpha.3/presubmit.yml
new file mode 100644
index 0000000..6a22be2
--- /dev/null
+++ b/modules/rules_diff/1.0.0-alpha.3/presubmit.yml
@@ -0,0 +1,20 @@
+bcr_test_module:
+ module_path: e2e
+ matrix:
+ bazel:
+ - 7.x
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ # TODO: we need `ape` to support `macos_arm64`
+ # - macos_arm64
+ # TODO: enable this once the `gitlab.arm.com` certificate is validated on BuildKite runner
+ # - windows
+ tasks:
+ run_tests:
+ name: Run end-to-end Tests
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/rules_diff/1.0.0-alpha.3/source.json b/modules/rules_diff/1.0.0-alpha.3/source.json
new file mode 100644
index 0000000..42723a8
--- /dev/null
+++ b/modules/rules_diff/1.0.0-alpha.3/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://gitlab.arm.com/bazel/rules_diff/-/releases/v1.0.0-alpha.3/downloads/src.tar.gz",
+ "integrity": "sha512-g8eVWXWcRpkiWjxs54Zua9tjdX/mTZV2yWslBrFqftvHDaCLxJQ1uXb4fRqC3pM1XKFouelMkviYZSMJaVAT8w==",
+ "strip_prefix": "rules_diff-v1.0.0-alpha.3"
+}
diff --git a/modules/rules_diff/metadata.json b/modules/rules_diff/metadata.json
new file mode 100644
index 0000000..c2a3d03
--- /dev/null
+++ b/modules/rules_diff/metadata.json
@@ -0,0 +1,16 @@
+{
+ "homepage": "https://gitlab.arm.com/bazel/rules_diff",
+ "repository": [
+ "https://gitlab.arm.com/bazel/rules_diff"
+ ],
+ "versions":[
+ "1.0.0-alpha.3"
+ ],
+ "maintainers": [
+ {
+ "email": "matthew.clarkson@arm.com",
+ "github": "mattyclarkson",
+ "name": "Matt Clarkson"
+ }
+ ]
+}
diff --git a/modules/rules_distroless/metadata.json b/modules/rules_distroless/metadata.json
index 296db96..28a887a 100644
--- a/modules/rules_distroless/metadata.json
+++ b/modules/rules_distroless/metadata.json
@@ -1,12 +1,17 @@
{
- "homepage": "https://github.com/GoogleContainerTools/rules_distroless",
- "maintainers": [],
- "repository": [
- "github:GoogleContainerTools/rules_distroless"
- ],
- "versions": [
- "0.1.2",
- "0.1.3"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/GoogleContainerTools/rules_distroless",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:GoogleContainerTools/rules_distroless"
+ ],
+ "versions": [
+ "0.1.2",
+ "0.1.3"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/rules_go/0.46.0/MODULE.bazel b/modules/rules_go/0.46.0/MODULE.bazel
new file mode 100644
index 0000000..6b4a274
--- /dev/null
+++ b/modules/rules_go/0.46.0/MODULE.bazel
@@ -0,0 +1,45 @@
+module(
+ name = "rules_go",
+ version = "0.46.0",
+ compatibility_level = 0,
+ repo_name = "io_bazel_rules_go",
+)
+
+# The custom repo_name is used to prevent our bazel_features polyfill for WORKSPACE builds from
+# conflicting with the real bazel_features repo.
+bazel_dep(name = "bazel_features", version = "1.1.1", repo_name = "io_bazel_rules_go_bazel_features")
+bazel_dep(name = "bazel_skylib", version = "1.2.0")
+bazel_dep(name = "platforms", version = "0.0.4")
+bazel_dep(name = "rules_proto", version = "4.0.0")
+bazel_dep(name = "protobuf", version = "3.19.2", repo_name = "com_google_protobuf")
+
+go_sdk = use_extension("//go:extensions.bzl", "go_sdk")
+go_sdk.download(
+ name = "go_default_sdk",
+ version = "1.21.1",
+)
+use_repo(
+ go_sdk,
+ "go_toolchains",
+ # This name is ugly on purpose to avoid a conflict with a user-named SDK.
+ "io_bazel_rules_nogo",
+)
+
+register_toolchains("@go_toolchains//:all")
+
+bazel_dep(name = "gazelle", version = "0.34.0")
+
+go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
+go_deps.from_file(go_mod = "//:go.mod")
+use_repo(
+ go_deps,
+ "com_github_gogo_protobuf",
+ "com_github_golang_mock",
+ "com_github_golang_protobuf",
+ "org_golang_google_genproto",
+ "org_golang_google_grpc",
+ "org_golang_google_grpc_cmd_protoc_gen_go_grpc",
+ "org_golang_google_protobuf",
+ "org_golang_x_net",
+ "org_golang_x_tools",
+)
diff --git a/modules/rules_go/0.46.0/presubmit.yml b/modules/rules_go/0.46.0/presubmit.yml
new file mode 100644
index 0000000..078639a
--- /dev/null
+++ b/modules/rules_go/0.46.0/presubmit.yml
@@ -0,0 +1,35 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ - windows
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@rules_go//go/tools/bzltestutil/...'
+bcr_test_module:
+ module_path: tests/bcr
+ matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ - windows
+ bazel: [6.x, 7.x]
+ tasks:
+ run_test_module:
+ name: Run test module
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - //...
+ - '@go_default_sdk//...'
+ test_targets:
+ - //...
diff --git a/modules/rules_go/0.46.0/source.json b/modules/rules_go/0.46.0/source.json
new file mode 100644
index 0000000..00d33e0
--- /dev/null
+++ b/modules/rules_go/0.46.0/source.json
@@ -0,0 +1,5 @@
+{
+ "integrity": "sha256-gKmCd60TEdrNg3+bFttiiHcC6fHRxMn3ltASGkbI4YQ=",
+ "strip_prefix": "",
+ "url": "https://github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip"
+}
diff --git a/modules/rules_go/metadata.json b/modules/rules_go/metadata.json
index ddad0d3..8d10773 100644
--- a/modules/rules_go/metadata.json
+++ b/modules/rules_go/metadata.json
@@ -38,7 +38,8 @@
"0.44.0",
"0.44.1",
"0.44.2",
- "0.45.1"
+ "0.45.1",
+ "0.46.0"
],
"yanked_versions": {
"0.33.0": "Obsolete experimental version that emits debug prints. Update to 0.39.1 or higher",
diff --git a/modules/rules_graalvm/0.11.1/MODULE.bazel b/modules/rules_graalvm/0.11.1/MODULE.bazel
new file mode 100644
index 0000000..4d0e3d6
--- /dev/null
+++ b/modules/rules_graalvm/0.11.1/MODULE.bazel
@@ -0,0 +1,226 @@
+"GraalVM Rules for Bazel"
+
+module(
+ name = "rules_graalvm",
+ version = "0.11.1",
+)
+
+JAVA_VERSION = "21"
+
+NODE_VERSION = "20.5.0"
+
+GRAALVM_VERSION = "21.0.2"
+
+GRAALVM_DIST = "ce"
+
+GRAALVM_SDK_VERSION = "23.1.2"
+
+##
+## Dependencies: API
+##
+
+bazel_dep(
+ name = "platforms",
+ version = "0.0.7",
+)
+bazel_dep(
+ name = "bazel_features",
+ version = "1.0.0",
+)
+bazel_dep(
+ name = "rules_java",
+ version = "6.4.0",
+)
+bazel_dep(
+ name = "bazel_skylib",
+ version = "1.5.0",
+)
+bazel_dep(
+ name = "apple_support",
+ version = "1.8.1",
+ repo_name = "build_bazel_apple_support",
+)
+
+##
+## Dependencies: Development
+##
+
+bazel_dep(
+ name = "rules_license",
+ version = "0.0.7",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "rules_cc",
+ version = "0.0.9",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "rules_python",
+ version = "0.25.0",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "rules_testing",
+ version = "0.4.0",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "aspect_bazel_lib",
+ version = "1.34.1",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "aspect_rules_js",
+ version = "1.32.0",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "rules_nodejs",
+ version = "6.0.1",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "protobuf",
+ version = "21.7",
+ dev_dependency = True,
+ repo_name = "com_google_protobuf",
+)
+bazel_dep(
+ name = "rules_go",
+ version = "0.41.0",
+ dev_dependency = True,
+ repo_name = "io_bazel_rules_go",
+)
+bazel_dep(
+ name = "gazelle",
+ version = "0.32.0",
+ dev_dependency = True,
+ repo_name = "bazel_gazelle",
+)
+bazel_dep(
+ name = "rules_jvm_external",
+ version = "5.3",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "stardoc",
+ version = "0.6.2",
+ dev_dependency = True,
+ repo_name = "io_bazel_stardoc",
+)
+bazel_dep(
+ name = "bazel_skylib_gazelle_plugin",
+ version = "1.4.2",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "contrib_rules_jvm",
+ version = "0.18.0",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "apple_rules_lint",
+ version = "0.3.2",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "buildifier_prebuilt",
+ version = "6.3.3",
+ dev_dependency = True,
+)
+
+################################################################################
+# rules_jvm_external
+################################################################################
+
+MAVEN_ARTIFACTS = [
+ "org.graalvm.nativeimage:svm:%s" % GRAALVM_SDK_VERSION,
+ "org.graalvm.sdk:graal-sdk:%s" % GRAALVM_SDK_VERSION,
+ "org.graalvm.polyglot:polyglot:%s" % GRAALVM_SDK_VERSION,
+]
+
+MAVEN_REPOSITORIES = [
+ "https://maven.pkg.st",
+ "https://maven.google.com",
+ "https://repo1.maven.org/maven2",
+]
+
+maven = use_extension(
+ "@rules_jvm_external//:extensions.bzl",
+ "maven",
+ dev_dependency = True,
+)
+maven.install(
+ name = "maven_gvm",
+ artifacts = MAVEN_ARTIFACTS,
+ lock_file = "//:maven_install.json",
+ repositories = MAVEN_REPOSITORIES,
+)
+use_repo(
+ maven,
+ "maven_gvm",
+ "unpinned_maven_gvm",
+)
+
+################################################################################
+# rules_graalvm
+################################################################################
+
+gvm = use_extension(
+ ":extensions.bzl",
+ "graalvm",
+ dev_dependency = True,
+)
+gvm.graalvm(
+ name = "graalvm",
+ distribution = GRAALVM_DIST,
+ java_version = JAVA_VERSION,
+ version = GRAALVM_VERSION,
+)
+use_repo(
+ gvm,
+ "graalvm",
+)
+use_repo(
+ gvm,
+ "graalvm_toolchains",
+)
+
+register_toolchains(
+ "@graalvm_toolchains//:toolchain",
+ dev_dependency = True,
+)
+
+register_toolchains(
+ "@graalvm_toolchains//:toolchain_gvm",
+ dev_dependency = True,
+)
+
+register_toolchains(
+ "@graalvm//:bootstrap_runtime_toolchain",
+ dev_dependency = True,
+)
+
+################################################################################
+# rules_js
+################################################################################
+
+node = use_extension(
+ "@rules_nodejs//nodejs:extensions.bzl",
+ "node",
+ dev_dependency = True,
+)
+node.toolchain(node_version = NODE_VERSION)
+
+npm = use_extension(
+ "@aspect_rules_js//npm:extensions.bzl",
+ "npm",
+ dev_dependency = True,
+)
+npm.npm_translate_lock(
+ name = "npm",
+ pnpm_lock = "//:pnpm-lock.yaml",
+ verify_node_modules_ignored = "//:.bazelignore",
+)
+use_repo(npm, "npm")
diff --git a/modules/rules_graalvm/0.11.1/presubmit.yml b/modules/rules_graalvm/0.11.1/presubmit.yml
new file mode 100644
index 0000000..9967a1c
--- /dev/null
+++ b/modules/rules_graalvm/0.11.1/presubmit.yml
@@ -0,0 +1,11 @@
+---
+bcr_test_module:
+ module_path: "example/integration_tests/bzlmod"
+ matrix:
+ platform: ["debian10", "macos", "ubuntu2004"]
+ tasks:
+ build_bzlmod_test:
+ name: "Build test module"
+ platform: ${{ platform }}
+ build_targets:
+ - "//sample"
diff --git a/modules/rules_graalvm/0.11.1/source.json b/modules/rules_graalvm/0.11.1/source.json
new file mode 100644
index 0000000..f9656a9
--- /dev/null
+++ b/modules/rules_graalvm/0.11.1/source.json
@@ -0,0 +1,5 @@
+{
+ "integrity": "sha256-5PonWwYtzQOx7LArsl8B6tUSAjAGqHSl4MLLeLptjnM=",
+ "strip_prefix": "rules_graalvm-0.11.1",
+ "url": "https://github.com/sgammon/rules_graalvm/releases/download/v0.11.1/rules_graalvm-0.11.1.zip"
+}
diff --git a/modules/rules_graalvm/metadata.json b/modules/rules_graalvm/metadata.json
index 373cd55..c235e58 100644
--- a/modules/rules_graalvm/metadata.json
+++ b/modules/rules_graalvm/metadata.json
@@ -15,7 +15,8 @@
"0.10.1",
"0.10.2",
"0.10.3",
- "0.11.0"
+ "0.11.0",
+ "0.11.1"
],
"yanked_versions": {}
}
diff --git a/modules/rules_haskell/0.19/MODULE.bazel b/modules/rules_haskell/0.19/MODULE.bazel
new file mode 100644
index 0000000..41b6ffc
--- /dev/null
+++ b/modules/rules_haskell/0.19/MODULE.bazel
@@ -0,0 +1,350 @@
+module(
+ name = "rules_haskell",
+ version = "0.19",
+)
+
+bazel_dep(
+ name = "platforms",
+ version = "0.0.8",
+)
+bazel_dep(
+ name = "rules_java",
+ version = "6.1.0",
+)
+bazel_dep(
+ name = "rules_license",
+ version = "0.0.7",
+)
+bazel_dep(
+ name = "protobuf",
+ version = "21.7",
+ repo_name = "com_google_protobuf",
+)
+bazel_dep(
+ name = "rules_cc",
+ version = "0.0.9",
+)
+bazel_dep(
+ name = "rules_nodejs",
+ version = "5.8.3",
+)
+bazel_dep(
+ name = "rules_python",
+ version = "0.21.0",
+)
+bazel_dep(
+ name = "bazel_skylib",
+ version = "1.5.0",
+)
+bazel_dep(
+ name = "rules_proto",
+ version = "5.3.0-21.7",
+)
+bazel_dep(
+ name = "aspect_rules_js",
+ version = "1.34.0",
+)
+bazel_dep(
+ name = "rules_sh",
+ version = "0.4.0",
+)
+
+ghc_version = use_extension("//extensions:ghc_version.bzl", "ghc_default_version")
+use_repo(
+ ghc_version,
+ "rules_haskell_ghc_version",
+)
+
+rules_haskell_dependencies = use_extension(
+ "//extensions:rules_haskell_dependencies.bzl",
+ "rules_haskell_dependencies",
+)
+use_repo(
+ rules_haskell_dependencies,
+ "Cabal",
+ "os_info",
+ "rules_haskell_stack",
+ "rules_haskell_stack_update",
+ "rules_haskell_worker_dependencies",
+)
+
+asterius = use_extension("@rules_haskell//haskell/asterius:extension.bzl", "rules_haskell_asterius")
+use_repo(
+ asterius,
+ "rules_haskell_asterius_build_setting",
+ "rules_haskell_asterius_webpack",
+)
+
+haskell_toolchains = use_extension(
+ "@rules_haskell//extensions:haskell_toolchains.bzl",
+ "haskell_toolchains",
+)
+haskell_toolchains.bindists()
+use_repo(
+ haskell_toolchains,
+ "all_bindist_toolchains",
+ "rules_haskell_ghc_windows_amd64_cc_toolchain",
+ "rules_haskell_python_local",
+)
+
+# We need to register the nix toolchain before the bindist ones so it
+# take precedence when we use the nixpkgs config.
+register_toolchains(
+ "@rules_haskell_ghc_nixpkgs_toolchain//:toolchain",
+ dev_dependency = True,
+)
+
+register_toolchains(
+ "@all_bindist_toolchains//:all",
+ "@rules_haskell_ghc_windows_amd64_cc_toolchain//:all",
+ "@rules_haskell_python_local//:toolchain",
+)
+
+# Setup node toolchain and install webpack for asterius.
+node = use_extension("@rules_nodejs//nodejs:extensions.bzl", "node")
+node.toolchain(node_version = "16.9.0")
+
+npm = use_extension(
+ "@aspect_rules_js//npm:extensions.bzl",
+ "npm",
+)
+npm.npm_translate_lock(
+ name = "rules_haskell_npm",
+ link_workspace = "rules_haskell",
+ pnpm_lock = "//haskell/asterius/npm:pnpm-lock.yaml",
+ verify_node_modules_ignored = "@rules_haskell//:.bazelignore",
+)
+use_repo(npm, "rules_haskell_npm")
+
+#### Development dependencies ####
+bazel_dep(
+ name = "rules_nixpkgs_core",
+ version = "0.10.0",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "rules_nixpkgs_cc",
+ version = "0.10.0",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "rules_nixpkgs_python",
+ version = "0.10.0",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "rules_nixpkgs_go",
+ version = "0.10.0",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "rules_nixpkgs_posix",
+ version = "0.10.0",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "stardoc",
+ version = "0.6.2",
+ dev_dependency = True,
+ repo_name = "io_bazel_stardoc",
+)
+bazel_dep(
+ name = "rules_nixpkgs_nodejs",
+ version = "0.10.0",
+ dev_dependency = True,
+)
+
+non_module_dev_deps = use_extension(
+ "//:non_module_dev_deps.bzl",
+ "non_module_dev_deps",
+ dev_dependency = True,
+)
+use_repo(
+ non_module_dev_deps,
+ "examples",
+ "examples-arm",
+ "tutorial",
+)
+use_repo(
+ non_module_dev_deps,
+ "nixpkgs_default",
+ "rules_haskell_ghc_nixpkgs",
+ "rules_haskell_ghc_nixpkgs_toolchain",
+)
+use_repo(
+ non_module_dev_deps,
+ "nixpkgs_config_cc",
+ "nixpkgs_config_cc_info",
+ "nixpkgs_config_cc_toolchains",
+ "nixpkgs_python_toolchain",
+)
+
+register_toolchains(
+ "@nixpkgs_config_cc_toolchains//:all",
+ "@nixpkgs_python_toolchain//:toolchain",
+ dev_dependency = True,
+)
+
+# For buildifier
+bazel_dep(
+ name = "rules_go",
+ version = "0.39.1",
+ dev_dependency = True,
+ repo_name = "io_bazel_rules_go",
+)
+
+use_repo(
+ non_module_dev_deps,
+ "com_github_bazelbuild_buildtools",
+ "nixpkgs_go_sdk_toolchains",
+)
+
+register_toolchains(
+ "@nixpkgs_go_sdk_toolchains//:all",
+ dev_dependency = True,
+)
+
+go_sdk = use_extension(
+ "@io_bazel_rules_go//go:extensions.bzl",
+ "go_sdk",
+ dev_dependency = True,
+)
+go_sdk.download(
+ version = "1.19.7",
+)
+
+bazel_dep(
+ name = "gazelle",
+ version = "0.33.0",
+ dev_dependency = True,
+)
+
+go_deps = use_extension(
+ "@gazelle//:extensions.bzl",
+ "go_deps",
+ dev_dependency = True,
+)
+go_deps.module(
+ path = "github.com/gogo/protobuf",
+ sum = "h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=",
+ version = "v1.3.2",
+)
+use_repo(
+ go_deps,
+ "com_github_gogo_protobuf",
+ "com_github_golang_mock",
+ "com_github_golang_protobuf",
+ "org_golang_google_genproto",
+ "org_golang_google_grpc",
+ "org_golang_google_protobuf",
+ "org_golang_x_net",
+ "org_golang_x_tools",
+)
+
+# For documentation
+use_repo(
+ non_module_dev_deps,
+ "graphviz",
+ "linux_pandoc",
+ "macos_pandoc",
+ "nixpkgs_pandoc",
+ "sphinx",
+ "zip",
+)
+
+register_toolchains(
+ "@rules_haskell//docs/pandoc:nixpkgs",
+ "@rules_haskell//docs/pandoc:linux",
+ "@rules_haskell//docs/pandoc:macos",
+ "@rules_haskell//tests:protobuf-toolchain",
+ "@rules_haskell//tests:protobuf-toolchain-osx_arm64",
+ dev_dependency = True,
+)
+
+stack_snapshot = use_extension(
+ "@rules_haskell//extensions:stack_snapshot.bzl",
+ "stack_snapshot",
+)
+
+# The @stackage workspace is referenced in the `stack_snapshot` macro to
+# forward the generated `components.json` file to the `_stack_executables`
+# repository rule which generates the `@stackage-exe` workspace. This reference
+# is resolved within the scope of rules_haskell and therefore requires
+# `@stackage` to be imported.
+# See https://github.com/tweag/rules_haskell/blob/e31617dcd76264f00a833625f70e1e46e91fbc57/haskell/cabal.bzl#L2709
+# TODO[AH] Find a way to not require an import of `@stackage` into rules_haskell.
+use_repo(
+ stack_snapshot,
+ "stackage",
+)
+
+stack_snapshot_dev = use_extension(
+ "@rules_haskell//extensions:stack_snapshot.bzl",
+ "stack_snapshot",
+ dev_dependency = True,
+)
+
+[
+ stack_snapshot_dev.package(
+ name = package,
+ )
+ for package in [
+ # Core libraries
+ "base",
+ "bytestring",
+ "containers",
+ "deepseq",
+ "mtl",
+ "text",
+ "vector",
+ # For tests
+ "lens-family-core",
+ "data-default-class",
+ "proto-lens",
+ "lens-family",
+ ]
+]
+
+stack_snapshot_dev.package(
+ name = "ghc-paths",
+ vendored = "@rules_haskell//tools/ghc-paths",
+)
+stack_snapshot_dev.package(
+ name = "proto-lens-protoc",
+ components = [
+ "lib",
+ "exe",
+ ],
+ setup_deps = ["@Cabal//:Cabal"],
+)
+
+[
+ # See https://github.com/tweag/rules_haskell/issues/1871
+ stack_snapshot_dev.package(
+ name = package,
+ setup_deps = ["@Cabal//:Cabal"],
+ )
+ for package in [
+ "HUnit",
+ "bifunctors",
+ "call-stack",
+ "generic-deriving",
+ "mono-traversable",
+ "proto-lens-runtime",
+ "quickcheck-io",
+ "transformers-compat",
+ "type-errors",
+ "typed-process",
+ "unliftio-core",
+ ]
+]
+
+stack_snapshot_dev.stack_snapshot_json(label = "@rules_haskell//:stackage_snapshot.json")
+stack_snapshot_dev.snapshot(
+ local_snapshot = "@rules_haskell//:stackage_snapshot.yaml",
+)
+use_repo(
+ stack_snapshot_dev,
+ "stackage-exe",
+ "stackage-unpinned",
+)
diff --git a/modules/rules_haskell/0.19/presubmit.yml b/modules/rules_haskell/0.19/presubmit.yml
new file mode 100644
index 0000000..e9e3b04
--- /dev/null
+++ b/modules/rules_haskell/0.19/presubmit.yml
@@ -0,0 +1,35 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ # disable Windows for now, it fails with
+ # "this rule is missing dependency declarations for the following files ..."
+ #- windows
+ bazel:
+ - 6.x
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ shell_commands:
+ - |
+ if apt --version >/dev/null 2>/dev/null; then
+ sudo apt update
+ sudo apt install --no-install-recommends -yy libtinfo5 libgmp-dev
+ fi
+ - |
+ if xcodebuild -version; then
+ xcodebuild -runFirstLaunch
+ fi
+ batch_commands:
+ # enforce certificate update
+ - 'powershell -Command "Invoke-WebRequest -Uri https://hackage.haskell.org/root.json -OutFile out.json"'
+ build_flags:
+ - '--incompatible_enable_cc_toolchain_resolution'
+ - '--repo_env=BAZEL_USE_CPP_ONLY_TOOLCHAIN=1'
+ build_targets:
+ - '@rules_haskell//haskell/...'
+ - '@rules_haskell//tools/...'
diff --git a/modules/rules_haskell/0.19/source.json b/modules/rules_haskell/0.19/source.json
new file mode 100644
index 0000000..8c6f718
--- /dev/null
+++ b/modules/rules_haskell/0.19/source.json
@@ -0,0 +1,5 @@
+{
+ "integrity": "sha256-NHQoSKiILZSgQ3s7GRfepvWMgv5XYq/o0knTo25Rk10=",
+ "strip_prefix": "rules_haskell-0.19",
+ "url": "https://github.com/tweag/rules_haskell/releases/download/v0.19/rules_haskell-0.19.tar.gz"
+}
diff --git a/modules/rules_haskell/metadata.json b/modules/rules_haskell/metadata.json
index bb5eb28..a851251 100644
--- a/modules/rules_haskell/metadata.json
+++ b/modules/rules_haskell/metadata.json
@@ -17,7 +17,8 @@
],
"versions": [
"0.17",
- "0.18"
+ "0.18",
+ "0.19"
],
"yanked_versions": {}
}
diff --git a/modules/rules_helm/0.3.0/MODULE.bazel b/modules/rules_helm/0.3.0/MODULE.bazel
new file mode 100644
index 0000000..e9c824d
--- /dev/null
+++ b/modules/rules_helm/0.3.0/MODULE.bazel
@@ -0,0 +1,40 @@
+"""abrisco/rules_helm"""
+
+module(
+ name = "rules_helm",
+ version = "0.3.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "platforms", version = "0.0.7")
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "stardoc", version = "0.6.2", repo_name = "io_bazel_stardoc")
+bazel_dep(name = "rules_go", version = "0.45.1", repo_name = "io_bazel_rules_go")
+bazel_dep(name = "rules_oci", version = "1.7.2")
+
+# This is unfortunately required by `rules_oci`.
+bazel_dep(name = "aspect_bazel_lib", version = "1.36.0")
+
+go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
+go_sdk.download(version = "1.22.0")
+
+helm = use_extension("@rules_helm//helm:extensions.bzl", "helm")
+helm.options()
+use_repo(
+ helm,
+ "helm_darwin_amd64_toolchain",
+ "helm_darwin_arm64_toolchain",
+ "helm_linux_amd64_toolchain",
+ "helm_linux_arm64_toolchain",
+ "helm_windows_amd64_toolchain",
+)
+use_repo(helm, "go_yaml_yaml")
+use_repo(helm, "helm_test_deps__with_chart_deps", "rules_helm_test_container_base")
+
+register_toolchains(
+ "@helm_darwin_amd64_toolchain//:toolchain",
+ "@helm_darwin_arm64_toolchain//:toolchain",
+ "@helm_linux_amd64_toolchain//:toolchain",
+ "@helm_linux_arm64_toolchain//:toolchain",
+ "@helm_windows_amd64_toolchain//:toolchain",
+)
diff --git a/modules/rules_helm/0.3.0/presubmit.yml b/modules/rules_helm/0.3.0/presubmit.yml
new file mode 100644
index 0000000..3266c6a
--- /dev/null
+++ b/modules/rules_helm/0.3.0/presubmit.yml
@@ -0,0 +1,21 @@
+---
+bcr_test_module:
+ # TODO(abrisco/rules_helm#38): Have this run in a regression test
+ # directory which is consuming rules_helm and not just testing
+ # within the same repository.
+ module_path: "."
+ matrix:
+ platform: ["macos", "ubuntu2004", "windows"]
+ bazel: ["6.x", "7.x"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_flags:
+ - "--config=strict"
+ test_targets:
+ - "--"
+ - "//..."
+ # Docs test renders differently in bcr CI, don't test this.
+ - "-//docs:docs_diff_test"
diff --git a/modules/rules_helm/0.3.0/source.json b/modules/rules_helm/0.3.0/source.json
new file mode 100644
index 0000000..7636c3a
--- /dev/null
+++ b/modules/rules_helm/0.3.0/source.json
@@ -0,0 +1,5 @@
+{
+ "integrity": "sha256-dUr+GSOBNv2UgAjTwksVbQy1J7mXWyIBnwjxsqWhl6k=",
+ "strip_prefix": "",
+ "url": "https://github.com/abrisco/rules_helm/releases/download/0.3.0/rules_helm-v0.3.0.tar.gz"
+}
diff --git a/modules/rules_helm/0.3.1/MODULE.bazel b/modules/rules_helm/0.3.1/MODULE.bazel
new file mode 100644
index 0000000..287db5f
--- /dev/null
+++ b/modules/rules_helm/0.3.1/MODULE.bazel
@@ -0,0 +1,40 @@
+"""abrisco/rules_helm"""
+
+module(
+ name = "rules_helm",
+ version = "0.3.1",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "platforms", version = "0.0.7")
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "stardoc", version = "0.6.2", repo_name = "io_bazel_stardoc")
+bazel_dep(name = "rules_go", version = "0.45.1", repo_name = "io_bazel_rules_go")
+bazel_dep(name = "rules_oci", version = "1.7.2")
+
+# This is unfortunately required by `rules_oci`.
+bazel_dep(name = "aspect_bazel_lib", version = "1.36.0")
+
+go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
+go_sdk.download(version = "1.18.10")
+
+helm = use_extension("@rules_helm//helm:extensions.bzl", "helm")
+helm.options()
+use_repo(
+ helm,
+ "helm_darwin_amd64_toolchain",
+ "helm_darwin_arm64_toolchain",
+ "helm_linux_amd64_toolchain",
+ "helm_linux_arm64_toolchain",
+ "helm_windows_amd64_toolchain",
+)
+use_repo(helm, "go_yaml_yaml")
+use_repo(helm, "helm_test_deps__with_chart_deps", "rules_helm_test_container_base")
+
+register_toolchains(
+ "@helm_darwin_amd64_toolchain//:toolchain",
+ "@helm_darwin_arm64_toolchain//:toolchain",
+ "@helm_linux_amd64_toolchain//:toolchain",
+ "@helm_linux_arm64_toolchain//:toolchain",
+ "@helm_windows_amd64_toolchain//:toolchain",
+)
diff --git a/modules/rules_helm/0.3.1/presubmit.yml b/modules/rules_helm/0.3.1/presubmit.yml
new file mode 100644
index 0000000..3266c6a
--- /dev/null
+++ b/modules/rules_helm/0.3.1/presubmit.yml
@@ -0,0 +1,21 @@
+---
+bcr_test_module:
+ # TODO(abrisco/rules_helm#38): Have this run in a regression test
+ # directory which is consuming rules_helm and not just testing
+ # within the same repository.
+ module_path: "."
+ matrix:
+ platform: ["macos", "ubuntu2004", "windows"]
+ bazel: ["6.x", "7.x"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_flags:
+ - "--config=strict"
+ test_targets:
+ - "--"
+ - "//..."
+ # Docs test renders differently in bcr CI, don't test this.
+ - "-//docs:docs_diff_test"
diff --git a/modules/rules_helm/0.3.1/source.json b/modules/rules_helm/0.3.1/source.json
new file mode 100644
index 0000000..5eb2e76
--- /dev/null
+++ b/modules/rules_helm/0.3.1/source.json
@@ -0,0 +1,5 @@
+{
+ "integrity": "sha256-Dm2Dmt1Jk2e2udpSD7knJ+s3nilPtqA3Jqfiwpcgj6E=",
+ "strip_prefix": "",
+ "url": "https://github.com/abrisco/rules_helm/releases/download/0.3.1/rules_helm-v0.3.1.tar.gz"
+}
diff --git a/modules/rules_helm/metadata.json b/modules/rules_helm/metadata.json
index a00acdd..9aed1e1 100644
--- a/modules/rules_helm/metadata.json
+++ b/modules/rules_helm/metadata.json
@@ -12,7 +12,9 @@
],
"versions": [
"0.0.9",
- "0.0.10"
+ "0.0.10",
+ "0.3.0",
+ "0.3.1"
],
"yanked_versions": {}
}
diff --git a/modules/rules_java/7.4.0/MODULE.bazel b/modules/rules_java/7.4.0/MODULE.bazel
new file mode 100644
index 0000000..e220d5d
--- /dev/null
+++ b/modules/rules_java/7.4.0/MODULE.bazel
@@ -0,0 +1,86 @@
+module(
+ name = "rules_java",
+ version = "7.4.0",
+ # Requires @bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type.
+ bazel_compatibility = [">=7.0.0"],
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "platforms", version = "0.0.4")
+bazel_dep(name = "rules_cc", version = "0.0.2")
+bazel_dep(name = "bazel_skylib", version = "1.2.0")
+
+# Required by @remote_java_tools, which is loaded via module extension.
+bazel_dep(name = "rules_proto", version = "4.0.0")
+bazel_dep(name = "rules_license", version = "0.0.3")
+
+register_toolchains("//toolchains:all")
+
+toolchains = use_extension("//java:extensions.bzl", "toolchains")
+
+# Declare remote java tools repos
+use_repo(toolchains, "remote_java_tools")
+use_repo(toolchains, "remote_java_tools_linux")
+use_repo(toolchains, "remote_java_tools_windows")
+use_repo(toolchains, "remote_java_tools_darwin_x86_64")
+use_repo(toolchains, "remote_java_tools_darwin_arm64")
+
+# Declare local jdk repo
+use_repo(toolchains, "local_jdk")
+
+register_toolchains(
+ "@local_jdk//:runtime_toolchain_definition",
+ "@local_jdk//:bootstrap_runtime_toolchain_definition",
+)
+
+# Declare all remote jdk toolchain config repos
+JDKS = {
+ # Must match JDK repos defined in remote_jdk11_repos()
+ "11": [
+ "linux",
+ "linux_aarch64",
+ "linux_ppc64le",
+ "linux_s390x",
+ "macos",
+ "macos_aarch64",
+ "win",
+ "win_arm64",
+ ],
+ # Must match JDK repos defined in remote_jdk17_repos()
+ "17": [
+ "linux",
+ "linux_aarch64",
+ "linux_ppc64le",
+ "linux_s390x",
+ "macos",
+ "macos_aarch64",
+ "win",
+ "win_arm64",
+ ],
+ # Must match JDK repos defined in remote_jdk21_repos()
+ "21": [
+ "linux",
+ "linux_aarch64",
+ "macos",
+ "macos_aarch64",
+ "win",
+ ],
+}
+
+REMOTE_JDK_REPOS = [("remotejdk" + version + "_" + platform) for version in JDKS for platform in JDKS[version]]
+
+[use_repo(
+ toolchains,
+ repo + "_toolchain_config_repo",
+) for repo in REMOTE_JDK_REPOS]
+
+[register_toolchains("@" + name + "_toolchain_config_repo//:all") for name in REMOTE_JDK_REPOS]
+
+# Dev dependencies
+bazel_dep(name = "rules_pkg", version = "0.9.1", dev_dependency = True)
+
+# Override rules_python version to deal with #161 and https://github.com/bazelbuild/bazel/issues/20458
+single_version_override(
+ module_name = "rules_python",
+ version = "0.24.0",
+)
diff --git a/modules/rules_java/7.4.0/presubmit.yml b/modules/rules_java/7.4.0/presubmit.yml
new file mode 100644
index 0000000..722960d
--- /dev/null
+++ b/modules/rules_java/7.4.0/presubmit.yml
@@ -0,0 +1,16 @@
+matrix:
+ platform:
+ - centos7
+ - debian10
+ - macos
+ - ubuntu2004
+ - windows
+ bazel:
+ - 7.x
+tasks:
+ verify_build_targets:
+ name: "Verify build targets"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@rules_java//java/..."
diff --git a/modules/rules_java/7.4.0/source.json b/modules/rules_java/7.4.0/source.json
new file mode 100644
index 0000000..9b6d976
--- /dev/null
+++ b/modules/rules_java/7.4.0/source.json
@@ -0,0 +1,5 @@
+{
+ "integrity": "sha256-l27wi0nJKXQfIBeQ5Z44B8cq2B9CjIvJU82+/1/tFes=",
+ "strip_prefix": "",
+ "url": "https://github.com/bazelbuild/rules_java/releases/download/7.4.0/rules_java-7.4.0.tar.gz"
+}
diff --git a/modules/rules_java/metadata.json b/modules/rules_java/metadata.json
index 8c1b633..2cc201e 100644
--- a/modules/rules_java/metadata.json
+++ b/modules/rules_java/metadata.json
@@ -1,6 +1,12 @@
{
"homepage": "https://github.com/bazelbuild/rules_java",
- "maintainers": [],
+ "maintainers": [
+ {
+ "email": "hvd@google.com",
+ "github": "hvadehra",
+ "name": "Hemanshu Vadehra"
+ }
+ ],
"versions": [
"4.0.0",
"5.0.0",
@@ -28,7 +34,8 @@
"7.2.0",
"7.3.0",
"7.3.1",
- "7.3.2"
+ "7.3.2",
+ "7.4.0"
],
"yanked_versions": {
"6.3.3": "6.3.3 is a broken version.",
diff --git a/modules/rules_kustomize/0.3.8/MODULE.bazel b/modules/rules_kustomize/0.3.8/MODULE.bazel
new file mode 100644
index 0000000..7809e18
--- /dev/null
+++ b/modules/rules_kustomize/0.3.8/MODULE.bazel
@@ -0,0 +1,23 @@
+module(
+ name = "rules_kustomize",
+ version = "0.3.8",
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "platforms", version = "0.0.8")
+
+helm = use_extension("//kustomize:extensions.bzl", "helm")
+use_repo(
+ helm,
+ "helm_tool_toolchains",
+)
+
+register_toolchains("@helm_tool_toolchains//:all")
+
+kustomize = use_extension("//kustomize:extensions.bzl", "kustomize")
+use_repo(
+ kustomize,
+ "kustomize_tool_toolchains",
+)
+
+register_toolchains("@kustomize_tool_toolchains//:all")
diff --git a/modules/rules_kustomize/0.3.8/patches/module_dot_bazel_version.patch b/modules/rules_kustomize/0.3.8/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..7a2a992
--- /dev/null
+++ b/modules/rules_kustomize/0.3.8/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_kustomize",
+- version = "0.0.0",
++ version = "0.3.8",
+ )
+
+ bazel_dep(name = "bazel_skylib", version = "1.5.0")
+ bazel_dep(name = "platforms", version = "0.0.8")
diff --git a/modules/rules_kustomize/0.3.8/presubmit.yml b/modules/rules_kustomize/0.3.8/presubmit.yml
new file mode 100644
index 0000000..9b7bbd0
--- /dev/null
+++ b/modules/rules_kustomize/0.3.8/presubmit.yml
@@ -0,0 +1,22 @@
+matrix: &matrix
+ platform:
+ - centos7
+ - debian10
+ - macos
+ - ubuntu2004
+ - windows
+tasks:
+ verify_targets:
+ name: Verify that all tests succeed
+ platform: ${{ platform }}
+ test_targets:
+ - '@rules_kustomize//test:all'
+bcr_test_module:
+ module_path: examples/bzlmod
+ matrix: *matrix
+ tasks:
+ run_test_module:
+ name: Run test module
+ platform: ${{ platform }}
+ build_targets:
+ - //root
diff --git a/modules/rules_kustomize/0.3.8/source.json b/modules/rules_kustomize/0.3.8/source.json
new file mode 100644
index 0000000..2af48c4
--- /dev/null
+++ b/modules/rules_kustomize/0.3.8/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-RFsj14Yv9awMnEg43G9gwG7XhxApqIBtvAmNELUrGA8=",
+ "strip_prefix": "rules_kustomize-0.3.8",
+ "url": "https://github.com/seh/rules_kustomize/releases/download/v0.3.8/vcs-archive-v0.3.8.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-v9torwCVWQVW0DvR+jYXaJ9JbBVjFzw8j73PVMo81BI="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_kustomize/metadata.json b/modules/rules_kustomize/metadata.json
index d797de4..47db64e 100644
--- a/modules/rules_kustomize/metadata.json
+++ b/modules/rules_kustomize/metadata.json
@@ -20,7 +20,8 @@
"0.3.3",
"0.3.4",
"0.3.5",
- "0.3.6"
+ "0.3.6",
+ "0.3.8"
],
"yanked_versions": {}
}
diff --git a/modules/rules_license/0.0.8/MODULE.bazel b/modules/rules_license/0.0.8/MODULE.bazel
new file mode 100644
index 0000000..be953b1
--- /dev/null
+++ b/modules/rules_license/0.0.8/MODULE.bazel
@@ -0,0 +1,17 @@
+module(
+ name = "rules_license",
+ version = "0.0.8", # Keep in sync with version.bzl
+ compatibility_level = 1,
+)
+
+# NOTE: rules_license must not depend on any other repositories if you are
+# just using basic rules under //rules/... and //licenses/...
+
+# TODO(aiuto): Create an extension to enable the rules under //tools/...
+# That will require rules_python, which we do not want to force on people who
+# do not need //tools.
+
+# Only for development
+bazel_dep(name = "rules_pkg", version = "0.7.0", dev_dependency = True)
+bazel_dep(name = "rules_python", version = "0.23.0", dev_dependency = True)
+bazel_dep(name = "stardoc", version = "0.5.3", dev_dependency = True)
diff --git a/modules/rules_license/0.0.8/presubmit.yml b/modules/rules_license/0.0.8/presubmit.yml
new file mode 100644
index 0000000..71ee1ae
--- /dev/null
+++ b/modules/rules_license/0.0.8/presubmit.yml
@@ -0,0 +1,13 @@
+matrix:
+ platform:
+ - centos7
+ - debian10
+ - ubuntu2004
+ - macos
+ - windows
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ build_targets:
+ - '@rules_license//:license'
diff --git a/modules/rules_license/0.0.8/source.json b/modules/rules_license/0.0.8/source.json
new file mode 100644
index 0000000..0b7d7a7
--- /dev/null
+++ b/modules/rules_license/0.0.8/source.json
@@ -0,0 +1,4 @@
+{
+ "url": "https://github.com/bazelbuild/rules_license/releases/download/0.0.8/rules_license-0.0.8.tar.gz",
+ "integrity": "sha256-JBsG8wl/0Yb/RogyFQ1swUIkfcQqMqrvtW0AmYlf0ik="
+}
diff --git a/modules/rules_license/metadata.json b/modules/rules_license/metadata.json
index e329914..62f476b 100644
--- a/modules/rules_license/metadata.json
+++ b/modules/rules_license/metadata.json
@@ -15,7 +15,8 @@
"0.0.3",
"0.0.4",
"0.0.6",
- "0.0.7"
+ "0.0.7",
+ "0.0.8"
],
"yanked_versions": {}
}
diff --git a/modules/rules_oci/1.7.0/MODULE.bazel b/modules/rules_oci/1.7.0/MODULE.bazel
new file mode 100644
index 0000000..171ae66
--- /dev/null
+++ b/modules/rules_oci/1.7.0/MODULE.bazel
@@ -0,0 +1,22 @@
+"bazel-contrib/rules_oci"
+
+module(
+ name = "rules_oci",
+ version = "1.7.0",
+ compatibility_level = 1,
+)
+
+# Minimum 1.36.0 to include https://github.com/aspect-build/bazel-lib/pull/594
+bazel_dep(name = "aspect_bazel_lib", version = "1.36.0")
+bazel_dep(name = "bazel_skylib", version = "1.4.1")
+bazel_dep(name = "platforms", version = "0.0.5")
+
+oci = use_extension("//oci:extensions.bzl", "oci")
+oci.toolchains(crane_version = "v0.18.0")
+use_repo(oci, "oci_auth_config", "oci_crane_registry_toolchains", "oci_crane_toolchains")
+
+register_toolchains("@oci_crane_toolchains//:all", "@oci_crane_registry_toolchains//:all")
+
+bazel_dep(name = "rules_pkg", version = "0.7.0", dev_dependency = True)
+bazel_dep(name = "gazelle", version = "0.29.0", dev_dependency = True, repo_name = "bazel_gazelle")
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
diff --git a/modules/rules_oci/1.7.0/patches/module_dot_bazel_version.patch b/modules/rules_oci/1.7.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..f03b560
--- /dev/null
+++ b/modules/rules_oci/1.7.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "bazel-contrib/rules_oci"
+
+ module(
+ name = "rules_oci",
+- version = "0.0.0",
++ version = "1.7.0",
+ compatibility_level = 1,
+ )
+
+ # Minimum 1.36.0 to include https://github.com/aspect-build/bazel-lib/pull/594
diff --git a/modules/rules_oci/1.7.0/presubmit.yml b/modules/rules_oci/1.7.0/presubmit.yml
new file mode 100644
index 0000000..5ee2374
--- /dev/null
+++ b/modules/rules_oci/1.7.0/presubmit.yml
@@ -0,0 +1,16 @@
+bcr_test_module:
+ module_path: "e2e/crane_as_registry"
+ matrix:
+ # TODO(#97): add windows
+ # File "C:/b/eznkjcld/external/rules_oci~override/oci/repositories.bzl", line 100, column 64, in _stucture_test_repo_impl
+ # integrity = ST_VERSIONS[repository_ctx.attr.st_version][platform],
+ # Error: key "windows-amd64" not found in dictionary
+ platform: ["debian10", "macos", "ubuntu2004"]
+ bazel: ["6.x", "7.x"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/rules_oci/1.7.0/source.json b/modules/rules_oci/1.7.0/source.json
new file mode 100644
index 0000000..09b99ac
--- /dev/null
+++ b/modules/rules_oci/1.7.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-auZszGJh09KX/vHYMKm7hS3e3Tkgu9ExAhGT6ly1r3c=",
+ "strip_prefix": "rules_oci-1.7.0",
+ "url": "https://github.com/bazel-contrib/rules_oci/releases/download/v1.7.0/rules_oci-v1.7.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-6efrhCYsD6ZOuTgwJmWtngu4SxqxtYDnPdCMyRn6laA="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_oci/1.7.2/MODULE.bazel b/modules/rules_oci/1.7.2/MODULE.bazel
new file mode 100644
index 0000000..a62ba72
--- /dev/null
+++ b/modules/rules_oci/1.7.2/MODULE.bazel
@@ -0,0 +1,22 @@
+"bazel-contrib/rules_oci"
+
+module(
+ name = "rules_oci",
+ version = "1.7.2",
+ compatibility_level = 1,
+)
+
+# Minimum 1.36.0 to include https://github.com/aspect-build/bazel-lib/pull/594
+bazel_dep(name = "aspect_bazel_lib", version = "1.36.0")
+bazel_dep(name = "bazel_skylib", version = "1.4.1")
+bazel_dep(name = "platforms", version = "0.0.5")
+
+oci = use_extension("//oci:extensions.bzl", "oci")
+oci.toolchains(crane_version = "v0.18.0")
+use_repo(oci, "oci_crane_registry_toolchains", "oci_crane_toolchains")
+
+register_toolchains("@oci_crane_toolchains//:all", "@oci_crane_registry_toolchains//:all")
+
+bazel_dep(name = "rules_pkg", version = "0.7.0", dev_dependency = True)
+bazel_dep(name = "gazelle", version = "0.29.0", dev_dependency = True, repo_name = "bazel_gazelle")
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
diff --git a/modules/rules_oci/1.7.2/patches/module_dot_bazel_version.patch b/modules/rules_oci/1.7.2/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..cc0858e
--- /dev/null
+++ b/modules/rules_oci/1.7.2/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ "bazel-contrib/rules_oci"
+
+ module(
+ name = "rules_oci",
+- version = "0.0.0",
++ version = "1.7.2",
+ compatibility_level = 1,
+ )
+
+ # Minimum 1.36.0 to include https://github.com/aspect-build/bazel-lib/pull/594
diff --git a/modules/rules_oci/1.7.2/presubmit.yml b/modules/rules_oci/1.7.2/presubmit.yml
new file mode 100644
index 0000000..5ee2374
--- /dev/null
+++ b/modules/rules_oci/1.7.2/presubmit.yml
@@ -0,0 +1,16 @@
+bcr_test_module:
+ module_path: "e2e/crane_as_registry"
+ matrix:
+ # TODO(#97): add windows
+ # File "C:/b/eznkjcld/external/rules_oci~override/oci/repositories.bzl", line 100, column 64, in _stucture_test_repo_impl
+ # integrity = ST_VERSIONS[repository_ctx.attr.st_version][platform],
+ # Error: key "windows-amd64" not found in dictionary
+ platform: ["debian10", "macos", "ubuntu2004"]
+ bazel: ["6.x", "7.x"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/rules_oci/1.7.2/source.json b/modules/rules_oci/1.7.2/source.json
new file mode 100644
index 0000000..98220ed
--- /dev/null
+++ b/modules/rules_oci/1.7.2/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-z2uL6CzeMNrvGKCVGddSaWUDF+QNkXyGM8+OOrVkXqU=",
+ "strip_prefix": "rules_oci-1.7.2",
+ "url": "https://github.com/bazel-contrib/rules_oci/releases/download/v1.7.2/rules_oci-v1.7.2.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-NxdDAvGfmkSYa0jxbGYcmWfGmC1CSZv7ZsaZa6ftdZM="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_oci/metadata.json b/modules/rules_oci/metadata.json
index 86488f3..d05c8e6 100644
--- a/modules/rules_oci/metadata.json
+++ b/modules/rules_oci/metadata.json
@@ -36,7 +36,9 @@
"1.4.3",
"1.5.0",
"1.5.1",
- "1.6.0"
+ "1.6.0",
+ "1.7.0",
+ "1.7.2"
],
"yanked_versions": {}
}
diff --git a/modules/rules_pkg/0.10.1/MODULE.bazel b/modules/rules_pkg/0.10.1/MODULE.bazel
new file mode 100644
index 0000000..16d9549
--- /dev/null
+++ b/modules/rules_pkg/0.10.1/MODULE.bazel
@@ -0,0 +1,25 @@
+module(
+ name = "rules_pkg",
+ version = "0.10.1", # Must sync with version.bzl.
+ compatibility_level = 1,
+ repo_name = "rules_pkg",
+)
+
+# Do not update to newer versions until you need a specific new feature.
+bazel_dep(name = "rules_license", version = "0.0.4")
+bazel_dep(name = "rules_python", version = "0.24.0")
+bazel_dep(name = "bazel_skylib", version = "1.2.0")
+
+# Only for development
+bazel_dep(name = "platforms", version = "0.0.5", dev_dependency = True)
+bazel_dep(name = "stardoc", version = "0.5.3", dev_dependency = True)
+bazel_dep(name = "rules_cc", version = "0.0.9", dev_dependency = True)
+
+# Find the system rpmbuild if one is available.
+find_rpm = use_extension("//toolchains/rpm:rpmbuild_configure.bzl", "find_system_rpmbuild_bzlmod", dev_dependency = True)
+use_repo(find_rpm, "rules_pkg_rpmbuild")
+
+register_toolchains(
+ "@rules_pkg_rpmbuild//:all",
+ dev_dependency = True,
+)
diff --git a/modules/rules_pkg/0.10.1/presubmit.yml b/modules/rules_pkg/0.10.1/presubmit.yml
new file mode 100644
index 0000000..a8599e5
--- /dev/null
+++ b/modules/rules_pkg/0.10.1/presubmit.yml
@@ -0,0 +1,17 @@
+build_targets: &build_targets
+- '@rules_pkg//...'
+# Re-enable those targets when toolchain registration is supported.
+- '-@rules_pkg//toolchains/...'
+- '-@rules_pkg//pkg:make_rpm'
+
+platforms:
+ centos7:
+ build_targets: *build_targets
+ debian10:
+ build_targets: *build_targets
+ macos:
+ build_targets: *build_targets
+ ubuntu2004:
+ build_targets: *build_targets
+ windows:
+ build_targets: *build_targets
diff --git a/modules/rules_pkg/0.10.1/source.json b/modules/rules_pkg/0.10.1/source.json
new file mode 100644
index 0000000..bef9fcb
--- /dev/null
+++ b/modules/rules_pkg/0.10.1/source.json
@@ -0,0 +1,4 @@
+{
+ "url": "https://github.com/bazelbuild/rules_pkg/releases/download/0.10.1/rules_pkg-0.10.1.tar.gz",
+ "integrity": "sha256-0lCSSi7MUXaAj8TCXVz16eeeY0bXnVqxxJPiieci0dA="
+}
diff --git a/modules/rules_pkg/metadata.json b/modules/rules_pkg/metadata.json
index f314abd..4c10e29 100644
--- a/modules/rules_pkg/metadata.json
+++ b/modules/rules_pkg/metadata.json
@@ -1,16 +1,22 @@
{
- "homepage": "https://github.com/bazelbuild/rules_pkg.git",
- "maintainers": [],
- "repository": [
- "github:bazelbuild/rules_pkg"
- ],
- "versions": [
- "0.5.1",
- "0.7.0",
- "0.8.1",
- "0.9.0",
- "0.9.1",
- "0.10.0"
- ],
- "yanked_versions": {}
-}
+ "homepage": "https://github.com/bazelbuild/rules_pkg.git",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:bazelbuild/rules_pkg"
+ ],
+ "versions": [
+ "0.5.1",
+ "0.7.0",
+ "0.8.1",
+ "0.9.0",
+ "0.9.1",
+ "0.10.0",
+ "0.10.1"
+ ],
+ "yanked_versions": {}
+} \ No newline at end of file
diff --git a/modules/rules_poetry/0.3.1/MODULE.bazel b/modules/rules_poetry/0.3.1/MODULE.bazel
new file mode 100644
index 0000000..9fe3640
--- /dev/null
+++ b/modules/rules_poetry/0.3.1/MODULE.bazel
@@ -0,0 +1,11 @@
+module(
+ name = "rules_poetry",
+ version = "0.3.1",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "platforms", version = "0.0.8")
+
+internal_deps = use_extension("@rules_poetry//python:extensions.bzl", "internal_deps")
+use_repo(internal_deps, "rules_poetry_deps", "rules_poetry_pip")
diff --git a/modules/rules_poetry/0.3.1/presubmit.yml b/modules/rules_poetry/0.3.1/presubmit.yml
new file mode 100644
index 0000000..d5d7f53
--- /dev/null
+++ b/modules/rules_poetry/0.3.1/presubmit.yml
@@ -0,0 +1,32 @@
+matrix:
+ platform:
+ - centos7
+ - debian10
+ - ubuntu2004
+ - macos
+ bazel:
+ - 7.x
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@rules_poetry//python/...'
+ - '@rules_poetry//lib/...'
+bcr_test_module:
+ module_path: "examples/transitions"
+ matrix:
+ platform:
+ - debian11
+ - macos
+ - ubuntu2004
+ bazel:
+ - 7.x
+ tasks:
+ run_test_module:
+ name: Run test module
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - //...
diff --git a/modules/rules_poetry/0.3.1/source.json b/modules/rules_poetry/0.3.1/source.json
new file mode 100644
index 0000000..09bd632
--- /dev/null
+++ b/modules/rules_poetry/0.3.1/source.json
@@ -0,0 +1,7 @@
+{
+ "url": "https://github.com/oxidase/rules_poetry/releases/download/v0.3.1/rules_poetry-0.3.1.tar.gz",
+ "integrity": "sha256-KFYMU9w9IS0BjR0W7dvvVQoMUrZGH6WJn+wPgySZf2g=",
+ "strip_prefix": "rules_poetry-0.3.1",
+ "patch_strip": 0,
+ "patches": {}
+}
diff --git a/modules/rules_poetry/metadata.json b/modules/rules_poetry/metadata.json
index c95f826..b0303b1 100644
--- a/modules/rules_poetry/metadata.json
+++ b/modules/rules_poetry/metadata.json
@@ -13,7 +13,8 @@
"versions": [
"0.1.0",
"0.2.0",
- "0.3.0"
+ "0.3.0",
+ "0.3.1"
],
"yanked_versions": {}
}
diff --git a/modules/rules_proto/6.0.0-rc2/MODULE.bazel b/modules/rules_proto/6.0.0-rc2/MODULE.bazel
new file mode 100644
index 0000000..2da6e52
--- /dev/null
+++ b/modules/rules_proto/6.0.0-rc2/MODULE.bazel
@@ -0,0 +1,19 @@
+"Bazel dependencies"
+
+module(
+ name = "rules_proto",
+ # Note: the publish-to-BCR app will patch this line to stamp the version being published.
+ version = "6.0.0-rc2",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "rules_license", version = "0.0.7")
+bazel_dep(name = "bazel_skylib", version = "1.3.0")
+bazel_dep(name = "bazel_features", version = "1.2.0")
+
+# Dependencies needed in tests
+bazel_dep(name = "stardoc", version = "0.5.6", dev_dependency = True, repo_name = "io_bazel_stardoc")
+bazel_dep(name = "rules_cc", version = "0.0.1", dev_dependency = True)
+bazel_dep(name = "googletest", version = "1.11.0", dev_dependency = True, repo_name = "com_google_googletest")
+bazel_dep(name = "protobuf", version = "23.1", dev_dependency = True, repo_name = "com_google_protobuf")
+bazel_dep(name = "platforms", version = "0.0.8", dev_dependency = True)
diff --git a/modules/rules_proto/6.0.0-rc2/patches/module_dot_bazel_version.patch b/modules/rules_proto/6.0.0-rc2/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..3f069bf
--- /dev/null
+++ b/modules/rules_proto/6.0.0-rc2/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -2,9 +2,9 @@
+
+ module(
+ name = "rules_proto",
+ # Note: the publish-to-BCR app will patch this line to stamp the version being published.
+- version = "0.0.0",
++ version = "6.0.0-rc2",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "rules_license", version = "0.0.7")
diff --git a/modules/rules_proto/6.0.0-rc2/presubmit.yml b/modules/rules_proto/6.0.0-rc2/presubmit.yml
new file mode 100644
index 0000000..ea8f8b9
--- /dev/null
+++ b/modules/rules_proto/6.0.0-rc2/presubmit.yml
@@ -0,0 +1,10 @@
+matrix:
+ platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]
+ bazel: ["6.x", "7.x"]
+tasks:
+ verify_build_targets:
+ name: "Verify build targets"
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ build_targets:
+ - "@rules_proto//proto/..."
diff --git a/modules/rules_proto/6.0.0-rc2/source.json b/modules/rules_proto/6.0.0-rc2/source.json
new file mode 100644
index 0000000..a17b638
--- /dev/null
+++ b/modules/rules_proto/6.0.0-rc2/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-cf2+0AoHCVIa0hIFjGDROZe5IqXQHb/Zl/DVfWiee2c=",
+ "strip_prefix": "rules_proto-6.0.0-rc2",
+ "url": "https://github.com/bazelbuild/rules_proto/releases/download/6.0.0-rc2/rules_proto-6.0.0-rc2.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-xDTHv7Npgr0lIdxwTXXD5rcQ31DX09176+T4wn0hF4I="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_proto/metadata.json b/modules/rules_proto/metadata.json
index c359a34..ad1ed47 100644
--- a/modules/rules_proto/metadata.json
+++ b/modules/rules_proto/metadata.json
@@ -22,7 +22,8 @@
"versions": [
"4.0.0",
"5.3.0-21.7",
- "6.0.0-rc1"
+ "6.0.0-rc1",
+ "6.0.0-rc2"
],
"yanked_versions": {},
"repository": [
diff --git a/modules/rules_pycross/0.5.0/MODULE.bazel b/modules/rules_pycross/0.5.0/MODULE.bazel
new file mode 100644
index 0000000..489922d
--- /dev/null
+++ b/modules/rules_pycross/0.5.0/MODULE.bazel
@@ -0,0 +1,69 @@
+"""rules_pycross"""
+
+module(
+ name = "rules_pycross",
+ version = "0.5.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "aspect_bazel_lib", version = "1.38.1")
+bazel_dep(name = "bazel_features", version = "1.1.1")
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(name = "platforms", version = "0.0.4")
+bazel_dep(name = "rules_python", version = "0.29.0")
+
+# Change this value to set the Python version we use in our repo venv.
+PYTHON_VERSION = "3.12"
+
+py_underscore_version = PYTHON_VERSION.replace(".", "_")
+
+python = use_extension("@rules_python//python/extensions:python.bzl", "python")
+python.toolchain(python_version = PYTHON_VERSION)
+use_repo(
+ python,
+ "python_%s" % py_underscore_version,
+ "python_%s_host" % py_underscore_version,
+ "python_versions",
+ "pythons_hub",
+)
+
+pycross = use_extension("@rules_pycross//pycross/extensions:pycross.bzl", "pycross")
+pycross.configure_environments()
+pycross.configure_interpreter(
+ python_defs_file = "@python_%s//:defs.bzl" % py_underscore_version,
+ python_interpreter_target = "@python_%s_host//:python" % py_underscore_version,
+)
+pycross.configure_toolchains()
+
+# TODO(jvolkman): Is there an easy way to not have to list these file repos?
+use_repo(
+ pycross,
+ "rules_pycross_internal",
+ "rules_pycross_internal_deps_wheel_dacite_1.6.0_py3_none_any",
+ "rules_pycross_internal_deps_wheel_installer_0.7.0_py3_none_any",
+ "rules_pycross_internal_deps_wheel_packaging_23.2_py3_none_any",
+ "rules_pycross_internal_deps_wheel_pip_23.3.1_py3_none_any",
+ "rules_pycross_internal_deps_wheel_poetry_core_1.8.1_py3_none_any",
+ "rules_pycross_internal_deps_wheel_tomli_2.0.1_py3_none_any",
+)
+
+toolchains = use_extension("@rules_pycross//pycross/private/bzlmod:toolchains.bzl", "toolchains")
+toolchains.create_for_python_toolchains(name = "pycross_toolchains")
+use_repo(toolchains, "pycross_toolchains")
+
+register_toolchains("@pycross_toolchains//...")
+
+environments = use_extension("@rules_pycross//pycross/extensions:environments.bzl", "environments")
+environments.create_for_python_toolchains(name = "pycross_environments")
+use_repo(environments, "pycross_environments")
+
+lock_import = use_extension("@rules_pycross//pycross/extensions:lock_import.bzl", "lock_import")
+use_repo(lock_import, "lock_import_repos_hub")
+
+lock_repos = use_extension("@rules_pycross//pycross/extensions:lock_repos.bzl", "lock_repos")
+lock_repos.create()
+
+# Currently development-only
+bazel_dep(name = "gazelle", version = "0.35.0", dev_dependency = True)
+bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True)
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
diff --git a/modules/rules_pycross/0.5.0/patches/module_dot_bazel_version.patch b/modules/rules_pycross/0.5.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..a7a34e8
--- /dev/null
+++ b/modules/rules_pycross/0.5.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ """rules_pycross"""
+
+ module(
+ name = "rules_pycross",
+- version = "0.0.0",
++ version = "0.5.0",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "aspect_bazel_lib", version = "1.38.1")
diff --git a/modules/rules_pycross/0.5.0/presubmit.yml b/modules/rules_pycross/0.5.0/presubmit.yml
new file mode 100644
index 0000000..8ff7d8f
--- /dev/null
+++ b/modules/rules_pycross/0.5.0/presubmit.yml
@@ -0,0 +1,36 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ bazel:
+ - 7.x
+ - 6.x
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@rules_pycross//pycross/..."
+bcr_test_module:
+ module_path: tests/smoke_bzlmod
+ matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ bazel:
+ - 7.x
+ - 6.x
+ tasks:
+ run_test_module:
+ name: Run test module
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - //...
+ test_targets:
+ - //...
diff --git a/modules/rules_pycross/0.5.0/source.json b/modules/rules_pycross/0.5.0/source.json
new file mode 100644
index 0000000..e2a7ecd
--- /dev/null
+++ b/modules/rules_pycross/0.5.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-8WuYWp63zzJY148HZi0FLEK4Jw1CTlvIXnpSvWcJkdI=",
+ "strip_prefix": "rules_pycross-0.5.0",
+ "url": "https://github.com/jvolkman/rules_pycross/releases/download/v0.5.0/rules_pycross-v0.5.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-hJ3NuT0PWF8BxWtZHp47mAwQUttR3qOiw4XrDZW1EzI="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_pycross/0.5.1/MODULE.bazel b/modules/rules_pycross/0.5.1/MODULE.bazel
new file mode 100644
index 0000000..27be06b
--- /dev/null
+++ b/modules/rules_pycross/0.5.1/MODULE.bazel
@@ -0,0 +1,69 @@
+"""rules_pycross"""
+
+module(
+ name = "rules_pycross",
+ version = "0.5.1",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "aspect_bazel_lib", version = "1.38.1")
+bazel_dep(name = "bazel_features", version = "1.1.1")
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(name = "platforms", version = "0.0.4")
+bazel_dep(name = "rules_python", version = "0.29.0")
+
+# Change this value to set the Python version we use in our repo venv.
+PYTHON_VERSION = "3.12"
+
+py_underscore_version = PYTHON_VERSION.replace(".", "_")
+
+python = use_extension("@rules_python//python/extensions:python.bzl", "python")
+python.toolchain(python_version = PYTHON_VERSION)
+use_repo(
+ python,
+ "python_%s" % py_underscore_version,
+ "python_%s_host" % py_underscore_version,
+ "python_versions",
+ "pythons_hub",
+)
+
+pycross = use_extension("@rules_pycross//pycross/extensions:pycross.bzl", "pycross")
+pycross.configure_environments()
+pycross.configure_interpreter(
+ python_defs_file = "@python_%s//:defs.bzl" % py_underscore_version,
+ python_interpreter_target = "@python_%s_host//:python" % py_underscore_version,
+)
+pycross.configure_toolchains()
+
+# TODO(jvolkman): Is there an easy way to not have to list these file repos?
+use_repo(
+ pycross,
+ "rules_pycross_internal",
+ "rules_pycross_internal_deps_wheel_dacite_1.6.0_py3_none_any",
+ "rules_pycross_internal_deps_wheel_installer_0.7.0_py3_none_any",
+ "rules_pycross_internal_deps_wheel_packaging_23.2_py3_none_any",
+ "rules_pycross_internal_deps_wheel_pip_23.3.1_py3_none_any",
+ "rules_pycross_internal_deps_wheel_poetry_core_1.8.1_py3_none_any",
+ "rules_pycross_internal_deps_wheel_tomli_2.0.1_py3_none_any",
+)
+
+toolchains = use_extension("@rules_pycross//pycross/private/bzlmod:toolchains.bzl", "toolchains")
+toolchains.create_for_python_toolchains(name = "pycross_toolchains")
+use_repo(toolchains, "pycross_toolchains")
+
+register_toolchains("@pycross_toolchains//...")
+
+environments = use_extension("@rules_pycross//pycross/extensions:environments.bzl", "environments")
+environments.create_for_python_toolchains(name = "pycross_environments")
+use_repo(environments, "pycross_environments")
+
+lock_import = use_extension("@rules_pycross//pycross/extensions:lock_import.bzl", "lock_import")
+use_repo(lock_import, "lock_import_repos_hub")
+
+lock_repos = use_extension("@rules_pycross//pycross/extensions:lock_repos.bzl", "lock_repos")
+lock_repos.create()
+
+# Currently development-only
+bazel_dep(name = "gazelle", version = "0.35.0", dev_dependency = True)
+bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True)
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
diff --git a/modules/rules_pycross/0.5.1/patches/module_dot_bazel_version.patch b/modules/rules_pycross/0.5.1/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..5b4eec8
--- /dev/null
+++ b/modules/rules_pycross/0.5.1/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ """rules_pycross"""
+
+ module(
+ name = "rules_pycross",
+- version = "0.0.0",
++ version = "0.5.1",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "aspect_bazel_lib", version = "1.38.1")
diff --git a/modules/rules_pycross/0.5.1/presubmit.yml b/modules/rules_pycross/0.5.1/presubmit.yml
new file mode 100644
index 0000000..8ff7d8f
--- /dev/null
+++ b/modules/rules_pycross/0.5.1/presubmit.yml
@@ -0,0 +1,36 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ bazel:
+ - 7.x
+ - 6.x
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@rules_pycross//pycross/..."
+bcr_test_module:
+ module_path: tests/smoke_bzlmod
+ matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ bazel:
+ - 7.x
+ - 6.x
+ tasks:
+ run_test_module:
+ name: Run test module
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - //...
+ test_targets:
+ - //...
diff --git a/modules/rules_pycross/0.5.1/source.json b/modules/rules_pycross/0.5.1/source.json
new file mode 100644
index 0000000..c4e8431
--- /dev/null
+++ b/modules/rules_pycross/0.5.1/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-7cDMuLlaAGTxMPo+f11pCvnxICQ8q3KFiiZXOIR+PVE=",
+ "strip_prefix": "rules_pycross-0.5.1",
+ "url": "https://github.com/jvolkman/rules_pycross/releases/download/v0.5.1/rules_pycross-v0.5.1.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-xxSObl4kbDgDhBjfAnESd7wCtItF3h8oFnuuM63Mbsg="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_pycross/0.5.2/MODULE.bazel b/modules/rules_pycross/0.5.2/MODULE.bazel
new file mode 100644
index 0000000..44de1f2
--- /dev/null
+++ b/modules/rules_pycross/0.5.2/MODULE.bazel
@@ -0,0 +1,69 @@
+"""rules_pycross"""
+
+module(
+ name = "rules_pycross",
+ version = "0.5.2",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "aspect_bazel_lib", version = "1.38.1")
+bazel_dep(name = "bazel_features", version = "1.1.1")
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(name = "platforms", version = "0.0.4")
+bazel_dep(name = "rules_python", version = "0.29.0")
+
+# Change this value to set the Python version we use in our repo venv.
+PYTHON_VERSION = "3.12"
+
+py_underscore_version = PYTHON_VERSION.replace(".", "_")
+
+python = use_extension("@rules_python//python/extensions:python.bzl", "python")
+python.toolchain(python_version = PYTHON_VERSION)
+use_repo(
+ python,
+ "python_%s" % py_underscore_version,
+ "python_%s_host" % py_underscore_version,
+ "python_versions",
+ "pythons_hub",
+)
+
+pycross = use_extension("@rules_pycross//pycross/extensions:pycross.bzl", "pycross")
+pycross.configure_environments()
+pycross.configure_interpreter(
+ python_defs_file = "@python_%s//:defs.bzl" % py_underscore_version,
+ python_interpreter_target = "@python_%s_host//:python" % py_underscore_version,
+)
+pycross.configure_toolchains()
+
+# TODO(jvolkman): Is there an easy way to not have to list these file repos?
+use_repo(
+ pycross,
+ "rules_pycross_internal",
+ "rules_pycross_internal_deps_wheel_dacite_1.6.0_py3_none_any",
+ "rules_pycross_internal_deps_wheel_installer_0.7.0_py3_none_any",
+ "rules_pycross_internal_deps_wheel_packaging_23.2_py3_none_any",
+ "rules_pycross_internal_deps_wheel_pip_23.3.1_py3_none_any",
+ "rules_pycross_internal_deps_wheel_poetry_core_1.8.1_py3_none_any",
+ "rules_pycross_internal_deps_wheel_tomli_2.0.1_py3_none_any",
+)
+
+toolchains = use_extension("@rules_pycross//pycross/private/bzlmod:toolchains.bzl", "toolchains")
+toolchains.create_for_python_toolchains(name = "pycross_toolchains")
+use_repo(toolchains, "pycross_toolchains")
+
+register_toolchains("@pycross_toolchains//...")
+
+environments = use_extension("@rules_pycross//pycross/extensions:environments.bzl", "environments")
+environments.create_for_python_toolchains(name = "pycross_environments")
+use_repo(environments, "pycross_environments")
+
+lock_import = use_extension("@rules_pycross//pycross/extensions:lock_import.bzl", "lock_import")
+use_repo(lock_import, "lock_import_repos_hub")
+
+lock_repos = use_extension("@rules_pycross//pycross/extensions:lock_repos.bzl", "lock_repos")
+lock_repos.create()
+
+# Currently development-only
+bazel_dep(name = "gazelle", version = "0.35.0", dev_dependency = True)
+bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True)
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
diff --git a/modules/rules_pycross/0.5.2/patches/module_dot_bazel_version.patch b/modules/rules_pycross/0.5.2/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..b799ed1
--- /dev/null
+++ b/modules/rules_pycross/0.5.2/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,9 +1,9 @@
+ """rules_pycross"""
+
+ module(
+ name = "rules_pycross",
+- version = "0.0.0",
++ version = "0.5.2",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "aspect_bazel_lib", version = "1.38.1")
diff --git a/modules/rules_pycross/0.5.2/presubmit.yml b/modules/rules_pycross/0.5.2/presubmit.yml
new file mode 100644
index 0000000..56f07a3
--- /dev/null
+++ b/modules/rules_pycross/0.5.2/presubmit.yml
@@ -0,0 +1,36 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ bazel:
+ - 7.x
+ - 6.x
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@rules_pycross//pycross/..."
+bcr_test_module:
+ module_path: e2e/bzlmod
+ matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ bazel:
+ - 7.x
+ - 6.x
+ tasks:
+ run_test_module:
+ name: Run test module
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - //...
+ test_targets:
+ - //...
diff --git a/modules/rules_pycross/0.5.2/source.json b/modules/rules_pycross/0.5.2/source.json
new file mode 100644
index 0000000..3871fa3
--- /dev/null
+++ b/modules/rules_pycross/0.5.2/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-z6PNx86LIk8Z+taPKa8kePpoCu16QkNbCrK9zaTXK58=",
+ "strip_prefix": "rules_pycross-0.5.2",
+ "url": "https://github.com/jvolkman/rules_pycross/releases/download/v0.5.2/rules_pycross-v0.5.2.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-hIXJ+f0LebW+sKe+nWSuIKmgfe0J4iM/D26TcXmuFeQ="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_pycross/metadata.json b/modules/rules_pycross/metadata.json
new file mode 100644
index 0000000..7b5fb51
--- /dev/null
+++ b/modules/rules_pycross/metadata.json
@@ -0,0 +1,19 @@
+{
+ "homepage": "https://github.com/jvolkman/rules_pycross",
+ "maintainers": [
+ {
+ "email": "jeremy@jvolkman.com",
+ "github": "jvolkman",
+ "name": "Jeremy Volkman"
+ }
+ ],
+ "repository": [
+ "github:jvolkman/rules_pycross"
+ ],
+ "versions": [
+ "0.5.0",
+ "0.5.1",
+ "0.5.2"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/rules_python/0.30.0/MODULE.bazel b/modules/rules_python/0.30.0/MODULE.bazel
new file mode 100644
index 0000000..2729ada
--- /dev/null
+++ b/modules/rules_python/0.30.0/MODULE.bazel
@@ -0,0 +1,103 @@
+module(
+ name = "rules_python",
+ version = "0.30.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_features", version = "1.1.1")
+bazel_dep(name = "bazel_skylib", version = "1.3.0")
+bazel_dep(name = "platforms", version = "0.0.4")
+
+# Those are loaded only when using py_proto_library
+bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
+bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
+
+internal_deps = use_extension("@rules_python//python/private/bzlmod:internal_deps.bzl", "internal_deps")
+internal_deps.install()
+use_repo(
+ internal_deps,
+ "rules_python_internal",
+ # START: maintained by 'bazel run //tools/private:update_pip_deps'
+ "pypi__build",
+ "pypi__click",
+ "pypi__colorama",
+ "pypi__importlib_metadata",
+ "pypi__installer",
+ "pypi__more_itertools",
+ "pypi__packaging",
+ "pypi__pep517",
+ "pypi__pip",
+ "pypi__pip_tools",
+ "pypi__pyproject_hooks",
+ "pypi__setuptools",
+ "pypi__tomli",
+ "pypi__wheel",
+ "pypi__zipp",
+ # END: maintained by 'bazel run //tools/private:update_pip_deps'
+)
+
+# We need to do another use_extension call to expose the "pythons_hub"
+# repo.
+python = use_extension("@rules_python//python/extensions:python.bzl", "python")
+
+# The default toolchain to use if nobody configures a toolchain.
+# NOTE: This is not a stable version. It is provided for convenience, but will
+# change frequently to track the most recent Python version.
+# NOTE: The root module can override this.
+python.toolchain(
+ is_default = True,
+ python_version = "3.11",
+)
+use_repo(python, "pythons_hub")
+
+# This call registers the Python toolchains.
+register_toolchains("@pythons_hub//:all")
+
+# ===== DEV ONLY DEPS AND SETUP BELOW HERE =====
+bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True, repo_name = "io_bazel_stardoc")
+bazel_dep(name = "rules_bazel_integration_test", version = "0.20.0", dev_dependency = True)
+
+dev_pip = use_extension(
+ "//python/extensions:pip.bzl",
+ "pip",
+ dev_dependency = True,
+)
+dev_pip.parse(
+ experimental_requirement_cycles = {
+ "sphinx": [
+ "sphinx",
+ "sphinxcontrib-serializinghtml",
+ "sphinxcontrib-qthelp",
+ "sphinxcontrib-htmlhelp",
+ "sphinxcontrib-devhelp",
+ "sphinxcontrib-applehelp",
+ ],
+ },
+ hub_name = "dev_pip",
+ python_version = "3.11",
+ requirements_lock = "//docs/sphinx:requirements.txt",
+)
+
+bazel_binaries = use_extension(
+ "@rules_bazel_integration_test//:extensions.bzl",
+ "bazel_binaries",
+ dev_dependency = True,
+)
+
+# Keep in sync with //:version.bzl
+bazel_binaries.local(
+ name = "self",
+ path = "tests/integration/bazel_from_env",
+)
+bazel_binaries.download(version = "6.4.0")
+bazel_binaries.download(version = "rolling")
+use_repo(
+ bazel_binaries,
+ "bazel_binaries",
+ # These don't appear necessary, but are reported as direct dependencies
+ # that should be use_repo()'d, so we add them as requested
+ "bazel_binaries_bazelisk",
+ "build_bazel_bazel_6_4_0",
+ "build_bazel_bazel_rolling",
+ "build_bazel_bazel_self",
+)
diff --git a/modules/rules_python/0.30.0/patches/module_dot_bazel_version.patch b/modules/rules_python/0.30.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..d7f58d8
--- /dev/null
+++ b/modules/rules_python/0.30.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_python",
+- version = "0.0.0",
++ version = "0.30.0",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "bazel_features", version = "1.1.1")
diff --git a/modules/rules_python/0.30.0/presubmit.yml b/modules/rules_python/0.30.0/presubmit.yml
new file mode 100644
index 0000000..6be334e
--- /dev/null
+++ b/modules/rules_python/0.30.0/presubmit.yml
@@ -0,0 +1,26 @@
+# Copyright 2023 The Bazel Authors. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+bcr_test_module:
+ module_path: "examples/bzlmod"
+ matrix:
+ platform: ["debian11", "macos", "ubuntu2004", "windows"]
+ bazel: [6.x, 7.x]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//..."
diff --git a/modules/rules_python/0.30.0/source.json b/modules/rules_python/0.30.0/source.json
new file mode 100644
index 0000000..6207c35
--- /dev/null
+++ b/modules/rules_python/0.30.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-O4tM3Jkbyd74gz0RjkyFDxt0mLPWXVaY7qksNSi4zyw=",
+ "strip_prefix": "rules_python-0.30.0",
+ "url": "https://github.com/bazelbuild/rules_python/releases/download/0.30.0/rules_python-0.30.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-HnzUdGZAFh2S4etjSDB/yVL4sacu/QSSuYTKkN0Ja3k="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_python/0.31.0/MODULE.bazel b/modules/rules_python/0.31.0/MODULE.bazel
new file mode 100644
index 0000000..ba0934c
--- /dev/null
+++ b/modules/rules_python/0.31.0/MODULE.bazel
@@ -0,0 +1,103 @@
+module(
+ name = "rules_python",
+ version = "0.31.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_features", version = "1.1.1")
+bazel_dep(name = "bazel_skylib", version = "1.3.0")
+bazel_dep(name = "platforms", version = "0.0.4")
+
+# Those are loaded only when using py_proto_library
+bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
+bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
+
+internal_deps = use_extension("@rules_python//python/private/bzlmod:internal_deps.bzl", "internal_deps")
+internal_deps.install()
+use_repo(
+ internal_deps,
+ "rules_python_internal",
+ # START: maintained by 'bazel run //tools/private:update_pip_deps'
+ "pypi__build",
+ "pypi__click",
+ "pypi__colorama",
+ "pypi__importlib_metadata",
+ "pypi__installer",
+ "pypi__more_itertools",
+ "pypi__packaging",
+ "pypi__pep517",
+ "pypi__pip",
+ "pypi__pip_tools",
+ "pypi__pyproject_hooks",
+ "pypi__setuptools",
+ "pypi__tomli",
+ "pypi__wheel",
+ "pypi__zipp",
+ # END: maintained by 'bazel run //tools/private:update_pip_deps'
+)
+
+# We need to do another use_extension call to expose the "pythons_hub"
+# repo.
+python = use_extension("@rules_python//python/extensions:python.bzl", "python")
+
+# The default toolchain to use if nobody configures a toolchain.
+# NOTE: This is not a stable version. It is provided for convenience, but will
+# change frequently to track the most recent Python version.
+# NOTE: The root module can override this.
+python.toolchain(
+ is_default = True,
+ python_version = "3.11",
+)
+use_repo(python, "pythons_hub")
+
+# This call registers the Python toolchains.
+register_toolchains("@pythons_hub//:all")
+
+# ===== DEV ONLY DEPS AND SETUP BELOW HERE =====
+bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True, repo_name = "io_bazel_stardoc")
+bazel_dep(name = "rules_bazel_integration_test", version = "0.20.0", dev_dependency = True)
+
+dev_pip = use_extension(
+ "//python/extensions:pip.bzl",
+ "pip",
+ dev_dependency = True,
+)
+dev_pip.parse(
+ experimental_requirement_cycles = {
+ "sphinx": [
+ "sphinx",
+ "sphinxcontrib-serializinghtml",
+ "sphinxcontrib-qthelp",
+ "sphinxcontrib-htmlhelp",
+ "sphinxcontrib-devhelp",
+ "sphinxcontrib-applehelp",
+ ],
+ },
+ hub_name = "dev_pip",
+ python_version = "3.11",
+ requirements_lock = "//docs/sphinx:requirements.txt",
+)
+
+bazel_binaries = use_extension(
+ "@rules_bazel_integration_test//:extensions.bzl",
+ "bazel_binaries",
+ dev_dependency = True,
+)
+
+# Keep in sync with //:version.bzl
+bazel_binaries.local(
+ name = "self",
+ path = "tests/integration/bazel_from_env",
+)
+bazel_binaries.download(version = "6.4.0")
+bazel_binaries.download(version = "rolling")
+use_repo(
+ bazel_binaries,
+ "bazel_binaries",
+ # These don't appear necessary, but are reported as direct dependencies
+ # that should be use_repo()'d, so we add them as requested
+ "bazel_binaries_bazelisk",
+ "build_bazel_bazel_6_4_0",
+ "build_bazel_bazel_rolling",
+ "build_bazel_bazel_self",
+)
diff --git a/modules/rules_python/0.31.0/patches/module_dot_bazel_version.patch b/modules/rules_python/0.31.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..97332f3
--- /dev/null
+++ b/modules/rules_python/0.31.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_python",
+- version = "0.0.0",
++ version = "0.31.0",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "bazel_features", version = "1.1.1")
diff --git a/modules/rules_python/0.31.0/presubmit.yml b/modules/rules_python/0.31.0/presubmit.yml
new file mode 100644
index 0000000..6be334e
--- /dev/null
+++ b/modules/rules_python/0.31.0/presubmit.yml
@@ -0,0 +1,26 @@
+# Copyright 2023 The Bazel Authors. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+bcr_test_module:
+ module_path: "examples/bzlmod"
+ matrix:
+ platform: ["debian11", "macos", "ubuntu2004", "windows"]
+ bazel: [6.x, 7.x]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//..."
diff --git a/modules/rules_python/0.31.0/source.json b/modules/rules_python/0.31.0/source.json
new file mode 100644
index 0000000..714b05e
--- /dev/null
+++ b/modules/rules_python/0.31.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-xovcT77CXeW1STuIGc/Id8TqKZwNyxXCRMWgAgjN4xE=",
+ "strip_prefix": "rules_python-0.31.0",
+ "url": "https://github.com/bazelbuild/rules_python/releases/download/0.31.0/rules_python-0.31.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-j2KF6j66J2fRAGtc56Zj7Hp1dTGqOWPAR3+IODr0oLQ="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_python/metadata.json b/modules/rules_python/metadata.json
index 15d021e..e2a10f3 100644
--- a/modules/rules_python/metadata.json
+++ b/modules/rules_python/metadata.json
@@ -40,7 +40,9 @@
"0.27.0",
"0.27.1",
"0.28.0",
- "0.29.0"
+ "0.29.0",
+ "0.30.0",
+ "0.31.0"
],
"yanked_versions": {
"0.14.0": "rules_python 0.14.0 is broken due to https://github.com/bazelbuild/bazel-central-registry/issues/287, please upgrade to version >= 0.15.0"
diff --git a/modules/rules_python_gazelle_plugin/0.30.0/MODULE.bazel b/modules/rules_python_gazelle_plugin/0.30.0/MODULE.bazel
new file mode 100644
index 0000000..3948de5
--- /dev/null
+++ b/modules/rules_python_gazelle_plugin/0.30.0/MODULE.bazel
@@ -0,0 +1,21 @@
+module(
+ name = "rules_python_gazelle_plugin",
+ version = "0.30.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "rules_python", version = "0.18.0")
+bazel_dep(name = "rules_go", version = "0.41.0", repo_name = "io_bazel_rules_go")
+bazel_dep(name = "gazelle", version = "0.33.0", repo_name = "bazel_gazelle")
+
+go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
+go_deps.from_file(go_mod = "//:go.mod")
+use_repo(
+ go_deps,
+ "com_github_bazelbuild_buildtools",
+ "com_github_bmatcuk_doublestar",
+ "com_github_emirpasic_gods",
+ "com_github_ghodss_yaml",
+ "in_gopkg_yaml_v2",
+)
diff --git a/modules/rules_python_gazelle_plugin/0.30.0/patches/module_dot_bazel_version.patch b/modules/rules_python_gazelle_plugin/0.30.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..728d1a3
--- /dev/null
+++ b/modules/rules_python_gazelle_plugin/0.30.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_python_gazelle_plugin",
+- version = "0.0.0",
++ version = "0.30.0",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "bazel_skylib", version = "1.5.0")
diff --git a/modules/rules_python_gazelle_plugin/0.30.0/presubmit.yml b/modules/rules_python_gazelle_plugin/0.30.0/presubmit.yml
new file mode 100644
index 0000000..659beab
--- /dev/null
+++ b/modules/rules_python_gazelle_plugin/0.30.0/presubmit.yml
@@ -0,0 +1,29 @@
+# Copyright 2023 The Bazel Authors. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+bcr_test_module:
+ module_path: "../examples/bzlmod_build_file_generation"
+ matrix:
+ platform: ["debian11", "macos", "ubuntu2004", "windows"]
+ bazel: [6.x, 7.x]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "//..."
+ - ":modules_map"
+ test_targets:
+ - "//..."
diff --git a/modules/rules_python_gazelle_plugin/0.30.0/source.json b/modules/rules_python_gazelle_plugin/0.30.0/source.json
new file mode 100644
index 0000000..7aa39b8
--- /dev/null
+++ b/modules/rules_python_gazelle_plugin/0.30.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-O4tM3Jkbyd74gz0RjkyFDxt0mLPWXVaY7qksNSi4zyw=",
+ "strip_prefix": "rules_python-0.30.0/gazelle",
+ "url": "https://github.com/bazelbuild/rules_python/releases/download/0.30.0/rules_python-0.30.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-uOz9S71NSc8+z/I1GcoepF7BmkDFrCzKicZEuau9NIE="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_python_gazelle_plugin/0.31.0/MODULE.bazel b/modules/rules_python_gazelle_plugin/0.31.0/MODULE.bazel
new file mode 100644
index 0000000..b4f3d96
--- /dev/null
+++ b/modules/rules_python_gazelle_plugin/0.31.0/MODULE.bazel
@@ -0,0 +1,21 @@
+module(
+ name = "rules_python_gazelle_plugin",
+ version = "0.31.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "rules_python", version = "0.18.0")
+bazel_dep(name = "rules_go", version = "0.41.0", repo_name = "io_bazel_rules_go")
+bazel_dep(name = "gazelle", version = "0.33.0", repo_name = "bazel_gazelle")
+
+go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
+go_deps.from_file(go_mod = "//:go.mod")
+use_repo(
+ go_deps,
+ "com_github_bazelbuild_buildtools",
+ "com_github_bmatcuk_doublestar",
+ "com_github_emirpasic_gods",
+ "com_github_ghodss_yaml",
+ "in_gopkg_yaml_v2",
+)
diff --git a/modules/rules_python_gazelle_plugin/0.31.0/patches/module_dot_bazel_version.patch b/modules/rules_python_gazelle_plugin/0.31.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..cac2d15
--- /dev/null
+++ b/modules/rules_python_gazelle_plugin/0.31.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_python_gazelle_plugin",
+- version = "0.0.0",
++ version = "0.31.0",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "bazel_skylib", version = "1.5.0")
diff --git a/modules/rules_python_gazelle_plugin/0.31.0/presubmit.yml b/modules/rules_python_gazelle_plugin/0.31.0/presubmit.yml
new file mode 100644
index 0000000..659beab
--- /dev/null
+++ b/modules/rules_python_gazelle_plugin/0.31.0/presubmit.yml
@@ -0,0 +1,29 @@
+# Copyright 2023 The Bazel Authors. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+bcr_test_module:
+ module_path: "../examples/bzlmod_build_file_generation"
+ matrix:
+ platform: ["debian11", "macos", "ubuntu2004", "windows"]
+ bazel: [6.x, 7.x]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "//..."
+ - ":modules_map"
+ test_targets:
+ - "//..."
diff --git a/modules/rules_python_gazelle_plugin/0.31.0/source.json b/modules/rules_python_gazelle_plugin/0.31.0/source.json
new file mode 100644
index 0000000..e1d4a97
--- /dev/null
+++ b/modules/rules_python_gazelle_plugin/0.31.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-xovcT77CXeW1STuIGc/Id8TqKZwNyxXCRMWgAgjN4xE=",
+ "strip_prefix": "rules_python-0.31.0/gazelle",
+ "url": "https://github.com/bazelbuild/rules_python/releases/download/0.31.0/rules_python-0.31.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-lek54NydBI/txXMjO1DQ15VEYqw321ucjdUziPj3olU="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_python_gazelle_plugin/metadata.json b/modules/rules_python_gazelle_plugin/metadata.json
index a70d0cc..eb95395 100644
--- a/modules/rules_python_gazelle_plugin/metadata.json
+++ b/modules/rules_python_gazelle_plugin/metadata.json
@@ -2,14 +2,14 @@
"homepage": "https://github.com/bazelbuild/rules_python",
"maintainers": [
{
- "name": "Richard Levasseur",
"email": "rlevasseur@google.com",
- "github": "rickeylev"
+ "github": "rickeylev",
+ "name": "Richard Levasseur"
},
{
- "name": "Thulio Ferraz Assis",
"email": "thulio@aspect.dev",
- "github": "f0rmiga"
+ "github": "f0rmiga",
+ "name": "Thulio Ferraz Assis"
}
],
"repository": [
@@ -24,7 +24,9 @@
"0.26.0",
"0.27.0",
"0.27.1",
- "0.29.0"
+ "0.29.0",
+ "0.30.0",
+ "0.31.0"
],
"yanked_versions": {}
}
diff --git a/modules/rules_ruby/0.6.0/MODULE.bazel b/modules/rules_ruby/0.6.0/MODULE.bazel
new file mode 100644
index 0000000..f6e8cf1
--- /dev/null
+++ b/modules/rules_ruby/0.6.0/MODULE.bazel
@@ -0,0 +1,16 @@
+"Define the Bazel module published to the Bazel Central Registry"
+
+module(
+ name = "rules_ruby",
+ # NB: this version will be replaced after a release by the Publish to BCR app
+ version = "0.6.0",
+ compatibility_level = 1,
+)
+
+# Lower-bound dependency versions.
+# These should NOT be increased unless needed, as bumping our lower-bound may change
+# the versions resolved in users repositories.
+bazel_dep(name = "bazel_skylib", version = "1.3.0")
+bazel_dep(name = "platforms", version = "0.0.5")
+
+# TODO: should we register any toolchain by default?
diff --git a/modules/rules_ruby/0.6.0/patches/module_dot_bazel_version.patch b/modules/rules_ruby/0.6.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..e94ff16
--- /dev/null
+++ b/modules/rules_ruby/0.6.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,14 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -2,9 +2,9 @@
+
+ module(
+ name = "rules_ruby",
+ # NB: this version will be replaced after a release by the Publish to BCR app
+- version = "0.0.0",
++ version = "0.6.0",
+ compatibility_level = 1,
+ )
+
+ # Lower-bound dependency versions.
diff --git a/modules/rules_ruby/0.6.0/presubmit.yml b/modules/rules_ruby/0.6.0/presubmit.yml
new file mode 100644
index 0000000..628f683
--- /dev/null
+++ b/modules/rules_ruby/0.6.0/presubmit.yml
@@ -0,0 +1,10 @@
+bcr_test_module:
+ module_path: "examples/gem"
+ matrix:
+ platform: ["debian10", "macos", "ubuntu2004"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/rules_ruby/0.6.0/source.json b/modules/rules_ruby/0.6.0/source.json
new file mode 100644
index 0000000..213ad23
--- /dev/null
+++ b/modules/rules_ruby/0.6.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-v7SuNeyNP/uGS9ak5L1LKRSsUkePljbVIYgB8sAwPfE=",
+ "strip_prefix": "rules_ruby-0.6.0",
+ "url": "https://github.com/bazel-contrib/rules_ruby/releases/download/v0.6.0/rules_ruby-v0.6.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-S9UADHbFz9g8gIVIT4S/HL4LP6cT1NaAmH/8nkSIKGY="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_ruby/metadata.json b/modules/rules_ruby/metadata.json
index 3577045..c1101a0 100644
--- a/modules/rules_ruby/metadata.json
+++ b/modules/rules_ruby/metadata.json
@@ -13,7 +13,8 @@
"0.2.0",
"0.3.0",
"0.4.1",
- "0.5.0"
+ "0.5.0",
+ "0.6.0"
],
"yanked_versions": {}
}
diff --git a/modules/rules_rust/0.39.0/MODULE.bazel b/modules/rules_rust/0.39.0/MODULE.bazel
new file mode 100644
index 0000000..d147ad1
--- /dev/null
+++ b/modules/rules_rust/0.39.0/MODULE.bazel
@@ -0,0 +1,142 @@
+"""bazelbuild/rules_rust"""
+
+module(
+ name = "rules_rust",
+ version = "0.39.0",
+)
+
+bazel_dep(
+ name = "bazel_skylib",
+ version = "1.5.0",
+)
+bazel_dep(
+ name = "platforms",
+ version = "0.0.8",
+)
+bazel_dep(
+ name = "rules_cc",
+ version = "0.0.9",
+)
+bazel_dep(
+ name = "rules_license",
+ version = "0.0.8",
+)
+bazel_dep(
+ name = "rules_proto",
+ version = "5.3.0-21.7",
+)
+bazel_dep(
+ name = "apple_support",
+ version = "1.11.1",
+ repo_name = "build_bazel_apple_support",
+)
+bazel_dep(
+ name = "protobuf",
+ version = "21.7",
+ repo_name = "com_google_protobuf",
+)
+
+internal_deps = use_extension("//rust/private:extensions.bzl", "internal_deps")
+use_repo(
+ internal_deps,
+ "bazelci_rules",
+ "cargo_bazel.buildifier-darwin-amd64",
+ "cargo_bazel.buildifier-darwin-arm64",
+ "cargo_bazel.buildifier-linux-amd64",
+ "cargo_bazel.buildifier-linux-arm64",
+ "cargo_bazel.buildifier-windows-amd64.exe",
+ "com_google_googleapis",
+ "cui",
+ "cui__anyhow-1.0.75",
+ "cui__camino-1.1.6",
+ "cui__cargo-lock-9.0.0",
+ "cui__cargo-platform-0.1.4",
+ "cui__cargo_metadata-0.18.1",
+ "cui__cargo_toml-0.17.1",
+ "cui__cfg-expr-0.15.5",
+ "cui__clap-4.3.11",
+ "cui__crates-index-2.2.0",
+ "cui__hex-0.4.3",
+ "cui__indoc-2.0.4",
+ "cui__itertools-0.12.0",
+ "cui__maplit-1.0.2",
+ "cui__normpath-1.1.1",
+ "cui__pathdiff-0.2.1",
+ "cui__regex-1.10.2",
+ "cui__semver-1.0.20",
+ "cui__serde-1.0.190",
+ "cui__serde_json-1.0.108",
+ "cui__serde_starlark-0.1.14",
+ "cui__sha2-0.10.8",
+ "cui__spdx-0.10.3",
+ "cui__spectral-0.6.0",
+ "cui__tempfile-3.8.1",
+ "cui__tera-1.19.1",
+ "cui__textwrap-0.16.0",
+ "cui__toml-0.8.10",
+ "cui__tracing-0.1.40",
+ "cui__tracing-subscriber-0.3.17",
+ "generated_inputs_in_external_repo",
+ "libc",
+ "llvm-raw",
+ "rrra__anyhow-1.0.71",
+ "rrra__clap-4.3.11",
+ "rrra__env_logger-0.10.0",
+ "rrra__itertools-0.11.0",
+ "rrra__log-0.4.19",
+ "rrra__serde-1.0.171",
+ "rrra__serde_json-1.0.102",
+ "rules_rust_bindgen__bindgen-0.69.1",
+ "rules_rust_bindgen__bindgen-cli-0.69.1",
+ "rules_rust_bindgen__clang-sys-1.6.1",
+ "rules_rust_bindgen__clap-4.3.3",
+ "rules_rust_bindgen__clap_complete-4.3.1",
+ "rules_rust_bindgen__env_logger-0.10.0",
+ "rules_rust_prost",
+ "rules_rust_prost__h2-0.3.19",
+ "rules_rust_prost__heck",
+ "rules_rust_prost__prost-0.11.9",
+ "rules_rust_prost__prost-types-0.11.9",
+ "rules_rust_prost__protoc-gen-prost-0.2.2",
+ "rules_rust_prost__protoc-gen-tonic-0.2.2",
+ "rules_rust_prost__tokio-1.28.2",
+ "rules_rust_prost__tokio-stream-0.1.14",
+ "rules_rust_prost__tonic-0.9.2",
+ "rules_rust_test_load_arbitrary_tool",
+ "rules_rust_tinyjson",
+ "rules_rust_toolchain_test_target_json",
+ "rules_rust_wasm_bindgen__anyhow-1.0.71",
+ "rules_rust_wasm_bindgen__assert_cmd-1.0.8",
+ "rules_rust_wasm_bindgen__diff-0.1.13",
+ "rules_rust_wasm_bindgen__docopt-1.1.1",
+ "rules_rust_wasm_bindgen__env_logger-0.8.4",
+ "rules_rust_wasm_bindgen__log-0.4.19",
+ "rules_rust_wasm_bindgen__predicates-1.0.8",
+ "rules_rust_wasm_bindgen__rayon-1.7.0",
+ "rules_rust_wasm_bindgen__rouille-3.6.2",
+ "rules_rust_wasm_bindgen__serde-1.0.171",
+ "rules_rust_wasm_bindgen__serde_derive-1.0.171",
+ "rules_rust_wasm_bindgen__serde_json-1.0.102",
+ "rules_rust_wasm_bindgen__tempfile-3.6.0",
+ "rules_rust_wasm_bindgen__ureq-2.8.0",
+ "rules_rust_wasm_bindgen__walrus-0.20.3",
+ "rules_rust_wasm_bindgen__wasm-bindgen-0.2.89",
+ "rules_rust_wasm_bindgen__wasm-bindgen-cli-support-0.2.89",
+ "rules_rust_wasm_bindgen__wasm-bindgen-shared-0.2.89",
+ "rules_rust_wasm_bindgen__wasmparser-0.102.0",
+ "rules_rust_wasm_bindgen__wasmprinter-0.2.60",
+ "rules_rust_wasm_bindgen_cli",
+)
+
+rust = use_extension("//rust:extensions.bzl", "rust")
+rust.toolchain(edition = "2021")
+use_repo(rust, "rust_toolchains")
+
+register_toolchains(
+ "@rust_toolchains//:all",
+)
+
+use_repo(rust, "rust_host_tools")
+
+cargo_bazel_bootstrap = use_extension("//crate_universe/private/module_extensions:cargo_bazel_bootstrap.bzl", "cargo_bazel_bootstrap")
+use_repo(cargo_bazel_bootstrap, "cargo_bazel_bootstrap")
diff --git a/modules/rules_rust/0.39.0/presubmit.yml b/modules/rules_rust/0.39.0/presubmit.yml
new file mode 100644
index 0000000..a7618d0
--- /dev/null
+++ b/modules/rules_rust/0.39.0/presubmit.yml
@@ -0,0 +1,16 @@
+bcr_test_module:
+ module_path: ""
+ matrix:
+ platform: ["macos", "ubuntu2004"]
+ bazel: ["6.x", "7.x"]
+ tasks:
+ run_tests:
+ working_directory: examples/bzlmod/hello_world
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ run_targets:
+ - "//third-party:vendor"
+ - "@rules_rust//tools/rust_analyzer:gen_rust_project"
+ test_targets:
+ - "//..."
diff --git a/modules/rules_rust/0.39.0/source.json b/modules/rules_rust/0.39.0/source.json
new file mode 100644
index 0000000..22a6f46
--- /dev/null
+++ b/modules/rules_rust/0.39.0/source.json
@@ -0,0 +1,5 @@
+{
+ "integrity": "sha256-GuRaQT0LlDOYcyDfKtQQ22oV+vtsiM8P0b87qsvoJts=",
+ "strip_prefix": "",
+ "url": "https://github.com/bazelbuild/rules_rust/releases/download/0.39.0/rules_rust-v0.39.0.tar.gz"
+}
diff --git a/modules/rules_rust/metadata.json b/modules/rules_rust/metadata.json
index 9802d9c..31de236 100644
--- a/modules/rules_rust/metadata.json
+++ b/modules/rules_rust/metadata.json
@@ -23,7 +23,8 @@
"versions": [
"0.35.0",
"0.36.2",
- "0.38.0"
+ "0.38.0",
+ "0.39.0"
],
"yanked_versions": {}
}
diff --git a/modules/rules_shellcheck/0.3.3/MODULE.bazel b/modules/rules_shellcheck/0.3.3/MODULE.bazel
new file mode 100644
index 0000000..ea292b7
--- /dev/null
+++ b/modules/rules_shellcheck/0.3.3/MODULE.bazel
@@ -0,0 +1,27 @@
+module(
+ name = "rules_shellcheck",
+ version = "0.3.3",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "platforms", version = "0.0.8")
+
+deps = use_extension("//internal:extensions.bzl", "shellcheck_dependencies")
+use_repo(
+ deps,
+ "shellcheck_darwin_aarch64",
+ "shellcheck_darwin_x86_64",
+ "shellcheck_linux_aarch64",
+ "shellcheck_linux_armv6hf",
+ "shellcheck_linux_x86_64",
+ "shellcheck_windows_x86_64",
+)
+
+# Dev dependencies
+
+bazel_dep(name = "rules_pkg", version = "0.9.1", dev_dependency = True)
+bazel_dep(
+ name = "rules_bazel_integration_test",
+ version = "0.21.0",
+ dev_dependency = True,
+)
diff --git a/modules/rules_shellcheck/0.3.3/patches/module_dot_bazel_version.patch b/modules/rules_shellcheck/0.3.3/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..6268038
--- /dev/null
+++ b/modules/rules_shellcheck/0.3.3/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_shellcheck",
+- version = "0.0.0",
++ version = "0.3.3",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "platforms", version = "0.0.8")
diff --git a/modules/rules_shellcheck/0.3.3/presubmit.yml b/modules/rules_shellcheck/0.3.3/presubmit.yml
new file mode 100644
index 0000000..d64b5f9
--- /dev/null
+++ b/modules/rules_shellcheck/0.3.3/presubmit.yml
@@ -0,0 +1,13 @@
+---
+bcr_test_module:
+ module_path: "examples/check_glob"
+ matrix:
+ platform: ["debian10", "macos", "ubuntu2004"]
+ bazel: [6.x, 7.x]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//..."
diff --git a/modules/rules_shellcheck/0.3.3/source.json b/modules/rules_shellcheck/0.3.3/source.json
new file mode 100644
index 0000000..f999209
--- /dev/null
+++ b/modules/rules_shellcheck/0.3.3/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-fTRmBF8OSSNohQYHXBDiXx/ifbqO1U5CV9fyajwUGsc=",
+ "strip_prefix": "",
+ "url": "https://github.com/aignas/rules_shellcheck/releases/download/0.3.3/rules_shellcheck-0.3.3.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-vzjPGdMP6pRdjmmsJ5WCZqNVCrNLskYVoDBE3knyvHY="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_shellcheck/metadata.json b/modules/rules_shellcheck/metadata.json
index 9fee735..9698e76 100644
--- a/modules/rules_shellcheck/metadata.json
+++ b/modules/rules_shellcheck/metadata.json
@@ -12,7 +12,8 @@
],
"versions": [
"0.2.4",
- "0.3.2"
+ "0.3.2",
+ "0.3.3"
],
"yanked_versions": {}
}
diff --git a/modules/rules_squashfs/1.0.0-alpha.1/MODULE.bazel b/modules/rules_squashfs/1.0.0-alpha.1/MODULE.bazel
new file mode 100644
index 0000000..da5840f
--- /dev/null
+++ b/modules/rules_squashfs/1.0.0-alpha.1/MODULE.bazel
@@ -0,0 +1,34 @@
+module(
+ name = "rules_squashfs",
+ version = "1.0.0-alpha.1",
+ bazel_compatibility = [
+ ">=7.0.0",
+ ],
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "rules_coreutils", version = "1.0.0-alpha.7")
+bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.1")
+bazel_dep(name = "squashfs-tools", version = "4.6.1")
+
+bazel_dep(name = "hermetic_cc_toolchain", version = "2.2.3", dev_dependency = True)
+
+which = use_repo_rule("@toolchain_utils//toolchain/local/which:defs.bzl", "toolchain_local_which")
+
+resolved = use_repo_rule("@toolchain_utils//toolchain/resolved:defs.bzl", "toolchain_resolved")
+
+[
+ (
+ which(
+ name = "which-{}".format(tool),
+ ),
+ resolved(
+ name = "resolved-{}".format(tool),
+ basename = tool,
+ toolchain_type = "//squashfs/toolchain/{}:type".format(tool),
+ ),
+ )
+ for tool in ("mksquashfs", "unsquashfs", "sqfstar")
+]
+
+register_toolchains("//squashfs/toolchain/...")
diff --git a/modules/rules_squashfs/1.0.0-alpha.1/presubmit.yml b/modules/rules_squashfs/1.0.0-alpha.1/presubmit.yml
new file mode 100644
index 0000000..1678056
--- /dev/null
+++ b/modules/rules_squashfs/1.0.0-alpha.1/presubmit.yml
@@ -0,0 +1,22 @@
+bcr_test_module:
+ module_path: e2e
+ matrix:
+ bazel:
+ - 7.x
+ platform:
+ - centos7_java11_devtoolset10
+ - debian11
+ - ubuntu2004
+ - ubuntu2004_arm64
+ - ubuntu2204
+ - fedora39
+ # TODO: implement functionality on Mac
+ # - macos
+ # - macos_arm64
+ tasks:
+ run_tests:
+ name: Run end-to-end Tests
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/rules_squashfs/1.0.0-alpha.1/source.json b/modules/rules_squashfs/1.0.0-alpha.1/source.json
new file mode 100644
index 0000000..7a1ed8e
--- /dev/null
+++ b/modules/rules_squashfs/1.0.0-alpha.1/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://gitlab.arm.com/bazel/rules_squashfs/-/releases/v1.0.0-alpha.1/downloads/src.tar.gz",
+ "integrity": "sha512-VFu+J0ZA+gShK+vSZIcVjwskaSZP3YugRI3coCj/ffHn5m4aAb7bcd2V0SR3F5f0LnWaENeB1IzgZKggnQc0Xg==",
+ "strip_prefix": "rules_squashfs-v1.0.0-alpha.1"
+}
diff --git a/modules/rules_squashfs/metadata.json b/modules/rules_squashfs/metadata.json
new file mode 100644
index 0000000..18911d0
--- /dev/null
+++ b/modules/rules_squashfs/metadata.json
@@ -0,0 +1,16 @@
+{
+ "homepage": "https://gitlab.arm.com/bazel/rules_squashfs",
+ "repository": [
+ "https://gitlab.arm.com/bazel/rules_squashfs"
+ ],
+ "versions":[
+ "1.0.0-alpha.1"
+ ],
+ "maintainers": [
+ {
+ "email": "matthew.clarkson@arm.com",
+ "github": "mattyclarkson",
+ "name": "Matt Clarkson"
+ }
+ ]
+}
diff --git a/modules/rules_swift/1.16.0/MODULE.bazel b/modules/rules_swift/1.16.0/MODULE.bazel
new file mode 100644
index 0000000..1b9941c
--- /dev/null
+++ b/modules/rules_swift/1.16.0/MODULE.bazel
@@ -0,0 +1,38 @@
+module(
+ name = "rules_swift",
+ version = "1.16.0",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+ repo_name = "build_bazel_rules_swift",
+)
+
+bazel_dep(name = "bazel_features", version = "1.3.0")
+bazel_dep(name = "bazel_skylib", version = "1.3.0")
+bazel_dep(name = "apple_support", version = "1.11.1", repo_name = "build_bazel_apple_support")
+bazel_dep(name = "rules_cc", version = "0.0.2")
+bazel_dep(name = "platforms", version = "0.0.7")
+bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")
+bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
+bazel_dep(name = "nlohmann_json", version = "3.6.1", repo_name = "com_github_nlohmann_json")
+
+non_module_deps = use_extension("//swift:extensions.bzl", "non_module_deps")
+use_repo(
+ non_module_deps,
+ "build_bazel_rules_swift_index_import",
+ "build_bazel_rules_swift_local_config",
+ "com_github_apple_swift_log",
+ "com_github_apple_swift_nio",
+ "com_github_apple_swift_nio_extras",
+ "com_github_apple_swift_nio_http2",
+ "com_github_apple_swift_nio_transport_services",
+ "com_github_apple_swift_protobuf",
+ "com_github_grpc_grpc_swift",
+)
+
+apple_cc_configure = use_extension("@build_bazel_apple_support//crosstool:setup.bzl", "apple_cc_configure_extension")
+use_repo(apple_cc_configure, "local_config_apple_cc")
+
+# Dev dependencies
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
+bazel_dep(name = "gazelle", version = "0.33.0", dev_dependency = True, repo_name = "bazel_gazelle")
+bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True, repo_name = "io_bazel_stardoc")
diff --git a/modules/rules_swift/1.16.0/patches/module_dot_bazel_version.patch b/modules/rules_swift/1.16.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..84c3376
--- /dev/null
+++ b/modules/rules_swift/1.16.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_swift",
+- version = "0",
++ version = "1.16.0",
+ bazel_compatibility = [">=6.0.0"],
+ compatibility_level = 1,
+ repo_name = "build_bazel_rules_swift",
+ )
diff --git a/modules/rules_swift/1.16.0/presubmit.yml b/modules/rules_swift/1.16.0/presubmit.yml
new file mode 100644
index 0000000..1e22498
--- /dev/null
+++ b/modules/rules_swift/1.16.0/presubmit.yml
@@ -0,0 +1,35 @@
+shell_commands: &shell_commands
+- "echo --- Downloading and extracting Swift $SWIFT_VERSION to $SWIFT_HOME"
+- "mkdir $SWIFT_HOME"
+- "curl https://download.swift.org/swift-${SWIFT_VERSION}-release/ubuntu2004/swift-${SWIFT_VERSION}-RELEASE/swift-${SWIFT_VERSION}-RELEASE-ubuntu20.04.tar.gz | tar xvz --strip-components=1 -C $SWIFT_HOME"
+
+matrix:
+ bazel:
+ - 7.x
+ - last_green
+ platform:
+ - ubuntu2004
+tasks:
+ verify_targets:
+ name: Verify build targets
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ environment:
+ CC: "clang"
+ SWIFT_VERSION: "5.5.3"
+ SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION"
+ PATH: "$PATH:$SWIFT_HOME/usr/bin"
+ shell_commands: *shell_commands
+ build_flags:
+ - "--action_env=PATH"
+ build_targets:
+ - "@rules_swift//examples/xplatform/..."
+ - "-@rules_swift//examples/xplatform/grpc/..." # TODO: Fix grpc on Linux
+ verify_targets_macos:
+ name: Verify build targets
+ bazel: ${{ bazel }}
+ platform: macos
+ build_targets:
+ - "@rules_swift//examples/apple/..."
+ build_flags:
+ - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"
diff --git a/modules/rules_swift/1.16.0/source.json b/modules/rules_swift/1.16.0/source.json
new file mode 100644
index 0000000..d572fbe
--- /dev/null
+++ b/modules/rules_swift/1.16.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-eqvju++NLgfJ7gess4bwole9L3bqjiEAVoi1BtyNpns=",
+ "strip_prefix": "",
+ "url": "https://github.com/bazelbuild/rules_swift/releases/download/1.16.0/rules_swift.1.16.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-66B/4JaIUXEe4yUstQpgvRbYzXLR9nJ+Z7AlzEkxLE4="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_swift/metadata.json b/modules/rules_swift/metadata.json
index 979b7c6..1451985 100644
--- a/modules/rules_swift/metadata.json
+++ b/modules/rules_swift/metadata.json
@@ -14,7 +14,7 @@
{
"email": "github@brentleyjones.com",
"github": "brentleyjones",
- "name": "Jones Brentley"
+ "name": "Brentley Jones"
},
{
"email": "t@thi.im",
@@ -42,7 +42,8 @@
"1.13.0",
"1.14.0",
"1.15.0",
- "1.15.1"
+ "1.15.1",
+ "1.16.0"
],
"yanked_versions": {}
}
diff --git a/modules/rules_swift_package_manager/0.26.2/MODULE.bazel b/modules/rules_swift_package_manager/0.26.2/MODULE.bazel
new file mode 100644
index 0000000..eec92a4
--- /dev/null
+++ b/modules/rules_swift_package_manager/0.26.2/MODULE.bazel
@@ -0,0 +1,78 @@
+module(
+ name = "rules_swift_package_manager",
+ version = "0.26.2",
+)
+
+# MARK: - Runtime Dependencies
+
+bazel_dep(name = "cgrindel_bazel_starlib", version = "0.18.1")
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(
+ name = "rules_go",
+ version = "0.43.0",
+ repo_name = "io_bazel_rules_go",
+)
+
+# The apple_support bazel_dep must come before the rules_cc.
+# https://github.com/bazelbuild/apple_support#incompatible-toolchain-resolution
+bazel_dep(name = "apple_support", version = "1.11.1")
+bazel_dep(name = "rules_cc", version = "0.0.6")
+bazel_dep(name = "platforms", version = "0.0.6")
+
+# With bzlmod enabled, any dependencies for repositories generated by
+# rules_swift_package_manager _must_ be a runtime dependency of rules_swift_package_manager.
+bazel_dep(
+ name = "rules_swift",
+ version = "1.13.0",
+ repo_name = "build_bazel_rules_swift",
+)
+bazel_dep(
+ name = "rules_apple",
+ version = "3.1.1",
+ repo_name = "build_bazel_rules_apple",
+)
+bazel_dep(
+ name = "gazelle",
+ version = "0.35.0",
+ repo_name = "bazel_gazelle",
+)
+
+apple_cc_configure = use_extension(
+ "@apple_support//crosstool:setup.bzl",
+ "apple_cc_configure_extension",
+)
+use_repo(apple_cc_configure, "local_config_apple_cc")
+
+go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
+go_deps.from_file(go_mod = "//:go.mod")
+use_repo(
+ go_deps,
+ "com_github_bazelbuild_buildtools",
+ "com_github_creasty_defaults",
+ "com_github_deckarep_golang_set_v2",
+ "com_github_stretchr_testify",
+ "in_gopkg_yaml_v3",
+ "org_golang_x_exp",
+ "org_golang_x_text",
+)
+
+# MARK: - Dev Dependencies
+
+bazel_dep(
+ name = "rules_bazel_integration_test",
+ version = "0.14.1",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "bazel_skylib_gazelle_plugin",
+ version = "1.4.1",
+ dev_dependency = True,
+)
+
+bazel_binaries = use_extension(
+ "@rules_bazel_integration_test//:extensions.bzl",
+ "bazel_binaries",
+ dev_dependency = True,
+)
+bazel_binaries.download(version_file = "//:.bazelversion")
+use_repo(bazel_binaries, "bazel_binaries")
diff --git a/modules/rules_swift_package_manager/0.26.2/patches/module_dot_bazel_version.patch b/modules/rules_swift_package_manager/0.26.2/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..ae9c491
--- /dev/null
+++ b/modules/rules_swift_package_manager/0.26.2/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_swift_package_manager",
+- version = "0.0.0",
++ version = "0.26.2",
+ )
+
+ # MARK: - Runtime Dependencies
+
diff --git a/modules/rules_swift_package_manager/0.26.2/presubmit.yml b/modules/rules_swift_package_manager/0.26.2/presubmit.yml
new file mode 100644
index 0000000..a31394e
--- /dev/null
+++ b/modules/rules_swift_package_manager/0.26.2/presubmit.yml
@@ -0,0 +1,14 @@
+bcr_test_module:
+ module_path: ""
+ matrix:
+ platform: ["macos"]
+ bazel:
+ # This needs to exactly match the value used in .bazelversion at the root.
+ - 7.0.0
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//bzlmod:e2e_test"
diff --git a/modules/rules_swift_package_manager/0.26.2/source.json b/modules/rules_swift_package_manager/0.26.2/source.json
new file mode 100644
index 0000000..7e335a5
--- /dev/null
+++ b/modules/rules_swift_package_manager/0.26.2/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-IiNE8Hs6URyMICmvZluJvvWZrbaF8gPKtc2UV+zOz6o=",
+ "strip_prefix": "",
+ "url": "https://github.com/cgrindel/rules_swift_package_manager/releases/download/v0.26.2/rules_swift_package_manager.v0.26.2.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-QhHwew1iP+rpj2QZsmU/3u513LY1RfrexlNu7hnnb44="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_swift_package_manager/0.28.0/MODULE.bazel b/modules/rules_swift_package_manager/0.28.0/MODULE.bazel
new file mode 100644
index 0000000..594fddb
--- /dev/null
+++ b/modules/rules_swift_package_manager/0.28.0/MODULE.bazel
@@ -0,0 +1,78 @@
+module(
+ name = "rules_swift_package_manager",
+ version = "0.28.0",
+)
+
+# MARK: - Runtime Dependencies
+
+bazel_dep(name = "cgrindel_bazel_starlib", version = "0.18.1")
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(
+ name = "rules_go",
+ version = "0.43.0",
+ repo_name = "io_bazel_rules_go",
+)
+
+# The apple_support bazel_dep must come before the rules_cc.
+# https://github.com/bazelbuild/apple_support#incompatible-toolchain-resolution
+bazel_dep(name = "apple_support", version = "1.11.1")
+bazel_dep(name = "rules_cc", version = "0.0.6")
+bazel_dep(name = "platforms", version = "0.0.6")
+
+# With bzlmod enabled, any dependencies for repositories generated by
+# rules_swift_package_manager _must_ be a runtime dependency of rules_swift_package_manager.
+bazel_dep(
+ name = "rules_swift",
+ version = "1.13.0",
+ repo_name = "build_bazel_rules_swift",
+)
+bazel_dep(
+ name = "rules_apple",
+ version = "3.1.1",
+ repo_name = "build_bazel_rules_apple",
+)
+bazel_dep(
+ name = "gazelle",
+ version = "0.35.0",
+ repo_name = "bazel_gazelle",
+)
+
+apple_cc_configure = use_extension(
+ "@apple_support//crosstool:setup.bzl",
+ "apple_cc_configure_extension",
+)
+use_repo(apple_cc_configure, "local_config_apple_cc")
+
+go_deps = use_extension("@bazel_gazelle//:extensions.bzl", "go_deps")
+go_deps.from_file(go_mod = "//:go.mod")
+use_repo(
+ go_deps,
+ "com_github_bazelbuild_buildtools",
+ "com_github_creasty_defaults",
+ "com_github_deckarep_golang_set_v2",
+ "com_github_stretchr_testify",
+ "in_gopkg_yaml_v3",
+ "org_golang_x_exp",
+ "org_golang_x_text",
+)
+
+# MARK: - Dev Dependencies
+
+bazel_dep(
+ name = "rules_bazel_integration_test",
+ version = "0.14.1",
+ dev_dependency = True,
+)
+bazel_dep(
+ name = "bazel_skylib_gazelle_plugin",
+ version = "1.4.1",
+ dev_dependency = True,
+)
+
+bazel_binaries = use_extension(
+ "@rules_bazel_integration_test//:extensions.bzl",
+ "bazel_binaries",
+ dev_dependency = True,
+)
+bazel_binaries.download(version_file = "//:.bazelversion")
+use_repo(bazel_binaries, "bazel_binaries")
diff --git a/modules/rules_swift_package_manager/0.28.0/patches/module_dot_bazel_version.patch b/modules/rules_swift_package_manager/0.28.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..4c3b048
--- /dev/null
+++ b/modules/rules_swift_package_manager/0.28.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_swift_package_manager",
+- version = "0.0.0",
++ version = "0.28.0",
+ )
+
+ # MARK: - Runtime Dependencies
+
diff --git a/modules/rules_swift_package_manager/0.28.0/presubmit.yml b/modules/rules_swift_package_manager/0.28.0/presubmit.yml
new file mode 100644
index 0000000..4e44fd9
--- /dev/null
+++ b/modules/rules_swift_package_manager/0.28.0/presubmit.yml
@@ -0,0 +1,14 @@
+bcr_test_module:
+ module_path: ""
+ matrix:
+ platform: ["macos"]
+ bazel:
+ # This needs to exactly match the value used in .bazelversion at the root.
+ - 7.0.2
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//bzlmod:e2e_test"
diff --git a/modules/rules_swift_package_manager/0.28.0/source.json b/modules/rules_swift_package_manager/0.28.0/source.json
new file mode 100644
index 0000000..b0753ad
--- /dev/null
+++ b/modules/rules_swift_package_manager/0.28.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-7vFsil+fphAgSfdigj53NgGkQ5i68qXefvfL68uIiHA=",
+ "strip_prefix": "",
+ "url": "https://github.com/cgrindel/rules_swift_package_manager/releases/download/v0.28.0/rules_swift_package_manager.v0.28.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-d9pC0zIcYyPBbjK+Is2y8j8wwKsboI6qFDRVVbOCZ6c="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_swift_package_manager/metadata.json b/modules/rules_swift_package_manager/metadata.json
index c85098b..346757b 100644
--- a/modules/rules_swift_package_manager/metadata.json
+++ b/modules/rules_swift_package_manager/metadata.json
@@ -38,7 +38,9 @@
"0.22.0",
"0.23.0",
"0.24.0",
- "0.25.0"
+ "0.25.0",
+ "0.26.2",
+ "0.28.0"
],
"yanked_versions": {}
}
diff --git a/modules/rules_testing/0.6.0/MODULE.bazel b/modules/rules_testing/0.6.0/MODULE.bazel
new file mode 100644
index 0000000..adfd7cf
--- /dev/null
+++ b/modules/rules_testing/0.6.0/MODULE.bazel
@@ -0,0 +1,42 @@
+module(
+ name = "rules_testing",
+ version = "0.6.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "platforms", version = "0.0.6")
+bazel_dep(name = "bazel_skylib", version = "1.3.0")
+bazel_dep(name = "rules_license", version = "0.0.4")
+
+# ===== The rest of these are development dependencies =====
+
+# TODO(https://github.com/bazelbuild/stardoc/issues/117): stardoc doesn't yet
+# work with bzlmod enabled. This defines the repo so load() works.
+bazel_dep(
+ name = "stardoc",
+ version = "0.5.6",
+ dev_dependency = True,
+ repo_name = "io_bazel_stardoc",
+)
+bazel_dep(name = "rules_python", version = "0.27.0", dev_dependency = True)
+
+python = use_extension(
+ "@rules_python//python/extensions:python.bzl",
+ "python",
+ dev_dependency = True,
+)
+python.toolchain(
+ python_version = "3.11",
+)
+
+pip = use_extension(
+ "@rules_python//python/extensions:pip.bzl",
+ "pip",
+ dev_dependency = True,
+)
+pip.parse(
+ hub_name = "docs-pypi",
+ python_version = "3.11",
+ requirements_lock = "//docs:requirements.txt",
+)
+use_repo(pip, "docs-pypi")
diff --git a/modules/rules_testing/0.6.0/patches/module_dot_bazel_version.patch b/modules/rules_testing/0.6.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..37c8cea
--- /dev/null
+++ b/modules/rules_testing/0.6.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_testing",
+- version = "0.0.1",
++ version = "0.6.0",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "platforms", version = "0.0.6")
diff --git a/modules/rules_testing/0.6.0/presubmit.yml b/modules/rules_testing/0.6.0/presubmit.yml
new file mode 100644
index 0000000..091edb0
--- /dev/null
+++ b/modules/rules_testing/0.6.0/presubmit.yml
@@ -0,0 +1,14 @@
+# We recommend included a bcr test workspace that exercises your ruleset with bzlmod.
+# For an example, see https://github.com/aspect-build/bazel-lib/tree/main/e2e/bzlmod.
+bcr_test_module:
+ module_path: "e2e/bzlmod"
+ matrix:
+ platform: ["debian10", "macos", "ubuntu2004", "windows"]
+ bazel: ["6.x", "7.x"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//..."
diff --git a/modules/rules_testing/0.6.0/source.json b/modules/rules_testing/0.6.0/source.json
new file mode 100644
index 0000000..b354163
--- /dev/null
+++ b/modules/rules_testing/0.6.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-AsYldGMYdqTjsCoYIMtRFnu5zc3qI4Gy+p2bixHEB8Q=",
+ "strip_prefix": "rules_testing-0.6.0",
+ "url": "https://github.com/bazelbuild/rules_testing/releases/download/v0.6.0/rules_testing-v0.6.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-zHdszG0CcODGvv3mz84d9MlwLrZEOr1r+dpVDpsvs8U="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_testing/metadata.json b/modules/rules_testing/metadata.json
index 1f01bd5..acf6e2b 100644
--- a/modules/rules_testing/metadata.json
+++ b/modules/rules_testing/metadata.json
@@ -18,7 +18,8 @@
"0.2.0",
"0.3.0",
"0.4.0",
- "0.5.0"
+ "0.5.0",
+ "0.6.0"
],
"yanked_versions": {
"0.0.5": "Mostly broken: https://github.com/bazelbuild/rules_testing/issues/33"
diff --git a/modules/rules_tf/0.0.4/MODULE.bazel b/modules/rules_tf/0.0.4/MODULE.bazel
new file mode 100644
index 0000000..3c2a1a5
--- /dev/null
+++ b/modules/rules_tf/0.0.4/MODULE.bazel
@@ -0,0 +1,24 @@
+module(
+ name = "rules_tf",
+ version = "0.0.4",
+ repo_name = "rules_tf",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "rules_pkg", version = "0.9.1")
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(name = "platforms", version = "0.0.7")
+bazel_dep(name = "rules_license", version = "0.0.7")
+
+bazel_dep(name = "rules_python", version = "0.24.0", dev_dependency = True)
+
+tf = use_extension("@rules_tf//tf:extensions.bzl", "tf_repositories")
+
+use_repo(
+ tf,
+ "tf_toolchains",
+)
+
+register_toolchains(
+ "@tf_toolchains//:all",
+)
diff --git a/modules/rules_tf/0.0.4/presubmit.yml b/modules/rules_tf/0.0.4/presubmit.yml
new file mode 100644
index 0000000..07a7734
--- /dev/null
+++ b/modules/rules_tf/0.0.4/presubmit.yml
@@ -0,0 +1,33 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: 7.0.2
+ build_targets:
+ - '@rules_tf//...'
+ # Re-enable those targets when toolchain registration is supported.
+ - '-@rules_tf//tf/toolchains/git:*'
+
+bcr_test_module:
+ module_path: tests/bcr
+ matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ tasks:
+ run_test_module:
+ name: Run test module
+ bazel: 7.0.2
+ platform: ${{ platform }}
+ build_targets:
+ - //...
+ test_targets:
+ - //...
diff --git a/modules/rules_tf/0.0.4/source.json b/modules/rules_tf/0.0.4/source.json
new file mode 100644
index 0000000..7653a3a
--- /dev/null
+++ b/modules/rules_tf/0.0.4/source.json
@@ -0,0 +1,6 @@
+{
+ "url": "https://github.com/yanndegat/rules_tf/releases/download/v0.0.4/rules_tf-0.0.4.tar.gz",
+ "integrity": "sha256-MTF/yCGLL/tnfhTjWC6D+eX+3zDdNbM7IgzfuQWVVK0=",
+ "patch_strip": 0,
+ "patches": {}
+}
diff --git a/modules/rules_tf/0.0.5/MODULE.bazel b/modules/rules_tf/0.0.5/MODULE.bazel
new file mode 100644
index 0000000..4be45bf
--- /dev/null
+++ b/modules/rules_tf/0.0.5/MODULE.bazel
@@ -0,0 +1,24 @@
+module(
+ name = "rules_tf",
+ version = "0.0.5",
+ repo_name = "rules_tf",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "rules_pkg", version = "0.9.1")
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(name = "platforms", version = "0.0.7")
+bazel_dep(name = "rules_license", version = "0.0.7")
+
+bazel_dep(name = "rules_python", version = "0.24.0", dev_dependency = True)
+
+tf = use_extension("@rules_tf//tf:extensions.bzl", "tf_repositories")
+
+use_repo(
+ tf,
+ "tf_toolchains",
+)
+
+register_toolchains(
+ "@tf_toolchains//:all",
+)
diff --git a/modules/rules_tf/0.0.5/presubmit.yml b/modules/rules_tf/0.0.5/presubmit.yml
new file mode 100644
index 0000000..07a7734
--- /dev/null
+++ b/modules/rules_tf/0.0.5/presubmit.yml
@@ -0,0 +1,33 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: 7.0.2
+ build_targets:
+ - '@rules_tf//...'
+ # Re-enable those targets when toolchain registration is supported.
+ - '-@rules_tf//tf/toolchains/git:*'
+
+bcr_test_module:
+ module_path: tests/bcr
+ matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ tasks:
+ run_test_module:
+ name: Run test module
+ bazel: 7.0.2
+ platform: ${{ platform }}
+ build_targets:
+ - //...
+ test_targets:
+ - //...
diff --git a/modules/rules_tf/0.0.5/source.json b/modules/rules_tf/0.0.5/source.json
new file mode 100644
index 0000000..1577a57
--- /dev/null
+++ b/modules/rules_tf/0.0.5/source.json
@@ -0,0 +1,6 @@
+{
+ "url": "https://github.com/yanndegat/rules_tf/releases/download/v0.0.5/rules_tf-0.0.5.tar.gz",
+ "integrity": "sha256-pzkHhtf5h0CE8MCj9gtkQuUvDISFqhU1ClWZs3wO9+c=",
+ "patch_strip": 0,
+ "patches": {}
+}
diff --git a/modules/rules_tf/metadata.json b/modules/rules_tf/metadata.json
index c77b47b..fcfe1d0 100644
--- a/modules/rules_tf/metadata.json
+++ b/modules/rules_tf/metadata.json
@@ -13,7 +13,9 @@
"versions": [
"0.0.1",
"0.0.2",
- "0.0.3"
+ "0.0.3",
+ "0.0.4",
+ "0.0.5"
],
"yanked_versions": {}
}
diff --git a/modules/rules_xcodeproj/1.16.0/MODULE.bazel b/modules/rules_xcodeproj/1.16.0/MODULE.bazel
new file mode 100644
index 0000000..5ffd435
--- /dev/null
+++ b/modules/rules_xcodeproj/1.16.0/MODULE.bazel
@@ -0,0 +1,29 @@
+module(
+ name = "rules_xcodeproj",
+ version = "1.16.0",
+ compatibility_level = 1,
+ repo_name = "rules_xcodeproj",
+)
+
+bazel_dep(name = "bazel_features", version = "1.3.0")
+bazel_dep(name = "bazel_skylib", version = "1.3.0")
+bazel_dep(
+ name = "rules_swift",
+ version = "1.6.0",
+ repo_name = "build_bazel_rules_swift",
+)
+bazel_dep(
+ name = "rules_apple",
+ version = "2.0.0",
+ repo_name = "build_bazel_rules_apple",
+)
+bazel_dep(name = "rules_python", version = "0.27.1")
+
+internal = use_extension("//xcodeproj:extensions.bzl", "internal")
+use_repo(internal, "rules_xcodeproj_generated")
+
+non_module_deps = use_extension("//xcodeproj:extensions.bzl", "non_module_deps")
+use_repo(
+ non_module_deps,
+ "rules_xcodeproj_index_import",
+)
diff --git a/modules/rules_xcodeproj/1.16.0/patches/module_dot_bazel_version.patch b/modules/rules_xcodeproj/1.16.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..32d1d0f
--- /dev/null
+++ b/modules/rules_xcodeproj/1.16.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_xcodeproj",
+- version = "0.0.0",
++ version = "1.16.0",
+ compatibility_level = 1,
+ repo_name = "rules_xcodeproj",
+ )
+
diff --git a/modules/rules_xcodeproj/1.16.0/presubmit.yml b/modules/rules_xcodeproj/1.16.0/presubmit.yml
new file mode 100644
index 0000000..ba9b059
--- /dev/null
+++ b/modules/rules_xcodeproj/1.16.0/presubmit.yml
@@ -0,0 +1,7 @@
+tasks:
+ verify_targets_macos:
+ name: Verify build targets
+ bazel: 7.x
+ platform: macos
+ build_targets:
+ - '@rules_xcodeproj//tools/generators/pbxproj_prefix:universal_pbxproj_prefix'
diff --git a/modules/rules_xcodeproj/1.16.0/source.json b/modules/rules_xcodeproj/1.16.0/source.json
new file mode 100644
index 0000000..76654fe
--- /dev/null
+++ b/modules/rules_xcodeproj/1.16.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-zMcZhRqZQsU7k1mYQQbp+lxcl9liGzRiQ7Y4sY7Al/k=",
+ "strip_prefix": "",
+ "url": "https://github.com/MobileNativeFoundation/rules_xcodeproj/releases/download/1.16.0/release.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-VJb2E9XWHV3ZXLFleJrxY6rBZhzisQ2sC9QtRo+J5o4="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_xcodeproj/metadata.json b/modules/rules_xcodeproj/metadata.json
index 8fa92e2..e3f13e7 100644
--- a/modules/rules_xcodeproj/metadata.json
+++ b/modules/rules_xcodeproj/metadata.json
@@ -16,13 +16,13 @@
"github:MobileNativeFoundation/rules_xcodeproj"
],
"versions": [
- "1.0.0rc1",
- "1.0.0rc2",
- "1.0.0rc3",
"0.12.0",
"0.12.2",
"0.12.3",
"1.0.1",
+ "1.0.0rc1",
+ "1.0.0rc2",
+ "1.0.0rc3",
"1.1.0",
"1.2.0",
"1.3.0",
@@ -48,7 +48,8 @@
"1.14.0",
"1.14.1",
"1.14.2",
- "1.15.0"
+ "1.15.0",
+ "1.16.0"
],
"yanked_versions": {}
}
diff --git a/modules/rules_zig/0.3.0/MODULE.bazel b/modules/rules_zig/0.3.0/MODULE.bazel
new file mode 100644
index 0000000..f1afc79
--- /dev/null
+++ b/modules/rules_zig/0.3.0/MODULE.bazel
@@ -0,0 +1,57 @@
+module(
+ name = "rules_zig",
+ version = "0.3.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "aspect_bazel_lib", version = "2.4.1")
+bazel_dep(name = "bazel_skylib", version = "1.5.0")
+bazel_dep(name = "platforms", version = "0.0.8")
+
+zig = use_extension("//zig:extensions.bzl", "zig")
+zig.toolchain(zig_version = "0.11.0")
+use_repo(zig, "zig_toolchains")
+
+register_toolchains("@rules_zig//zig/target:all")
+
+register_toolchains("@zig_toolchains//:all")
+
+bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True, repo_name = "io_bazel_stardoc")
+bazel_dep(name = "gazelle", version = "0.35.0", dev_dependency = True, repo_name = "bazel_gazelle")
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.5.0", dev_dependency = True)
+bazel_dep(
+ name = "buildifier_prebuilt",
+ version = "6.4.0",
+ dev_dependency = True,
+)
+bazel_dep(name = "rules_multirun", version = "0.6.1", dev_dependency = True)
+bazel_dep(name = "rules_python", version = "0.31.0", dev_dependency = True)
+bazel_dep(
+ name = "rules_bazel_integration_test",
+ version = "0.23.0",
+ dev_dependency = True,
+)
+
+bazel_binaries = use_extension(
+ "@rules_bazel_integration_test//:extensions.bzl",
+ "bazel_binaries",
+ dev_dependency = True,
+)
+
+# NOTE: Keep in sync with WORKSPACE.
+bazel_binaries.download(version_file = "//:.bazelversion")
+bazel_binaries.download(version = "6.3.0")
+use_repo(
+ bazel_binaries,
+ "bazel_binaries",
+ "bazel_binaries_bazelisk",
+ "build_bazel_bazel_.bazelversion",
+ "build_bazel_bazel_6_3_0",
+)
+
+# TODO[AH] Should be an implicit transitive dependency through rules_bazel_integration_test.
+# However, if we do not include it explicitly, then the runfiles resolution for
+# cgrindel_bazel_starlib/shlib/lib/message.sh fails in
+# rules_bazel_integration_test/tools/update_deleted_packages.sh when invoked
+# through the rules_multirun target //util:update.
+bazel_dep(name = "cgrindel_bazel_starlib", version = "0.19.0", dev_dependency = True)
diff --git a/modules/rules_zig/0.3.0/patches/module_dot_bazel_version.patch b/modules/rules_zig/0.3.0/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..e4bff08
--- /dev/null
+++ b/modules/rules_zig/0.3.0/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "rules_zig",
+- version = "0.0.0",
++ version = "0.3.0",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "aspect_bazel_lib", version = "2.4.1")
diff --git a/modules/rules_zig/0.3.0/presubmit.yml b/modules/rules_zig/0.3.0/presubmit.yml
new file mode 100644
index 0000000..6794f45
--- /dev/null
+++ b/modules/rules_zig/0.3.0/presubmit.yml
@@ -0,0 +1,12 @@
+bcr_test_module:
+ module_path: "e2e/workspace"
+ matrix:
+ platform: ["ubuntu2204", "macos"] # ["debian10", "macos", "ubuntu2004", "windows"]
+ bazel: [6.3.0, 7.0.2]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//..."
diff --git a/modules/rules_zig/0.3.0/source.json b/modules/rules_zig/0.3.0/source.json
new file mode 100644
index 0000000..ac488b9
--- /dev/null
+++ b/modules/rules_zig/0.3.0/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-dO3OR3iohe7qFZwRwzXtQSqRPCS51wHlkKQsNKpIs8g=",
+ "strip_prefix": "rules_zig-0.3.0",
+ "url": "https://github.com/aherrmann/rules_zig/releases/download/v0.3.0/rules_zig-0.3.0.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-VQbe2iEn0lrhump6Gzt9VpHz6lZNc+uGcOo2fx/knjA="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/rules_zig/metadata.json b/modules/rules_zig/metadata.json
index 618eab1..afd7bf0 100644
--- a/modules/rules_zig/metadata.json
+++ b/modules/rules_zig/metadata.json
@@ -12,7 +12,8 @@
],
"versions": [
"0.1.0",
- "0.2.0"
+ "0.2.0",
+ "0.3.0"
],
"yanked_versions": {}
}
diff --git a/modules/sophus/1.22.10.bcr.1/MODULE.bazel b/modules/sophus/1.22.10.bcr.1/MODULE.bazel
new file mode 100644
index 0000000..9fe5846
--- /dev/null
+++ b/modules/sophus/1.22.10.bcr.1/MODULE.bazel
@@ -0,0 +1,8 @@
+module(
+ name = "sophus",
+ version = "1.22.10.bcr.1",
+ compatibility_level = 1,
+)
+bazel_dep(name = "rules_cc", version = "0.0.9")
+bazel_dep(name = "eigen", version = "3.4.0.bcr.1")
+bazel_dep(name = "fmt", version = "10.2.1") \ No newline at end of file
diff --git a/modules/sophus/1.22.10.bcr.1/patches/add_build_file.patch b/modules/sophus/1.22.10.bcr.1/patches/add_build_file.patch
new file mode 100644
index 0000000..7cff6a0
--- /dev/null
+++ b/modules/sophus/1.22.10.bcr.1/patches/add_build_file.patch
@@ -0,0 +1,43 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,40 @@
++""" Builds Sophus.
++"""
++
++load("@rules_cc//cc:defs.bzl", "cc_library")
++
++cc_library(
++ name = "sophus",
++ hdrs = [
++ "sophus/average.hpp",
++ "sophus/cartesian.hpp",
++ "sophus/ceres_local_parameterization.hpp",
++ "sophus/ceres_manifold.hpp",
++ "sophus/ceres_typetraits.hpp",
++ "sophus/common.hpp",
++ "sophus/geometry.hpp",
++ "sophus/interpolate.hpp",
++ "sophus/interpolate_details.hpp",
++ "sophus/num_diff.hpp",
++ "sophus/rotation_matrix.hpp",
++ "sophus/rxso2.hpp",
++ "sophus/rxso3.hpp",
++ "sophus/se2.hpp",
++ "sophus/se3.hpp",
++ "sophus/sim2.hpp",
++ "sophus/sim3.hpp",
++ "sophus/sim_details.hpp",
++ "sophus/so2.hpp",
++ "sophus/so3.hpp",
++ "sophus/spline.hpp",
++ "sophus/types.hpp",
++ "sophus/velocities.hpp"
++ ],
++ deps = [
++ "@eigen",
++ "@fmt",
++ ],
++ includes = ["."],
++ visibility = ["//visibility:public"],
++)
++
diff --git a/modules/sophus/1.22.10.bcr.1/patches/module_dot_bazel.patch b/modules/sophus/1.22.10.bcr.1/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..baabac6
--- /dev/null
+++ b/modules/sophus/1.22.10.bcr.1/patches/module_dot_bazel.patch
@@ -0,0 +1,11 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -0,0 +1,8 @@
++module(
++ name = "sophus",
++ version = "1.22.10.bcr.1",
++ compatibility_level = 1,
++)
++bazel_dep(name = "rules_cc", version = "0.0.9")
++bazel_dep(name = "eigen", version = "3.4.0.bcr.1")
++bazel_dep(name = "fmt", version = "10.2.1")
diff --git a/modules/sophus/1.22.10.bcr.1/presubmit.yml b/modules/sophus/1.22.10.bcr.1/presubmit.yml
new file mode 100644
index 0000000..66243cf
--- /dev/null
+++ b/modules/sophus/1.22.10.bcr.1/presubmit.yml
@@ -0,0 +1,17 @@
+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:
+ - '@sophus'
diff --git a/modules/sophus/1.22.10.bcr.1/source.json b/modules/sophus/1.22.10.bcr.1/source.json
new file mode 100644
index 0000000..37cdf0c
--- /dev/null
+++ b/modules/sophus/1.22.10.bcr.1/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/strasdat/Sophus/archive/refs/tags/1.22.10.tar.gz",
+ "integrity": "sha256-6x2kQOYlDF78djegYRpbiIiHXOasIr9/9rZ2m7yVgII=",
+ "strip_prefix": "Sophus-1.22.10",
+ "patch_strip": 0,
+ "patches": {
+ "module_dot_bazel.patch": "sha256-+4a6x4OP0RkONngHJikiXBCqttXJpsOu1diAMn6t074=",
+ "add_build_file.patch": "sha256-fu3hDYvvE5+1C1IcdT35jDi0CJ13kAep7enUtzzbtYg="
+ }
+}
diff --git a/modules/sophus/1.22.10/MODULE.bazel b/modules/sophus/1.22.10/MODULE.bazel
new file mode 100644
index 0000000..dec5551
--- /dev/null
+++ b/modules/sophus/1.22.10/MODULE.bazel
@@ -0,0 +1,7 @@
+module(
+ name = "sophus",
+ version = "1.22.10",
+ compatibility_level = 1,
+)
+bazel_dep(name = "rules_cc", version = "0.0.9")
+bazel_dep(name = "eigen", version = "3.4.0.bcr.1")
diff --git a/modules/sophus/1.22.10/patches/add_build_file.patch b/modules/sophus/1.22.10/patches/add_build_file.patch
new file mode 100644
index 0000000..6259c00
--- /dev/null
+++ b/modules/sophus/1.22.10/patches/add_build_file.patch
@@ -0,0 +1,39 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,36 @@
++""" Builds Sophus.
++"""
++
++load("@rules_cc//cc:defs.bzl", "cc_library")
++
++cc_library(
++ name = "sophus",
++ hdrs = [
++ "sophus/average.hpp",
++ "sophus/cartesian.hpp",
++ "sophus/ceres_local_parameterization.hpp",
++ "sophus/ceres_manifold.hpp",
++ "sophus/ceres_typetraits.hpp",
++ "sophus/common.hpp",
++ "sophus/geometry.hpp",
++ "sophus/interpolate.hpp",
++ "sophus/interpolate_details.hpp",
++ "sophus/num_diff.hpp",
++ "sophus/rotation_matrix.hpp",
++ "sophus/rxso2.hpp",
++ "sophus/rxso3.hpp",
++ "sophus/se2.hpp",
++ "sophus/se3.hpp",
++ "sophus/sim2.hpp",
++ "sophus/sim3.hpp",
++ "sophus/sim_details.hpp",
++ "sophus/so2.hpp",
++ "sophus/so3.hpp",
++ "sophus/spline.hpp",
++ "sophus/types.hpp",
++ "sophus/velocities.hpp"
++ ],
++ visibility = ["//visibility:public"],
++ deps = [ "@eigen" ],
++)
++
diff --git a/modules/sophus/1.22.10/patches/module_dot_bazel.patch b/modules/sophus/1.22.10/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..73b4069
--- /dev/null
+++ b/modules/sophus/1.22.10/patches/module_dot_bazel.patch
@@ -0,0 +1,10 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -0,0 +1,7 @@
++module(
++ name = "sophus",
++ version = "1.22.10",
++ compatibility_level = 1,
++)
++bazel_dep(name = "rules_cc", version = "0.0.9")
++bazel_dep(name = "eigen", version = "3.4.0.bcr.1")
diff --git a/modules/sophus/1.22.10/presubmit.yml b/modules/sophus/1.22.10/presubmit.yml
new file mode 100644
index 0000000..66243cf
--- /dev/null
+++ b/modules/sophus/1.22.10/presubmit.yml
@@ -0,0 +1,17 @@
+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:
+ - '@sophus'
diff --git a/modules/sophus/1.22.10/source.json b/modules/sophus/1.22.10/source.json
new file mode 100644
index 0000000..9a506f6
--- /dev/null
+++ b/modules/sophus/1.22.10/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/strasdat/Sophus/archive/refs/tags/1.22.10.tar.gz",
+ "integrity": "sha256-6x2kQOYlDF78djegYRpbiIiHXOasIr9/9rZ2m7yVgII=",
+ "strip_prefix": "Sophus-1.22.10",
+ "patch_strip": 0,
+ "patches": {
+ "module_dot_bazel.patch": "sha256-W2UbaeeqTQAG+P3Ak647CbSuZltPVMiTgov+to78czY=",
+ "add_build_file.patch": "sha256-MV8UMgIIQmxUAuQ8VR9P+v7MkmejDWBVHYRga+qrfOY="
+ }
+}
diff --git a/modules/sophus/metadata.json b/modules/sophus/metadata.json
new file mode 100644
index 0000000..6f5e7db
--- /dev/null
+++ b/modules/sophus/metadata.json
@@ -0,0 +1,18 @@
+{
+ "homepage": "https://github.com/strasdat/Sophus",
+ "maintainers": [
+ {
+ "email": "git@van-opdenbosch.net",
+ "github": "d-vo",
+ "name": "Dominik Van Opdenbosch"
+ }
+ ],
+ "repository": [
+ "github:strasdat/Sophus"
+ ],
+ "versions": [
+ "1.22.10",
+ "1.22.10.bcr.1"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/spdlog/1.13.0/MODULE.bazel b/modules/spdlog/1.13.0/MODULE.bazel
new file mode 100644
index 0000000..c8e898f
--- /dev/null
+++ b/modules/spdlog/1.13.0/MODULE.bazel
@@ -0,0 +1,8 @@
+module(
+ name = "spdlog",
+ compatibility_level = 1,
+ version = "1.13.0",
+)
+
+bazel_dep(name = "fmt", version = "10.2.1")
+bazel_dep(name = "rules_cc", version = "0.0.9")
diff --git a/modules/spdlog/1.13.0/patches/add_build_file.patch b/modules/spdlog/1.13.0/patches/add_build_file.patch
new file mode 100644
index 0000000..facce1a
--- /dev/null
+++ b/modules/spdlog/1.13.0/patches/add_build_file.patch
@@ -0,0 +1,19 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,16 @@
++load("@rules_cc//cc:defs.bzl", "cc_library")
++
++
++package(
++ default_visibility = ["//visibility:public"],
++)
++
++cc_library(
++ name = "spdlog",
++ hdrs = glob([
++ "include/**/*.h",
++ ]),
++ defines = ["SPDLOG_FMT_EXTERNAL"],
++ includes = ["include"],
++ deps = ["@fmt"],
++)
diff --git a/modules/spdlog/1.13.0/patches/module_dot_bazel.patch b/modules/spdlog/1.13.0/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..a08cca5
--- /dev/null
+++ b/modules/spdlog/1.13.0/patches/module_dot_bazel.patch
@@ -0,0 +1,11 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -0,0 +1,8 @@
++module(
++ name = "spdlog",
++ compatibility_level = 1,
++ version = "1.13.0",
++)
++
++bazel_dep(name = "fmt", version = "10.2.1")
++bazel_dep(name = "rules_cc", version = "0.0.9")
diff --git a/modules/spdlog/1.13.0/presubmit.yml b/modules/spdlog/1.13.0/presubmit.yml
new file mode 100644
index 0000000..793384f
--- /dev/null
+++ b/modules/spdlog/1.13.0/presubmit.yml
@@ -0,0 +1,14 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - windows
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@spdlog//:spdlog'
diff --git a/modules/spdlog/1.13.0/source.json b/modules/spdlog/1.13.0/source.json
new file mode 100644
index 0000000..ffa9411
--- /dev/null
+++ b/modules/spdlog/1.13.0/source.json
@@ -0,0 +1,10 @@
+{
+ "integrity": "sha256-U08u4aTcvrIiSYVu37K+dqHPT3CKILCsLtCQ7iTP28k=",
+ "patch_strip": 0,
+ "patches": {
+ "add_build_file.patch": "sha256-TR0oqR+EUPMJdMZ9aUwDP2SbLYkFJ2IDc8Yh36CGwaM=",
+ "module_dot_bazel.patch": "sha256-a2Fi4kUgOpe40e72Jo5oenYJ1/AC2gjYDyR4Ckm9Avk="
+ },
+ "strip_prefix": "spdlog-1.13.0",
+ "url": "https://github.com/gabime/spdlog/archive/refs/tags/v1.13.0.tar.gz"
+}
diff --git a/modules/spdlog/metadata.json b/modules/spdlog/metadata.json
index c93e6ed..d7866c1 100644
--- a/modules/spdlog/metadata.json
+++ b/modules/spdlog/metadata.json
@@ -13,7 +13,8 @@
"versions": [
"1.10.0",
"1.11.0",
- "1.12.0"
+ "1.12.0",
+ "1.13.0"
],
"yanked_versions": {}
}
diff --git a/modules/sqlite3/metadata.json b/modules/sqlite3/metadata.json
index f6277fe..60dbf15 100644
--- a/modules/sqlite3/metadata.json
+++ b/modules/sqlite3/metadata.json
@@ -1,9 +1,14 @@
{
- "homepage": "https://sqlite.org/",
- "maintainers": [],
- "versions": [
- "3.42.0",
- "3.42.0.bcr.1"
- ],
- "yanked_versions": {}
+ "homepage": "https://sqlite.org/",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "versions": [
+ "3.42.0",
+ "3.42.0.bcr.1"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/squashfs-tools/4.6.1/MODULE.bazel b/modules/squashfs-tools/4.6.1/MODULE.bazel
new file mode 100644
index 0000000..5edac53
--- /dev/null
+++ b/modules/squashfs-tools/4.6.1/MODULE.bazel
@@ -0,0 +1,9 @@
+module(
+ name = "squashfs-tools",
+ version = "4.6.1",
+ compatibility_level = 1,
+)
+bazel_dep(name = "lz4", version = "1.9.4")
+bazel_dep(name = "rules_cc", version = "0.0.9")
+bazel_dep(name = "zlib", version = "1.3")
+bazel_dep(name = "zstd", version = "1.5.5.bcr.1")
diff --git a/modules/squashfs-tools/4.6.1/patches/add_build_file.patch b/modules/squashfs-tools/4.6.1/patches/add_build_file.patch
new file mode 100644
index 0000000..0103220
--- /dev/null
+++ b/modules/squashfs-tools/4.6.1/patches/add_build_file.patch
@@ -0,0 +1,85 @@
+--- /dev/null
++++ BUILD
+@@ -0,0 +1,82 @@
++load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library")
++
++_COPTS = [
++ "-O2", # squashfs-tools/Makefile#L219
++ "-std=gnu17", # GNU extensions are at play
++ "-pthread",
++ "--no-warnings", # We don't care about third-party warnings
++]
++
++_LINKOPTS = [
++ "-lpthread",
++]
++
++_DEFINES = [
++ 'COMP_DEFAULT=\\"gzip\\"',
++ 'DATE=\\"redacted\\"',
++ 'VERSION=\\"redacted\\"',
++ 'YEAR=\\"redacted\\"',
++ "_FILE_OFFSET_BITS=64",
++ "_GNU_SOURCE",
++ "_LARGEFILE_SOURCE",
++ "REPRODUCIBLE_DEFAULT",
++ "XATTR_DEFAULT",
++ "XATTR_SUPPORT",
++] + [
++ "GZIP_SUPPORT",
++ "LZ4_SUPPORT",
++ "ZSTD_SUPPORT",
++ # "LZO_SUPPORT", # Not available on BCR yet
++ # "XZ_SUPPORT", # Not available on BCR yet
++]
++
++cc_library(
++ name = "common",
++ srcs = glob(
++ [
++ "*.c",
++ "*.h",
++ ],
++ exclude = [
++ "mksquashfs.c",
++ "unsquash*",
++ "lzma*",
++ "lzo*",
++ "xz*",
++ ],
++ ),
++ hdrs = ["squashfs_fs.h"],
++ copts = _COPTS,
++ linkopts = _LINKOPTS,
++ local_defines = _DEFINES,
++ deps = [
++ "@lz4",
++ "@lz4//:lz4_hc",
++ "@zlib",
++ "@zstd",
++ ],
++)
++
++cc_binary(
++ name = "mksquashfs",
++ srcs = [
++ "mksquashfs.c",
++ "mksquashfs.h",
++ "mksquashfs_error.h",
++ ],
++ copts = _COPTS,
++ linkopts = _LINKOPTS,
++ local_defines = _DEFINES,
++ visibility = ["//visibility:public"],
++ deps = [":common"],
++)
++
++cc_binary(
++ name = "unsquashfs",
++ srcs = glob(["unsquash*"]),
++ copts = _COPTS,
++ linkopts = _LINKOPTS,
++ local_defines = _DEFINES,
++ visibility = ["//visibility:public"],
++ deps = [":common"],
++)
diff --git a/modules/squashfs-tools/4.6.1/patches/module_dot_bazel.patch b/modules/squashfs-tools/4.6.1/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..1015768
--- /dev/null
+++ b/modules/squashfs-tools/4.6.1/patches/module_dot_bazel.patch
@@ -0,0 +1,12 @@
+--- /dev/null
++++ MODULE.bazel
+@@ -0,0 +1,9 @@
++module(
++ name = "squashfs-tools",
++ version = "4.6.1",
++ compatibility_level = 1,
++)
++bazel_dep(name = "lz4", version = "1.9.4")
++bazel_dep(name = "rules_cc", version = "0.0.9")
++bazel_dep(name = "zlib", version = "1.3")
++bazel_dep(name = "zstd", version = "1.5.5.bcr.1")
diff --git a/modules/squashfs-tools/4.6.1/presubmit.yml b/modules/squashfs-tools/4.6.1/presubmit.yml
new file mode 100644
index 0000000..1422842
--- /dev/null
+++ b/modules/squashfs-tools/4.6.1/presubmit.yml
@@ -0,0 +1,17 @@
+matrix:
+ platform:
+ - centos7_java11_devtoolset10
+ - debian11
+ - ubuntu2004_arm64
+ - ubuntu2204
+ - fedora39
+ - macos
+ - macos_arm64
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@squashfs-tools//:mksquashfs"
+ - "@squashfs-tools//:unsquashfs"
diff --git a/modules/squashfs-tools/4.6.1/source.json b/modules/squashfs-tools/4.6.1/source.json
new file mode 100644
index 0000000..fb7b1bd
--- /dev/null
+++ b/modules/squashfs-tools/4.6.1/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/plougher/squashfs-tools/archive/refs/tags/4.6.1.tar.gz",
+ "integrity": "sha256-lCAXVLNhIanwIqGQx19xhEHfFUAt8ywrUgyjMaEHURw=",
+ "strip_prefix": "squashfs-tools-4.6.1/squashfs-tools",
+ "patches": {
+ "add_build_file.patch": "sha256-Ux/rmo8l3ZMamJGSg81D9ih75+cTeCpuyNVaqUC6xns=",
+ "module_dot_bazel.patch": "sha256-d0YmVTAvr3iqyfza1vCjPLJf0A9BCmBlFioRg/hKe6U="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/squashfs-tools/metadata.json b/modules/squashfs-tools/metadata.json
new file mode 100644
index 0000000..25c61ae
--- /dev/null
+++ b/modules/squashfs-tools/metadata.json
@@ -0,0 +1,17 @@
+{
+ "homepage": "https://github.com/plougher/squashfs-tools",
+ "maintainers": [
+ {
+ "email": "bcr@laure.nz",
+ "github": "lalten",
+ "name": "lalten"
+ }
+ ],
+ "repository": [
+ "github:plougher/squashfs-tools"
+ ],
+ "versions": [
+ "4.6.1"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/stardoc/metadata.json b/modules/stardoc/metadata.json
index f609a0f..54e3cd3 100644
--- a/modules/stardoc/metadata.json
+++ b/modules/stardoc/metadata.json
@@ -1,18 +1,23 @@
{
- "homepage": "https://github.com/bazelbuild/stardoc",
- "maintainers": [],
- "repository": [
- "github:bazelbuild/stardoc"
- ],
- "versions": [
- "0.5.0",
- "0.5.1",
- "0.5.3",
- "0.5.4",
- "0.5.6",
- "0.6.0",
- "0.6.1",
- "0.6.2"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/bazelbuild/stardoc",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:bazelbuild/stardoc"
+ ],
+ "versions": [
+ "0.5.0",
+ "0.5.1",
+ "0.5.3",
+ "0.5.4",
+ "0.5.6",
+ "0.6.0",
+ "0.6.1",
+ "0.6.2"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/suitesparse/7.6.0/MODULE.bazel b/modules/suitesparse/7.6.0/MODULE.bazel
new file mode 100644
index 0000000..dd53830
--- /dev/null
+++ b/modules/suitesparse/7.6.0/MODULE.bazel
@@ -0,0 +1 @@
+module(name = "suitesparse", version = "7.6.0")
diff --git a/modules/suitesparse/7.6.0/patches/add_build_file.patch b/modules/suitesparse/7.6.0/patches/add_build_file.patch
new file mode 100644
index 0000000..a52e1b8
--- /dev/null
+++ b/modules/suitesparse/7.6.0/patches/add_build_file.patch
@@ -0,0 +1,46 @@
+diff --git BUILD.bazel BUILD.bazel
+new file mode 100644
+index 000000000..14b84cd84
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,40 @@
++licenses(["notice"]) # BSD-3-Clause
++
++package(default_visibility = ["//visibility:private"])
++
++cc_library(
++ name = "config",
++ srcs = ["SuiteSparse_config/SuiteSparse_config.c"],
++ hdrs = ["SuiteSparse_config/SuiteSparse_config.h"],
++ strip_include_prefix = "SuiteSparse_config",
++ copts = ["-fvisibility=hidden"],
++ visibility = ["//visibility:public"],
++)
++
++# The header for libamd.
++cc_library(
++ name = "amd_hdrs",
++ hdrs = [
++ "AMD/Include/amd_internal.h",
++ "AMD/Include/amd.h",
++ ],
++ strip_include_prefix = "AMD/Include",
++ deps = [
++ ":config",
++ ],
++)
++
++# The libamd sources are compiled twice, once as 32-bit and once as 64-bit.
++_AMD_SRCS = glob(
++ ["AMD/Source/amd_*.c"],
++ exclude = ["AMD/Source/amd_l*.c"],
++ allow_empty = False,
++)
++
++cc_library(
++ name = "amd",
++ srcs = _AMD_SRCS,
++ copts = ["-fvisibility=hidden"],
++ deps = [":amd_hdrs"],
++ visibility = ["//visibility:public"],
++)
diff --git a/modules/suitesparse/7.6.0/patches/module_dot_bazel.patch b/modules/suitesparse/7.6.0/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..187c7d6
--- /dev/null
+++ b/modules/suitesparse/7.6.0/patches/module_dot_bazel.patch
@@ -0,0 +1,7 @@
+diff --git MODULE.bazel MODULE.bazel
+new file mode 100644
+index 000000000..dd5383095
+--- /dev/null
++++ MODULE.bazel
+@@ -0,0 +1 @@
++module(name = "suitesparse", version = "7.6.0")
diff --git a/modules/suitesparse/7.6.0/presubmit.yml b/modules/suitesparse/7.6.0/presubmit.yml
new file mode 100644
index 0000000..5b65502
--- /dev/null
+++ b/modules/suitesparse/7.6.0/presubmit.yml
@@ -0,0 +1,14 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@suitesparse//:amd"
diff --git a/modules/suitesparse/7.6.0/source.json b/modules/suitesparse/7.6.0/source.json
new file mode 100644
index 0000000..225aabb
--- /dev/null
+++ b/modules/suitesparse/7.6.0/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v7.6.0.tar.gz",
+ "integrity": "sha256-GcvrmWTr5DlBPdZtgqzh+QStxfJdioI8G0jDS9DSnqU=",
+ "strip_prefix": "SuiteSparse-7.6.0",
+ "patches": {
+ "add_build_file.patch": "sha256-Eq7RQDTM99u8rqaN49lN12Q0f3GusyCsi659fWaXHHI=",
+ "module_dot_bazel.patch": "sha256-/aTEFBMXnBhtuEzm/kaPuMF6unqVxPKgY48JV8MN10A="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/suitesparse/metadata.json b/modules/suitesparse/metadata.json
new file mode 100644
index 0000000..079185f
--- /dev/null
+++ b/modules/suitesparse/metadata.json
@@ -0,0 +1,17 @@
+{
+ "homepage": "https://github.com/DrTimothyAldenDavis/SuiteSparse",
+ "maintainers": [
+ {
+ "email": "daisuke.nishimatsu1021@gmail.com",
+ "github": "wep21",
+ "name": "Daisuke Nishimatsu"
+ }
+ ],
+ "repository": [
+ "github:DrTimothyAldenDavis/SuiteSparse"
+ ],
+ "versions": [
+ "7.6.0"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/swift-index-store/1.6.0/MODULE.bazel b/modules/swift-index-store/1.6.0/MODULE.bazel
new file mode 100644
index 0000000..e9e7287
--- /dev/null
+++ b/modules/swift-index-store/1.6.0/MODULE.bazel
@@ -0,0 +1,12 @@
+module(
+ name = "swift-index-store",
+ version = "1.6.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "platforms", version = "0.0.8")
+bazel_dep(name = "rules_apple", version = "3.1.1", repo_name = "build_bazel_rules_apple")
+bazel_dep(name = "rules_swift", version = "1.13.0", repo_name = "build_bazel_rules_swift")
+
+non_module_deps = use_extension("//:repositories.bzl", "bzlmod_deps")
+use_repo(non_module_deps, "StaticIndexStore")
diff --git a/modules/swift-index-store/1.6.0/patches/module_dot_bazel.patch b/modules/swift-index-store/1.6.0/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..4c7eba8
--- /dev/null
+++ b/modules/swift-index-store/1.6.0/patches/module_dot_bazel.patch
@@ -0,0 +1,5 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -3 +3 @@ module(
+- version = "0",
++ version = "1.6.0",
diff --git a/modules/swift-index-store/1.6.0/presubmit.yml b/modules/swift-index-store/1.6.0/presubmit.yml
new file mode 100644
index 0000000..ff6c3f6
--- /dev/null
+++ b/modules/swift-index-store/1.6.0/presubmit.yml
@@ -0,0 +1,10 @@
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: macos
+ bazel: 7.x
+ build_targets:
+ - '@swift-index-store//:IndexStore'
+ build_flags:
+ - --macos_minimum_os=12.0
+ - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"
diff --git a/modules/swift-index-store/1.6.0/source.json b/modules/swift-index-store/1.6.0/source.json
new file mode 100644
index 0000000..1b6ecd4
--- /dev/null
+++ b/modules/swift-index-store/1.6.0/source.json
@@ -0,0 +1,9 @@
+{
+ "url": "https://github.com/lyft/swift-index-store/archive/refs/tags/1.6.0.tar.gz",
+ "integrity": "sha256-7Gc9GehdS5O6HYkxtniNr3N0VYOf5wZ1j1QA7PQtTbw=",
+ "strip_prefix": "swift-index-store-1.6.0",
+ "patches": {
+ "module_dot_bazel.patch": "sha256-QnPeX7kh0CUWDh/TC2wmCQxH/sTToBiFvQjma2FvhL0="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/swift-index-store/metadata.json b/modules/swift-index-store/metadata.json
new file mode 100644
index 0000000..7cc10d5
--- /dev/null
+++ b/modules/swift-index-store/metadata.json
@@ -0,0 +1,17 @@
+{
+ "homepage": "https://github.com/lyft/swift-index-store",
+ "maintainers": [
+ {
+ "email": "keithbsmiley@gmail.com",
+ "github": "keith",
+ "name": "Keith Smiley"
+ }
+ ],
+ "repository": [
+ "github:lyft/swift-index-store"
+ ],
+ "versions": [
+ "1.6.0"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/swift-syntax/509.1.1/MODULE.bazel b/modules/swift-syntax/509.1.1/MODULE.bazel
new file mode 100644
index 0000000..0ee80c3
--- /dev/null
+++ b/modules/swift-syntax/509.1.1/MODULE.bazel
@@ -0,0 +1,8 @@
+module(
+ name = "swift-syntax",
+ version = "509.1.1",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "rules_swift", version = "1.16.0", repo_name = "build_bazel_rules_swift")
+bazel_dep(name = "apple_support", version = "1.11.1", repo_name = "build_bazel_apple_support")
diff --git a/modules/swift-syntax/509.1.1/patches/deps.patch b/modules/swift-syntax/509.1.1/patches/deps.patch
new file mode 100644
index 0000000..098be00
--- /dev/null
+++ b/modules/swift-syntax/509.1.1/patches/deps.patch
@@ -0,0 +1,8 @@
+--- BUILD.bazel
++++ BUILD.bazel
+@@ -44,4 +44,5 @@ swift_syntax_library(
+ name = "SwiftSyntaxMacroExpansion",
+ deps = [
++ ":SwiftOperators",
+ ":SwiftSyntax",
+ ":SwiftSyntaxMacros",
diff --git a/modules/swift-syntax/509.1.1/patches/module_dot_bazel.patch b/modules/swift-syntax/509.1.1/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..80e92bc
--- /dev/null
+++ b/modules/swift-syntax/509.1.1/patches/module_dot_bazel.patch
@@ -0,0 +1,13 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -1,7 +1,8 @@
+ module(
+ name = "swift-syntax",
+- version = "0", # Update on release/* branches
++ version = "509.1.1",
+ compatibility_level = 1,
+ )
+
+-bazel_dep(name = "rules_swift", version = "1.5.1", repo_name = "build_bazel_rules_swift")
++bazel_dep(name = "rules_swift", version = "1.16.0", repo_name = "build_bazel_rules_swift")
++bazel_dep(name = "apple_support", version = "1.11.1", repo_name = "build_bazel_apple_support")
diff --git a/modules/swift-syntax/509.1.1/presubmit.yml b/modules/swift-syntax/509.1.1/presubmit.yml
new file mode 100644
index 0000000..08a4aac
--- /dev/null
+++ b/modules/swift-syntax/509.1.1/presubmit.yml
@@ -0,0 +1,10 @@
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: macos
+ bazel: 7.x
+ build_targets:
+ - '@swift-syntax//...'
+ build_flags:
+ - --macos_minimum_os=12.0
+ - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"
diff --git a/modules/swift-syntax/509.1.1/source.json b/modules/swift-syntax/509.1.1/source.json
new file mode 100644
index 0000000..8b1a3b3
--- /dev/null
+++ b/modules/swift-syntax/509.1.1/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/apple/swift-syntax/archive/refs/tags/509.1.1.tar.gz",
+ "integrity": "sha256-82HceGwbVKEulHzfYWAxw/NmlG3rSWDza9o5amsBIYM=",
+ "strip_prefix": "swift-syntax-509.1.1",
+ "patches": {
+ "deps.patch": "sha256-pHcJF+vWNqs2H8khN4tC3LcrSr0KxWY6G1Tr9m2I5V4=",
+ "module_dot_bazel.patch": "sha256-5wnx3U/zlmwvQhfHW/LKu+Pym6i291OiQA0F36XFySQ="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/swift-syntax/metadata.json b/modules/swift-syntax/metadata.json
index 525e5a1..94ce412 100644
--- a/modules/swift-syntax/metadata.json
+++ b/modules/swift-syntax/metadata.json
@@ -13,7 +13,8 @@
"versions": [
"509.0.0",
"509.0.0.1",
- "509.0.2"
+ "509.0.2",
+ "509.1.1"
],
"yanked_versions": {}
}
diff --git a/modules/swift_argument_parser/1.3.0/MODULE.bazel b/modules/swift_argument_parser/1.3.0/MODULE.bazel
new file mode 100644
index 0000000..e7a5456
--- /dev/null
+++ b/modules/swift_argument_parser/1.3.0/MODULE.bazel
@@ -0,0 +1,8 @@
+module(
+ name = "swift_argument_parser",
+ version = "1.3.0",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "apple_support", version = "1.11.1", repo_name = "build_bazel_apple_support")
+bazel_dep(name = "rules_swift", version = "1.16.0")
diff --git a/modules/swift_argument_parser/1.3.0/patches/add_build_file.patch b/modules/swift_argument_parser/1.3.0/patches/add_build_file.patch
new file mode 100644
index 0000000..0bfe6fa
--- /dev/null
+++ b/modules/swift_argument_parser/1.3.0/patches/add_build_file.patch
@@ -0,0 +1,20 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,17 @@
++load("@rules_swift//swift:swift.bzl", "swift_library")
++
++swift_library(
++ name = "ArgumentParserToolInfo",
++ srcs = glob(["Sources/ArgumentParserToolInfo/**/*.swift"]),
++ module_name = "ArgumentParserToolInfo",
++)
++
++swift_library(
++ name = "ArgumentParser",
++ srcs = glob(["Sources/ArgumentParser/**/*.swift"]),
++ module_name = "ArgumentParser",
++ visibility = ["//visibility:public"],
++ deps = [
++ ":ArgumentParserToolInfo",
++ ],
++)
diff --git a/modules/swift_argument_parser/1.3.0/patches/module_dot_bazel.patch b/modules/swift_argument_parser/1.3.0/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..239d430
--- /dev/null
+++ b/modules/swift_argument_parser/1.3.0/patches/module_dot_bazel.patch
@@ -0,0 +1,11 @@
+--- /dev/null
++++ MODULE.bazel
+@@ -0,0 +1,8 @@
++module(
++ name = "swift_argument_parser",
++ version = "1.3.0",
++ compatibility_level = 1,
++)
++
++bazel_dep(name = "apple_support", version = "1.11.1", repo_name = "build_bazel_apple_support")
++bazel_dep(name = "rules_swift", version = "1.16.0")
diff --git a/modules/swift_argument_parser/1.3.0/presubmit.yml b/modules/swift_argument_parser/1.3.0/presubmit.yml
new file mode 100644
index 0000000..9201f56
--- /dev/null
+++ b/modules/swift_argument_parser/1.3.0/presubmit.yml
@@ -0,0 +1,10 @@
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: macos
+ bazel: 7.x
+ build_targets:
+ - '@swift_argument_parser//:ArgumentParser'
+ build_flags:
+ - --macos_minimum_os=12.0
+ - "--repo_env=BAZEL_DO_NOT_DETECT_CPP_TOOLCHAIN=1"
diff --git a/modules/swift_argument_parser/1.3.0/source.json b/modules/swift_argument_parser/1.3.0/source.json
new file mode 100644
index 0000000..c26cac7
--- /dev/null
+++ b/modules/swift_argument_parser/1.3.0/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/apple/swift-argument-parser/archive/refs/tags/1.3.0.tar.gz",
+ "integrity": "sha256-5QEP83tUKAc0aSe6aLfwY2WlPPSdNqbfE871DYYBggQ=",
+ "strip_prefix": "swift-argument-parser-1.3.0",
+ "patches": {
+ "add_build_file.patch": "sha256-HAgMs4nrp0xoaNjEud7N2ElL7mQ5zvAmuHyvESQF86E=",
+ "module_dot_bazel.patch": "sha256-ElhiIxKXmn1hNTwwFyWNTATcKi1J3uEZqMfVhYkvMTM="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/swift_argument_parser/metadata.json b/modules/swift_argument_parser/metadata.json
index 55676d6..2471bd9 100644
--- a/modules/swift_argument_parser/metadata.json
+++ b/modules/swift_argument_parser/metadata.json
@@ -16,7 +16,8 @@
"github:apple/swift-argument-parser"
],
"versions": [
- "1.2.1"
+ "1.2.1",
+ "1.3.0"
],
"yanked_versions": {}
}
diff --git a/modules/tinyxml2/10.0.0/MODULE.bazel b/modules/tinyxml2/10.0.0/MODULE.bazel
new file mode 100644
index 0000000..451d1ce
--- /dev/null
+++ b/modules/tinyxml2/10.0.0/MODULE.bazel
@@ -0,0 +1,6 @@
+module(
+ name = "tinyxml2",
+ version = "10.0.0",
+ compatibility_level = 1,
+)
+bazel_dep(name = "rules_cc", version = "0.0.9")
diff --git a/modules/tinyxml2/10.0.0/patches/add_build_file.patch b/modules/tinyxml2/10.0.0/patches/add_build_file.patch
new file mode 100644
index 0000000..2afbd46
--- /dev/null
+++ b/modules/tinyxml2/10.0.0/patches/add_build_file.patch
@@ -0,0 +1,15 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,12 @@
++""" Builds tinyxml2.
++"""
++
++load("@rules_cc//cc:defs.bzl", "cc_library")
++
++cc_library(
++ name = "tinyxml2",
++ srcs = ["tinyxml2.cpp"],
++ hdrs = ["tinyxml2.h"],
++ includes = ["."],
++ visibility = ["//visibility:public"],
++)
diff --git a/modules/tinyxml2/10.0.0/patches/module_dot_bazel.patch b/modules/tinyxml2/10.0.0/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..b33396f
--- /dev/null
+++ b/modules/tinyxml2/10.0.0/patches/module_dot_bazel.patch
@@ -0,0 +1,9 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -0,0 +1,6 @@
++module(
++ name = "tinyxml2",
++ version = "10.0.0",
++ compatibility_level = 1,
++)
++bazel_dep(name = "rules_cc", version = "0.0.9")
diff --git a/modules/tinyxml2/10.0.0/presubmit.yml b/modules/tinyxml2/10.0.0/presubmit.yml
new file mode 100644
index 0000000..03902fb
--- /dev/null
+++ b/modules/tinyxml2/10.0.0/presubmit.yml
@@ -0,0 +1,15 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ - windows
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@tinyxml2'
diff --git a/modules/tinyxml2/10.0.0/source.json b/modules/tinyxml2/10.0.0/source.json
new file mode 100644
index 0000000..a2256e4
--- /dev/null
+++ b/modules/tinyxml2/10.0.0/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/leethomason/tinyxml2/archive/refs/tags/10.0.0.tar.gz",
+ "integrity": "sha256-O98VEouhZobmm84lbMRo52x7lP8sfzkcxewJ5Av/ODk=",
+ "strip_prefix": "tinyxml2-10.0.0",
+ "patches": {
+ "add_build_file.patch": "sha256-5p5iDlTVSGqie/OOuyvVQ0/XpasKbr1TVVv94yQlNNk=",
+ "module_dot_bazel.patch": "sha256-tWprfw+1eUjmdLTG8TzvOdITANnjSusFAQYzSTzWgus="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/tinyxml2/metadata.json b/modules/tinyxml2/metadata.json
index a3ec069..4b0bf8b 100644
--- a/modules/tinyxml2/metadata.json
+++ b/modules/tinyxml2/metadata.json
@@ -1,11 +1,17 @@
{
- "homepage": "https://github.com/leethomason/tinyxml2",
- "maintainers": [],
- "repository": [
- "github:leethomason/tinyxml2"
- ],
- "versions": [
- "9.0.0"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/leethomason/tinyxml2",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:leethomason/tinyxml2"
+ ],
+ "versions": [
+ "9.0.0",
+ "10.0.0"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/toolchain_utils/1.0.0-beta.1/MODULE.bazel b/modules/toolchain_utils/1.0.0-beta.1/MODULE.bazel
new file mode 100644
index 0000000..a8793ba
--- /dev/null
+++ b/modules/toolchain_utils/1.0.0-beta.1/MODULE.bazel
@@ -0,0 +1,23 @@
+module(
+ name = "toolchain_utils",
+ version = "1.0.0-beta.1",
+ bazel_compatibility = [
+ ">=7.0.0",
+ ],
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(name = "platforms", version = "0.0.7")
+
+triplet = use_repo_rule("//toolchain/local/triplet:defs.bzl", "toolchain_local_triplet")
+
+triplet(
+ name = "local",
+)
+
+launcher = use_repo_rule("//toolchain/launcher:repository.bzl", "launcher")
+
+launcher(
+ name = "launcher",
+)
diff --git a/modules/toolchain_utils/1.0.0-beta.1/presubmit.yml b/modules/toolchain_utils/1.0.0-beta.1/presubmit.yml
new file mode 100644
index 0000000..c0aeab4
--- /dev/null
+++ b/modules/toolchain_utils/1.0.0-beta.1/presubmit.yml
@@ -0,0 +1,17 @@
+bcr_test_module:
+ module_path: e2e
+ matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ # TODO: enable this once the `gitlab.arm.com` does not use a self-signed certificate
+ # - windows
+ tasks:
+ run_tests:
+ name: Run end-to-end Tests
+ bazel: 7.x
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/toolchain_utils/1.0.0-beta.1/source.json b/modules/toolchain_utils/1.0.0-beta.1/source.json
new file mode 100644
index 0000000..66ad126
--- /dev/null
+++ b/modules/toolchain_utils/1.0.0-beta.1/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://gitlab.arm.com/bazel/toolchain_utils/-/releases/v1.0.0-beta.1/downloads/src.tar.gz",
+ "integrity": "sha512-HLLFtjDIzM5Ir1n8Z/npX8Cpbah0K80n1SYmFASOIi5rjHm3AB4PfITmDLjhietfUhgYofq5EFR6uoigJ6gKCw==",
+ "strip_prefix": "toolchain_utils-v1.0.0-beta.1"
+}
diff --git a/modules/toolchain_utils/1.0.0-beta.2/MODULE.bazel b/modules/toolchain_utils/1.0.0-beta.2/MODULE.bazel
new file mode 100644
index 0000000..1ed3938
--- /dev/null
+++ b/modules/toolchain_utils/1.0.0-beta.2/MODULE.bazel
@@ -0,0 +1,23 @@
+module(
+ name = "toolchain_utils",
+ version = "1.0.0-beta.2",
+ bazel_compatibility = [
+ ">=7.0.0",
+ ],
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.4.2")
+bazel_dep(name = "platforms", version = "0.0.7")
+
+triplet = use_repo_rule("//toolchain/local/triplet:defs.bzl", "toolchain_local_triplet")
+
+triplet(
+ name = "local",
+)
+
+launcher = use_repo_rule("//toolchain/launcher:repository.bzl", "launcher")
+
+launcher(
+ name = "launcher",
+)
diff --git a/modules/toolchain_utils/1.0.0-beta.2/presubmit.yml b/modules/toolchain_utils/1.0.0-beta.2/presubmit.yml
new file mode 100644
index 0000000..a463696
--- /dev/null
+++ b/modules/toolchain_utils/1.0.0-beta.2/presubmit.yml
@@ -0,0 +1,24 @@
+bcr_test_module:
+ module_path: e2e
+ matrix:
+ bazel:
+ - 7.x
+ platform:
+ - centos7_java11_devtoolset10
+ - debian10
+ - debian11
+ - ubuntu2004
+ - ubuntu2004_arm64
+ - ubuntu2204
+ - fedora39
+ - macos
+ - macos_arm64
+ # TODO: enable this once the runner has had a certificate refresh
+ # - windows
+ tasks:
+ run_tests:
+ name: Run end-to-end Tests
+ bazel: ${{ bazel }}
+ platform: ${{ platform }}
+ test_targets:
+ - "//..."
diff --git a/modules/toolchain_utils/1.0.0-beta.2/source.json b/modules/toolchain_utils/1.0.0-beta.2/source.json
new file mode 100644
index 0000000..58daf42
--- /dev/null
+++ b/modules/toolchain_utils/1.0.0-beta.2/source.json
@@ -0,0 +1,5 @@
+{
+ "url": "https://gitlab.arm.com/bazel/toolchain_utils/-/releases/v1.0.0-beta.2/downloads/src.tar.gz",
+ "integrity": "sha512-wkkKQQHfgCio9vCNCViZ7PF78vRGAi434bXf19i3Xx8nR3eYuCtWlzsteP/g2aIyzhNH+FlhxDQZvCR7ajN7Fg==",
+ "strip_prefix": "toolchain_utils-v1.0.0-beta.2"
+}
diff --git a/modules/toolchain_utils/metadata.json b/modules/toolchain_utils/metadata.json
index cc33a88..16c54b0 100644
--- a/modules/toolchain_utils/metadata.json
+++ b/modules/toolchain_utils/metadata.json
@@ -1,9 +1,18 @@
{
- "homepage": "https://gitlab.arm.com/bazel/rules_toolchain",
- "repository": [
- "https://gitlab.arm.com/bazel/rules_toolchain"
- ],
- "versions":[
- "1.0.0-alpha.16"
- ]
+ "homepage": "https://gitlab.arm.com/bazel/toolchain_utils",
+ "repository": [
+ "https://gitlab.arm.com/bazel/toolchain_utils"
+ ],
+ "versions": [
+ "1.0.0-alpha.16",
+ "1.0.0-beta.1",
+ "1.0.0-beta.2"
+ ],
+ "maintainers": [
+ {
+ "email": "matthew.clarkson@arm.com",
+ "name": "Matt Clarkson",
+ "github": "mattyclarkson"
+ }
+ ]
}
diff --git a/modules/upb/metadata.json b/modules/upb/metadata.json
index 179d978..6625633 100644
--- a/modules/upb/metadata.json
+++ b/modules/upb/metadata.json
@@ -1,14 +1,19 @@
{
- "homepage": "https://github.com/protocolbuffers/upb",
- "maintainers": [],
- "repository": [
- "github:protocolbuffers/upb"
- ],
- "versions": [
- "0.0.0-20211020-160625a",
- "0.0.0-20220602-e5f2601",
- "0.0.0-20220923-a547704",
- "0.0.0-20230516-61a97ef"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/protocolbuffers/upb",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:protocolbuffers/upb"
+ ],
+ "versions": [
+ "0.0.0-20211020-160625a",
+ "0.0.0-20220602-e5f2601",
+ "0.0.0-20220923-a547704",
+ "0.0.0-20230516-61a97ef"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/websocketpp/0.8.2/MODULE.bazel b/modules/websocketpp/0.8.2/MODULE.bazel
new file mode 100644
index 0000000..75caa63
--- /dev/null
+++ b/modules/websocketpp/0.8.2/MODULE.bazel
@@ -0,0 +1,8 @@
+module(
+ name = "websocketpp",
+ version = "0.8.2",
+ compatibility_level = 1,
+)
+bazel_dep(name = "asio", version = "1.28.2")
+bazel_dep(name = "rules_cc", version = "0.0.9")
+bazel_dep(name = "zlib", version = "1.3")
diff --git a/modules/websocketpp/0.8.2/patches/add_build_file.patch b/modules/websocketpp/0.8.2/patches/add_build_file.patch
new file mode 100644
index 0000000..5703aa2
--- /dev/null
+++ b/modules/websocketpp/0.8.2/patches/add_build_file.patch
@@ -0,0 +1,23 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,20 @@
++load("@rules_cc//cc:defs.bzl", "cc_library")
++
++cc_library(
++ name = "websocketpp",
++ hdrs = glob(["websocketpp/**/*.hpp"]),
++ defines = [
++ "ASIO_STANDALONE",
++ "_WEBSOCKETPP_CPP11_STL_",
++ ],
++ includes = ["."],
++ linkopts = [
++ "-lpthread",
++ "-lrt",
++ ],
++ visibility = ["//visibility:public"],
++ deps = [
++ "@asio",
++ "@zlib",
++ ],
++)
diff --git a/modules/websocketpp/0.8.2/patches/module_dot_bazel.patch b/modules/websocketpp/0.8.2/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..df159ba
--- /dev/null
+++ b/modules/websocketpp/0.8.2/patches/module_dot_bazel.patch
@@ -0,0 +1,11 @@
+--- /dev/null
++++ MODULE.bazel
+@@ -0,0 +1,8 @@
++module(
++ name = "websocketpp",
++ version = "0.8.2",
++ compatibility_level = 1,
++)
++bazel_dep(name = "asio", version = "1.28.2")
++bazel_dep(name = "rules_cc", version = "0.0.9")
++bazel_dep(name = "zlib", version = "1.3")
diff --git a/modules/websocketpp/0.8.2/presubmit.yml b/modules/websocketpp/0.8.2/presubmit.yml
new file mode 100644
index 0000000..6bfae80
--- /dev/null
+++ b/modules/websocketpp/0.8.2/presubmit.yml
@@ -0,0 +1,14 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - "@websocketpp"
diff --git a/modules/websocketpp/0.8.2/source.json b/modules/websocketpp/0.8.2/source.json
new file mode 100644
index 0000000..5649507
--- /dev/null
+++ b/modules/websocketpp/0.8.2/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/zaphoyd/websocketpp/archive/refs/tags/0.8.2.tar.gz",
+ "integrity": "sha256-bOiJ2F7Nwtj6B0CNZ4fnNSUQdQ2qZrWtRKrLR76nZ1U=",
+ "strip_prefix": "websocketpp-0.8.2",
+ "patches": {
+ "add_build_file.patch": "sha256-KhVOfO47POB3xqoHdeOs+dYbn0dp0aAQddYt8ZWZqcI=",
+ "module_dot_bazel.patch": "sha256-Bq9+2iYvtN8TR5zGaKTIdS3vYsx/gEP0pM2xLWuMO2U="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/websocketpp/metadata.json b/modules/websocketpp/metadata.json
new file mode 100644
index 0000000..03f9286
--- /dev/null
+++ b/modules/websocketpp/metadata.json
@@ -0,0 +1,16 @@
+{
+ "homepage": "https://github.com/zaphoyd/websocketpp",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:zaphoyd/websocketpp"
+ ],
+ "versions": [
+ "0.8.2"
+ ],
+ "yanked_versions": {}
+}
diff --git a/modules/with_cfg.bzl/0.2.2/MODULE.bazel b/modules/with_cfg.bzl/0.2.2/MODULE.bazel
new file mode 100644
index 0000000..59ac8de
--- /dev/null
+++ b/modules/with_cfg.bzl/0.2.2/MODULE.bazel
@@ -0,0 +1,15 @@
+module(
+ name = "with_cfg.bzl",
+ version = "0.2.2",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.4.1")
+
+bazel_dep(name = "aspect_bazel_lib", version = "1.34.0", dev_dependency = True)
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
+bazel_dep(name = "buildifier_prebuilt", version = "6.1.0", dev_dependency = True)
+bazel_dep(name = "gazelle", version = "0.33.0", dev_dependency = True, repo_name = "bazel_gazelle")
+bazel_dep(name = "platforms", version = "0.0.6", dev_dependency = True)
+bazel_dep(name = "rules_testing", version = "0.4.0", dev_dependency = True)
+bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True)
diff --git a/modules/with_cfg.bzl/0.2.2/patches/module_dot_bazel_version.patch b/modules/with_cfg.bzl/0.2.2/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..5cfdf0a
--- /dev/null
+++ b/modules/with_cfg.bzl/0.2.2/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "with_cfg.bzl",
+- version = "0.0.0",
++ version = "0.2.2",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "bazel_skylib", version = "1.4.1")
diff --git a/modules/with_cfg.bzl/0.2.2/presubmit.yml b/modules/with_cfg.bzl/0.2.2/presubmit.yml
new file mode 100644
index 0000000..beb29df
--- /dev/null
+++ b/modules/with_cfg.bzl/0.2.2/presubmit.yml
@@ -0,0 +1,27 @@
+bcr_test_module:
+ module_path: "examples"
+ matrix:
+ platform: ["debian10", "macos", "ubuntu2004"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: 6.4.0rc3
+ test_targets:
+ - "//..."
+ run_windows_tests:
+ name: "Run test module"
+ platform: "windows"
+ bazel: 6.4.0rc3
+ build_targets:
+ - "//..."
+ test_targets:
+ - "//..."
+ # Running these tests on Windows requires non-standard Visual Studio
+ # components and tweaks to PATH.
+ - "-//cc_asan_test/..."
+ - "-//cc_asan_test_with_reset/..."
+ # Fails with:
+ # LAUNCHER ERROR: Cannot launch process: "C:/tools/msys64/usr/bin/bash.exe
+ # Reason: (error: 8): Not enough memory resources are available to process this command.
+ - "-//sh/..."
diff --git a/modules/with_cfg.bzl/0.2.2/source.json b/modules/with_cfg.bzl/0.2.2/source.json
new file mode 100644
index 0000000..343e079
--- /dev/null
+++ b/modules/with_cfg.bzl/0.2.2/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-RxI2zz4kuSAZXfV6lXm6E14tdzABzgNzrH9DTBgdRv4=",
+ "strip_prefix": "with_cfg.bzl-0.2.2",
+ "url": "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.2.2/with_cfg.bzl-v0.2.2.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-lvbx9WFZM5J2rSVahgV2Bzr8Yhn1p14ZdB7I3saMxfY="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/with_cfg.bzl/0.2.3/MODULE.bazel b/modules/with_cfg.bzl/0.2.3/MODULE.bazel
new file mode 100644
index 0000000..8329025
--- /dev/null
+++ b/modules/with_cfg.bzl/0.2.3/MODULE.bazel
@@ -0,0 +1,15 @@
+module(
+ name = "with_cfg.bzl",
+ version = "0.2.3",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "bazel_skylib", version = "1.4.1")
+
+bazel_dep(name = "aspect_bazel_lib", version = "1.34.0", dev_dependency = True)
+bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True)
+bazel_dep(name = "buildifier_prebuilt", version = "6.1.0", dev_dependency = True)
+bazel_dep(name = "gazelle", version = "0.33.0", dev_dependency = True, repo_name = "bazel_gazelle")
+bazel_dep(name = "platforms", version = "0.0.6", dev_dependency = True)
+bazel_dep(name = "rules_testing", version = "0.4.0", dev_dependency = True)
+bazel_dep(name = "stardoc", version = "0.6.2", dev_dependency = True)
diff --git a/modules/with_cfg.bzl/0.2.3/patches/module_dot_bazel_version.patch b/modules/with_cfg.bzl/0.2.3/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..d838a64
--- /dev/null
+++ b/modules/with_cfg.bzl/0.2.3/patches/module_dot_bazel_version.patch
@@ -0,0 +1,12 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,7 +1,7 @@
+ module(
+ name = "with_cfg.bzl",
+- version = "0.0.0",
++ version = "0.2.3",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "bazel_skylib", version = "1.4.1")
diff --git a/modules/with_cfg.bzl/0.2.3/presubmit.yml b/modules/with_cfg.bzl/0.2.3/presubmit.yml
new file mode 100644
index 0000000..1db2b63
--- /dev/null
+++ b/modules/with_cfg.bzl/0.2.3/presubmit.yml
@@ -0,0 +1,28 @@
+bcr_test_module:
+ module_path: "examples"
+ matrix:
+ platform: ["debian10", "macos", "ubuntu2004"]
+ bazel: ["6.x", "7.x"]
+ tasks:
+ run_tests:
+ name: "Run test module"
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "//..."
+ run_windows_tests:
+ name: "Run test module"
+ platform: "windows"
+ bazel: ${{ bazel }}
+ build_targets:
+ - "//..."
+ test_targets:
+ - "//..."
+ # Running these tests on Windows requires non-standard Visual Studio
+ # components and tweaks to PATH.
+ - "-//cc_asan_test/..."
+ - "-//cc_asan_test_with_reset/..."
+ # Fails with:
+ # LAUNCHER ERROR: Cannot launch process: "C:/tools/msys64/usr/bin/bash.exe
+ # Reason: (error: 8): Not enough memory resources are available to process this command.
+ - "-//sh/..."
diff --git a/modules/with_cfg.bzl/0.2.3/source.json b/modules/with_cfg.bzl/0.2.3/source.json
new file mode 100644
index 0000000..7cb1648
--- /dev/null
+++ b/modules/with_cfg.bzl/0.2.3/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-I2EmZInPAoBhuKFJXRseGkeGuOoABs8qc1mDfJP6vHo=",
+ "strip_prefix": "with_cfg.bzl-0.2.3",
+ "url": "https://github.com/fmeum/with_cfg.bzl/releases/download/v0.2.3/with_cfg.bzl-v0.2.3.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-XVJ9e3rLgO5VaZqEN48aigpbJJlrEJhy30sXhIx6/+Q="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/with_cfg.bzl/metadata.json b/modules/with_cfg.bzl/metadata.json
index 4d19e15..2c37a21 100644
--- a/modules/with_cfg.bzl/metadata.json
+++ b/modules/with_cfg.bzl/metadata.json
@@ -13,7 +13,9 @@
"versions": [
"0.1.0",
"0.2.0",
- "0.2.1"
+ "0.2.1",
+ "0.2.2",
+ "0.2.3"
],
"yanked_versions": {}
}
diff --git a/modules/yaml-cpp/metadata.json b/modules/yaml-cpp/metadata.json
index 961c265..73ca270 100644
--- a/modules/yaml-cpp/metadata.json
+++ b/modules/yaml-cpp/metadata.json
@@ -1,11 +1,16 @@
{
- "homepage": "https://github.com/jbeder/yaml-cpp",
- "maintainers": [],
- "repository": [
- "github:stonier/yaml-cpp"
- ],
- "versions": [
- "0.8.0"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/jbeder/yaml-cpp",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:stonier/yaml-cpp"
+ ],
+ "versions": [
+ "0.8.0"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/zlib/1.3.1/MODULE.bazel b/modules/zlib/1.3.1/MODULE.bazel
new file mode 100644
index 0000000..a737986
--- /dev/null
+++ b/modules/zlib/1.3.1/MODULE.bazel
@@ -0,0 +1,8 @@
+module(
+ name = "zlib",
+ version = "1.3.1",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "platforms", version = "0.0.7")
+bazel_dep(name = "rules_cc", version = "0.0.8")
diff --git a/modules/zlib/1.3.1/patches/add_build_file.patch b/modules/zlib/1.3.1/patches/add_build_file.patch
new file mode 100644
index 0000000..e7be653
--- /dev/null
+++ b/modules/zlib/1.3.1/patches/add_build_file.patch
@@ -0,0 +1,108 @@
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,105 @@
++# Copied from https://github.com/protocolbuffers/protobuf/blob/master/third_party/zlib.BUILD
++
++# Copyright 2008 Google Inc. All rights reserved.
++#
++# Redistribution and use in source and binary forms, with or without
++# modification, are permitted provided that the following conditions are
++# met:
++#
++# * Redistributions of source code must retain the above copyright
++# notice, this list of conditions and the following disclaimer.
++# * Redistributions in binary form must reproduce the above
++# copyright notice, this list of conditions and the following disclaimer
++# in the documentation and/or other materials provided with the
++# distribution.
++# * Neither the name of Google Inc. nor the names of its
++# contributors may be used to endorse or promote products derived from
++# this software without specific prior written permission.
++#
++# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
++# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
++# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
++# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
++# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
++# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
++# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
++# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
++# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
++#
++# Code generated by the Protocol Buffer compiler is owned by the owner
++# of the input file used when generating it. This code is not
++# standalone and requires a support library to be linked with it. This
++# support library is itself covered by the above license.
++
++load("@rules_cc//cc:defs.bzl", "cc_library")
++
++licenses(["notice"]) # BSD/MIT-like license (for zlib)
++
++#exports_files(["zlib.BUILD"]) # uncommented - not needed/working here
++
++_ZLIB_HEADERS = [
++ "crc32.h",
++ "deflate.h",
++ "gzguts.h",
++ "inffast.h",
++ "inffixed.h",
++ "inflate.h",
++ "inftrees.h",
++ "trees.h",
++ "zconf.h",
++ "zlib.h",
++ "zutil.h",
++]
++
++_ZLIB_PREFIXED_HEADERS = ["zlib/include/" + hdr for hdr in _ZLIB_HEADERS]
++
++# In order to limit the damage from the `includes` propagation
++# via `:zlib`, copy the public headers to a subdirectory and
++# expose those.
++genrule(
++ name = "copy_public_headers",
++ srcs = _ZLIB_HEADERS,
++ outs = _ZLIB_PREFIXED_HEADERS,
++ cmd_bash = "cp $(SRCS) $(@D)/zlib/include/",
++ cmd_bat = " && ".join(
++ ["@copy /Y $(location %s) $(@D)\\zlib\\include\\ >NUL" %
++ s for s in _ZLIB_HEADERS],
++ ),
++)
++
++cc_library(
++ name = "zlib",
++ srcs = [
++ "adler32.c",
++ "compress.c",
++ "crc32.c",
++ "deflate.c",
++ "gzclose.c",
++ "gzlib.c",
++ "gzread.c",
++ "gzwrite.c",
++ "infback.c",
++ "inffast.c",
++ "inflate.c",
++ "inftrees.c",
++ "trees.c",
++ "uncompr.c",
++ "zutil.c",
++ # Include the un-prefixed headers in srcs to work
++ # around the fact that zlib isn't consistent in its
++ # choice of <> or "" delimiter when including itself.
++ ] + _ZLIB_HEADERS,
++ hdrs = _ZLIB_PREFIXED_HEADERS,
++ copts = select({
++ "@platforms//os:windows": [],
++ "//conditions:default": [
++ "-Wno-deprecated-non-prototype",
++ "-Wno-unused-variable",
++ "-Wno-implicit-function-declaration",
++ ],
++ }),
++ includes = ["zlib/include/"],
++ visibility = ["//visibility:public"],
++)
diff --git a/modules/zlib/1.3.1/patches/module_dot_bazel.patch b/modules/zlib/1.3.1/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..d7ead33
--- /dev/null
+++ b/modules/zlib/1.3.1/patches/module_dot_bazel.patch
@@ -0,0 +1,11 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -0,0 +1,8 @@
++module(
++ name = "zlib",
++ version = "1.3.1",
++ compatibility_level = 1,
++)
++
++bazel_dep(name = "platforms", version = "0.0.7")
++bazel_dep(name = "rules_cc", version = "0.0.8")
diff --git a/modules/zlib/1.3.1/presubmit.yml b/modules/zlib/1.3.1/presubmit.yml
new file mode 100644
index 0000000..c4a0c3c
--- /dev/null
+++ b/modules/zlib/1.3.1/presubmit.yml
@@ -0,0 +1,15 @@
+matrix:
+ platform:
+ - centos7
+ - debian10
+ - ubuntu2004
+ - macos
+ - windows
+ bazel: [6.x, 7.x]
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - '@zlib//:zlib'
diff --git a/modules/zlib/1.3.1/source.json b/modules/zlib/1.3.1/source.json
new file mode 100644
index 0000000..3399441
--- /dev/null
+++ b/modules/zlib/1.3.1/source.json
@@ -0,0 +1,10 @@
+{
+ "integrity": "sha256-mpOyt9/ax3zrpaVYpYDnRmfdb+3kWFuR7vtg8Dty3yM=",
+ "patch_strip": 0,
+ "patches": {
+ "add_build_file.patch": "sha256-Ei+FYaaOo7A3jTKunMEodTI0Uw5NXQyZEcboMC8JskY=",
+ "module_dot_bazel.patch": "sha256-IFCFES6KY2jaryT+Kq2NemDn7hgdZYH0kZC1esA4cyE="
+ },
+ "strip_prefix": "zlib-1.3.1",
+ "url": "https://github.com/madler/zlib/releases/download/v1.3.1/zlib-1.3.1.tar.gz"
+}
diff --git a/modules/zlib/metadata.json b/modules/zlib/metadata.json
index 2a85370..afd3f30 100644
--- a/modules/zlib/metadata.json
+++ b/modules/zlib/metadata.json
@@ -14,7 +14,8 @@
"1.2.12",
"1.2.13",
"1.2.13.bcr.1",
- "1.3"
+ "1.3",
+ "1.3.1"
],
"yanked_versions": {
"1.2.11": "CVE-2018-25032 (https://github.com/advisories/GHSA-jc36-42cf-vqwj)",
diff --git a/modules/zstd-jni/metadata.json b/modules/zstd-jni/metadata.json
index 4b2bf87..10c7c54 100644
--- a/modules/zstd-jni/metadata.json
+++ b/modules/zstd-jni/metadata.json
@@ -1,13 +1,18 @@
{
- "homepage": "https://github.com/luben/zstd-jni",
- "maintainers": [],
- "repository": [
- "github:luben/zstd-jni"
- ],
- "versions": [
- "1.5.0-4",
- "1.5.2-3",
- "1.5.2-3.bcr.1"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/luben/zstd-jni",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:luben/zstd-jni"
+ ],
+ "versions": [
+ "1.5.0-4",
+ "1.5.2-3",
+ "1.5.2-3.bcr.1"
+ ],
+ "yanked_versions": {}
}
diff --git a/modules/zstd/1.5.5.bcr.1/MODULE.bazel b/modules/zstd/1.5.5.bcr.1/MODULE.bazel
new file mode 100644
index 0000000..4fc9566
--- /dev/null
+++ b/modules/zstd/1.5.5.bcr.1/MODULE.bazel
@@ -0,0 +1,7 @@
+module(
+ name = "zstd",
+ version = "1.5.5.bcr.1",
+ compatibility_level = 1,
+)
+bazel_dep(name = "rules_cc", version = "0.0.9")
+bazel_dep(name = "platforms", version = "0.0.8") \ No newline at end of file
diff --git a/modules/zstd/1.5.5.bcr.1/patches/add_build_file.patch b/modules/zstd/1.5.5.bcr.1/patches/add_build_file.patch
new file mode 100644
index 0000000..d014d34
--- /dev/null
+++ b/modules/zstd/1.5.5.bcr.1/patches/add_build_file.patch
@@ -0,0 +1,133 @@
+diff --git BUILD.bazel BUILD.bazel
+new file mode 100644
+index 00000000..7fca1671
+--- /dev/null
++++ BUILD.bazel
+@@ -0,0 +1,127 @@
++""" Builds zstd.
++"""
++
++load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test")
++
++package(default_visibility = ["//visibility:public"])
++
++filegroup(
++ name = "common_sources",
++ srcs = glob([
++ "lib/common/*.c",
++ "lib/common/*.h",
++ ]),
++)
++
++filegroup(
++ name = "compress_sources",
++ srcs = glob([
++ "lib/compress/*.c",
++ "lib/compress/*.h",
++ ]),
++)
++
++filegroup(
++ name = "decompress_sources",
++ srcs = glob([
++ "lib/decompress/*.c",
++ "lib/decompress/*.h",
++ ]) + select({
++ "@platforms//os:windows": [],
++ "//conditions:default": glob(["lib/decompress/*.S"]),
++ }),
++)
++
++filegroup(
++ name = "dictbuilder_sources",
++ srcs = glob([
++ "lib/dictBuilder/*.c",
++ "lib/dictBuilder/*.h",
++ ]),
++)
++
++cc_library(
++ name = "zstd",
++ srcs = [
++ ":common_sources",
++ ":compress_sources",
++ ":decompress_sources",
++ ":dictbuilder_sources",
++ ],
++ hdrs = [
++ "lib/zdict.h",
++ "lib/zstd.h",
++ "lib/zstd_errors.h",
++ ],
++ includes = ["lib"],
++ linkopts = ["-pthread"],
++ linkstatic = True,
++ local_defines = [
++ "XXH_NAMESPACE=ZSTD_",
++ "ZSTD_MULTITHREAD",
++ "ZSTD_BUILD_SHARED=OFF",
++ "ZSTD_BUILD_STATIC=ON",
++ ] + select({
++ "@platforms//os:windows": ["ZSTD_DISABLE_ASM"],
++ "//conditions:default": [],
++ }),
++)
++
++cc_library(
++ name = "util",
++ srcs = [
++ "programs/platform.h",
++ "programs/util.c",
++ ],
++ hdrs = [
++ "lib/common/compiler.h",
++ "lib/common/debug.h",
++ "lib/common/mem.h",
++ "lib/common/portability_macros.h",
++ "lib/common/zstd_deps.h",
++ "programs/util.h",
++ ],
++)
++
++cc_library(
++ name = "datagen",
++ srcs = [
++ "programs/datagen.c",
++ "programs/platform.h",
++ ],
++ hdrs = ["programs/datagen.h"],
++ deps = [":util"],
++)
++
++cc_binary(
++ name = "datagen_cli",
++ srcs = ["tests/datagencli.c"],
++ includes = ["programs"],
++ deps = [":datagen"],
++)
++
++cc_test(
++ name = "fullbench",
++ srcs = [
++ "lib/decompress/zstd_decompress_internal.h",
++ "programs/benchfn.c",
++ "programs/benchfn.h",
++ "programs/benchzstd.c",
++ "programs/benchzstd.h",
++ "programs/timefn.c",
++ "programs/timefn.h",
++ "tests/fullbench.c",
++ ],
++ copts = select({
++ "@platforms//os:windows": [],
++ "//conditions:default": ["-Wno-deprecated-declarations"],
++ }),
++ includes = [
++ "lib/common",
++ "programs",
++ ],
++ deps = [
++ ":datagen",
++ ":zstd",
++ ],
++)
diff --git a/modules/zstd/1.5.5.bcr.1/patches/module_dot_bazel.patch b/modules/zstd/1.5.5.bcr.1/patches/module_dot_bazel.patch
new file mode 100644
index 0000000..2220a45
--- /dev/null
+++ b/modules/zstd/1.5.5.bcr.1/patches/module_dot_bazel.patch
@@ -0,0 +1,10 @@
+--- MODULE.bazel
++++ MODULE.bazel
+@@ -0,0 +1,7 @@
++module(
++ name = "zstd",
++ version = "1.5.5.bcr.1",
++ compatibility_level = 1,
++)
++bazel_dep(name = "rules_cc", version = "0.0.9")
++bazel_dep(name = "platforms", version = "0.0.8")
diff --git a/modules/zstd/1.5.5.bcr.1/presubmit.yml b/modules/zstd/1.5.5.bcr.1/presubmit.yml
new file mode 100644
index 0000000..2c897bd
--- /dev/null
+++ b/modules/zstd/1.5.5.bcr.1/presubmit.yml
@@ -0,0 +1,15 @@
+matrix:
+ platform:
+ - debian10
+ - ubuntu2004
+ - macos
+ - macos_arm64
+ - windows
+ bazel: [6.x, 7.x]
+tasks:
+ run_tests:
+ name: Run tests
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ test_targets:
+ - "@zstd//:fullbench"
diff --git a/modules/zstd/1.5.5.bcr.1/source.json b/modules/zstd/1.5.5.bcr.1/source.json
new file mode 100644
index 0000000..88a3f18
--- /dev/null
+++ b/modules/zstd/1.5.5.bcr.1/source.json
@@ -0,0 +1,10 @@
+{
+ "url": "https://github.com/facebook/zstd/releases/download/v1.5.5/zstd-1.5.5.tar.gz",
+ "integrity": "sha256-nEOWzIKc+uMZpuJhUgLoKq1BNyBzSC/OKG+seGRtPuQ=",
+ "strip_prefix": "zstd-1.5.5",
+ "patches": {
+ "add_build_file.patch": "sha256-Zm8MvkcOsOdnhFmH7jl1iFKx0RX6LouL5SEP5ddmliU=",
+ "module_dot_bazel.patch": "sha256-+cgXnYCj1fFgNLlMN4v6g6iJ+AYFabXcuL+nIpmtYHs="
+ },
+ "patch_strip": 0
+}
diff --git a/modules/zstd/metadata.json b/modules/zstd/metadata.json
index 1a5333b..101078d 100644
--- a/modules/zstd/metadata.json
+++ b/modules/zstd/metadata.json
@@ -1,11 +1,17 @@
{
- "homepage": "https://github.com/facebook/zstd",
- "maintainers": [],
- "repository": [
- "github:facebook/zstd"
- ],
- "versions": [
- "1.5.5"
- ],
- "yanked_versions": {}
+ "homepage": "https://github.com/facebook/zstd",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:facebook/zstd"
+ ],
+ "versions": [
+ "1.5.5",
+ "1.5.5.bcr.1"
+ ],
+ "yanked_versions": {}
}
diff --git a/tools/BUILD b/tools/BUILD
index fcfb746..957f2be 100644
--- a/tools/BUILD
+++ b/tools/BUILD
@@ -1,7 +1,7 @@
-load("@rules_python//python:defs.bzl", "py_binary", "py_library")
-load("@python_versions//3.11:defs.bzl", compile_pip_requirements_3_11 = "compile_pip_requirements")
-load("@pip//:requirements.bzl", "requirement")
load("@npm//:defs.bzl", "npm_link_all_packages")
+load("@pip//:requirements.bzl", "requirement")
+load("@python_versions//3.11:defs.bzl", compile_pip_requirements_3_11 = "compile_pip_requirements")
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
npm_link_all_packages(name = "node_modules")
@@ -68,6 +68,21 @@ py_library(
],
)
+py_binary(
+ name = "update_integrity",
+ srcs = ["update_integrity.py"],
+ deps = [
+ ":registry",
+ requirement("click"),
+ ],
+)
+
+sh_test(
+ name = "update_integrity_test",
+ srcs = ["update_integrity_test.sh"],
+ data = [":update_integrity"],
+)
+
py_test(
name = "version_test",
srcs = [
diff --git a/tools/add_module.py b/tools/add_module.py
index 37359a9..82bce2f 100644
--- a/tools/add_module.py
+++ b/tools/add_module.py
@@ -112,7 +112,7 @@ def from_user_input():
name, version = dep.split("@")
module.add_dep(name, version)
- presubmit_url = "https://github.com/bazelbuild/bazel-central-registry/tree/main#presubmityml"
+ presubmit_url = "https://github.com/bazelbuild/bazel-central-registry/tree/main/docs#presubmit"
if yes_or_no(f"Do you want to specify an existing presubmit.yml file? (See {presubmit_url})", False):
path = ask_input("Please enter the presubmit.yml file path: ").strip()
module.set_presubmit_yml(path)
@@ -152,7 +152,7 @@ def from_user_input():
def get_maintainers_from_input():
maintainers = []
prefix = "a"
- explain = " (See https://github.com/bazelbuild/bazel-central-registry/tree/main#module-maintainer)"
+ explain = " (See https://github.com/bazelbuild/bazel-central-registry/tree/main/docs/bcr-policies.md#become-a-module-maintainer)"
while yes_or_no(f"Do you want to add {prefix} maintainer for this module?{explain}", False):
maintainer = {}
name = ask_input("Please enter maintainer name: ")
diff --git a/tools/bcr_validation.py b/tools/bcr_validation.py
index 99d9030..142f2fc 100644
--- a/tools/bcr_validation.py
+++ b/tools/bcr_validation.py
@@ -35,6 +35,7 @@ import shutil
import sys
import tempfile
import os
+import yaml
from enum import Enum
from difflib import unified_diff
@@ -90,7 +91,7 @@ def parse_module_versions(registry, check_all, inputs):
def apply_patch(work_dir, patch_strip, patch_file):
# Requires patch to be installed
subprocess.run(
- ["patch", "-p%d" % patch_strip, "-l", "-i", patch_file], shell=False, check=True, env=os.environ, cwd=work_dir
+ ["patch", "-p%d" % patch_strip, "-f", "-l", "-i", patch_file], shell=False, check=True, env=os.environ, cwd=work_dir
)
def fix_line_endings(lines):
@@ -248,6 +249,22 @@ class BcrValidator:
shutil.rmtree(tmp_dir)
+ def check_if_bazel_version_is_set(self, tasks):
+ for task_name, task_config in tasks.items():
+ if "bazel" not in task_config:
+ self.report(BcrValidationResult.FAILED, "Missing bazel version for task '%s' in the presubmit.yml file." % task_name)
+
+ def validate_presubmit_yml(self, module_name, version):
+ presubmit_yml = self.registry.get_presubmit_yml_path(module_name, version)
+ presubmit = yaml.safe_load(open(presubmit_yml, "r"))
+ report_num_old = len(self.validation_results)
+ self.check_if_bazel_version_is_set(presubmit.get("tasks", {}))
+ if "bcr_test_module" in presubmit:
+ self.check_if_bazel_version_is_set(presubmit["bcr_test_module"].get("tasks", {}))
+ report_num_new = len(self.validation_results)
+ if report_num_new == report_num_old:
+ self.report(BcrValidationResult.GOOD, "The presubmit.yml file is valid.")
+
def validate_module(self, module_name, version, skipped_validations):
print_expanded_group(f"Validating {module_name}@{version}")
self.verify_module_existence(module_name, version)
@@ -258,6 +275,7 @@ class BcrValidator:
self.verify_source_archive_url_integrity(module_name, version)
if "presubmit_yml" not in skipped_validations:
self.verify_presubmit_yml_change(module_name, version)
+ self.validate_presubmit_yml(module_name, version)
self.verify_module_dot_bazel(module_name, version)
def validate_all_metadata(self):
@@ -270,6 +288,12 @@ class BcrValidator:
self.report(BcrValidationResult.FAILED, f"Failed to load {module_name}'s metadata.json file: " + str(e))
has_error = True
continue
+
+ sorted_versions = sorted(metadata["versions"], key=Version)
+ if sorted_versions != metadata["versions"]:
+ self.report(BcrValidationResult.FAILED, f"{module_name}'s metadata.json file is not sorted by version.\n Sorted versions: {sorted_versions}.\n Original versions: {metadata['versions']}")
+ has_error = True
+
for version in metadata["versions"]:
if not self.registry.contains(module_name, version):
self.report(BcrValidationResult.FAILED, f"{module_name}@{version} doesn't exist, but it's recorded in {module_name}'s metadata.json file.")
diff --git a/tools/print_all_src_urls.py b/tools/print_all_src_urls.py
index 6fc2793..4ca4103 100644
--- a/tools/print_all_src_urls.py
+++ b/tools/print_all_src_urls.py
@@ -24,7 +24,7 @@ from registry import RegistryClient
def main():
client = RegistryClient(".")
- for name, version in client.get_all_module_versions():
+ for name, version in client.get_all_module_versions(include_yanked=False):
print(client.get_source(name, version)["url"])
if __name__ == "__main__":
diff --git a/tools/registry.py b/tools/registry.py
index ad55da6..2998407 100644
--- a/tools/registry.py
+++ b/tools/registry.py
@@ -223,23 +223,25 @@ module(
modules_dir = self.root.joinpath("modules")
return [path.name for path in modules_dir.iterdir()]
- def get_module_versions(self, module_name):
+ def get_module_versions(self, module_name, include_yanked=True):
module_versions = []
metadata = self.get_metadata(module_name)
for version in metadata["versions"]:
- module_versions.append((module_name, version))
+ if include_yanked or version not in metadata.get("yanked_versions", {}):
+ module_versions.append((module_name, version))
return module_versions
- def get_all_module_versions(self):
+ def get_all_module_versions(self, include_yanked=True):
module_versions = []
for module_name in self.get_all_modules():
- module_versions.extend(self.get_module_versions(module_name))
+ module_versions.extend(self.get_module_versions(module_name, include_yanked))
return module_versions
def get_metadata(self, module_name):
- metadata_path = self.root.joinpath("modules", module_name,
- "metadata.json")
- return json.load(metadata_path.open())
+ return json.loads(self.get_metadata_path(module_name).read_text())
+
+ def get_metadata_path(self, module_name):
+ return self.root / "modules" / module_name / "metadata.json"
def get_source(self, module_name, version):
source_path = self.root.joinpath("modules", module_name, version,
@@ -385,14 +387,17 @@ module(
shutil.copy(module.presubmit_yml, presubmit_yml)
else:
PLATFORMS = ["debian10", "ubuntu2004", "macos", "macos_arm64", "windows"]
+ BAZEL_VERSIONS = ["7.x", "6.x"]
presubmit = {
"matrix": {
"platform": PLATFORMS.copy(),
+ "bazel": BAZEL_VERSIONS.copy(),
},
"tasks": {
"verify_targets": {
"name": "Verify build targets",
"platform": "${{ platform }}",
+ "bazel": "${{ bazel }}",
"build_targets": module.build_targets.copy()
}
}
@@ -402,6 +407,7 @@ module(
task = {
"name": "Run test module",
"platform": "${{ platform }}",
+ "bazel": "${{ bazel }}",
}
if module.test_module_build_targets:
task["build_targets"] = module.test_module_build_targets.copy()
@@ -411,6 +417,7 @@ module(
"module_path": module.test_module_path,
"matrix": {
"platform": PLATFORMS.copy(),
+ "bazel": BAZEL_VERSIONS.copy(),
},
"tasks": {
"run_test_module": task
@@ -429,6 +436,29 @@ module(
metadata["versions"].sort(key=Version)
json_dump(metadata_path, metadata)
+ def update_versions(self, module_name):
+ """Update the list of versions in the metadata.json."""
+ module_path = self.root / "modules" / module_name
+ versions = (v.name for v in module_path.iterdir() if v.is_dir())
+ metadata = self.get_metadata(module_name)
+ metadata["versions"] = sorted(versions, key=Version)
+ metadata_path = self.get_metadata_path(module_name)
+ json_dump(metadata_path, metadata)
+
+ def update_integrity(self, module_name, version):
+ """Update the SRI hashes of the source.json file of module at version."""
+ source = self.get_source(module_name, version)
+ source["integrity"] = integrity(download(source["url"]))
+ source_path = self.get_source_path(module_name, version)
+ patch_dir = source_path.parent / "patches"
+ available = sorted(p.name for p in patch_dir.iterdir())
+ current = source.get("patches", {}).keys()
+ patch_files = [patch_dir / p for p in current if p in available]
+ patch_files.extend(patch_dir / p for p in available if p not in current)
+ patches = {patch.name: integrity(read(patch)) for patch in patch_files}
+ source["patches"] = patches
+ json_dump(source_path, source, sort_keys=False)
+
def delete(self, module_name, version):
"""Delete an existing module version."""
p = self.root.joinpath("modules", module_name)
diff --git a/tools/requirements.in b/tools/requirements.in
index d18ad79..d76ead4 100644
--- a/tools/requirements.in
+++ b/tools/requirements.in
@@ -1,2 +1,3 @@
pyyaml
validators
+click
diff --git a/tools/requirements_lock.txt b/tools/requirements_lock.txt
index 407a48c..da0c998 100644
--- a/tools/requirements_lock.txt
+++ b/tools/requirements_lock.txt
@@ -4,6 +4,10 @@
#
# bazel run //tools:requirements.update
#
+click==8.1.7 \
+ --hash=sha256:ae74fb96c20a0277a1d615f1e4d73c8414f5a98db8b799a7931d1582f3390c28 \
+ --hash=sha256:ca9853ad459e787e2192211578cc907e7594e294c7ccc834310722b41b9ca6de
+ # via -r tools/requirements.in
decorator==5.1.1 \
--hash=sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330 \
--hash=sha256:b8c3f85900b9dc423225913c5aace94729fe1fa9763b38939a95226f02d37186
diff --git a/tools/update_integrity.py b/tools/update_integrity.py
new file mode 100644
index 0000000..62044bb
--- /dev/null
+++ b/tools/update_integrity.py
@@ -0,0 +1,35 @@
+import os
+
+import click
+from registry import RegistryClient
+
+
+@click.command()
+@click.argument("module")
+@click.option("--version")
+@click.option("--registry", default=".")
+def update_integrity(module, version, registry):
+ """Update the SRI hashes in source.json of MODULE."""
+ client = RegistryClient(registry)
+ if not client.contains(module):
+ raise click.BadParameter(
+ f"{module=} not found in {registry=}. "
+ f"Possible modules: {', '.join(client.get_all_modules())}"
+ )
+ client.update_versions(module)
+ versions = [ver for _, ver in client.get_module_versions(module)]
+ version = version or versions[-1]
+ if not client.contains(module, version):
+ raise click.BadParameter(
+ f"{version=} not found for {module=}. "
+ f"Possible versions: {', '.join(versions)}"
+ )
+ click.echo(f"Updating integrity of {module=} {version=} in {registry=}")
+ client.update_integrity(module, version)
+
+
+if __name__ == "__main__":
+ # Under 'bazel run' we want to run within the source folder instead of the execroot.
+ if os.getenv("BUILD_WORKSPACE_DIRECTORY"):
+ os.chdir(os.getenv("BUILD_WORKSPACE_DIRECTORY"))
+ update_integrity()
diff --git a/tools/update_integrity_test.sh b/tools/update_integrity_test.sh
new file mode 100755
index 0000000..948c4aa
--- /dev/null
+++ b/tools/update_integrity_test.sh
@@ -0,0 +1,64 @@
+#!/bin/bash
+
+set -euo pipefail
+
+# Set up a registry that needs some update_integrity treatment
+foomod="${TEST_TMPDIR}/registry/modules/foomod"
+mkdir -p "${foomod}/1.2.3/patches"
+cat <<"EOF" >"${foomod}/metadata.json"
+{
+ "homepage": "https://example.com/",
+ "maintainers": [{"email": "bcr-maintainers@bazel.build", "name": "No Maintainer Specified"}],
+ "repository": ["github:luben/zstd-jni"],
+ "versions": [],
+ "yanked_versions": {}
+}
+EOF
+echo 'module(name = "foomod", version = "1.2.3")' >"${foomod}/1.2.3/MODULE.bazel"
+echo old >"${foomod}/1.2.3/patches/preexisting-1.patch"
+echo old >"${foomod}/1.2.3/patches/preexisting-2.patch"
+echo new >"${foomod}/1.2.3/patches/a-newly-added.patch"
+cat <<"EOF" >"${foomod}/1.2.3/source.json"
+{
+ "url": "file:///dev/null",
+ "integrity": "not-a-real-integrity-hash",
+ "strip_prefix": "foomod-1.2.3",
+ "patches": {
+ "preexisting-1.patch": "sha256-AdCdGcITmkauv7V3eA0SPXOW6XIBvH6tIQouv/gjne4=",
+ "preexisting-2.patch": "sha256-AdCdGcITmkauv7V3eA0SPXOW6XIBvH6tIQouv/gjne4="
+ },
+ "patch_strip": 1
+}
+EOF
+
+# Run the update_integrity tool
+tools/update_integrity --registry="${TEST_TMPDIR}/registry" foomod
+
+# Check that the tool did the right thing
+diff -u - "${foomod}/1.2.3/source.json" <<<'{
+ "url": "file:///dev/null",
+ "integrity": "sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=",
+ "strip_prefix": "foomod-1.2.3",
+ "patches": {
+ "preexisting-1.patch": "sha256-AdCdGcITmkauv7V3eA0SPXOW6XIBvH6tIQouv/gjne4=",
+ "preexisting-2.patch": "sha256-AdCdGcITmkauv7V3eA0SPXOW6XIBvH6tIQouv/gjne4=",
+ "a-newly-added.patch": "sha256-eqelNZFz0Ftjz9aC48OEh/PLT38dYGWf5Z+rFQWXfUw="
+ },
+ "patch_strip": 1
+}'
+diff -u - "${foomod}/metadata.json" <<<'{
+ "homepage": "https://example.com/",
+ "maintainers": [
+ {
+ "email": "bcr-maintainers@bazel.build",
+ "name": "No Maintainer Specified"
+ }
+ ],
+ "repository": [
+ "github:luben/zstd-jni"
+ ],
+ "versions": [
+ "1.2.3"
+ ],
+ "yanked_versions": {}
+}'