Skip to content

chore: update Green Button Alliance copyright notices to 2026 - #242

Merged
dfcoffin merged 1 commit into
mainfrom
chore/copyright-2026
Nov 14, 2026
Merged

dfcoffin merged 1 commit into
mainfrom
chore/copyright-2026

Conversation

@dfcoffin

Copy link
Copy Markdown
Contributor

Summary

Updates every Green Button Alliance copyright notice to end at 2026, keeping each notice's original first year:

Before After Count
Copyright (c) 2025 Green Button Alliance Copyright (c) 2025-2026 ... 475
Copyright 2025 Green Button Alliance Copyright 2025-2026 ... 89
Copyright (c) 2018-2021/2025/2020 ... Copyright (c) 2018-2026 ... 154
© 2024 Green Button Alliance (TP templates) © 2024-2026 ... 5
other one-offs (2018, 2018-2019, 2018-2021) ...-2026 4

727 notices in 726 files. This matches what the maintainer's IntelliJ "Green Button Alliance, Inc." copyright profile generates: $originalComment.match("Copyright \(c\) (\d+)", 1, "-", "$today.year")$today.year keeps the first year and appends the current year.

Not changed: notices of other owners (NAESB, "Portions (c) EnergyOS.org", EnerNOC, the Apache [yyyy] template) and the DC footer, which already computes the year at runtime.

Verification

  • git diff --numstat: 727 lines added and 727 deleted, and every file has equal +/- counts
  • git diff --word-diff=porcelain: every changed token is a year or year range
  • No Green Button Alliance notice in the tree ends before 2026

🤖 Generated with Claude Code

Every "Copyright [(c)] YYYY[-YYYY] Green Button Alliance" and "© ..."
notice now ends at 2026 and keeps its original first year (2025 -> 2025-2026,
2018-2021 -> 2018-2026), which is what the IntelliJ "Green Button Alliance,
Inc." copyright profile produces. 727 notices in 726 files; only the year
text changes. Notices of other owners (NAESB, EnergyOS, EnerNOC, the Apache
license template) are untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dfcoffin
dfcoffin merged commit 8a1dccb into main Nov 14, 2026
10 of 11 checks passed
@dfcoffin
dfcoffin deleted the chore/copyright-2026 branch November 14, 2026 18:00
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.

1 participant