Skip to content

Commit 07902dc

Browse files
chore: extend owner SPDX header to all non-.rs sources (.md/.adoc/.idr/.zig) (#141)
Completes the licence-enforcer-hook compliance started for `.rs` in #139. The pre-commit 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` source. After #139, the `.rs` tree was clean but 45 non-`.rs` sources still lacked the hook-matching owner line (15 also lacked the SPDX line) — so any edit to those would be hook-blocked. ## Changes - Inserts the `SPDX-FileCopyrightText` owner line (and `SPDX-License-Identifier` where 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`. - **Fully non-destructive: 64 insertions, 0 deletions.** No existing attribution line is altered. Files that already carry a `(hyperpolymath)`-parenthetical copyright keep it; the hook-matching line is added alongside (REUSE permits multiple `SPDX-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](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 479bf2d commit 07902dc

47 files changed

Lines changed: 64 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.claude/CLAUDE.md

Lines changed: 2 additions & 0 deletions

.machine_readable/agent_instructions/README.adoc

Lines changed: 1 addition & 0 deletions

.machine_readable/svc/README.adoc

Lines changed: 2 additions & 0 deletions

CHANGELOG.md

Lines changed: 2 additions & 0 deletions

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 0 deletions

CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions

DESIGN.md

Lines changed: 1 addition & 0 deletions

EXPLAINME.adoc

Lines changed: 1 addition & 0 deletions

PROOF-NEEDS.md

Lines changed: 2 additions & 0 deletions

PROOF-PROGRAMME.md

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)