- Jun 24, 2025
-
-
Matthew Clarkson authored
```py download = use_extension("@download_utils//download/template:defs.bzl", "download_template") download.archive( name = "coreutils-{version}-{triplet}", srcs = ["entrypoint"], links = { "coreutils{executable.extension}": "entrypoint", }, lock = "//coreutils:lock.json", strip_prefix = "coreutils-{version}-{rust.triplet}", substitutions = { "version": [ "0.0.28", "0.1.0", ], "triplet": [ "arm64-linux-gnu", "amd64-linux-gnu", "arm64-linux-musl", "amd64-linux-musl", "amd64-windows-msvc", "arm64-macos-darwin", "amd64-macos-darwin", ], }, uploads = [ "https://gitlab.arm.com/api/v4/projects/bazel%2Fdownload_utils/packages/generic/coreutils/{version}/{rust.archive.basename}", ], urls = [ "https://gitlab.arm.com/api/v4/projects/bazel%2Fdownload_utils/packages/generic/coreutils/{version}/{rust.archive.basename}", "https://github.com/uutils/coreutils/releases/download/{version}/coreutils-{version}-{rust.archive.basename}", ], ) ``` Run `bazel mod tidy --lockfile_mode=update` to generate the lock file. Run `bazel run @download_utils//download/triplet/lock:upload coreutils/lock.json` to mirror the downloads and lock the integrities.
-
- Sep 17, 2024
-
-
- Feb 21, 2024
-
-
Matthew Clarkson authored
-
- Feb 13, 2024
-
-
Matthew Clarkson authored
BREAKING CHANGE: Project renamed to `download_utils` for BCR upstreaming. A graceful switch can be done by renaming the module in `MODULE.bazel`: ``` bazel_dep(name = "download_utils", repo_name = "rules_download") ```
-
Matthew Clarkson authored
On Windows `ctx.symlink` actually creates hardlinks. BREAKING CHANGE: `symlinks` in the rule is now `links` ```diff download_archive( - symlinks = { + links = { "abc.txt": "def.txt", } ) ```
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Allows creating symlinks in the created download repositories. This is especially useful for cross-platform creation of symlinks.
-
-
Matthew Clarkson authored
-
Matthew Clarkson authored
Double down on all hermetic tooling should be provided in `tools`. `rules_coreutils` should be the ruleset that provides hermetic coreutils, not `rules_download`. Users should only pay for what they use and if they never use core utilities, we download it everytime.
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
Matthew Clarkson authored
-
- Nov 14, 2023
-
-