-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a starlark function computing auth dict from netrc data
Add a Starlark function combining the data from a netrc file with a list of URLs to obtain a suitable auth dict for the download function of a repository context. This will be used by the http_archive rule, but is also a useful building block for repository-rule authors. Change-Id: Ie61c648323fa9c2f954d773a9a726eb3c90c259f PiperOrigin-RevId: 254717280
- Loading branch information
1 parent
a79a4b6
commit 38cfc18
Showing
2 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters