Skip to content

Update copyright years from git history - #396

Merged
bneradt merged 3 commits into
yahoo:masterfrom
bneradt:update-copyright-years
Aug 10, 2026
Merged

Update copyright years from git history#396
bneradt merged 3 commits into
yahoo:masterfrom
bneradt:update-copyright-years

Conversation

@bneradt

@bneradt bneradt commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Derive each tracked file's copyright year from its most recent
commit instead of applying the current calendar year only to changed
files. Traverse history once, preserve ranges, and avoid third-party
copyrights.

Normalize existing project headers so a subsequent CI check starts
clean.

Derive each tracked file's copyright year from its most recent
commit instead of applying the current calendar year only to changed
files. Traverse history once, preserve ranges, and avoid third-party
copyrights.

Normalize existing project headers so a subsequent CI check starts
clean.
Copilot AI lite review requested due to automatic review settings August 10, 2026 15:37
@bneradt bneradt self-assigned this Aug 10, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

bneradt added 2 commits August 10, 2026 10:54
Extend a single copyright year into a range when a file's latest
commit is from a later year. Keep same-year headers singular and retain
the starting year of existing ranges.

Regenerate the normalized headers so their original years are
preserved.
Provide one contributor command that formats the tree and normalizes
copyright years before opening a pull request. Point CONTRIBUTING and
the agent commit guidance at the shared workflow.
@bneradt
bneradt merged commit 10d9e80 into yahoo:master Aug 10, 2026
4 checks passed
bneradt added a commit that referenced this pull request Aug 10, 2026
Run the history-based copyright updater in the RAT job and fail when
it changes the worktree. Fetch full history so each file's most recent
commit year can be determined reliably.

Depends on #396.
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.

2 participants