Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorLeitwolf112026-10-31 13:42:35 +0300
committerLeitwolf112026-10-31 13:42:35 +0300
commit31486e3217b8424809bcf129c0ef24ef5639e919 (patch)
treecb5cc5c44deea922b1f0e717e2b4107a5a41c9a3 /tools
parentafe91797e9d50cd4712d3694a2e5fedfc0b966b1 (diff)
downloadcatch3-31486e3217b8424809bcf129c0ef24ef5639e919.tar.gz
Move to the Progmasoft Linking Exception, Version 2.0
Version 1.1 left programs built with Progmasoft tools under MPL-2.0 duties for the code the tools place in them, and left other cases unclear. Version 2.0 adds a generated code permission, covers runtime and standard libraries, compiler transformations, interfaces and examples, and settles how a file is identified and how to tell recipients about source. Every project SPDX expression moves to AdditionRef-Progmasoft-Exception-2.0. The older texts stay, because released versions name them.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/scripts/checkLicense.py2
-rwxr-xr-xtools/scripts/generateAmalgamatedFiles.py4
-rwxr-xr-xtools/scripts/updateThirdParty.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/tools/scripts/checkLicense.py b/tools/scripts/checkLicense.py
index 9e1e24ae..8b70b390 100755
--- a/tools/scripts/checkLicense.py
+++ b/tools/scripts/checkLicense.py
@@ -18,7 +18,7 @@ correct_licence = """\
progmasoft_licence = """\
// Copyright (c) 2026 Progmasoft.
-// SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-1.1
+// SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-2.0
"""
upstream_files = upstreamFiles()
diff --git a/tools/scripts/generateAmalgamatedFiles.py b/tools/scripts/generateAmalgamatedFiles.py
index de47e11d..b3151506 100755
--- a/tools/scripts/generateAmalgamatedFiles.py
+++ b/tools/scripts/generateAmalgamatedFiles.py
@@ -49,7 +49,7 @@ file_header = '''\
//
// The parts that come from src/Progmasoft, the Catch3 runner, keep
// their own copyright and license lines (MPL-2.0 WITH
-// AdditionRef-Progmasoft-Exception-1.1). The runner needs C++17.
+// AdditionRef-Progmasoft-Exception-2.0). The runner needs C++17.
// ----------------------------------------------------------
'''
@@ -63,7 +63,7 @@ third_party_header = '''\
// third_party/. You probably shouldn't edit it directly.
//
// yyjson and pugixml keep their MIT licenses, stated in their text below;
-// the rest is MPL-2.0 WITH AdditionRef-Progmasoft-Exception-1.1. Only
+// the rest is MPL-2.0 WITH AdditionRef-Progmasoft-Exception-2.0. Only
// catch_amalgamated.cpp includes this file.
// ----------------------------------------------------------
'''
diff --git a/tools/scripts/updateThirdParty.py b/tools/scripts/updateThirdParty.py
index a28ead3c..c51e642b 100755
--- a/tools/scripts/updateThirdParty.py
+++ b/tools/scripts/updateThirdParty.py
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
# Copyright (c) 2026 Progmasoft.
-# SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-1.1
+# SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-2.0
"""Keeps third_party/ equal to the pinned release archives of its libraries.