Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • bazel/rules_coreutils
1 result
Show changes
Commits on Source (8)
# `bzlmod` pre-release registries
common --registry https://bcr.bazel.build
common --registry=https://gitlab.arm.com/bazel/toolchain_utils/-/releases/v1.0.0-beta.18/downloads
# Build cache
build --experimental_guard_against_concurrent_changes
......
7.2.0
7.4.0
# [1.0.0-beta.8](https://git.gitlab.arm.com/bazel/rules_coreutils/compare/v1.0.0-beta.7...v1.0.0-beta.8) (2024-11-20)
### Bug Fixes
- switch `toolchain_local_select#map` to lazily fetch labels ([f8c3f3c](https://git.gitlab.arm.com/bazel/rules_coreutils/commit/f8c3f3c64b4d96fa0284d62e53150596df2ddeaa))
### Features
- upgrade to `coreutils` `0.0.28` ([19d14af](https://git.gitlab.arm.com/bazel/rules_coreutils/commit/19d14afbd5a76be85e932eb76abc598d681715ea))
# [1.0.0-beta.7](https://git.gitlab.arm.com/bazel/rules_coreutils/compare/v1.0.0-beta.6...v1.0.0-beta.7) (2024-10-30)
### Bug Fixes
......
* @bazel
* @matthew.clarkson
# TODO: update sections with relevant people
[Shell] @matthew.clarkson
*.sh
[Batch] @matthew.clarkson
*.bat
[JavaScript] @matthew.clarkson
*.js
*.mjs
[C] @matthew.clarkson
*.c
*.h
[C++] @matthew.clarkson
*.cpp
*.hpp
*.cc
*.hh
[Rust] @matthew.clarkson
*.rs
[Documentation] @matthew.clarkson
*.md
......
# Contributing
# Getting Started
[Install][bazelisk-install] `bazelisk` and run the tests:
```sh
$ bazelisk test //...
$ (cd e2e; bazelisk test //...)
```
[bazelisk-install]: https://github.com/bazelbuild/bazelisk?tab=readme-ov-file#installation
# Workflow
- Follow the [contributions guide] to be granted forking permissions.
- [Fork] the project
- Implement the change
- [Create merge request] from fork
# Release
`semantic-release` performs automatic releases of the project.
Release channels for `alpha`, `beta` and `stable` releases are used.
The [upstream configuration usage guide][semrel-release-channels-usage] provides information on how to perform a
release.
[semrel-release-channels-usage]: https://gitlab.arm.com/semantic-release/config-release-channels/-/blob/main/README.md?ref_type=heads#usage
[contributions guide]: https://gitlab.arm.com/documentation/contributions#contributions
[Fork]: https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html#create-a-fork
[Create merge request]: https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html#merge-changes-back-upstream
module(
name = "rules_coreutils",
version = "1.0.0-beta.7",
version = "1.0.0-beta.8",
bazel_compatibility = [
">=7.0.0",
],
compatibility_level = 1,
)
bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.17")
bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.18")
bazel_dep(name = "download_utils", version = "1.0.0-beta.2")
bazel_dep(name = "ape", version = "1.0.0-beta.14")
......@@ -21,38 +21,30 @@ archive = use_repo_rule("@download_utils//download/archive:defs.bzl", "download_
links = {
"coreutils.exe" if "windows" in basename else "coreutils": "entrypoint",
},
strip_prefix = "coreutils-0.0.26-{}".format(basename.partition(".")[0]),
urls = ["https://github.com/uutils/coreutils/releases/download/0.0.26/coreutils-0.0.26-{}".format(basename)],
strip_prefix = "coreutils-0.0.28-{}".format(basename.partition(".")[0]),
urls = ["https://github.com/uutils/coreutils/releases/download/0.0.28/coreutils-0.0.28-{}".format(basename)],
)
for triplet, basename, integrity in (
("arm64-linux-gnu", "aarch64-unknown-linux-gnu.tar.gz", "sha256-hYfQ6ZLx9pwP4GMBYAH42kvJnETjIAV7X/zdpCk2QUI="),
("amd64-linux-gnu", "x86_64-unknown-linux-gnu.tar.gz", "sha256-ZKgqe7xNZcCjrvVsEnyW+GJ5zf0k+hVsTq9pXLAKvz4="),
("arm64-linux-musl", "aarch64-unknown-linux-musl.tar.gz", "sha256-9zGLFOMDjUDbraDY/hrE5zFJ0O+QYrvx2wHk3Gw3q/A="),
("amd64-linux-musl", "x86_64-unknown-linux-musl.tar.gz", "sha256-QpGVp3wmHqpt5Brd/bdj7pyMQNftcihOtaRI8z2uhp0="),
("amd64-windows-msvc", "x86_64-pc-windows-msvc.zip", "sha256-6qPkqxQZM4XBBBJ80t1uvzfZiz0gBeT/zoCdfqOO3uk="),
("arm64-macos-darwin", "aarch64-apple-darwin.tar.gz", "sha256-/A6CNYWmvOwPW443pH+wO+VtzDFgussN1hRGuANnFOU="),
("arm64-linux-gnu", "aarch64-unknown-linux-gnu.tar.gz", "sha256-cm3iCgrKu1HauNH3PQpx06A3d4Jy0SmeVPY7MhMRNro="),
("amd64-linux-gnu", "x86_64-unknown-linux-gnu.tar.gz", "sha256-4ipKkXm73mZ4ZZF9wTmeRoahgVnaNb5sG3hYLFKjc6I="),
("arm64-linux-musl", "aarch64-unknown-linux-musl.tar.gz", "sha256-AMJriqQM9uC7g3OEbpPiQmCMMRVWCfVz5tTZ0pYcMKg="),
("amd64-linux-musl", "x86_64-unknown-linux-musl.tar.gz", "sha256-TTUsIpXa8imHQfzQVlzU4H1T3ltjUpcvJHMYHvid7Gw="),
("amd64-windows-msvc", "x86_64-pc-windows-msvc.zip", "sha256-NPrwPoVQtSOsdGaK1l+xJzCTDGNjcPgoWAMJpCa6k+I="),
("arm64-macos-darwin", "aarch64-apple-darwin.tar.gz", "sha256-u9m5f8OLnohB/rk7VoTzWHr7PWUaHMkeRtALGwvPKPY="),
("amd64-macos-darwin", "x86_64-apple-darwin.tar.gz", "sha256-o+LUnVjUaIzjU3WOk2xbILc5pBbURs76Ojjo+Mhu5vA="),
)
]
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": "@coreutils-amd64-linux-musl",
"arm64-linux": "@coreutils-arm64-linux-musl",
"amd64-windows": "@coreutils-amd64-windows-msvc",
"arm64-macos-darwin": "@coreutils-arm64-macos-darwin",
"amd64-macos-darwin": "@coreutils-amd64-macos-darwin",
"@coreutils-amd64-linux-musl": "amd64-linux",
"@coreutils-arm64-linux-musl": "arm64-linux",
"@coreutils-amd64-windows-msvc": "amd64-windows",
"@coreutils-arm64-macos-darwin": "arm64-macos-darwin",
"@coreutils-amd64-macos-darwin": "amd64-macos-darwin",
},
)
......
......@@ -41,8 +41,8 @@
"https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel": "836e76439f354b89afe6a911a7adf59a6b2518fafb174483ad78a2a2fde7b1c5",
"https://bcr.bazel.build/modules/rules_cc/0.0.9/source.json": "1f1ba6fea244b616de4a554a0f4983c91a9301640c8fe0dd1d410254115c8430",
"https://bcr.bazel.build/modules/rules_java/4.0.0/MODULE.bazel": "5a78a7ae82cd1a33cef56dc578c7d2a46ed0dca12643ee45edbb8417899e6f74",
"https://bcr.bazel.build/modules/rules_java/7.6.1/MODULE.bazel": "2f14b7e8a1aa2f67ae92bc69d1ec0fa8d9f827c4e17ff5e5f02e91caa3b2d0fe",
"https://bcr.bazel.build/modules/rules_java/7.6.1/source.json": "8f3f3076554e1558e8e468b2232991c510ecbcbed9e6f8c06ac31c93bcf38362",
"https://bcr.bazel.build/modules/rules_java/7.6.5/MODULE.bazel": "481164be5e02e4cab6e77a36927683263be56b7e36fef918b458d7a8a1ebadb1",
"https://bcr.bazel.build/modules/rules_java/7.6.5/source.json": "a805b889531d1690e3c72a7a7e47a870d00323186a9904b36af83aa3d053ee8d",
"https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel": "a56b85e418c83eb1839819f0b515c431010160383306d13ec21959ac412d2fe7",
"https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/source.json": "a075731e1b46bc8425098512d038d416e966ab19684a10a34f4741295642fc35",
"https://bcr.bazel.build/modules/rules_license/0.0.3/MODULE.bazel": "627e9ab0247f7d1e05736b59dbb1b6871373de5ad31c3011880b4133cafd4bd0",
......@@ -60,32 +60,35 @@
"https://bcr.bazel.build/modules/stardoc/0.5.1/MODULE.bazel": "1a05d92974d0c122f5ccf09291442580317cdd859f07a8655f1db9a60374f9f8",
"https://bcr.bazel.build/modules/stardoc/0.5.1/source.json": "a96f95e02123320aa015b956f29c00cb818fa891ef823d55148e1a362caacf29",
"https://bcr.bazel.build/modules/toolchain_utils/1.0.0-beta.17/MODULE.bazel": "cde98816e2c0ce65b29b1f3a43412ef0d9d6d82fe285f98fed111623f82d7f12",
"https://bcr.bazel.build/modules/toolchain_utils/1.0.0-beta.17/source.json": "92ce5f97add93cd1b534151a38cef7cede92462439ebe559bba1681bdf4241f9",
"https://bcr.bazel.build/modules/toolchain_utils/1.0.0-beta.18/MODULE.bazel": "not found",
"https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43",
"https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/source.json": "f1ef7d3f9e0e26d4b23d1c39b5f5de71f584dd7d1b4ef83d9bbba6ec7a6a6459",
"https://bcr.bazel.build/modules/zlib/1.2.11/MODULE.bazel": "07b389abc85fdbca459b69e2ec656ae5622873af3f845e1c9d80fe179f3effa0",
"https://bcr.bazel.build/modules/zlib/1.2.12/MODULE.bazel": "3b1a8834ada2a883674be8cbd36ede1b6ec481477ada359cd2d3ddc562340b27",
"https://bcr.bazel.build/modules/zlib/1.3/MODULE.bazel": "6a9c02f19a24dcedb05572b2381446e27c272cd383aed11d41d99da9e3167a72",
"https://bcr.bazel.build/modules/zlib/1.3/source.json": "b6b43d0737af846022636e6e255fd4a96fee0d34f08f3830e6e0bac51465c37c"
"https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/MODULE.bazel": "af322bc08976524477c79d1e45e241b6efbeb918c497e8840b8ab116802dda79",
"https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/source.json": "2be409ac3c7601245958cd4fcdff4288be79ed23bd690b4b951f500d54ee6e7d",
"https://gitlab.arm.com/bazel/toolchain_utils/-/releases/v1.0.0-beta.18/downloads/bazel_registry.json": "not found",
"https://gitlab.arm.com/bazel/toolchain_utils/-/releases/v1.0.0-beta.18/downloads/modules/toolchain_utils/1.0.0-beta.18/MODULE.bazel": "b90d1ed54151985dd8ed72277885858540fa54d04ade39c9ba26e23c2086255d",
"https://gitlab.arm.com/bazel/toolchain_utils/-/releases/v1.0.0-beta.18/downloads/modules/toolchain_utils/1.0.0-beta.18/source.json": "29e8dca0c55ecfd911b7f39f0cc2bf5db8ab8d6f03d51eba9dfe9e466266f90f"
},
"selectedYankedVersions": {},
"moduleExtensions": {
"@@apple_support~//crosstool:setup.bzl%apple_cc_configure_extension": {
"general": {
"bzlTransitiveDigest": "PjIds3feoYE8SGbbIq2SFTZy3zmxeO2tQevJZNDo7iY=",
"usagesDigest": "aLmqbvowmHkkBPve05yyDNGN7oh7QE9kBADr3QIZTZs=",
"usagesDigest": "+hz7IHWN6A1oVJJWNDB6yZRG+RYhF76wAYItpAeIUIg=",
"recordedFileInputs": {},
"recordedDirentsInputs": {},
"envVariables": {},
"generatedRepoSpecs": {
"local_config_apple_cc": {
"local_config_apple_cc_toolchains": {
"bzlFile": "@@apple_support~//crosstool:setup.bzl",
"ruleClassName": "_apple_cc_autoconf",
"ruleClassName": "_apple_cc_autoconf_toolchains",
"attributes": {}
},
"local_config_apple_cc_toolchains": {
"local_config_apple_cc": {
"bzlFile": "@@apple_support~//crosstool:setup.bzl",
"ruleClassName": "_apple_cc_autoconf_toolchains",
"ruleClassName": "_apple_cc_autoconf",
"attributes": {}
}
},
......@@ -101,7 +104,7 @@
"@@platforms//host:extension.bzl%host_platform": {
"general": {
"bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=",
"usagesDigest": "V1R2Y2oMxKNfx2WCWpSCaUV1WefW1o8HZGm3v1vHgY4=",
"usagesDigest": "hgylFkgWSg0ulUwWZzEM1aIftlUnbmw2ynWLdEfHnZc=",
"recordedFileInputs": {},
"recordedDirentsInputs": {},
"envVariables": {},
......
# `bzlmod` pre-release registries
common --registry https://bcr.bazel.build
common --registry=https://gitlab.arm.com/bazel/toolchain_utils/-/releases/v1.0.0-beta.18/downloads
# Build cache
build --experimental_guard_against_concurrent_changes
......
7.2.0
7.4.0
......@@ -5,7 +5,7 @@ module(
],
)
bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.12")
bazel_dep(name = "toolchain_utils", version = "1.0.0-beta.18")
bazel_dep(name = "rules_coreutils")
local_path_override(
module_name = "rules_coreutils",
......
......@@ -41,8 +41,8 @@
"https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel": "836e76439f354b89afe6a911a7adf59a6b2518fafb174483ad78a2a2fde7b1c5",
"https://bcr.bazel.build/modules/rules_cc/0.0.9/source.json": "1f1ba6fea244b616de4a554a0f4983c91a9301640c8fe0dd1d410254115c8430",
"https://bcr.bazel.build/modules/rules_java/4.0.0/MODULE.bazel": "5a78a7ae82cd1a33cef56dc578c7d2a46ed0dca12643ee45edbb8417899e6f74",
"https://bcr.bazel.build/modules/rules_java/7.6.1/MODULE.bazel": "2f14b7e8a1aa2f67ae92bc69d1ec0fa8d9f827c4e17ff5e5f02e91caa3b2d0fe",
"https://bcr.bazel.build/modules/rules_java/7.6.1/source.json": "8f3f3076554e1558e8e468b2232991c510ecbcbed9e6f8c06ac31c93bcf38362",
"https://bcr.bazel.build/modules/rules_java/7.6.5/MODULE.bazel": "481164be5e02e4cab6e77a36927683263be56b7e36fef918b458d7a8a1ebadb1",
"https://bcr.bazel.build/modules/rules_java/7.6.5/source.json": "a805b889531d1690e3c72a7a7e47a870d00323186a9904b36af83aa3d053ee8d",
"https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/MODULE.bazel": "a56b85e418c83eb1839819f0b515c431010160383306d13ec21959ac412d2fe7",
"https://bcr.bazel.build/modules/rules_jvm_external/4.4.2/source.json": "a075731e1b46bc8425098512d038d416e966ab19684a10a34f4741295642fc35",
"https://bcr.bazel.build/modules/rules_license/0.0.3/MODULE.bazel": "627e9ab0247f7d1e05736b59dbb1b6871373de5ad31c3011880b4133cafd4bd0",
......@@ -59,34 +59,36 @@
"https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel": "9208ee05fd48bf09ac60ed269791cf17fb343db56c8226a720fbb1cdf467166c",
"https://bcr.bazel.build/modules/stardoc/0.5.1/MODULE.bazel": "1a05d92974d0c122f5ccf09291442580317cdd859f07a8655f1db9a60374f9f8",
"https://bcr.bazel.build/modules/stardoc/0.5.1/source.json": "a96f95e02123320aa015b956f29c00cb818fa891ef823d55148e1a362caacf29",
"https://bcr.bazel.build/modules/toolchain_utils/1.0.0-beta.12/MODULE.bazel": "947cf935fa609c91b05bd8c8c1be38b9e10b7bc8949cf3092ee416ed30995078",
"https://bcr.bazel.build/modules/toolchain_utils/1.0.0-beta.17/MODULE.bazel": "cde98816e2c0ce65b29b1f3a43412ef0d9d6d82fe285f98fed111623f82d7f12",
"https://bcr.bazel.build/modules/toolchain_utils/1.0.0-beta.17/source.json": "92ce5f97add93cd1b534151a38cef7cede92462439ebe559bba1681bdf4241f9",
"https://bcr.bazel.build/modules/toolchain_utils/1.0.0-beta.18/MODULE.bazel": "not found",
"https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43",
"https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/source.json": "f1ef7d3f9e0e26d4b23d1c39b5f5de71f584dd7d1b4ef83d9bbba6ec7a6a6459",
"https://bcr.bazel.build/modules/zlib/1.2.11/MODULE.bazel": "07b389abc85fdbca459b69e2ec656ae5622873af3f845e1c9d80fe179f3effa0",
"https://bcr.bazel.build/modules/zlib/1.2.12/MODULE.bazel": "3b1a8834ada2a883674be8cbd36ede1b6ec481477ada359cd2d3ddc562340b27",
"https://bcr.bazel.build/modules/zlib/1.3/MODULE.bazel": "6a9c02f19a24dcedb05572b2381446e27c272cd383aed11d41d99da9e3167a72",
"https://bcr.bazel.build/modules/zlib/1.3/source.json": "b6b43d0737af846022636e6e255fd4a96fee0d34f08f3830e6e0bac51465c37c"
"https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/MODULE.bazel": "af322bc08976524477c79d1e45e241b6efbeb918c497e8840b8ab116802dda79",
"https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/source.json": "2be409ac3c7601245958cd4fcdff4288be79ed23bd690b4b951f500d54ee6e7d",
"https://gitlab.arm.com/bazel/toolchain_utils/-/releases/v1.0.0-beta.18/downloads/bazel_registry.json": "not found",
"https://gitlab.arm.com/bazel/toolchain_utils/-/releases/v1.0.0-beta.18/downloads/modules/toolchain_utils/1.0.0-beta.18/MODULE.bazel": "b90d1ed54151985dd8ed72277885858540fa54d04ade39c9ba26e23c2086255d",
"https://gitlab.arm.com/bazel/toolchain_utils/-/releases/v1.0.0-beta.18/downloads/modules/toolchain_utils/1.0.0-beta.18/source.json": "29e8dca0c55ecfd911b7f39f0cc2bf5db8ab8d6f03d51eba9dfe9e466266f90f"
},
"selectedYankedVersions": {},
"moduleExtensions": {
"@@apple_support~//crosstool:setup.bzl%apple_cc_configure_extension": {
"general": {
"bzlTransitiveDigest": "PjIds3feoYE8SGbbIq2SFTZy3zmxeO2tQevJZNDo7iY=",
"usagesDigest": "aLmqbvowmHkkBPve05yyDNGN7oh7QE9kBADr3QIZTZs=",
"usagesDigest": "+hz7IHWN6A1oVJJWNDB6yZRG+RYhF76wAYItpAeIUIg=",
"recordedFileInputs": {},
"recordedDirentsInputs": {},
"envVariables": {},
"generatedRepoSpecs": {
"local_config_apple_cc": {
"local_config_apple_cc_toolchains": {
"bzlFile": "@@apple_support~//crosstool:setup.bzl",
"ruleClassName": "_apple_cc_autoconf",
"ruleClassName": "_apple_cc_autoconf_toolchains",
"attributes": {}
},
"local_config_apple_cc_toolchains": {
"local_config_apple_cc": {
"bzlFile": "@@apple_support~//crosstool:setup.bzl",
"ruleClassName": "_apple_cc_autoconf_toolchains",
"ruleClassName": "_apple_cc_autoconf",
"attributes": {}
}
},
......@@ -102,7 +104,7 @@
"@@platforms//host:extension.bzl%host_platform": {
"general": {
"bzlTransitiveDigest": "xelQcPZH8+tmuOHVjL9vDxMnnQNMlwj0SlvgoqBkm4U=",
"usagesDigest": "V1R2Y2oMxKNfx2WCWpSCaUV1WefW1o8HZGm3v1vHgY4=",
"usagesDigest": "hgylFkgWSg0ulUwWZzEM1aIftlUnbmw2ynWLdEfHnZc=",
"recordedFileInputs": {},
"recordedDirentsInputs": {},
"envVariables": {},
......