The Files header is to be adapted to:
/* * SPDX-FileCopyrightText: [year] (c) Business Operation Systems GmbH <info@top-logic.com> * * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-BOS-TopLogic-1.0 */
The comment characters must of course be adapted accordingly depending on the file type.
Cf. https://reuse. software/faq/#years-copyright
- In the top-level directory there should be a folder LICENSES with the files AGPL-3.0-only.txt and LicenseRef-BOS-TopLogic-1.0.txt.
- Implementation/adjustment of the license check process in the build.
- Adjustment of the licenses in the pom.xml files.
Code migration
- In all files in tl-engine with regular expression {{.
^(\s*)\*\s*Copyright \(c\) (\d+)(?:\s*-\s*\d+)? Business Operation Systems(?: GmbH)?\. All Rights Reserved(\.)?.*$ }} search and replace with {{ $1* SPDX-FileCopyrightText: $2 (c) Business Operation Systems GmbH <info@top-logic.com>\n$1* \n$1* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-BOS-TopLogic-1.0 }}.
- In XML and HTML files (or anywhere) match with the regular expression {{.
(?s)<--\s*Copyright \(c\) (\d+)(?:\s*-\s*\d+)? Business Operation Systems(?: GmbH)?\. All Rights Reserved(\.)?.*--> }} replace with {{ <--\n\tSPDX-FileCopyrightText: $1 \(c\) Business Operation Systems GmbH <info@top-logic.com>\n\t\n\tSPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-BOS-TopLogic-1.0\n--> }}.
Test
- Copyright check in build is still running.
- Check tool from reuse.software(https://git.fsfe.org/reuse/tool) reports OK.
- In the license overview, references to GitHub are displayed for modules from tl-engine.