Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update aspect #1923

Merged
merged 1 commit into from
Oct 1, 2024
Merged

chore(deps): update aspect #1923

merged 1 commit into from
Oct 1, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 23, 2024

This PR contains the following updates:

Package Type Update Change
aspect_bazel_lib http_archive minor v2.7.8 -> v2.9.1
aspect_rules_lint http_archive minor v0.7.0 -> v0.21.0

Release Notes

aspect-build/bazel-lib (aspect_bazel_lib)

v2.9.1

Compare Source

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_bazel_lib", version = "2.9.1")

Read more about bzlmod: https://blog.aspect.dev/bzlmod

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "f93d386d8d0b0149031175e81df42a488be4267c3ca2249ba5321c23c60bc1f0",
    strip_prefix = "bazel-lib-2.9.1",
    url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.9.1/bazel-lib-v2.9.1.tar.gz",
)

load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")

### Required bazel-lib dependencies

aspect_bazel_lib_dependencies()

### Register bazel-lib toolchains

aspect_bazel_lib_register_toolchains()

What's Changed

Full Changelog: bazel-contrib/bazel-lib@v2.9.0...v2.9.1

v2.9.0

Compare Source

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_bazel_lib", version = "2.9.0")

Read more about bzlmod: https://blog.aspect.dev/bzlmod

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "da67c6a785cdc10faf960a22c44501fe6be357a6ebd2bd6101560f9c2a9e06b3",
    strip_prefix = "bazel-lib-2.9.0",
    url = "https://github.com/bazel-contrib/bazel-lib/releases/download/v2.9.0/bazel-lib-v2.9.0.tar.gz",
)

load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")

### Required bazel-lib dependencies

aspect_bazel_lib_dependencies()

### Register bazel-lib toolchains

aspect_bazel_lib_register_toolchains()

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-lib@v2.8.1...v2.9.0

v2.8.1

Compare Source

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_bazel_lib", version = "2.8.1")

Read more about bzlmod: https://blog.aspect.dev/bzlmod

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "688354ee6beeba7194243d73eb0992b9a12e8edeeeec5b6544f4b531a3112237",
    strip_prefix = "bazel-lib-2.8.1",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.8.1/bazel-lib-v2.8.1.tar.gz",
)

load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")

### Required bazel-lib dependencies

aspect_bazel_lib_dependencies()

### Register bazel-lib toolchains

aspect_bazel_lib_register_toolchains()

What's Changed

Full Changelog: bazel-contrib/bazel-lib@v2.8.0...v2.8.1

v2.8.0

Compare Source

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_bazel_lib", version = "2.8.0")

Read more about bzlmod: https://blog.aspect.dev/bzlmod

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "cea19e6d8322fb212f155acb58d1590f632e53abde7f1be5f0a086a93cf4c9f4",
    strip_prefix = "bazel-lib-2.8.0",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.8.0/bazel-lib-v2.8.0.tar.gz",
)

load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")

### Required bazel-lib dependencies

aspect_bazel_lib_dependencies()

### Register bazel-lib toolchains

aspect_bazel_lib_register_toolchains()

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-lib@v2.7.9...v2.8.0

v2.7.9

Compare Source

Using Bzlmod with Bazel 6:

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_bazel_lib", version = "2.7.9")

Read more about bzlmod: https://blog.aspect.dev/bzlmod

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "aspect_bazel_lib",
    sha256 = "c780120ab99a4ca9daac69911eb06434b297214743ee7e0a1f1298353ef686db",
    strip_prefix = "bazel-lib-2.7.9",
    url = "https://github.com/aspect-build/bazel-lib/releases/download/v2.7.9/bazel-lib-v2.7.9.tar.gz",
)

load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies", "aspect_bazel_lib_register_toolchains")

### Required bazel-lib dependencies

aspect_bazel_lib_dependencies()

### Register bazel-lib toolchains

aspect_bazel_lib_register_toolchains()

What's Changed

New Contributors

Full Changelog: bazel-contrib/bazel-lib@v2.7.8...v2.7.9

aspect-build/rules_lint (aspect_rules_lint)

v0.21.0

Compare Source

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_lint", version = "0.21.0")

### Next, follow the install instructions for
### - linting: https://github.com/aspect-build/rules_lint/blob/v0.21.0/docs/linting.md

### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.21.0/docs/formatting.md

Using WORKSPACE

Paste this snippet into your file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_lint",
    sha256 = "1e679b081750ca9cedad4f79e371ee5e14d9a157de8018661af9fe45879100b2",
    strip_prefix = "rules_lint-0.21.0",
    url = "https://github.com/aspect-build/rules_lint/releases/download/v0.21.0/rules_lint-v0.21.0.tar.gz",
)

### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works.
http_archive(
    name = "aspect_bazel_lib",
    sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3",
    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",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")

### aspect_bazel_lib depends on bazel_skylib
aspect_bazel_lib_dependencies()

load(
    "@​aspect_rules_lint//format:repositories.bzl",

### Fetch additional formatter binaries you need:
    "fetch_java_format",
    "fetch_ktfmt",
    "fetch_swiftformat",
    "rules_lint_dependencies",
)

rules_lint_dependencies()

fetch_java_format()

fetch_ktfmt()

fetch_swiftformat()

load("@​aspect_rules_lint//lint:pmd.bzl", "fetch_pmd")

fetch_pmd()

load("@​aspect_rules_lint//lint:ruff.bzl", "fetch_ruff")

fetch_ruff()

load("@​aspect_rules_lint//lint:vale.bzl", "fetch_vale")

fetch_vale()

load("@​aspect_rules_lint//lint:ktlint.bzl", "fetch_ktlint")

fetch_ktlint()

########################

### Optional: multitool provides defaults for some tools such as yamlfmt
### If you do not set up multitool, you will be forced to either set an explicit tool

### for languages that have a default, or set explicit False value, e.g.
###   format_multirun(jsonnet = False)
load("@​rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfiles = [
        "@​aspect_rules_lint//format:multitool.lock.json",
        "@​aspect_rules_lint//lint:multitool.lock.json",
    ],
)

What's Changed

New Contributors

Full Changelog: aspect-build/rules_lint@v0.20.0...v0.21.0

v0.20.0

Compare Source

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_lint", version = "0.20.0")

### Next, follow the install instructions for
### - linting: https://github.com/aspect-build/rules_lint/blob/v0.20.0/docs/linting.md

### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.20.0/docs/formatting.md

Using WORKSPACE

Paste this snippet into your file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_lint",
    sha256 = "572be80134ce36b0ad17229a37945efdfa1381468ae804008a1a16dc35686a05",
    strip_prefix = "rules_lint-0.20.0",
    url = "https://github.com/aspect-build/rules_lint/releases/download/v0.20.0/rules_lint-v0.20.0.tar.gz",
)

### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works.
http_archive(
    name = "aspect_bazel_lib",
    sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3",
    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",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")

### aspect_bazel_lib depends on bazel_skylib
aspect_bazel_lib_dependencies()

load(
    "@​aspect_rules_lint//format:repositories.bzl",

### Fetch additional formatter binaries you need:
    "fetch_java_format",
    "fetch_ktfmt",
    "fetch_swiftformat",
    "rules_lint_dependencies",
)

rules_lint_dependencies()

fetch_java_format()

fetch_ktfmt()

fetch_swiftformat()

load("@​aspect_rules_lint//lint:pmd.bzl", "fetch_pmd")

fetch_pmd()

load("@​aspect_rules_lint//lint:ruff.bzl", "fetch_ruff")

fetch_ruff()

load("@​aspect_rules_lint//lint:vale.bzl", "fetch_vale")

fetch_vale()

load("@​aspect_rules_lint//lint:ktlint.bzl", "fetch_ktlint")

fetch_ktlint()

########################

### Optional: multitool provides defaults for some tools such as yamlfmt
### If you do not set up multitool, you will be forced to either set an explicit tool

### for languages that have a default, or set explicit False value, e.g.
###   format_multirun(jsonnet = False)
load("@​rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfiles = [
        "@​aspect_rules_lint//format:multitool.lock.json",
        "@​aspect_rules_lint//lint:multitool.lock.json",
    ],
)

What's Changed

New Contributors

Full Changelog: aspect-build/rules_lint@v0.18.0...v0.20.0

v0.19.0

Compare Source

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_lint", version = "0.19.0")

### Next, follow the install instructions for
### - linting: https://github.com/aspect-build/rules_lint/blob/v0.19.0/docs/linting.md

### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.19.0/docs/formatting.md

Using WORKSPACE

Paste this snippet into your file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_lint",
    sha256 = "5c9ec682c4d25bd05a1140e0a85d120eb379d46e35bf5770c83ffaf0db680c3c",
    strip_prefix = "rules_lint-0.19.0",
    url = "https://github.com/aspect-build/rules_lint/releases/download/v0.19.0/rules_lint-v0.19.0.tar.gz",
)

### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works.
http_archive(
    name = "aspect_bazel_lib",
    sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3",
    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",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")

### aspect_bazel_lib depends on bazel_skylib
aspect_bazel_lib_dependencies()

load(
    "@​aspect_rules_lint//format:repositories.bzl",

### Fetch additional formatter binaries you need:
    "fetch_java_format",
    "fetch_ktfmt",
    "fetch_swiftformat",
    "rules_lint_dependencies",
)

rules_lint_dependencies()

fetch_java_format()

fetch_ktfmt()

fetch_swiftformat()

load("@​aspect_rules_lint//lint:pmd.bzl", "fetch_pmd")

fetch_pmd()

load("@​aspect_rules_lint//lint:ruff.bzl", "fetch_ruff")

### https://github.com/astral-sh/ruff/pull/8631#issuecomment-2022746290
fetch_ruff("v0.3.2")

load("@​aspect_rules_lint//lint:vale.bzl", "fetch_vale")

fetch_vale()

load("@​aspect_rules_lint//lint:ktlint.bzl", "fetch_ktlint")

fetch_ktlint()

########################

### Optional: multitool provides defaults for some tools such as yamlfmt
### If you do not set up multitool, you will be forced to either set an explicit tool

### for languages that have a default, or set explicit False value, e.g.
###   format_multirun(jsonnet = False)
load("@​rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfiles = [
        "@​aspect_rules_lint//format:multitool.lock.json",
        "@​aspect_rules_lint//lint:multitool.lock.json",
    ],
)

What's Changed

New Contributors

Full Changelog: aspect-build/rules_lint@v0.18.0...v0.19.0

v0.18.0

Compare Source

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_lint", version = "0.18.0")

### Next, follow the install instructions for
### - linting: https://github.com/aspect-build/rules_lint/blob/v0.18.0/docs/linting.md

### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.18.0/docs/formatting.md

Using WORKSPACE

Paste this snippet into your file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_lint",
    sha256 = "a3e07f07216b6b406d2297c273e7af4cc8096b43288952020cdf4dc12f45b5e8",
    strip_prefix = "rules_lint-0.18.0",
    url = "https://github.com/aspect-build/rules_lint/releases/download/v0.18.0/rules_lint-v0.18.0.tar.gz",
)

### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works.
http_archive(
    name = "aspect_bazel_lib",
    sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3",
    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",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")

### aspect_bazel_lib depends on bazel_skylib
aspect_bazel_lib_dependencies()

load(
    "@​aspect_rules_lint//format:repositories.bzl",

### Fetch additional formatter binaries you need:
    "fetch_java_format",
    "fetch_ktfmt",
    "fetch_swiftformat",
    "rules_lint_dependencies",
)

rules_lint_dependencies()

fetch_java_format()

fetch_ktfmt()

fetch_swiftformat()

load("@​aspect_rules_lint//lint:pmd.bzl", "fetch_pmd")

fetch_pmd()

load("@​aspect_rules_lint//lint:ruff.bzl", "fetch_ruff")

### https://github.com/astral-sh/ruff/pull/8631#issuecomment-2022746290
fetch_ruff("v0.3.2")

load("@​aspect_rules_lint//lint:vale.bzl", "fetch_vale")

fetch_vale()

########################

### Optional: multitool provides defaults for some tools such as yamlfmt
### If you do not set up multitool, you will be forced to either set an explicit tool

### for languages that have a default, or set explicit False value, e.g.
###   format_multirun(jsonnet = False)
load("@​rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfiles = [
        "@​aspect_rules_lint//format:multitool.lock.json",
        "@​aspect_rules_lint//lint:multitool.lock.json",
    ],
)

What's Changed

Full Changelog: aspect-build/rules_lint@v0.17.0...v0.18.0

v0.17.0

Compare Source

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_lint", version = "0.17.0")

