theoremlp / rules_multitool

Bazel rules for ergonomic tool definitions
Apache License 2.0
22 stars 6 forks source link

Use netrc when configured for download auth #51

Closed mark-thm closed 3 months ago

mark-thm commented 3 months ago

We received a request in Bazel Slack to support netrc-based authentication for downloads. This PR adds support based on the guidelines in https://www.stevenengelhardt.com/2023/03/02/practical-bazel-retrieving-secrets-from-netrc-in-custom-rules/.

mark-thm commented 3 months ago

An update to https://github.com/theoremlp/multitool is required before this can merge

mark-thm commented 3 months ago

https://github.com/theoremlp/multitool/pull/42