From 8b3c48a0af493b6e6d799395340843d2ed6d741a Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Thu, 14 Sep 2023 19:05:49 +0200 Subject: [PATCH 1/8] rules_java@6.3.1 (#924) * Publish bazelbuild/rules_java@6.3.1 * Sort versions in metadata.json --------- Co-authored-by: null Co-authored-by: keertk --- modules/rules_java/6.3.1/MODULE.bazel | 75 ++++++++++++++++++++++++++ modules/rules_java/6.3.1/presubmit.yml | 8 +++ modules/rules_java/6.3.1/source.json | 5 ++ modules/rules_java/metadata.json | 1 + 4 files changed, 89 insertions(+) create mode 100644 modules/rules_java/6.3.1/MODULE.bazel create mode 100644 modules/rules_java/6.3.1/presubmit.yml create mode 100644 modules/rules_java/6.3.1/source.json diff --git a/modules/rules_java/6.3.1/MODULE.bazel b/modules/rules_java/6.3.1/MODULE.bazel new file mode 100644 index 00000000000..0c46129cc59 --- /dev/null +++ b/modules/rules_java/6.3.1/MODULE.bazel @@ -0,0 +1,75 @@ +module( + name = "rules_java", + version = "6.3.1", + 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") + +# 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_jdk20_repos() + "20": [ + "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//:toolchain") for name in REMOTE_JDK_REPOS] + +# Dev dependencies +bazel_dep(name = "rules_pkg", version = "0.5.1", dev_dependency = True) diff --git a/modules/rules_java/6.3.1/presubmit.yml b/modules/rules_java/6.3.1/presubmit.yml new file mode 100644 index 00000000000..52f713e6220 --- /dev/null +++ b/modules/rules_java/6.3.1/presubmit.yml @@ -0,0 +1,8 @@ +matrix: + platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"] +tasks: + verify_build_targets: + name: "Verify build targets" + platform: ${{ platform }} + build_targets: + - "@rules_java//java/..." diff --git a/modules/rules_java/6.3.1/source.json b/modules/rules_java/6.3.1/source.json new file mode 100644 index 00000000000..8486b11017c --- /dev/null +++ b/modules/rules_java/6.3.1/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-EXoSJ82vgTogobunip8tj7MIQQAMM+Ly0qZAvSJMkoI=", + "strip_prefix": "", + "url": "https://github.com/bazelbuild/rules_java/releases/download/6.3.1/rules_java-6.3.1.tar.gz" +} diff --git a/modules/rules_java/metadata.json b/modules/rules_java/metadata.json index ee8bf137874..0564fc732c6 100644 --- a/modules/rules_java/metadata.json +++ b/modules/rules_java/metadata.json @@ -14,6 +14,7 @@ "6.1.1", "6.2.2", "6.3.0", + "6.3.1", "6.4.0", "6.5.0", "6.5.1" From 7da0de6086cb443079ae601e68e3036dcb45d7b5 Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Fri, 15 Sep 2023 00:15:13 +0200 Subject: [PATCH 2/8] Publish bazel-contrib/rules_oci@v1.3.3 (#925) Co-authored-by: Sahin Yort --- modules/rules_oci/1.3.3/MODULE.bazel | 21 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 15 +++++++++++++ modules/rules_oci/1.3.3/presubmit.yml | 14 +++++++++++++ modules/rules_oci/1.3.3/source.json | 9 ++++++++ modules/rules_oci/metadata.json | 3 ++- 5 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 modules/rules_oci/1.3.3/MODULE.bazel create mode 100644 modules/rules_oci/1.3.3/patches/module_dot_bazel_version.patch create mode 100644 modules/rules_oci/1.3.3/presubmit.yml create mode 100644 modules/rules_oci/1.3.3/source.json diff --git a/modules/rules_oci/1.3.3/MODULE.bazel b/modules/rules_oci/1.3.3/MODULE.bazel new file mode 100644 index 00000000000..3e75ee71fd1 --- /dev/null +++ b/modules/rules_oci/1.3.3/MODULE.bazel @@ -0,0 +1,21 @@ +"bazel-contrib/rules_oci" + +module( + name = "rules_oci", + compatibility_level = 1, + version = "1.3.3", +) + +bazel_dep(name = "aspect_bazel_lib", version = "1.30.2") +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.14.0") +use_repo(oci, "oci_crane_toolchains", "oci_crane_registry_toolchains", "oci_auth_config") + +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", repo_name = "bazel_gazelle", dev_dependency = True) +bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.4.1", dev_dependency = True) diff --git a/modules/rules_oci/1.3.3/patches/module_dot_bazel_version.patch b/modules/rules_oci/1.3.3/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..a091c6f8946 --- /dev/null +++ b/modules/rules_oci/1.3.3/patches/module_dot_bazel_version.patch @@ -0,0 +1,15 @@ +Index: MODULE.bazel +=================================================================== +--- MODULE.bazel ++++ MODULE.bazel +@@ -2,9 +2,9 @@ + + module( + name = "rules_oci", + compatibility_level = 1, +- version = "0.0.0", ++ version = "1.3.3", + ) + + bazel_dep(name = "aspect_bazel_lib", version = "1.30.2") + bazel_dep(name = "bazel_skylib", version = "1.4.1") diff --git a/modules/rules_oci/1.3.3/presubmit.yml b/modules/rules_oci/1.3.3/presubmit.yml new file mode 100644 index 00000000000..d065f662397 --- /dev/null +++ b/modules/rules_oci/1.3.3/presubmit.yml @@ -0,0 +1,14 @@ +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"] + tasks: + run_tests: + name: "Run test module" + platform: ${{ platform }} + test_targets: + - "//..." diff --git a/modules/rules_oci/1.3.3/source.json b/modules/rules_oci/1.3.3/source.json new file mode 100644 index 00000000000..290cc3b07d7 --- /dev/null +++ b/modules/rules_oci/1.3.3/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-cgZKnvyoYp7HWfIHUHB4u387fwDeLlr3Q4+hKy+M0z0=", + "strip_prefix": "rules_oci-1.3.3", + "url": "https://github.com/bazel-contrib/rules_oci/releases/download/v1.3.3/rules_oci-v1.3.3.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-Bwml7QxN4wMh2ssePWWibgZ80RtPizzgjrL/+RtRYA0=" + }, + "patch_strip": 0 +} diff --git a/modules/rules_oci/metadata.json b/modules/rules_oci/metadata.json index eda93adc451..9b4fe79d71e 100644 --- a/modules/rules_oci/metadata.json +++ b/modules/rules_oci/metadata.json @@ -29,7 +29,8 @@ "1.2.0", "1.3.0", "1.3.1", - "1.3.2" + "1.3.2", + "1.3.3" ], "yanked_versions": {} } From 42f5c34b7001441c675dd44447e04ebcd231266f Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Thu, 14 Sep 2023 20:05:10 -0700 Subject: [PATCH 3/8] Add swift-syntax (#927) --- modules/swift-syntax/509.0.0/MODULE.bazel | 7 +++++++ .../509.0.0/patches/module_dot_bazel.patch | 5 +++++ modules/swift-syntax/509.0.0/presubmit.yml | 8 ++++++++ modules/swift-syntax/509.0.0/source.json | 9 +++++++++ modules/swift-syntax/metadata.json | 17 +++++++++++++++++ 5 files changed, 46 insertions(+) create mode 100644 modules/swift-syntax/509.0.0/MODULE.bazel create mode 100644 modules/swift-syntax/509.0.0/patches/module_dot_bazel.patch create mode 100644 modules/swift-syntax/509.0.0/presubmit.yml create mode 100644 modules/swift-syntax/509.0.0/source.json create mode 100644 modules/swift-syntax/metadata.json diff --git a/modules/swift-syntax/509.0.0/MODULE.bazel b/modules/swift-syntax/509.0.0/MODULE.bazel new file mode 100644 index 00000000000..c33b107b9a1 --- /dev/null +++ b/modules/swift-syntax/509.0.0/MODULE.bazel @@ -0,0 +1,7 @@ +module( + name = "swift-syntax", + version = "509.0.0", + compatibility_level = 1, +) + +bazel_dep(name = "rules_swift", version = "1.5.1", repo_name = "build_bazel_rules_swift") diff --git a/modules/swift-syntax/509.0.0/patches/module_dot_bazel.patch b/modules/swift-syntax/509.0.0/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..d3d9e117156 --- /dev/null +++ b/modules/swift-syntax/509.0.0/patches/module_dot_bazel.patch @@ -0,0 +1,5 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -3 +3 @@ module( +- version = "0", # Update on release/* branches ++ version = "509.0.0", diff --git a/modules/swift-syntax/509.0.0/presubmit.yml b/modules/swift-syntax/509.0.0/presubmit.yml new file mode 100644 index 00000000000..33cb979c22f --- /dev/null +++ b/modules/swift-syntax/509.0.0/presubmit.yml @@ -0,0 +1,8 @@ +tasks: + verify_targets: + name: Verify build targets + platform: macos + build_targets: + - '@swift-syntax//:SwiftSyntax' + build_flags: + - --macos_minimum_os=12.0 diff --git a/modules/swift-syntax/509.0.0/source.json b/modules/swift-syntax/509.0.0/source.json new file mode 100644 index 00000000000..c5553dc5b38 --- /dev/null +++ b/modules/swift-syntax/509.0.0/source.json @@ -0,0 +1,9 @@ +{ + "url": "https://github.com/apple/swift-syntax/archive/refs/tags/509.0.0.tar.gz", + "integrity": "sha256-HN3an30klhLj111Mqo/ZU0wGIbiokKfXUkpGibzmRPE=", + "strip_prefix": "swift-syntax-509.0.0", + "patches": { + "module_dot_bazel.patch": "sha256-FOmA4CitYq/ZSiiDDPOb3m03mSQwlVCpNQfWfjRcv/U=" + }, + "patch_strip": 0 +} diff --git a/modules/swift-syntax/metadata.json b/modules/swift-syntax/metadata.json new file mode 100644 index 00000000000..9eb8f280feb --- /dev/null +++ b/modules/swift-syntax/metadata.json @@ -0,0 +1,17 @@ +{ + "homepage": "https://github.com/apple/swift-syntax", + "maintainers": [ + { + "email": "keithbsmiley@gmail.com", + "github": "keith", + "name": "Keith Smiley" + } + ], + "repository": [ + "github:apple/swift-syntax" + ], + "versions": [ + "509.0.0" + ], + "yanked_versions": {} +} From dcdef7d3a4cfcd26231696ccacc5bc1b559db7f0 Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Fri, 15 Sep 2023 21:16:41 +0200 Subject: [PATCH 4/8] Publish rabbitmq/osiris@v1.6.7 (#928) Co-authored-by: Rin Kuryloski --- modules/rabbitmq_osiris/1.6.7/MODULE.bazel | 77 +++++++++++++++++++++ modules/rabbitmq_osiris/1.6.7/presubmit.yml | 27 ++++++++ modules/rabbitmq_osiris/1.6.7/source.json | 5 ++ modules/rabbitmq_osiris/metadata.json | 3 +- 4 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 modules/rabbitmq_osiris/1.6.7/MODULE.bazel create mode 100644 modules/rabbitmq_osiris/1.6.7/presubmit.yml create mode 100644 modules/rabbitmq_osiris/1.6.7/source.json diff --git a/modules/rabbitmq_osiris/1.6.7/MODULE.bazel b/modules/rabbitmq_osiris/1.6.7/MODULE.bazel new file mode 100644 index 00000000000..50099c5e76c --- /dev/null +++ b/modules/rabbitmq_osiris/1.6.7/MODULE.bazel @@ -0,0 +1,77 @@ +module( + name = "rabbitmq_osiris", + version = "1.6.7", +) + +bazel_dep( + name = "rules_erlang", + version = "3.11.4", +) + +bazel_dep( + name = "rabbitmq_seshat", + version = "0.6.1", + repo_name = "seshat", +) + +erlang_config = use_extension( + "@rules_erlang//bzlmod:extensions.bzl", + "erlang_config", + dev_dependency = True, +) + +erlang_config.internal_erlang_from_github_release( + name = "24", + sha256 = "8444ff9abe23aea268adbb95463561fc222c965052d35d7c950b17be01c3ad82", + version = "24.3.4.6", +) + +erlang_config.internal_erlang_from_github_release( + name = "25", + sha256 = "42840c32e13a27bdb2c376d69aa22466513d441bfe5eb882de23baf8218308d3", + version = "25.1.1", +) + +erlang_config.internal_erlang_from_github_release( + name = "26", + sha256 = "3ff3c53d7ef9a45b5720e95b8756269c1a1b58eb51accc992ca97522fdb234d4", + version = "26.0", +) + +use_repo( + erlang_config, + "erlang_config", +) + +erlang_package = use_extension( + "@rules_erlang//bzlmod:extensions.bzl", + "erlang_package", +) + +erlang_package.hex_package( + name = "gen_batch_server", + sha256 = "c3e6a1a2a0fb62aee631a98cfa0fd8903e9562422cbf72043953e2fb1d203017", + version = "0.8.8", +) + +use_repo( + erlang_package, + "gen_batch_server", +) + +erlang_dev_package = use_extension( + "@rules_erlang//bzlmod:extensions.bzl", + "erlang_package", + dev_dependency = True, +) + +erlang_dev_package.hex_package( + name = "eunit_formatters", + version = "0.5.0", + build_file = "@rabbitmq_osiris//bzl:BUILD.eunit_formatters", +) + +use_repo( + erlang_dev_package, + "eunit_formatters", +) diff --git a/modules/rabbitmq_osiris/1.6.7/presubmit.yml b/modules/rabbitmq_osiris/1.6.7/presubmit.yml new file mode 100644 index 00000000000..3fe28d4dc20 --- /dev/null +++ b/modules/rabbitmq_osiris/1.6.7/presubmit.yml @@ -0,0 +1,27 @@ +shell_commands: &shell_commands +- curl -O https://raw.githubusercontent.com/kerl/kerl/master/kerl +- chmod a+x kerl +- ./kerl update releases +- ./kerl build ${ERLANG_VERSION} +- ./kerl install ${ERLANG_VERSION} ~/kerl/${ERLANG_VERSION} +- realpath ~/kerl/${ERLANG_VERSION} + +platforms: + macos: + environment: + ERLANG_VERSION: "25.0" + ERLANG_HOME: /Users/buildkite/kerl/25.0 + shell_commands: *shell_commands + build_flags: + - --incompatible_strict_action_env + build_targets: + - '@rabbitmq_osiris//:erlang_app' + ubuntu2004: + environment: + ERLANG_VERSION: "25.0" + ERLANG_HOME: /var/lib/buildkite-agent/kerl/25.0 + shell_commands: *shell_commands + build_flags: + - --incompatible_strict_action_env + build_targets: + - '@rabbitmq_osiris//:erlang_app' diff --git a/modules/rabbitmq_osiris/1.6.7/source.json b/modules/rabbitmq_osiris/1.6.7/source.json new file mode 100644 index 00000000000..7530548ca0c --- /dev/null +++ b/modules/rabbitmq_osiris/1.6.7/source.json @@ -0,0 +1,5 @@ +{ + "integrity": "sha256-6yG1fqKByJb9hS/rqE/j85RGhnXrRNQBeJ5Mnagj8ww=", + "strip_prefix": "osiris-1.6.7", + "url": "https://github.com/rabbitmq/osiris/releases/download/v1.6.7/osiris-1.6.7.tar.gz" +} diff --git a/modules/rabbitmq_osiris/metadata.json b/modules/rabbitmq_osiris/metadata.json index 5a31d4be1f3..6a3d43c1831 100644 --- a/modules/rabbitmq_osiris/metadata.json +++ b/modules/rabbitmq_osiris/metadata.json @@ -19,7 +19,8 @@ "1.6.3", "1.6.4", "1.6.5", - "1.6.6" + "1.6.6", + "1.6.7" ], "yanked_versions": {} } From 14b5e130aa4d5e2012043067dc174092f3296028 Mon Sep 17 00:00:00 2001 From: Vertexwahn Date: Sun, 17 Sep 2023 18:51:50 +0200 Subject: [PATCH 5/8] Add libdeflate 1.19 (#932) --- modules/libdeflate/1.19/MODULE.bazel | 5 ++ .../1.19/patches/add_build_file.patch | 58 +++++++++++++++++++ .../1.19/patches/module_dot_bazel.patch | 8 +++ modules/libdeflate/1.19/presubmit.yml | 14 +++++ modules/libdeflate/1.19/source.json | 10 ++++ modules/libdeflate/metadata.json | 3 +- 6 files changed, 97 insertions(+), 1 deletion(-) create mode 100644 modules/libdeflate/1.19/MODULE.bazel create mode 100644 modules/libdeflate/1.19/patches/add_build_file.patch create mode 100644 modules/libdeflate/1.19/patches/module_dot_bazel.patch create mode 100644 modules/libdeflate/1.19/presubmit.yml create mode 100644 modules/libdeflate/1.19/source.json diff --git a/modules/libdeflate/1.19/MODULE.bazel b/modules/libdeflate/1.19/MODULE.bazel new file mode 100644 index 00000000000..e94ea049774 --- /dev/null +++ b/modules/libdeflate/1.19/MODULE.bazel @@ -0,0 +1,5 @@ +module( + name = "libdeflate", + version = "1.19", + compatibility_level = 1, +) diff --git a/modules/libdeflate/1.19/patches/add_build_file.patch b/modules/libdeflate/1.19/patches/add_build_file.patch new file mode 100644 index 00000000000..e52923a0149 --- /dev/null +++ b/modules/libdeflate/1.19/patches/add_build_file.patch @@ -0,0 +1,58 @@ +--- /dev/null ++++ BUILD.bazel +@@ -0,0 +1,55 @@ ++# SPDX-License-Identifier: BSD-3-Clause ++# Copyright (c) Contributors to the OpenEXR Project. ++ ++cc_library( ++ name = "deflate", ++ srcs = [ ++ "common_defs.h", ++ "lib/adler32.c", ++ "lib/adler32_vec_template.h", ++ "lib/arm/adler32_impl.h", ++ "lib/arm/cpu_features.c", ++ "lib/arm/cpu_features.h", ++ "lib/arm/crc32_impl.h", ++ "lib/arm/crc32_pmull_helpers.h", ++ "lib/arm/crc32_pmull_wide.h", ++ "lib/arm/matchfinder_impl.h", ++ "lib/bt_matchfinder.h", ++ "lib/cpu_features_common.h", ++ "lib/crc32.c", ++ "lib/crc32_multipliers.h", ++ "lib/crc32_tables.h", ++ "lib/decompress_template.h", ++ "lib/deflate_compress.c", ++ "lib/deflate_compress.h", ++ "lib/deflate_constants.h", ++ "lib/deflate_decompress.c", ++ "lib/gzip_compress.c", ++ "lib/gzip_constants.h", ++ "lib/gzip_decompress.c", ++ "lib/hc_matchfinder.h", ++ "lib/ht_matchfinder.h", ++ "lib/lib_common.h", ++ "lib/matchfinder_common.h", ++ "lib/utils.c", ++ "lib/x86/adler32_impl.h", ++ "lib/x86/cpu_features.c", ++ "lib/x86/cpu_features.h", ++ "lib/x86/crc32_impl.h", ++ "lib/x86/crc32_pclmul_template.h", ++ "lib/x86/decompress_impl.h", ++ "lib/x86/matchfinder_impl.h", ++ "lib/zlib_compress.c", ++ "lib/zlib_constants.h", ++ "lib/zlib_decompress.c", ++ ], ++ hdrs = ["libdeflate.h"], ++ includes = ["."], ++ visibility = ["//visibility:public"], ++) ++ ++alias( ++ name = "libdeflate", ++ actual = ":deflate", ++ visibility = ["//visibility:public"], ++) diff --git a/modules/libdeflate/1.19/patches/module_dot_bazel.patch b/modules/libdeflate/1.19/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..09dc648975b --- /dev/null +++ b/modules/libdeflate/1.19/patches/module_dot_bazel.patch @@ -0,0 +1,8 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -0,0 +1,5 @@ ++module( ++ name = "libdeflate", ++ version = "1.19", ++ compatibility_level = 1, ++) diff --git a/modules/libdeflate/1.19/presubmit.yml b/modules/libdeflate/1.19/presubmit.yml new file mode 100644 index 00000000000..c23542f50bc --- /dev/null +++ b/modules/libdeflate/1.19/presubmit.yml @@ -0,0 +1,14 @@ +matrix: + platform: + - debian10 + - ubuntu2004 + - macos + - windows +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + build_flags: + - --cxxopt=-std=c++14 + build_targets: + - '@libdeflate//:deflate' diff --git a/modules/libdeflate/1.19/source.json b/modules/libdeflate/1.19/source.json new file mode 100644 index 00000000000..c8553e642ea --- /dev/null +++ b/modules/libdeflate/1.19/source.json @@ -0,0 +1,10 @@ +{ + "url": "https://github.com/ebiggers/libdeflate/archive/refs/tags/v1.19.tar.gz", + "integrity": "sha256-J79i1xzWRyj/Q6n+uS8qwvK/dImG2FYTPMHlGZJCjCU=", + "strip_prefix": "libdeflate-1.19", + "patch_strip": 0, + "patches": { + "add_build_file.patch": "sha256-L5cLd/VE0kOH29ifL5KdRkGX2KOldCTgKqTmNTWOTjg=", + "module_dot_bazel.patch": "sha256-GcCZeZoaXO2+nzQQlv8TqMYlyiAyoz1/f/CjSpUbd8Q=" + } +} diff --git a/modules/libdeflate/metadata.json b/modules/libdeflate/metadata.json index 82c61e550d8..d69894db624 100644 --- a/modules/libdeflate/metadata.json +++ b/modules/libdeflate/metadata.json @@ -11,7 +11,8 @@ } ], "versions": [ - "1.18" + "1.18", + "1.19" ], "yanked_versions": {} } From c415999301378ae2c8699a9d118665afc69cef38 Mon Sep 17 00:00:00 2001 From: Vertexwahn Date: Sun, 17 Sep 2023 18:54:30 +0200 Subject: [PATCH 6/8] Add glog-0.6.0 (#933) --- modules/glog/0.6.0/MODULE.bazel | 6 ++++++ .../glog/0.6.0/patches/module_dot_bazel.patch | 9 +++++++++ .../remove_only_the_first_leading_at.patch | 13 +++++++++++++ modules/glog/0.6.0/presubmit.yml | 16 ++++++++++++++++ modules/glog/0.6.0/source.json | 10 ++++++++++ modules/glog/metadata.json | 3 ++- 6 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 modules/glog/0.6.0/MODULE.bazel create mode 100644 modules/glog/0.6.0/patches/module_dot_bazel.patch create mode 100644 modules/glog/0.6.0/patches/remove_only_the_first_leading_at.patch create mode 100644 modules/glog/0.6.0/presubmit.yml create mode 100644 modules/glog/0.6.0/source.json diff --git a/modules/glog/0.6.0/MODULE.bazel b/modules/glog/0.6.0/MODULE.bazel new file mode 100644 index 00000000000..896bae24c84 --- /dev/null +++ b/modules/glog/0.6.0/MODULE.bazel @@ -0,0 +1,6 @@ +module( + name = "glog", + version = "0.6.0", + compatibility_level = 1, +) +bazel_dep(name = "gflags", version = "2.2.2", repo_name = "com_github_gflags_gflags") diff --git a/modules/glog/0.6.0/patches/module_dot_bazel.patch b/modules/glog/0.6.0/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..cda6decd849 --- /dev/null +++ b/modules/glog/0.6.0/patches/module_dot_bazel.patch @@ -0,0 +1,9 @@ +--- a/MODULE.bazel ++++ a/MODULE.bazel +@@ -0,0 +1,6 @@ ++module( ++ name = "glog", ++ version = "0.6.0", ++ compatibility_level = 1, ++) ++bazel_dep(name = "gflags", version = "2.2.2", repo_name = "com_github_gflags_gflags") diff --git a/modules/glog/0.6.0/patches/remove_only_the_first_leading_at.patch b/modules/glog/0.6.0/patches/remove_only_the_first_leading_at.patch new file mode 100644 index 00000000000..c3cd79cc630 --- /dev/null +++ b/modules/glog/0.6.0/patches/remove_only_the_first_leading_at.patch @@ -0,0 +1,13 @@ +diff --git a/bazel/glog.bzl b/bazel/glog.bzl +index 40833b4..bcbdc8a 100644 +--- a/bazel/glog.bzl ++++ b/bazel/glog.bzl +@@ -33,7 +33,7 @@ def dict_union(x, y): + + def glog_library(namespace = "google", with_gflags = 1, **kwargs): + if native.repository_name() != "@": +- repo_name = native.repository_name().lstrip("@") ++ repo_name = native.repository_name()[1:] # Strip the first leading @ + gendir = "$(GENDIR)/external/" + repo_name + src_windows = "external/%s/src/windows" % repo_name + else: diff --git a/modules/glog/0.6.0/presubmit.yml b/modules/glog/0.6.0/presubmit.yml new file mode 100644 index 00000000000..5acca029a49 --- /dev/null +++ b/modules/glog/0.6.0/presubmit.yml @@ -0,0 +1,16 @@ +platforms: + centos7: + build_targets: + - '@glog//:glog' + debian10: + build_targets: + - '@glog//:glog' + macos: + build_targets: + - '@glog//:glog' + ubuntu2004: + build_targets: + - '@glog//:glog' + windows: + build_targets: + - '@glog//:glog' diff --git a/modules/glog/0.6.0/source.json b/modules/glog/0.6.0/source.json new file mode 100644 index 00000000000..364e7dd20e0 --- /dev/null +++ b/modules/glog/0.6.0/source.json @@ -0,0 +1,10 @@ +{ + "integrity": "sha256-ioO/mC83u3CCXfcalwn6kOqfREf7PAmeHXIKQ52IutY=", + "patch_strip": 1, + "patches": { + "remove_only_the_first_leading_at.patch": "sha256-ieceuBwB5MiGzs1ES3FKKLTCuHwxxERo2clZn5h8S3g=", + "module_dot_bazel.patch": "sha256-lk2dSaMpmon+fNEP5KJeeXqkbsXYvRAcePQGwVMt2wg=" + }, + "strip_prefix": "glog-0.6.0", + "url": "https://github.com/google/glog/archive/refs/tags/v0.6.0.tar.gz" +} diff --git a/modules/glog/metadata.json b/modules/glog/metadata.json index 948ccc6e9cd..48ecf0a3961 100644 --- a/modules/glog/metadata.json +++ b/modules/glog/metadata.json @@ -5,7 +5,8 @@ "github:google/glog" ], "versions": [ - "0.5.0" + "0.5.0", + "0.6.0" ], "yanked_versions": {} } From 253fae70b217565eb1d32203f3309cf651fd3497 Mon Sep 17 00:00:00 2001 From: Vertexwahn Date: Mon, 18 Sep 2023 23:19:20 +0200 Subject: [PATCH 7/8] Add fmt 10.1.1 (#935) --- modules/fmt/10.1.1/MODULE.bazel | 5 +++++ .../fmt/10.1.1/patches/add_build_file.patch | 18 ++++++++++++++++++ .../fmt/10.1.1/patches/module_dot_bazel.patch | 8 ++++++++ modules/fmt/10.1.1/presubmit.yml | 12 ++++++++++++ modules/fmt/10.1.1/source.json | 10 ++++++++++ modules/fmt/metadata.json | 11 +++++++++-- 6 files changed, 62 insertions(+), 2 deletions(-) create mode 100644 modules/fmt/10.1.1/MODULE.bazel create mode 100644 modules/fmt/10.1.1/patches/add_build_file.patch create mode 100644 modules/fmt/10.1.1/patches/module_dot_bazel.patch create mode 100644 modules/fmt/10.1.1/presubmit.yml create mode 100644 modules/fmt/10.1.1/source.json diff --git a/modules/fmt/10.1.1/MODULE.bazel b/modules/fmt/10.1.1/MODULE.bazel new file mode 100644 index 00000000000..6c973bb864a --- /dev/null +++ b/modules/fmt/10.1.1/MODULE.bazel @@ -0,0 +1,5 @@ +module( + name = "fmt", + version = "10.1.1", + compatibility_level = 10, +) diff --git a/modules/fmt/10.1.1/patches/add_build_file.patch b/modules/fmt/10.1.1/patches/add_build_file.patch new file mode 100644 index 00000000000..1a644629c66 --- /dev/null +++ b/modules/fmt/10.1.1/patches/add_build_file.patch @@ -0,0 +1,18 @@ +--- /dev/null ++++ BUILD.bazel +@@ -0,0 +1,15 @@ ++package(default_visibility = ["//visibility:public"]) ++ ++licenses(["notice"]) ++ ++cc_library( ++ name = "fmt", ++ srcs = [ ++ "src/format.cc", ++ "src/os.cc", ++ ], ++ hdrs = glob([ ++ "include/fmt/*.h", ++ ]), ++ includes = ["include"], ++) diff --git a/modules/fmt/10.1.1/patches/module_dot_bazel.patch b/modules/fmt/10.1.1/patches/module_dot_bazel.patch new file mode 100644 index 00000000000..4f628dcc321 --- /dev/null +++ b/modules/fmt/10.1.1/patches/module_dot_bazel.patch @@ -0,0 +1,8 @@ +--- MODULE.bazel ++++ MODULE.bazel +@@ -0,0 +1,5 @@ ++module( ++ name = "fmt", ++ version = "10.1.1", ++ compatibility_level = 10, ++) diff --git a/modules/fmt/10.1.1/presubmit.yml b/modules/fmt/10.1.1/presubmit.yml new file mode 100644 index 00000000000..829a1245904 --- /dev/null +++ b/modules/fmt/10.1.1/presubmit.yml @@ -0,0 +1,12 @@ +build_targets: &build_targets +- '@fmt//:fmt' + +platforms: + debian10: + build_targets: *build_targets + macos: + build_targets: *build_targets + ubuntu2004: + build_targets: *build_targets + windows: + build_targets: *build_targets diff --git a/modules/fmt/10.1.1/source.json b/modules/fmt/10.1.1/source.json new file mode 100644 index 00000000000..e584336820c --- /dev/null +++ b/modules/fmt/10.1.1/source.json @@ -0,0 +1,10 @@ +{ + "integrity": "sha256-uE5YoxDJtQGWzaSNVnjV+ghJvKGeX9umtoTw7pPtnRs=", + "patch_strip": 0, + "patches": { + "add_build_file.patch": "sha256-bUYJz9G64DPC99/aSnVNx3JD1nStIA4zXK89OvIDmfY=", + "module_dot_bazel.patch": "sha256-Dv4jUXJIkD+gS44D8XNcRLpa91C07usbCuJ/oN6KCQo=" + }, + "strip_prefix": "fmt-10.1.1", + "url": "https://github.com/fmtlib/fmt/releases/download/10.1.1/fmt-10.1.1.zip" +} diff --git a/modules/fmt/metadata.json b/modules/fmt/metadata.json index b651ada0c78..94e1fdd6d42 100644 --- a/modules/fmt/metadata.json +++ b/modules/fmt/metadata.json @@ -1,6 +1,12 @@ { "homepage": "https://github.com/fmtlib/fmt", - "maintainers": [], + "maintainers": [ + { + "email": "julian.amann@tum.de", + "github": "Vertexwahn", + "name": "Julian Amann" + } + ], "repository": [ "github:fmtlib/fmt" ], @@ -8,7 +14,8 @@ "8.1.1", "9.1.0", "10.0.0", - "10.1.0" + "10.1.0", + "10.1.1" ], "yanked_versions": {} } From 05b33918317327c37d754705330dfc0f06129f1b Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Tue, 19 Sep 2023 13:13:43 +0200 Subject: [PATCH 8/8] Publish bazel-contrib/bazel_features@v1.1.0 (#936) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Xùdōng Yáng --- modules/bazel_features/1.1.0/MODULE.bazel | 8 ++++++++ .../1.1.0/patches/module_dot_bazel_version.patch | 13 +++++++++++++ modules/bazel_features/1.1.0/presubmit.yml | 13 +++++++++++++ modules/bazel_features/1.1.0/source.json | 9 +++++++++ modules/bazel_features/metadata.json | 3 ++- 5 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 modules/bazel_features/1.1.0/MODULE.bazel create mode 100644 modules/bazel_features/1.1.0/patches/module_dot_bazel_version.patch create mode 100644 modules/bazel_features/1.1.0/presubmit.yml create mode 100644 modules/bazel_features/1.1.0/source.json diff --git a/modules/bazel_features/1.1.0/MODULE.bazel b/modules/bazel_features/1.1.0/MODULE.bazel new file mode 100644 index 00000000000..b95a6cd4fb0 --- /dev/null +++ b/modules/bazel_features/1.1.0/MODULE.bazel @@ -0,0 +1,8 @@ +module( + name = "bazel_features", + version = "1.1.0", +) + +version = use_extension("//private:extensions.bzl", "version_extension") + +use_repo(version, "bazel_features_globals", "bazel_features_version") diff --git a/modules/bazel_features/1.1.0/patches/module_dot_bazel_version.patch b/modules/bazel_features/1.1.0/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..1565d7be60d --- /dev/null +++ b/modules/bazel_features/1.1.0/patches/module_dot_bazel_version.patch @@ -0,0 +1,13 @@ +Index: MODULE.bazel +=================================================================== +--- MODULE.bazel ++++ MODULE.bazel +@@ -1,7 +1,7 @@ + module( + name = "bazel_features", +- version = "0.0.0", ++ version = "1.1.0", + ) + + version = use_extension("//private:extensions.bzl", "version_extension") + diff --git a/modules/bazel_features/1.1.0/presubmit.yml b/modules/bazel_features/1.1.0/presubmit.yml new file mode 100644 index 00000000000..ca68e814a0e --- /dev/null +++ b/modules/bazel_features/1.1.0/presubmit.yml @@ -0,0 +1,13 @@ +matrix: + platform: + - centos7 + - debian10 + - ubuntu2004 + - macos + - windows +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + build_targets: + - "@bazel_features//test:tests" diff --git a/modules/bazel_features/1.1.0/source.json b/modules/bazel_features/1.1.0/source.json new file mode 100644 index 00000000000..0812c4528b3 --- /dev/null +++ b/modules/bazel_features/1.1.0/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-4hD6q1dkP7Z1Lwt/DRIJdqKZ1dqe0g4gEp7hE0o8/Hw=", + "strip_prefix": "bazel_features-1.1.0", + "url": "https://github.com/bazel-contrib/bazel_features/releases/download/v1.1.0/bazel_features-v1.1.0.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-o16WYfVZruIX5FGE8sATXKb9PLRpH26dbAVdbKPKVRk=" + }, + "patch_strip": 0 +} diff --git a/modules/bazel_features/metadata.json b/modules/bazel_features/metadata.json index 1e546d016bf..872f7aea005 100644 --- a/modules/bazel_features/metadata.json +++ b/modules/bazel_features/metadata.json @@ -23,7 +23,8 @@ "0.0.1", "0.1.0", "0.2.0", - "1.0.0" + "1.0.0", + "1.1.0" ], "yanked_versions": {} }