Skip to content

Remove the gRPC Authors copyright header from generated swift files #1612

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

Merged

Conversation

kriswuollett
Copy link
Contributor

Motivation:

The common practice of code generators is not to apply their own copyright and license headers to generated files. Instead the output is owned by the owner of the input files and the executor of the code generator.

Fixes #1611.

Modifications:

Removed license header from file generator, test case files, and checks for generated file license headers in the CI sanity license-check.

Results:

End users of protoc-gen-grpc-swift will not have a Copyright by gRPC Authors added to the generated swift files from their own proto files.

Related:

The copyright headers could be added back via #1610.

Motivation:

The common practice of code generators is not to apply their own copyright and
license headers to generated files. Instead the output is owned by the owner
of the input files and the executor of the code generator.

Fixes grpc#1611.

Modifications:

Removed license header from file generator, test case files, and checks for
generated file license headers in the CI sanity license-check.

Results:

End users of protoc-gen-grpc-swift will not have a Copyright by gRPC Authors
added to the generated swift files from their own proto files.

Related:

The copyright headers could be added back via grpc#1610.
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jun 3, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: kriswuollett / name: Kristopher Wuollett (c74aadb, 1fcfd8e)

@kriswuollett
Copy link
Contributor Author

CLA Not Signed

In process of setting up organization account for CLA.

@glbrntt
Copy link
Collaborator

glbrntt commented Jun 5, 2023

Thanks @kriswuollett -- looks like this was added way back and no one has questioned it since! Please tag me when you get your CLA sorted and I'll take a look.

@kriswuollett
Copy link
Contributor Author

@glbrntt -- Thanks! I'm covered by the CLA now.

Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

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

Thank @kriswuollett -- I don't suppose you're inclined to tackle #1610 as well?

@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Jun 7, 2023
@kriswuollett
Copy link
Contributor Author

Thank @kriswuollett -- I don't suppose you're inclined to tackle #1610 as well?

I may take a look at it this week. It may be just a matter of copying the logic that already exists in the Swift Protobuf project, more or less.

@glbrntt glbrntt merged commit 8a70336 into grpc:main Jun 7, 2023
WendellXY pushed a commit to sundayfun/grpc-swift that referenced this pull request Aug 24, 2023
…rpc#1612)

Motivation:

The common practice of code generators is not to apply their own copyright and
license headers to generated files. Instead the output is owned by the owner
of the input files and the executor of the code generator.

Fixes grpc#1611.

Modifications:

Removed license header from file generator, test case files, and checks for
generated file license headers in the CI sanity license-check.

Results:

End users of protoc-gen-grpc-swift will not have a Copyright by gRPC Authors
added to the generated swift files from their own proto files.

Related:

The copyright headers could be added back via grpc#1610.
pinlin168 pushed a commit to sundayfun/grpc-swift that referenced this pull request Aug 24, 2023
…rpc#1612)

Motivation:

The common practice of code generators is not to apply their own copyright and
license headers to generated files. Instead the output is owned by the owner
of the input files and the executor of the code generator.

Fixes grpc#1611.

Modifications:

Removed license header from file generator, test case files, and checks for
generated file license headers in the CI sanity license-check.

Results:

End users of protoc-gen-grpc-swift will not have a Copyright by gRPC Authors
added to the generated swift files from their own proto files.

Related:

The copyright headers could be added back via grpc#1610.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Output shouldn't have gRPC Authors copyright header
2 participants