Skip to content

License: add & clean up license headers and files#1246

Merged
tuhaihe merged 2 commits intoapache:mainfrom
tuhaihe:license-markdown0715
Jul 29, 2025
Merged

License: add & clean up license headers and files#1246
tuhaihe merged 2 commits intoapache:mainfrom
tuhaihe:license-markdown0715

Conversation

@tuhaihe
Copy link
Member

@tuhaihe tuhaihe commented Jul 18, 2025

This commit performs a comprehensive license compliance cleanup to align with release requirements, which are pointed out by Incubator PMC review.

The main changes include:

  1. Add License Headers: Added the standard Apache License Version 2.0 header to numerous source files that were missing it. This covers multiple file types, including YAML, Markdown, SQL, C/C++, Python, and shell scripts. These files are originally created by the cloudberry community.
  2. Simplify LICENSE and NOTICE:
  • Restructured the root LICENSE file for better clarity.
  • Cleaned up the NOTICE file by removing redundant information which have been listed in the LICENSE.
  1. Remove the unused deployment docs from the deploy/build, which can help us manage the file licenses.
  2. Update RAT Configuration: Updated pom.xml to reflect the changes of the file license headers and attribution.

See: #1236

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


@tuhaihe tuhaihe force-pushed the license-markdown0715 branch from 3b8b571 to ca996c1 Compare July 21, 2025 05:41
@tuhaihe tuhaihe requested review from edespino and jiaqizho July 21, 2025 06:51
Copy link
Contributor

@jiaqizho jiaqizho left a comment

Choose a reason for hiding this comment

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

LGTM

@tuhaihe tuhaihe force-pushed the license-markdown0715 branch 3 times, most recently from 4032c49 to 1c5d65e Compare July 23, 2025 09:43
@tuhaihe
Copy link
Member Author

tuhaihe commented Jul 23, 2025

Will update this PR once #1256 is done.

@tuhaihe tuhaihe force-pushed the license-markdown0715 branch from 4d2448c to d8c629e Compare July 29, 2025 07:52
tuhaihe added 2 commits July 29, 2025 16:31
This commit performs a comprehensive license compliance cleanup to align
with release requirements, which are pointed out by Incubator PMC
review.

The main changes include:

1. Add License Headers: Added the standard Apache License Version 2.0
  header to numerous source files that were missing it. This covers
  multiple file types, including YAML, Markdown, SQL, C/C++, Python,
  and shell scripts. These files are originally created by the
  cloudberry community.
2. Simplify LICENSE and NOTICE:
  - Restructured the root LICENSE file for better clarity.
  - Cleaned up the NOTICE file by removing redundant information which
    have been listed in the LICENSE.
3. Remove the unused deployment docs from the `deploy/build`, which can
  help us manage the file licenses.
4. Update RAT Configuration: Updated `pom.xml` to reflect the changes of
   the file license headers and attribution.

See: apache#1236
@tuhaihe tuhaihe force-pushed the license-markdown0715 branch from f2c0520 to 2de4724 Compare July 29, 2025 08:31
@tuhaihe tuhaihe merged commit fed0458 into apache:main Jul 29, 2025
26 checks passed
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.

3 participants