[repo] Licence: CPAL-1.0 file headers instead of the MPL-2.0 notice

Each source file's three-line MPL-2.0 notice becomes an SPDX CPAL-1.0 header with the copyright
line; the Exhibit A notice itself is in LICENSE (CPAL 3.5). Shell scripts' SPDX ids follow.
Comments only: no code changes.
This commit is contained in:
2026-11-23 00:19:33 +01:00
parent cd140117c7
commit 5fcae1d152
34 changed files with 63 additions and 92 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
// SPDX-License-Identifier: CPAL-1.0
// Copyright (c) 2026 Marek Novák. Exhibit A notice: LICENSE at the repository root.
//! The enrollment code (mandatory, tests first): it round-trips, typos are caught before anything
//! is sent, and it is single use: a second redeem is refused, as are expired and unknown codes.