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

Use apparent repo name in go mod tidy suggestion #2007

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Conversation

fmeum
Copy link
Member

@fmeum fmeum commented Jan 7, 2025

What type of PR is this?

Bug fix

What package or component does this PR mostly affect?

go_deps

What does this PR do? Why is it needed?

This will print @io_bazel_rules_go//go:go if the user uses the legacy repo name. Before Bazel 8.1.0, it will emit ...//go:go instead of ...//go, but correctness is more important than brevity in this case.

Which issues(s) does this PR fix?

Other notes for review

@fmeum fmeum requested review from tyler-french and linzhp January 7, 2025 07:58
This will print `@io_bazel_rules_go//go:go` if the user uses the legacy repo name. Before Bazel 8.1.0, it will emit `...//go:go` instead of `...//go`, but correctness is more important than brevity in this case.
@fmeum fmeum enabled auto-merge (squash) January 7, 2025 16:41
@fmeum fmeum merged commit 0df2788 into master Jan 7, 2025
16 checks passed
@fmeum fmeum deleted the improve-print branch January 7, 2025 16:45
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.

None yet

2 participants