### Next, follow the install instructions for
### - linting: https://github.com/aspect-build/rules_lint/blob/v0.17.0/docs/linting.md

### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.17.0/docs/formatting.md

Using WORKSPACE

Paste this snippet into your file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_lint",
    sha256 = "e8b26aab8d587e596d1463545f799a601edfb5f31b84db3f39a751f03407e2e5",
    strip_prefix = "rules_lint-0.17.0",
    url = "https://github.com/aspect-build/rules_lint/releases/download/v0.17.0/rules_lint-v0.17.0.tar.gz",
)

### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works.
http_archive(
    name = "aspect_bazel_lib",
    sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3",
    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",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")

### aspect_bazel_lib depends on bazel_skylib
aspect_bazel_lib_dependencies()

load(
    "@​aspect_rules_lint//format:repositories.bzl",

### Fetch additional formatter binaries you need:
    "fetch_java_format",
    "fetch_ktfmt",
    "fetch_pmd",
    "fetch_swiftformat",
    "rules_lint_dependencies",
)

rules_lint_dependencies()

fetch_pmd()

fetch_java_format()

fetch_ktfmt()

fetch_swiftformat()

load("@​aspect_rules_lint//lint:ruff.bzl", "fetch_ruff")

### https://github.com/astral-sh/ruff/pull/8631#issuecomment-2022746290
fetch_ruff("v0.3.2")

load("@​aspect_rules_lint//lint:golangci-lint.bzl", "fetch_golangci_lint")

fetch_golangci_lint()

load("@​aspect_rules_lint//lint:shellcheck.bzl", "fetch_shellcheck")

fetch_shellcheck()

load("@​aspect_rules_lint//lint:vale.bzl", "fetch_vale")

fetch_vale()

########################

### Optional: multitool provides defaults for some tools such as yamlfmt
### If you do not set up multitool, you will be forced to either set an explicit tool

### for languages that have a default, or set explicit False value, e.g.
###   format_multirun(jsonnet = False)
load("@​rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "@​aspect_rules_lint//format:multitool.lock.json",
)

What's Changed

Full Changelog: aspect-build/rules_lint@v0.16.0...v0.17.0

v0.16.0

Compare Source

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_lint", version = "0.16.0")

### Next, follow the install instructions for
### - linting: https://github.com/aspect-build/rules_lint/blob/v0.16.0/docs/linting.md

### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.16.0/docs/formatting.md

Using WORKSPACE

Paste this snippet into your file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_lint",
    sha256 = "140ae8a51758d5cdec43d97ccf94b4069a571347f0919e606debcd57e62ac745",
    strip_prefix = "rules_lint-0.16.0",
    url = "https://github.com/aspect-build/rules_lint/releases/download/v0.16.0/rules_lint-v0.16.0.tar.gz",
)

### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works.
http_archive(
    name = "aspect_bazel_lib",
    sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3",
    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",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")

### aspect_bazel_lib depends on bazel_skylib
aspect_bazel_lib_dependencies()

load(
    "@​aspect_rules_lint//format:repositories.bzl",

### Fetch additional formatter binaries you need:
    "fetch_java_format",
    "fetch_ktfmt",
    "fetch_pmd",
    "fetch_swiftformat",
    "rules_lint_dependencies",
)

rules_lint_dependencies()

fetch_pmd()

fetch_java_format()

fetch_ktfmt()

fetch_swiftformat()

load("@​aspect_rules_lint//lint:ruff.bzl", "fetch_ruff")

### https://github.com/astral-sh/ruff/pull/8631#issuecomment-2022746290
fetch_ruff("v0.3.2")

load("@​aspect_rules_lint//lint:golangci-lint.bzl", "fetch_golangci_lint")

fetch_golangci_lint()

load("@​aspect_rules_lint//lint:shellcheck.bzl", "fetch_shellcheck")

fetch_shellcheck()

load("@​aspect_rules_lint//lint:vale.bzl", "fetch_vale")

fetch_vale()

########################

### Optional: multitool provides defaults for some tools such as yamlfmt
### If you do not set up multitool, you will be forced to either set an explicit tool

### for languages that have a default, or set explicit False value, e.g.
###   format_multirun(jsonnet = False)
load("@​rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "@​aspect_rules_lint//format:multitool.lock.json",
)

What's Changed

