Repository navigation
Make every source header match the copyright template [patch] - #20
Merged
Merged
Conversation
COPYRIGHT.md now reads 2023-2026, and ktsu.Sdk rewrites .editorconfig's file_header_template from it on every build, so IDE0073 rejected every C# file still carrying the 2026-only header. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013j5p1tUWLykEtnhAziUkZa
|
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.



Requested by Matt · project thread
Before: main is red. The scheduled
dotnet.ymlrun (37387183240) fails withIDE0073: A source file contains a header that does not match the required texton the library's sources. The metadata bot regeneratedCOPYRIGHT.mdasCopyright (c) 2023-2026 ktsu-dev contributors, and ktsu.Sdk rewrites.editorconfig'sfile_header_templatefrom that file on every build. Every C# file still saidCopyright (c) 2026 ktsu-dev contributors, so none of them matched.After: all 20 C# files in the library, the tool and the test project carry
// Copyright (c) 2023-2026 ktsu-dev contributors. The committed.editorconfigtemplate matches what the build writes into it, so it no longer changes during a build. The convention line in.github/copilot-instructions.mdand the header inscripts/generate-icons.pysay the same thing, so neither one brings the old header back.How: only the first line of each file changes. I haven't built this locally because there's no .NET SDK in this environment. Dependabot PRs #19 and #16 are red for the same reason and should go green when they rebase after this merges.
🤖 Generated with Claude Code
https://claude.ai/code/session_013j5p1tUWLykEtnhAziUkZa
Generated by Claude Code