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

Retro fixing all license headers #246

Closed
wants to merge 4 commits into from
Closed

Conversation

honnix
Copy link
Member

@honnix honnix commented Sep 26, 2023

TL;DR

This PR is on top of #245 with additional fix of all file headers, except package-info.java that is not supported by spotless.

Type

  • Bug Fix
  • Feature
  • Plugin

Are all requirements met?

  • Code completed
  • Smoke tested
  • Unit tests added
  • Code documentation added
  • Any pending items have an associated Issue

Complete description

This PR also upgrades spotless and scala formatter versions.

Tracking Issue

NA

Follow-up issue

NA

Signed-off-by: Hongxin Liang <[email protected]>
@honnix honnix mentioned this pull request Sep 26, 2023
8 tasks
@@ -94,7 +94,7 @@
<picocli.version>4.7.2</picocli.version>
<protobuf.version>3.21.12</protobuf.version>
<sl4j.version>1.7.36</sl4j.version>
<spotless.version>2.21.0</spotless.version>
<spotless.version>2.39.0</spotless.version>
Copy link
Member Author

Choose a reason for hiding this comment

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

Upgrade.

@@ -418,7 +418,7 @@
<licenseHeader>
<!-- Specify either content or file, but not both -->
<content><![CDATA[/*
* Copyright $YEAR Flyte Authors
* Copyright $YEAR Flyte Authors.
Copy link
Member Author

Choose a reason for hiding this comment

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

For consistency.

@@ -1,3 +1,3 @@
version=2.5.2
version=3.7.3
Copy link
Member Author

Choose a reason for hiding this comment

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

Upgrade.

pom.xml Outdated
@@ -509,6 +509,8 @@
<endWithNewline />
</format>
</formats>

<ratchetFrom>origin/master</ratchetFrom>
Copy link
Member Author

Choose a reason for hiding this comment

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

Looks like we can not use this feature in GitHub Action. This feature is to make sure the year is checked against (or applied with) current year.

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 removed this in a later commit.

Signed-off-by: Hongxin Liang <[email protected]>
.
Signed-off-by: Hongxin Liang <[email protected]>
@honnix honnix mentioned this pull request Sep 27, 2023
8 tasks
Base automatically changed from fix-license-header to master September 28, 2023 06:58
@honnix honnix closed this Sep 28, 2023
@honnix honnix deleted the fix-license-header-retro branch September 28, 2023 07:30
@honnix honnix mentioned this pull request Sep 28, 2023
8 tasks
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.

2 participants