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

Add verification to code gen #16810

Merged
merged 2 commits into from
Dec 3, 2015
Merged

Conversation

lavalamp
Copy link
Member

@lavalamp lavalamp commented Nov 4, 2015

As we convert things over we can hopefully lose the scripts that do file copying for verification.

@k8s-github-robot k8s-github-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 4, 2015
@k8s-github-robot
Copy link

Labelling this PR as size/L

@k8s-bot
Copy link

k8s-bot commented Nov 4, 2015

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.)
Copy link
Member

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]

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will rewrite it.

@wojtek-t
Copy link
Member

wojtek-t commented Nov 9, 2015

Sorry for long response.

Generally LGTM - just few very minor comments.

@wojtek-t
Copy link
Member

@lavalamp - it seems that you didn't update the PR here...

@lavalamp
Copy link
Member Author

Yeah sorry, I got bogged down by the bank scripts not working.
On Nov 12, 2015 12:03 AM, "Wojciech Tyczynski" notifications@github.com
wrote:

@lavalamp https://github.com/lavalamp - it seems that you didn't update
the PR here...


Reply to this email directly or view it on GitHub
#16810 (comment)
.

@wojtek-t
Copy link
Member

@lavalamp - friendly ping

@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Nov 29, 2015
@wojtek-t
Copy link
Member

wojtek-t commented Dec 1, 2015

@lavalamp - what is blocking this PR?

@lavalamp
Copy link
Member Author

lavalamp commented Dec 1, 2015

The build scripts. One of my goals for the day is to get this mergable.

@lavalamp
Copy link
Member Author

lavalamp commented Dec 1, 2015

OK, fixed & rebased. PTAL

@k8s-github-robot k8s-github-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 1, 2015
@k8s-bot
Copy link

k8s-bot commented Dec 1, 2015

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)
Copy link
Member

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?

Copy link
Member Author

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?

@wojtek-t
Copy link
Member

wojtek-t commented Dec 2, 2015

LGTM - (just 2 very minor comment)
Feel free to self-apply lgtm label then.

@@ -0,0 +1,30 @@
#!/bin/bash
Copy link
Member Author

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

@lavalamp
Copy link
Member Author

lavalamp commented Dec 2, 2015

I have a rebase error I need to fix...

@lavalamp
Copy link
Member Author

lavalamp commented Dec 2, 2015

OK hopefully fixed for real now.

@k8s-bot
Copy link

k8s-bot commented Dec 2, 2015

GCE e2e test build/test passed for commit 56cae7c.

@lavalamp
Copy link
Member Author

lavalamp commented Dec 2, 2015

Applying @wojtek-t's LGTM

@lavalamp lavalamp added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 2, 2015
@k8s-github-robot
Copy link

Travis continuous integration appears to have missed, closing and re-opening to trigger it

@k8s-github-robot
Copy link

@k8s-bot test this [submit-queue is verifying that this PR is safe to merge]

@k8s-bot
Copy link

k8s-bot commented Dec 3, 2015

GCE e2e build/test failed for commit 56cae7c.

@wojtek-t
Copy link
Member

wojtek-t commented Dec 3, 2015

LGTM

@wojtek-t
Copy link
Member

wojtek-t commented Dec 3, 2015

@k8s-bot e2e test this please

@k8s-bot
Copy link

k8s-bot commented Dec 3, 2015

GCE e2e test build/test passed for commit 56cae7c.

@k8s-github-robot
Copy link

Automatic merge from submit-queue

k8s-github-robot pushed a commit that referenced this pull request Dec 3, 2015
Auto commit by PR queue bot
@k8s-github-robot k8s-github-robot merged commit 3cbfcdc into kubernetes:master Dec 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants