Repository navigation
[Update] use the short SPDX form for the licence in source headers; fixes #103 - #104
Merged
Merged
Conversation
…ixes #103 - Replace the Apache-2.0 notice in the header of all 145 .cs files with SPDX-FileCopyrightText: 2017-2026 Starion Group S.A. and SPDX-License-Identifier: Apache-2.0, inside the existing <copyright> block. Only header comments change; BOMs are kept. - Correct three headers that named another file. - Update the ReSharper file-header template (it also said 2017-2025). - Use 2017-2026 in NOTICE, as in the headers and Directory.Build.props. - Describe the short form in the CLAUDE.md conventions. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
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.



Prerequisites
Description
Fixes #103.
The 17-line Apache-2.0 notice at the top of every C# source file is replaced by the short SPDX form, inside the existing
<copyright>block:The licence itself does not change: the full text stays in
LICENSE, and the packages keepPackageLicenseExpressionApache-2.0.Changes
.csfiles: only the header comment changed (every changed line is a//comment, within the old 19-line header); BOMs are kept. Headers with an extra space of indentation are normalized.EmbeddedValueTestFixture.cs(wasAttributeValueXHTMLTestFixture.cs),ReqIfPropertyAttributeTestFixture.cs(wasPropertyAttributeTestFixture.cs) andAlternativeID.cs(wasAlternativeId.cs).ReqIFSharp.sln.DotSettings: the ReSharper file-header template produces the short form for new files (it also said2017-2025).NOTICE:2014-2026→2017-2026, the range of the headers andDirectory.Build.props(the first commit is from 2017).CLAUDE.md: the header convention describes the short form.CHANGELOG.md: entry under[Unreleased]→ Changed.Decisions (from the open points in the issue)
<copyright file=... company=...>block is kept around the SPDX lines.REUSE.toml) or REUSE check in CI in this change; it can be a follow-up.Verification
git grep "Licensed under the Apache License"finds onlyLICENSEandNOTICE; every.csfile hasSPDX-FileCopyrightTextandSPDX-License-Identifier.dotnet build -c Release: 0 warnings;dotnet test: 620 passed.🤖 Generated with Claude Code