chore: extend owner SPDX header to all non-.rs sources (.md/.adoc/.idr/.zig)#141
Merged
Merged
Conversation
…r/.zig) Completes the licence-enforcer-hook compliance started for .rs in #139. The hook requires BOTH SPDX-License-Identifier: MPL-2.0 AND the owner string 'Jonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>' on every staged .md/.adoc/.idr/.zig/.rs file. 45 non-.rs sources lacked the hook-matching owner line (15 also lacked the SPDX line). - Inserts the SPDX-FileCopyrightText owner line (and SPDX-License-Identifier where absent) using each file's comment syntax (HTML comment for .md, // for .adoc/.zig, -- for .idr). - Fully NON-DESTRUCTIVE: 64 insertions, 0 deletions -- no existing attribution is altered. Files already carrying a (hyperpolymath)-parenthetical copyright keep it; the hook-matching line is added alongside. All 145 hook-checked files in the repo now carry SPDX + owner. Comment-only. Co-Authored-By: Claude Opus 4.8 <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.
Completes the licence-enforcer-hook compliance started for
.rsin #139.The pre-commit hook requires both
SPDX-License-Identifier: MPL-2.0and the owner stringJonathan D.A. Jewell <j.d.a.jewell@open.ac.uk>on every staged.md/.adoc/.idr/.zig/.rssource. After #139, the.rstree was clean but 45 non-.rssources still lacked the hook-matching owner line (15 also lacked the SPDX line) — so any edit to those would be hook-blocked.Changes
SPDX-FileCopyrightTextowner line (andSPDX-License-Identifierwhere absent) into 47 files (35.md, 10.adoc, 6.idr, 2.zig— minus the 8 already compliant), using each file's comment syntax: HTML comment for.md,//for.adoc/.zig,--for.idr.(hyperpolymath)-parenthetical copyright keep it; the hook-matching line is added alongside (REUSE permits multipleSPDX-FileCopyrightText). A follow-up could normalise the two forms if desired.All 145 hook-checked files in the repo now carry SPDX + owner. Comment-only changes — no rendered/compiled output affected.
🤖 Generated with Claude Code