From 10ea3ca071df7727c5edf59e3e3a01e708c96d31 Mon Sep 17 00:00:00 2001 From: Bruno Postle Date: Tue, 19 May 2026 21:07:23 +0100 Subject: [PATCH] Fix license headers: correct copyright owner and add SPDX identifiers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit JS files had wrong copyright owner (The Forgejo Authors → Bruno Postle). Python files lacked SPDX-License-Identifier: LGPL-3.0-or-later. Co-Authored-By: Claude Sonnet 4.6 --- forgejo/custom/public/assets/ifcurl.js | 2 +- forgejo/custom/public/assets/viewer-url.js | 2 +- forgejo/custom/public/assets/viewer-util.js | 2 +- forgejo/custom/public/assets/viewer.js | 2 +- forgejo/tests/viewer-url.test.js | 2 +- forgejo/tests/viewer-util.test.js | 2 +- ifcurl/__init__.py | 1 + ifcurl/__main__.py | 1 + ifcurl/auth.py | 1 + ifcurl/bcf.py | 1 + ifcurl/bcf_api.py | 1 + ifcurl/diff.py | 1 + ifcurl/documents_api.py | 1 + ifcurl/git.py | 1 + ifcurl/render.py | 1 + ifcurl/render_service.py | 1 + ifcurl/sandbox.py | 1 + ifcurl/service.py | 1 + ifcurl/url.py | 1 + 19 files changed, 19 insertions(+), 6 deletions(-) diff --git a/forgejo/custom/public/assets/ifcurl.js b/forgejo/custom/public/assets/ifcurl.js index 6383721..e772dcb 100644 --- a/forgejo/custom/public/assets/ifcurl.js +++ b/forgejo/custom/public/assets/ifcurl.js @@ -1,4 +1,4 @@ -// Copyright 2026 The Forgejo Authors. All rights reserved. +// Copyright 2026 Bruno Postle // SPDX-License-Identifier: MIT // // ifcurl — inject "View in 3D" button on .ifc file view and history pages. diff --git a/forgejo/custom/public/assets/viewer-url.js b/forgejo/custom/public/assets/viewer-url.js index 75a3bb2..95b7424 100644 --- a/forgejo/custom/public/assets/viewer-url.js +++ b/forgejo/custom/public/assets/viewer-url.js @@ -1,4 +1,4 @@ -// Copyright 2026 The Forgejo Authors. All rights reserved. +// Copyright 2026 Bruno Postle // SPDX-License-Identifier: MIT // // Pure ifc:// URL logic shared between viewer.html and tests. diff --git a/forgejo/custom/public/assets/viewer-util.js b/forgejo/custom/public/assets/viewer-util.js index c96aa53..e5d6fc7 100644 --- a/forgejo/custom/public/assets/viewer-util.js +++ b/forgejo/custom/public/assets/viewer-util.js @@ -1,4 +1,4 @@ -// Copyright 2026 The Forgejo Authors. All rights reserved. +// Copyright 2026 Bruno Postle // SPDX-License-Identifier: MIT // // Pure utility functions shared between viewer.js, ifcurl.js, and tests. diff --git a/forgejo/custom/public/assets/viewer.js b/forgejo/custom/public/assets/viewer.js index 56f1a99..61451bb 100644 --- a/forgejo/custom/public/assets/viewer.js +++ b/forgejo/custom/public/assets/viewer.js @@ -1,4 +1,4 @@ -// Copyright 2026 The Forgejo Authors. All rights reserved. +// Copyright 2026 Bruno Postle // SPDX-License-Identifier: MIT import { THREE, OBC, OBCF, JSZip } from "/assets/viewer-deps.js"; import { parseIfcUrl, toRawUrl, buildIfcUrl as _buildIfcUrl } from "./viewer-url.js"; diff --git a/forgejo/tests/viewer-url.test.js b/forgejo/tests/viewer-url.test.js index 6045bf0..9c214c5 100644 --- a/forgejo/tests/viewer-url.test.js +++ b/forgejo/tests/viewer-url.test.js @@ -1,4 +1,4 @@ -// Copyright 2026 The Forgejo Authors. All rights reserved. +// Copyright 2026 Bruno Postle // SPDX-License-Identifier: MIT import { test, describe } from "node:test"; diff --git a/forgejo/tests/viewer-util.test.js b/forgejo/tests/viewer-util.test.js index 91750bd..42e4446 100644 --- a/forgejo/tests/viewer-util.test.js +++ b/forgejo/tests/viewer-util.test.js @@ -1,4 +1,4 @@ -// Copyright 2026 The Forgejo Authors. All rights reserved. +// Copyright 2026 Bruno Postle // SPDX-License-Identifier: MIT import { test, describe } from "node:test"; diff --git a/ifcurl/__init__.py b/ifcurl/__init__.py index b96f4ce..2fdebf3 100644 --- a/ifcurl/__init__.py +++ b/ifcurl/__init__.py @@ -1,5 +1,6 @@ # IFC URL — resolve and render ifc:// URLs # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. # diff --git a/ifcurl/__main__.py b/ifcurl/__main__.py index b8fb974..4134a52 100644 --- a/ifcurl/__main__.py +++ b/ifcurl/__main__.py @@ -1,5 +1,6 @@ # IFC URL — resolve and render ifc:// URLs # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. # diff --git a/ifcurl/auth.py b/ifcurl/auth.py index c0f2f02..90cdaba 100644 --- a/ifcurl/auth.py +++ b/ifcurl/auth.py @@ -1,5 +1,6 @@ # IFC URL — resolve and render ifc:// URLs # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. # diff --git a/ifcurl/bcf.py b/ifcurl/bcf.py index b8862fa..3d965d3 100644 --- a/ifcurl/bcf.py +++ b/ifcurl/bcf.py @@ -1,5 +1,6 @@ # IFC URL — resolve and render ifc:// URLs # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. # diff --git a/ifcurl/bcf_api.py b/ifcurl/bcf_api.py index f755453..5e70c36 100644 --- a/ifcurl/bcf_api.py +++ b/ifcurl/bcf_api.py @@ -1,5 +1,6 @@ # IFC URL — BCF 3.0 REST API routes # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. # diff --git a/ifcurl/diff.py b/ifcurl/diff.py index 39fb8e3..1fe5795 100644 --- a/ifcurl/diff.py +++ b/ifcurl/diff.py @@ -1,5 +1,6 @@ # IFC URL — resolve and render ifc:// URLs # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. # diff --git a/ifcurl/documents_api.py b/ifcurl/documents_api.py index 2b8c4b1..829d08b 100644 --- a/ifcurl/documents_api.py +++ b/ifcurl/documents_api.py @@ -1,5 +1,6 @@ # IFC URL — OpenCDE Documents API routes # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. # diff --git a/ifcurl/git.py b/ifcurl/git.py index c916be6..8627172 100644 --- a/ifcurl/git.py +++ b/ifcurl/git.py @@ -1,5 +1,6 @@ # IFC URL — resolve and render ifc:// URLs # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. # diff --git a/ifcurl/render.py b/ifcurl/render.py index e3140cb..4664eb8 100644 --- a/ifcurl/render.py +++ b/ifcurl/render.py @@ -1,5 +1,6 @@ # IFC URL — resolve and render ifc:// URLs # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. # diff --git a/ifcurl/render_service.py b/ifcurl/render_service.py index ae8b08e..31f44fd 100644 --- a/ifcurl/render_service.py +++ b/ifcurl/render_service.py @@ -1,5 +1,6 @@ # IFC URL — resolve and render ifc:// URLs # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. # diff --git a/ifcurl/sandbox.py b/ifcurl/sandbox.py index b7a40b1..fae964c 100644 --- a/ifcurl/sandbox.py +++ b/ifcurl/sandbox.py @@ -1,5 +1,6 @@ # IFC URL — resolve and render ifc:// URLs # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. # diff --git a/ifcurl/service.py b/ifcurl/service.py index a16b786..65ff129 100644 --- a/ifcurl/service.py +++ b/ifcurl/service.py @@ -1,5 +1,6 @@ # IFC URL — resolve and render ifc:// URLs # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. # diff --git a/ifcurl/url.py b/ifcurl/url.py index 0467282..db6bc2b 100644 --- a/ifcurl/url.py +++ b/ifcurl/url.py @@ -1,5 +1,6 @@ # IFC URL — resolve and render ifc:// URLs # Copyright (C) 2026 Bruno Postle +# SPDX-License-Identifier: LGPL-3.0-or-later # # This file is part of IFC URL. #