Skip to content

Conversation

@meteorcloudy
Copy link
Member

@meteorcloudy meteorcloudy commented May 23, 2024

  • Fixed the leak of remote_patches URLs for downloaded the source archive.
  • Compute auth for required URLs only

Fixes #22201

@github-actions github-actions bot added the awaiting-review PR is awaiting review from an assigned reviewer label May 23, 2024
@meteorcloudy meteorcloudy requested review from Wyverald and fmeum and removed request for Wyverald May 23, 2024 16:39
@meteorcloudy
Copy link
Member Author

@bazel-io fork 7.2.0

for p in pending:
p.wait()

def patch(ctx, patches = None, patch_cmds = None, patch_cmds_win = None, patch_tool = None, patch_args = None, auth = None):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a breaking change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, I added it back as a way to override the auth by user.

@iancha1992 iancha1992 added the team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. label May 23, 2024
@meteorcloudy meteorcloudy changed the title Fix getting authentication for URLs in http_archive Fix getting authentication for URLs in http repo rules May 24, 2024
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label May 29, 2024
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request May 29, 2024
- Fixed the leak of `remote_patches` URLs for downloaded the source archive.
- Compute auth for required URLs only

Fixes bazelbuild#22201

Closes bazelbuild#22517.

PiperOrigin-RevId: 638300996
Change-Id: Ib76e3284f209d2314844cfd662ac8eadba785fae
github-merge-queue bot pushed a commit that referenced this pull request May 29, 2024
- Fixed the leak of `remote_patches` URLs for downloaded the source
archive.
- Compute auth for required URLs only

Fixes #22201

Closes #22517.

PiperOrigin-RevId: 638300996
Change-Id: Ib76e3284f209d2314844cfd662ac8eadba785fae

Commit
5986420

Co-authored-by: Yun Peng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

http.bzl : all_urls is given the remote_patch URL which is surely a mistake.

3 participants