-
Notifications
You must be signed in to change notification settings - Fork 4.4k
repository_ctx.download doesn't use netrc #13709
Copy link
Copy link
Open
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)team-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: bug
Description
Description of the problem / feature request:
It seems that repository_ctx.download(url) doesn't handle netrc auth (while http_archive/http_file can use it, also wget can fetch same url).
Rule in question is jvm_maven_import_external https://github.com/bazelbuild/bazel/blob/master/tools/build_defs/repo/jvm.bzl#L109
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Don't have repro yet, will try to add later
What operating system are you running Bazel on?
NixOS
What's the output of bazel info release?
release 4.1.0- (@Non-Git)
If bazel info release returns "development version" or "(@Non-Git)", tell us how you built Bazel.
nixpkgs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)team-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: bug