-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http_archive patching via bzlmod doesn't use credentials stored in .netrc files #21885
Comments
This is definitely a bug, but I did some investigation, it looks like the IndexRegistry uses the same downloadManager set here. So it should respect the netrc file. |
Oh, I see, the problem is with the |
@bazel-io fork 7.2.0 |
…atch files Fixes bazelbuild#21885 PiperOrigin-RevId: 625651940 Change-Id: Id8a29c429e3b283dd0e2eecd1e13c023f0feb357
…atch files Fixes bazelbuild#21885 PiperOrigin-RevId: 625651940 Change-Id: Id8a29c429e3b283dd0e2eecd1e13c023f0feb357
A fix for this issue has been included in Bazel 7.2.0 RC1. Please test out the release candidate and report any issues as soon as possible. |
Description of the bug:
This looks similar to #15286 but seems to be a specific problem when consuming things via proxied/internal bazel registry requiring authentication.
MODULES.bazel
:Note,
curl --netrc
works. Thus, somewhere within the bzlmod fetch it seems to loose the authentication info from~.netrc
file.Which category does this issue belong to?
Core, External Dependency
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
No response
What is the output of
bazel info release
?7.1.1
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse HEAD
?No response
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: