Skip to content

Please provide a source query param when downloading Zig #578

@silversquirl

Description

@silversquirl

As mentioned in Zig's community mirrors usage guide, it is strongly recommended to provide a source query parameter when downloading from Zig mirrors. This allows those running the mirrors to identify where traffic is coming from, which is helpful when there is an unexpected traffic spike due to something like a misconfigured CI job.

I'm not hugely familiar with Bazel so I might've missed something, but I believe you aren't currently providing this parameter.
You also don't appear to be validating any signatures for the downloaded tarballs, though this isn't a huge deal since you're hardcoding checksums anyway :)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions