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

[DSIP-75] Support auto add license header by spotless #16643

Merged

Conversation

ruanwenjun
Copy link
Member

Purpose of the pull request

close #16642

Brief change log

  • Add licenseHeader in spotless
  • Exclude the CodeGenerateUtils

Verify this pull request

This pull request is code cleanup without any test coverage.

(or)

This pull request is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(or)

Pull Request Notice

Pull Request Notice

If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_supportAutoAddLicenseWithSpotless branch 4 times, most recently from 8701c7b to c14499d Compare September 21, 2024 08:10
Comment on lines 2 to 8
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
Copy link
Member

Choose a reason for hiding this comment

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

Can we keep the same as we are now so that we don't need to change too many files.

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we keep the same as we are now so that we don't need to change too many files.

+1

Copy link
Member Author

Choose a reason for hiding this comment

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

No, spotless only support one license file.

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_supportAutoAddLicenseWithSpotless branch from c14499d to b216c84 Compare September 22, 2024 02:36
Copy link
Member

@SbloodyS SbloodyS left a comment

Choose a reason for hiding this comment

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

+1

@ruanwenjun ruanwenjun force-pushed the dev_wenjun_supportAutoAddLicenseWithSpotless branch from b216c84 to d4f8768 Compare September 22, 2024 02:49
@ruanwenjun ruanwenjun added this to the 3.3.0 milestone Sep 22, 2024
@SbloodyS SbloodyS added the DSIP label Sep 22, 2024
Copy link

sonarcloud bot commented Sep 22, 2024

@SbloodyS SbloodyS merged commit 62d33a7 into apache:dev Sep 22, 2024
68 of 71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DSIP-75] Support auto add license header by spotless
4 participants