Skip to content

chore: add ASF license headers to remaining config files - #4221

Merged
chaokunyang merged 1 commit into
apache:mainfrom
pjfanning:chore/asf-headers-config
Nov 10, 2026
Merged

chaokunyang merged 1 commit into
apache:mainfrom
pjfanning:chore/asf-headers-config

Conversation

@pjfanning

Copy link
Copy Markdown
Member

What does this PR do?

Closes #4124.

Four of the seven files listed in the issue (.yamllint, .prettierignore, javascript/.prettierignore, javascript/.npmrc) already got headers in #4216. This PR covers the rest:

  • Adds the standard ASF header to .github/CODEOWNERS and both mockito-extensions/org.mockito.plugins.MockMaker files.
  • Maps all seven filenames to SCRIPT_STYLE in licenserc.toml, so hawkeye checks them instead of skipping them as unknown files.

Verification

  • Mockito ignores # lines in plugin files. ExampleStaticGeneratedSerializerTest in fory-latest-jdk-tests uses Mockito.mockStatic, which needs the inline mock maker, and it passes locally on JDK 21 (23/23). No fory-core test uses Mockito.
  • I couldn't run hawkeye locally. The CI license check covers it.

🤖 Generated with Claude Code

Add the standard ASF header to .github/CODEOWNERS and the two Mockito
MockMaker plugin files, and map the seven files listed in apache#4124 to
SCRIPT_STYLE in licenserc.toml so hawkeye checks them instead of
skipping them as unknown files.

Closes apache#4124

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@chaokunyang chaokunyang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@chaokunyang
chaokunyang merged commit 78ad16d into apache:main Nov 10, 2026
34 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.

[Build] Add ASF license headers to config files that allow comments

2 participants