New Contributors

Full Changelog: aspect-build/rules_lint@v0.15.0...v0.16.0

v0.15.0

Compare Source

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_lint", version = "0.15.0")

### Next, follow the install instructions for
### - linting: https://github.com/aspect-build/rules_lint/blob/v0.15.0/docs/linting.md

### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.15.0/docs/formatting.md

Using WORKSPACE

Paste this snippet into your file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_lint",
    sha256 = "e5be0ba6935d2749790a19314088692e8b51f53d15f8030df0a18734988d74b2",
    strip_prefix = "rules_lint-0.15.0",
    url = "https://github.com/aspect-build/rules_lint/releases/download/v0.15.0/rules_lint-v0.15.0.tar.gz",
)

### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works.
http_archive(
    name = "aspect_bazel_lib",
    sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3",
    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",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")

### aspect_bazel_lib depends on bazel_skylib
aspect_bazel_lib_dependencies()

load(
    "@​aspect_rules_lint//format:repositories.bzl",

### Fetch additional formatter binaries you need:
    "fetch_java_format",
    "fetch_ktfmt",
    "fetch_pmd",
    "fetch_swiftformat",
    "fetch_terraform",
    "rules_lint_dependencies",
)

rules_lint_dependencies()

fetch_pmd()

fetch_terraform()

fetch_java_format()

fetch_ktfmt()

fetch_swiftformat()

load("@​aspect_rules_lint//lint:ruff.bzl", "fetch_ruff")

### https://github.com/astral-sh/ruff/pull/8631#issuecomment-2022746290
fetch_ruff("v0.3.2")

load("@​aspect_rules_lint//lint:golangci-lint.bzl", "fetch_golangci_lint")

fetch_golangci_lint()

load("@​aspect_rules_lint//lint:shellcheck.bzl", "fetch_shellcheck")

fetch_shellcheck()

load("@​aspect_rules_lint//lint:vale.bzl", "fetch_vale")

fetch_vale()

########################

### Optional: multitool provides defaults for some tools such as yamlfmt
### If you do not set up multitool, you will be forced to either set an explicit tool

### for languages that have a default, or set explicit False value, e.g.
###   format_multirun(jsonnet = False)
load("@​rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "@​aspect_rules_lint//format:multitool.lock.json",
)

What's Changed

Full Changelog: aspect-build/rules_lint@v0.14.2...v0.15.0

v0.14.2

Compare Source

BREAKING CHANGES

Getting ready for 1.0 so a bunch of breaking changes have landed since v0.13.

  • Many renames: Public API symbol symbols now prefixed with lint_
  • WORKSPACE users should check the snippet below:
    • must now call rules_lint_dependencies()
    • must either install rules_multitool, or set some languages to False in call to format_multirun
  • multi_formatter_binary renamed to format_multirun
    • attribute protobuf renamed to protocol_buffer

Using Bzlmod with Bazel 6

  1. Enable with common --enable_bzlmod in .bazelrc.
  2. Add to your MODULE.bazel file:
bazel_dep(name = "aspect_rules_lint", version = "0.14.2")

### Next, follow the install instructions for
### - linting: https://github.com/aspect-build/rules_lint/blob/v0.14.2/docs/linting.md

### - formatting: https://github.com/aspect-build/rules_lint/blob/v0.14.2/docs/formatting.md

Using WORKSPACE

Paste this snippet into your file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "aspect_rules_lint",
    sha256 = "07dd6258894757e44db1a5dd3650731c1432cad7795afdaa6d945d4ba3b84f68",
    strip_prefix = "rules_lint-0.14.2",
    url = "https://github.com/aspect-build/rules_lint/releases/download/v0.14.2/rules_lint-v0.14.2.tar.gz",
)

### aspect_rules_lint depends on aspect_bazel_lib. Either 1.x or 2.x works.
http_archive(
    name = "aspect_bazel_lib",
    sha256 = "979667bb7276ee8fcf2c114c9be9932b9a3052a64a647e0dcaacfb9c0016f0a3",
    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",
)
load("@​aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies")

### aspect_bazel_lib depends on bazel_skylib
aspect_bazel_lib_dependencies()

load(
    "@​aspect_rules_lint//format:repositories.bzl",

### Fetch additional formatter binaries you need:
    "fetch_java_format",
    "fetch_ktfmt",
    "fetch_pmd",
    "fetch_swiftformat",
    "fetch_terraform",
    "rules_lint_dependencies",
)

rules_lint_dependencies()

fetch_pmd()

fetch_terraform()

fetch_java_format()

fetch_ktfmt()

fetch_swiftformat()

load("@​aspect_rules_lint//lint:ruff.bzl", "fetch_ruff")

fetch_ruff()

load("@​aspect_rules_lint//lint:golangci-lint.bzl", "fetch_golangci_lint")

fetch_golangci_lint()

load("@​aspect_rules_lint//lint:shellcheck.bzl", "fetch_shellcheck")

fetch_shellcheck()

load("@​aspect_rules_lint//lint:vale.bzl", "fetch_vale")

fetch_vale()

########################

### Optional: multitool provides defaults for some tools such as yamlfmt
### If you do not set up multitool, you will be forced to either set an explicit tool

### for languages that have a default, or set explicit False value, e.g.
###   format_multirun(jsonnet = False)
load("@​rules_multitool//multitool:multitool.bzl", "multitool")

multitool(
    name = "multitool",
    lockfile = "@​aspect_rules_lint//format:multitool.lock.json",
)

What's Changed

  • Revert "Use multirun (#​160)" b

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the deps Renovate PRs label Sep 23, 2024
Copy link

aspect-workflows bot commented Sep 23, 2024

Test

All tests were cache hits

197 tests (100.0%) were fully cached saving 38s.


Test

e2e/bzlmod

All tests were cache hits

5 tests (100.0%) were fully cached saving 1s.


Test

e2e/gyp_no_install_script

All tests were cache hits

2 tests (100.0%) were fully cached saving 236ms.


Test

e2e/js_image_oci

All tests were cache hits

1 test (100.0%) was fully cached saving 7s.


Test

e2e/npm_link_package

All tests were cache hits

3 tests (100.0%) were fully cached saving 839ms.


Test

e2e/npm_link_package-esm

All tests were cache hits

3 tests (100.0%) were fully cached saving 745ms.


Test

e2e/npm_translate_lock

All tests were cache hits

1 test (100.0%) was fully cached saving 27ms.


Test

e2e/npm_translate_lock_empty

All tests were cache hits

1 test (100.0%) was fully cached saving 27ms.


Test

e2e/npm_translate_lock_multi

All tests were cache hits

2 tests (100.0%) were fully cached saving 296ms.


Test

e2e/npm_translate_lock_partial_clone

All tests were cache hits

1 test (100.0%) was fully cached saving 112ms.


Test

e2e/npm_translate_lock_replace_packages

All tests were cache hits

3 tests (100.0%) were fully cached saving 716ms.


Test

e2e/npm_translate_lock_subdir_patch

All tests were cache hits

1 test (100.0%) was fully cached saving 192ms.


Test

e2e/npm_translate_package_lock

All tests were cache hits

1 test (100.0%) was fully cached saving 81ms.


Test

e2e/npm_translate_yarn_lock

All tests were cache hits

1 test (100.0%) was fully cached saving 81ms.


Test

e2e/package_json_module

All tests were cache hits

1 test (100.0%) was fully cached saving 713ms.


Test

e2e/pnpm_lockfiles

All tests were cache hits

40 tests (100.0%) were fully cached saving 3s.


Test

e2e/pnpm_workspace

All tests were cache hits

10 tests (100.0%) were fully cached saving 2s.


Test

e2e/pnpm_workspace_rerooted

All tests were cache hits

10 tests (100.0%) were fully cached saving 2s.


Test

e2e/repo_mapping

All tests were cache hits

2 tests (100.0%) were fully cached saving 233ms.


Test

e2e/rules_foo

All tests were cache hits

2 tests (100.0%) were fully cached saving 153ms.


Test

e2e/vendored_node

All tests were cache hits

1 test (100.0%) was fully cached saving 171ms.


Buildifier      Format

@renovate renovate bot force-pushed the renovate/aspect branch from 64d6072 to 3315023 Compare October 1, 2024 14:02
@alexeagle alexeagle merged commit b68c4a0 into main Oct 1, 2024
4 checks passed
@alexeagle alexeagle deleted the renovate/aspect branch October 1, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deps Renovate PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant