-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
bazel: glob-exclude all *_generated.go files from Gazelle #72099
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rickystewart
changed the title
bazel: generate flatbuffers code in bazel build
[WIP] bazel: generate flatbuffers code in bazel build
Oct 28, 2021
rickystewart
force-pushed
the
_generated
branch
from
October 28, 2021 15:55
9710f17
to
306abad
Compare
rickystewart
changed the title
[WIP] bazel: generate flatbuffers code in bazel build
bazel: glob-exclude all *_generated.go files from Gazelle
Oct 28, 2021
rickystewart
force-pushed
the
_generated
branch
5 times, most recently
from
October 29, 2021 20:42
d13bd47
to
ea4ee51
Compare
rail
approved these changes
Nov 1, 2021
bors r=rail |
bors r- |
Canceled. |
This will help ensure that Gazelle doesn't accidentally reference checked-in generated code. The generated code in `pkg/col/colserde/arrowserde` is made by `flatc`, the FlatBuffers compiler -- I tried to make a `genrule` to generate this code but the code that `flatc` generates now doesn't match up to what's checked in (maybe we used a different version of `flatc` for the original version of the code?) Closes cockroachdb#72096. Release note: None
rickystewart
force-pushed
the
_generated
branch
from
November 1, 2021 14:38
ea4ee51
to
df75249
Compare
bors r=rail |
Build failed: |
Flake. bors r=rail |
Build succeeded: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This review is only for the second commit in the stack; the other is from #72098.
This will help ensure that Gazelle doesn't accidentally reference
checked-in generated code.
The generated code in
pkg/col/colserde/arrowserde
is made byflatc
,the FlatBuffers compiler -- I tried to make a
genrule
to generate thiscode but the code that
flatc
generates now doesn't match up to what'schecked in (maybe we used a different version of
flatc
for theoriginal version of the code?)
Closes #72096.
Release note: None