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

[7.1.0] Do not store the repository name in RepoSpec #21205

Closed
wants to merge 5 commits into from

Conversation

iancha1992
Copy link
Member

The name can instead be set centrally in BzlmodRepoRuleFunction. This removes some unnecessary glue code and paves the way for rewriting canonical repo names based on knowledge of the full dep graph.

Work towards #20997

Closes #21026.

Commit a87a8db

PiperOrigin-RevId: 604256186
Change-Id: Ia49123f016d1512074b04ec458f017f4bbb88233

The name can instead be set centrally in `BzlmodRepoRuleFunction`. This removes some unnecessary glue code and paves the way for rewriting canonical repo names based on knowledge of the full dep graph.

Work towards bazelbuild#20997

Closes bazelbuild#21026.

PiperOrigin-RevId: 604256186
Change-Id: Ia49123f016d1512074b04ec458f017f4bbb88233
@iancha1992 iancha1992 added team-ExternalDeps External dependency handling, remote repositiories, WORKSPACE file. awaiting-review PR is awaiting review from an assigned reviewer labels Feb 5, 2024
@iancha1992 iancha1992 requested a review from a team as a code owner February 5, 2024 20:11
@Wyverald
Copy link
Member

Wyverald commented Feb 5, 2024

Looks like you might need to run bazel run //src/test/tools/bzlmod:update_default_lock_file

@iancha1992
Copy link
Member Author

iancha1992 commented Feb 5, 2024

Looks like you might need to run bazel run //src/test/tools/bzlmod:update_default_lock_file

@Wyverald hmm.. I just did run it. But looks like it's giving a different error this time.

cc: @bazelbuild/triage

@Wyverald
Copy link
Member

Wyverald commented Feb 5, 2024

ok hang on, the lockfile situation is getting out of hand... let me see if I can update the release-7.1.0 branch to use Bazel 7.0.2 first.

@Wyverald
Copy link
Member

Wyverald commented Feb 6, 2024

Sent #21209 instead

@iancha1992 iancha1992 closed this Feb 6, 2024
auto-merge was automatically disabled February 6, 2024 08:44

Pull request was closed

@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label Feb 6, 2024
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.

3 participants