Skip to content

RAT: write the ORCA data and Makefile entries as excludes - #2225

Merged
tuhaihe merged 1 commit into
apache:REL_2_STABLEfrom
tuhaihe:rat-gporca-excludes-rel2
Nov 2, 2026
Merged

tuhaihe merged 1 commit into
apache:REL_2_STABLEfrom
tuhaihe:rat-gporca-excludes-rel2

Conversation

@tuhaihe

@tuhaihe tuhaihe commented Nov 2, 2026

Copy link
Copy Markdown
Member

Jean-Baptiste Onofre noted in the 2.2.0-incubating-rc3 IPMC vote that the RAT configuration in pom.xml has two <include> elements, which is confusing. They sit inside <excludes>, and Maven ignores the element names of list items, so they have always acted as excludes: ORCA's DXL test data under src/backend/gporca/data and its Makefiles carry no license header and are left out of the audit.

Write them as <exclude> so the configuration says what it does. The RAT result is unchanged.

Assisted-by: Claude Code

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


Jean-Baptiste Onofre noted in the 2.2.0-incubating-rc3 IPMC vote that
the RAT configuration in pom.xml has two <include> elements, which is
confusing.  They sit inside <excludes>, and Maven ignores the element
names of list items, so they have always acted as excludes: ORCA's DXL
test data under src/backend/gporca/data and its Makefiles carry no
license header and are left out of the audit.

Write them as <exclude> so the configuration says what it does.  The
RAT result is unchanged.

Assisted-by: Claude Code
@tuhaihe

tuhaihe commented Nov 2, 2026

Copy link
Copy Markdown
Member Author

@tuhaihe

tuhaihe commented Nov 2, 2026

Copy link
Copy Markdown
Member Author

For main: #2226

@tuhaihe
tuhaihe merged commit 68c98de into apache:REL_2_STABLE Nov 2, 2026
116 checks passed
@tuhaihe
tuhaihe deleted the rat-gporca-excludes-rel2 branch November 2, 2026 22:45
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