-
Notifications
You must be signed in to change notification settings - Fork 28
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
Fix license header #245
Fix license header #245
Conversation
Signed-off-by: Hongxin Liang <[email protected]>
@@ -440,40 +440,13 @@ | |||
</googleJavaFormat> | |||
<removeUnusedImports /> | |||
</java> | |||
<xml> |
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 know how we came up with this <xml>
configuration but it doesn't seems to be supported by spotless at all.
We could also retrospectively updating all headers according to git commit history but that would be a massive change. Do we want to do this? #246 It is also worth noting that spotless license header thing does not support |
@@ -418,7 +418,7 @@ | |||
<licenseHeader> | |||
<!-- Specify either content or file, but not both --> | |||
<content><![CDATA[/* | |||
* Copyright 2021 Flyte Authors | |||
* Copyright $YEAR Flyte Authors |
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.
Why does this have no .
:( To fix that we will need to update all Java files.
TL;DR
Fix license header by using a year parameter
Type
Are all requirements met?
Complete description
With this, we will not be forced to use 2021 forever.
Tracking Issue
Remove the 'fixes' keyword if there will be multiple PRs to fix the linked issue
NA
Follow-up issue
NA