Skip to content

Add canonical NOTICE source and sync hook#67147

Closed
xchwan wants to merge 1 commit into
apache:mainfrom
xchwan:prek_sync_notice
Closed

Add canonical NOTICE source and sync hook#67147
xchwan wants to merge 1 commit into
apache:mainfrom
xchwan:prek_sync_notice

Conversation

@xchwan
Copy link
Copy Markdown
Contributor

@xchwan xchwan commented May 19, 2026

issue: #60540

Summary

Introduces a canonical NOTICE template and a manual prek hook to keep all distribution NOTICE files in sync.

The repo has 170+ NOTICE files maintained independently. When the ASF header needs updating (e.g. wording change, year), every file must be touched manually with no automation to ensure consistency.

Annual year updates are handled by a separate update-notice-year hook.


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)
    Claude Code Sonnet 4.6

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

Signed-off-by: Xch1 <qchwan@gmail.com>
@boring-cyborg boring-cyborg Bot added area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch labels May 19, 2026
@potiuk
Copy link
Copy Markdown
Member

potiuk commented May 19, 2026

the notice file never changes - it can diverge. There is no point in syncing those, dfferent story with licence headers that are added to files and they are modified independently.

@potiuk potiuk closed this May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants