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

Flip --incompatible_load_proto_rules_from_bzl #8987

Closed
wants to merge 3 commits into from

Conversation

Yannic
Copy link
Contributor

@Yannic Yannic commented Jul 25, 2019

DO NOT SUBMIT until Bazel 0.29 was cut.

RELNOTES: The flag --incompatible_load_proto_rules_from_bzl from_bzl has been flipped.

Fixes #8922

@jin jin added the team-Rules-Server Issues for serverside rules included with Bazel label Jul 26, 2019
@lberki
Copy link
Contributor

lberki commented Jul 29, 2019

Huh, this is scary (just like all the other "force load rule from .bzl file" changes). I'd love to know what downstream projects this breaks, but for some reason, BuildKite is not telling :(

@Yannic
Copy link
Contributor Author

Yannic commented Jul 29, 2019

I think downstream testing only works for brances directly in the Bazel repo https://github.com/bazelbuild/continuous-integration/blob/master/docs/downstream-testing.md.
I expect that this change currently breaks most, if not all, downstream projects :(.

@lberki
Copy link
Contributor

lberki commented Jul 29, 2019

...but the flag is already available at Bazel HEAD. Actually, I think I know now: our incompatible change testing pipeline only considers flags that are released (which this flag is not)

Alas, yes, it will break most of the downstream projects. I expect the same for the Java and C++ versions, too. I don't have a good plan about tackling that...

DO NOT SUBMIT until Bazel 0.29 was cut.

RELNOTES: The flag --incompatible_load_proto_rules_from_bzl from_bzl has been flipped.

Fixes bazelbuild#8922
@meisterT
Copy link
Member

What's the state of this PR?

@Yannic
Copy link
Contributor Author

Yannic commented Jul 17, 2020

The state of this is "Won't flip this flag for Bazel 4.0" https://docs.google.com/spreadsheets/d/1hahSlNA9E-SXZckoVWnNkE2jwbX6MZpjTjgsfKSmAyk/edit?disco=AAAAJtxFoNo

I'll close this for now and send a new one once the flag is ready to flip.

@Yannic Yannic closed this Jul 17, 2020
@Yannic Yannic deleted the patch-2 branch July 17, 2020 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes team-Rules-Server Issues for serverside rules included with Bazel
Projects
None yet
Development

Successfully merging this pull request may close these issues.

incompatible_load_proto_rules_from_bzl: load the Protobuf rules from @rules_proto
5 participants