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

lexbase: pin reserved_keywords.go within Bazel #56019

Merged
merged 1 commit into from
Oct 27, 2020

Conversation

irfansharif
Copy link
Contributor

It's an auto-generated file that bazel doesn't yet know how to construct
within the sandbox. Before this PR make bazel-generate would show
spurious diffs on a clean checkout without this file present. Now it
no longer will.

Unfortunately it also means that successful bazel builds require
reserved_keywords.go being pre-generated ahead of time (it's not
checked-in into the repo). Once Bazel is taught to generate this file
however, this will no longer be the case. It was just something that I
missed in #55687.

Release note: None

It's an auto-generated file that bazel doesn't yet know how to construct
within the sandbox. Before this PR `make bazel-generate` would show
spurious diffs on a clean checkout without this file present. Now it
no longer will.

Unfortunately it also means that successful bazel builds require
`reserved_keywords.go` being pre-generated ahead of time (it's not
checked-in into the repo). Once Bazel is taught to generate this file
however, this will no longer be the case. It was just something that I
missed in cockroachdb#55687.

Release note: None
@irfansharif irfansharif requested review from knz and otan October 27, 2020 17:33
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@irfansharif
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Oct 27, 2020

Build succeeded:

@craig craig bot merged commit bea5339 into cockroachdb:master Oct 27, 2020
@irfansharif irfansharif deleted the 201027.lexbase-bazel branch October 27, 2020 18:30
@irfansharif
Copy link
Contributor Author

+cc @jlinder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants