Skip to content
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

Fix use_repo_add with no existing use_repo #1177

Merged
merged 1 commit into from
Aug 7, 2023

Conversation

fmeum
Copy link
Contributor

@fmeum fmeum commented Jul 28, 2023

use_repo_add now inserts a use_repo call for the correct proxy when none exists. Previously, it added such a call for the last proxy in the module file, whatever that might be.

Originally observed in https://bazelbuild.slack.com/archives/CDBP88Z0D/p1690549451155769?thread_ts=1690507292.465539&cid=CDBP88Z0D

@fmeum
Copy link
Contributor Author

fmeum commented Jul 28, 2023

CC @Wyverald

@fmeum fmeum force-pushed the fix-new-use-repo branch from 0eea45f to 1c540af Compare July 28, 2023 13:51
`use_repo_add` now inserts a `use_repo` call for the correct proxy when
none exists. Previously, it added such a call for the last proxy in the
module file, whatever that might be.
@fmeum fmeum force-pushed the fix-new-use-repo branch from 1c540af to 2872a96 Compare July 28, 2023 13:53
@fmeum
Copy link
Contributor Author

fmeum commented Aug 7, 2023

@vladmos Friendly ping

Copy link
Member

@vladmos vladmos left a comment

Choose a reason for hiding this comment

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

Thanks!

@vladmos vladmos merged commit 48385dd into bazelbuild:master Aug 7, 2023
@fmeum fmeum deleted the fix-new-use-repo branch August 7, 2023 15:23
apattidb pushed a commit to databricks/buildtools that referenced this pull request May 10, 2024
`use_repo_add` now inserts a `use_repo` call for the correct proxy when
none exists. Previously, it added such a call for the last proxy in the
module file, whatever that might be.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants