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

Remove unnecessary copyright remarks in our code #12613

Merged
merged 3 commits into from
Jan 24, 2017

Conversation

soltysh
Copy link
Contributor

@soltysh soltysh commented Jan 23, 2017

@ncdc one of post-rebase task, ptal

@ncdc ncdc mentioned this pull request Jan 23, 2017
19 tasks
@@ -230,7 +230,7 @@ func NewCmdCompletion(fullName string, f *clientcmd.Factory, out io.Writer) *cob
cmdHelpName = "openshift"
}

cmd := kcmd.NewCmdCompletion(f, out)
cmd := kcmd.NewCmdCompletion(f, out, "\n")
Copy link
Contributor

Choose a reason for hiding this comment

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

Why \n and not just the empty string?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because empty triggers to use a default boilerplate.

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh, that's annoying

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How else would you think of doing it upstream?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think what you did upstream is good and the right way to do it. For aesthetics, I would prefer to avoid a newline but I guess it's not easily doable.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Initially I went with a space, but that looked bad, so I fall back to newline, which looks much better in the generated file.

@soltysh
Copy link
Contributor Author

soltysh commented Jan 23, 2017

@ncdc any other concerns?

@ncdc
Copy link
Contributor

ncdc commented Jan 23, 2017

LGTM

@soltysh
Copy link
Contributor Author

soltysh commented Jan 23, 2017

[merge]

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 6d7beab

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test FAILURE (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13185/) (Base Commit: 6822a9b)

@soltysh
Copy link
Contributor Author

soltysh commented Jan 23, 2017

Flake #10773

[merge]

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 6d7beab

@openshift-bot
Copy link
Contributor

openshift-bot commented Jan 24, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/13213/) (Base Commit: b0f2c58) (Image: devenv-rhel7_5757)

@openshift-bot openshift-bot merged commit c971421 into openshift:master Jan 24, 2017
@soltysh soltysh deleted the copyright_removal branch January 24, 2017 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants