-
Notifications
You must be signed in to change notification settings - Fork 236
Update headers for files copied from non ASF projects and update LICENSE #1562
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
Conversation
@justinmclean Can you please take a look, regarding your comment on Incubator general mailing list ? Thanks ! |
I will update spotless configuration to avoid to "force" ASF header (that's the reason why the header has been changed). |
@@ -37,7 +37,7 @@ if (!project.extra.has("duplicated-project-sources")) { | |||
spotless { | |||
kotlinGradle { | |||
ktfmt().googleStyle() | |||
licenseHeaderFile(rootProject.file("codestyle/copyright-header-java.txt"), "$") | |||
// licenseHeaderFile(rootProject.file("codestyle/copyright-header-java.txt"), "$") |
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.
Accidental?
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.
JB explained to me that this is to prevent spotlessApply from changing the headers back to ASF from dremio. We'll need to figure out how to get the plugin to allow for multiple headers.
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.
It's intentional: with that, spotless:apply
"overwrites" all header with ASF header, which is wrong as we have to keep the original header in case of code copy.
This PR removes the ASF header in the files copied from non ASF projects (but ASLv2 licensed).
It also updates
LICENSE
with files not actually copied (but created in Apache Polaris).