Skip to content

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

Closed
iancha1992 wants to merge 5 commits intobazelbuild:release-7.1.0from
iancha1992:cp21026
Closed

[7.1.0] Do not store the repository name in RepoSpec#21205
iancha1992 wants to merge 5 commits intobazelbuild:release-7.1.0from
iancha1992:cp21026

Conversation

@iancha1992
Copy link
Copy Markdown
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
Copy Markdown
Member

Wyverald commented Feb 5, 2024

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

@iancha1992 iancha1992 enabled auto-merge February 5, 2024 21:29
@iancha1992
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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