Skip to content
Unverified Commit ea05186e authored by Jonathan Watson's avatar Jonathan Watson Committed by Matthew Clarkson
Browse files

feat: allow custom metadata files

```py
download_file(
    name = "example",
    metadata = {
        "//:integrity.tmpl.bzl", ".integrity.bzl",
    },
)
```

Where `integrity.tmpl.bzl` is:

```py
visibility("public")

INTEGRITY = "{{integrity}}"
```

Then `@example//:.integrity.bzl"` can be used in `load` statement to read the download integrity.
parent 8d26b466
Loading
Loading
Loading
Loading
  • Congregate Migrate @congregate_migrate

    mentioned in commit 613745e3

    By GITLAB_TOKEN on 2025-02-28T10:17:51

    · Imported

    mentioned in commit 613745e3

    By GITLAB_TOKEN on 2025-02-28T10:17:51

    Toggle commit list
  • Congregate Migrate @congregate_migrate

    mentioned in commit cd183fed

    By GITLAB_TOKEN on 2025-06-26T08:42:55

    · Imported

    mentioned in commit cd183fed

    By GITLAB_TOKEN on 2025-06-26T08:42:55

    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment