diff --git a/modules/aspect_rules_lint/1.0.8/MODULE.bazel b/modules/aspect_rules_lint/1.0.8/MODULE.bazel new file mode 100644 index 00000000000..5e2713a28e1 --- /dev/null +++ b/modules/aspect_rules_lint/1.0.8/MODULE.bazel @@ -0,0 +1,32 @@ +"Bazel dependencies" + +module( + name = "aspect_rules_lint", + version = "1.0.8", + compatibility_level = 1, +) + +bazel_dep(name = "aspect_bazel_lib", version = "2.7.7") + +# 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.40.0") +bazel_dep(name = "bazel_skylib", version = "1.4.2") +bazel_dep(name = "platforms", version = "0.0.7") +bazel_dep(name = "rules_multirun", version = "0.9.0") +bazel_dep(name = "rules_multitool", version = "0.4.0") + +# Needed in the root because we dereference ProtoInfo in our aspect impl +bazel_dep(name = "rules_proto", version = "6.0.0") + +# Needed in the root because we dereference the toolchain in our aspect impl +bazel_dep(name = "rules_buf", version = "0.1.1") +bazel_dep(name = "toolchains_protoc", version = "0.2.1") + +multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool") +multitool.hub(lockfile = "//format:multitool.lock.json") +multitool.hub(lockfile = "//lint:multitool.lock.json") +use_repo(multitool, "multitool") + +bazel_dep(name = "stardoc", version = "0.7.0", dev_dependency = True, repo_name = "io_bazel_stardoc") diff --git a/modules/aspect_rules_lint/1.0.8/patches/module_dot_bazel_version.patch b/modules/aspect_rules_lint/1.0.8/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..73657d30b6c --- /dev/null +++ b/modules/aspect_rules_lint/1.0.8/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 = "1.0.8", + compatibility_level = 1, + ) + + bazel_dep(name = "aspect_bazel_lib", version = "2.7.7") diff --git a/modules/aspect_rules_lint/1.0.8/presubmit.yml b/modules/aspect_rules_lint/1.0.8/presubmit.yml new file mode 100644 index 00000000000..61690eaffd0 --- /dev/null +++ b/modules/aspect_rules_lint/1.0.8/presubmit.yml @@ -0,0 +1,14 @@ +bcr_test_module: + module_path: "example" + matrix: + bazel: ["7.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/1.0.8/source.json b/modules/aspect_rules_lint/1.0.8/source.json new file mode 100644 index 00000000000..12cd86cc01b --- /dev/null +++ b/modules/aspect_rules_lint/1.0.8/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-k+1wOe60wdxMWh/k7w0LSJ6qRrqpVrDP7D9BeHjC1yo=", + "strip_prefix": "rules_lint-1.0.8", + "url": "https://github.com/aspect-build/rules_lint/releases/download/v1.0.8/rules_lint-v1.0.8.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-3ybIpx3PsRbSIuuXY3IJYg7Gqd4Q8GTztmSkMFyQEKs=" + }, + "patch_strip": 1 +} diff --git a/modules/aspect_rules_lint/metadata.json b/modules/aspect_rules_lint/metadata.json index 259e1d4c752..3b80884a749 100644 --- a/modules/aspect_rules_lint/metadata.json +++ b/modules/aspect_rules_lint/metadata.json @@ -51,7 +51,8 @@ "1.0.2", "1.0.3", "1.0.6", - "1.0.7" + "1.0.7", + "1.0.8" ], "yanked_versions": {} }