-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Add verification to code gen #16810
Add verification to code gen #16810
Conversation
Labelling this PR as size/L |
GCE e2e build/test failed for commit 0a65b1627adcb5aab5bb0f5f8a49854f1ddd2df7. |
// StableCommandLine returns the command that will invoke this generator; it | ||
// will be stable when the generator is run in verify mode. (For use if you | ||
// want to include the command line as instructions in the generated output | ||
// without making --verify-only fail.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm afraid I'm completely lost in this comment :( [to be honest I don't understand it]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will rewrite it.
Sorry for long response. Generally LGTM - just few very minor comments. |
@lavalamp - it seems that you didn't update the PR here... |
Yeah sorry, I got bogged down by the bank scripts not working.
|
@lavalamp - friendly ping |
@lavalamp - what is blocking this PR? |
The build scripts. One of my goals for the day is to get this mergable. |
OK, fixed & rebased. PTAL |
GCE e2e test build/test passed for commit 691db35514e4d380d491ccb5d21901a04b0e2817. |
@@ -44,6 +46,8 @@ func main() { | |||
generators.DefaultNameSystem(), | |||
generators.Packages, | |||
); err != nil { | |||
glog.Fatalf("Error: %v", err) | |||
glog.Errorf("Error: %v", err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just curious - why do you change this? What is wrong with glog.Fatalf?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't actually recall changing this-- maybe I was paranoid about the exit code?
LGTM - (just 2 very minor comment) |
@@ -0,0 +1,30 @@ | |||
#!/bin/bash |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is an extra file I'll delete, not sure where it came from
I have a rebase error I need to fix... |
OK hopefully fixed for real now. |
GCE e2e test build/test passed for commit 56cae7c. |
Applying @wojtek-t's LGTM |
Travis continuous integration appears to have missed, closing and re-opening to trigger it |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test failed for commit 56cae7c. |
LGTM |
@k8s-bot e2e test this please |
GCE e2e test build/test passed for commit 56cae7c. |
Automatic merge from submit-queue |
Auto commit by PR queue bot
As we convert things over we can hopefully lose the scripts that do file copying for verification.