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

Require proto rules to be loaded by buildifier #1310

Merged
merged 6 commits into from
Nov 29, 2024

Conversation

comius
Copy link
Contributor

@comius comius commented Nov 27, 2024

Because the rules are moved into the repository the loads become mandatory with Bazel@HEAD.

Add new warning for each rule and symbol that needs to be loaded. Buildifier doesn't handle well loading from different bzl files in a single warning.

Enable all proto rules warning by default.

Because the rules are moved into the repository the loads become mandatory with Bazel@HEAD.

Add new warning for each rule and symbol that needs to be loaded. Buildifier doesn't handle well loading from different bzl files in a single warning.

Enable all proto rules warning by default.
warn/warn.go Show resolved Hide resolved
warn/warn_test.go Outdated Show resolved Hide resolved
@comius comius requested a review from vladmos November 28, 2024 12:09
@comius
Copy link
Contributor Author

comius commented Nov 28, 2024

Hey @meteorcloudy, any idea why build is failing on protobuf on this PR, but not on daily builds?

buildifier/config/config_test.go Outdated Show resolved Hide resolved
@meteorcloudy
Copy link
Member

@vladmos Please take a final look to merge it

@comius comius merged commit a0444eb into bazelbuild:main Nov 29, 2024
2 checks passed
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.

3 participants