Repository navigation
chore: update Green Button Alliance copyright notices to 2026 - #242
Merged
Merged
Conversation
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>
4 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates every Green Button Alliance copyright notice to end at 2026, keeping each notice's original first year:
Copyright (c) 2025 Green Button AllianceCopyright (c) 2025-2026 ...Copyright 2025 Green Button AllianceCopyright 2025-2026 ...Copyright (c) 2018-2021/2025/2020 ...Copyright (c) 2018-2026 ...© 2024 Green Button Alliance(TP templates)© 2024-2026 ......-2026727 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.yearkeeps 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 +/- countsgit diff --word-diff=porcelain: every changed token is a year or year rangeGreen Button Alliancenotice in the tree ends before 2026🤖 Generated with Claude Code