constellation/bazel/toolchains
Markus Rudy 32d3b4e87c
ci: introduce keep-sorted (#2836)
Long lists of items in source code or config can be hard to work with as
a human, most problematic being out-of-order entries in an otherwise
ordered list. This is where keep-sorted comes to the rescue: we can
leave two little comments on every listing we care about, and
keep-sorted ensures that the listing stays in order.

This commit also applied keep-sorted to the CODEOWNERS file, hopefully
demonstrating its usefulness to some extent. I'd expect more uses for
keep-sorted to be discovered organically over time.

keep-sorted is super fast, so it should not be a problem to add it to
the //:tidy target, even if we scan all files in the code base. On my
MacBook:

$ time (find . -not -path "./.git/*" -type f | sort | xargs "${keep_sorted}" --mode fix)

real	0m0.249s
user	0m0.124s
sys	0m0.129s
2024-01-30 14:39:49 +01:00
..
aspect_bazel_lib.bzl deps: update dependency aspect_bazel_lib to v2.0.3 (#2751) 2023-12-20 18:10:49 +01:00
BUILD.bazel bazel: move toolchains into bazel folder 2023-03-14 03:43:51 -04:00
BUILD.golangci.bazel bazel: add golangci-lint to //:check target (#1494) 2023-03-23 17:27:09 +01:00
buildifier_deps.bzl deps: update dependency com_github_bazelbuild_buildtools to v6.3.3 (#2376) 2023-09-26 14:15:52 +02:00
ci_deps.bzl ci: fix repository name of shellcheck for linux arm64 (#2670) 2023-12-06 13:34:22 +01:00
container_images.bzl deps: update Constellation containers (#2760) 2023-12-20 18:03:44 +01:00
go_module_deps.bzl ci: introduce keep-sorted (#2836) 2024-01-30 14:39:49 +01:00
go_rules_deps.bzl deps: update gazelle and rules_go 2024-01-22 13:11:58 +01:00
hermetic_cc_deps.bzl deps: update hermetic_cc_toolchain 2024-01-22 13:11:58 +01:00
k8s.bzl bazel: provide k8s / envtest toolchains 2023-08-17 10:46:45 +02:00
linux_kernel.bzl image: update Linux to 6.1.74 (#2851) 2024-01-24 17:10:56 +01:00
multirun_deps.bzl deps: update com_github_ash2k_bazel_tools digest to 2add5bb (#1789) 2023-05-17 09:43:36 +02:00
nixpkgs_deps.bzl deps: upgrade rules_nixpkgs 2023-11-10 18:15:59 +01:00
oci_deps.bzl deps: update rules_oci to a pre-release version to fix memory leak (#2729) 2023-12-19 15:40:04 +01:00
pkg_deps.bzl deps: update dependency io_bazel_rules_go to v0.39.1 (#1921) 2023-06-14 16:35:52 +02:00
proto_deps.bzl bazel: deps mirror (#1522) 2023-03-30 09:41:56 +02:00
python_deps.bzl deps: update dependency rules_python to v0.27.1 (#2591) 2023-12-20 15:42:36 +01:00
skylib_deps.bzl deps: update dependency bazel_skylib to v1.5.0 2023-11-14 14:04:16 +01:00