The file header should be updated 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 */
Of course, the comment delimiters must be adjusted accordingly depending on the file type.
See https://reuse.software/faq/#years-copyright
- There should be a folder named LICENSES in the top-level directory, containing the files AGPL-3.0-only.txt and LicenseRef-BOS-TopLogic-1.0.txt.
- Implementation/customization of the license verification process in the build.
- Update the licenses in the pom.xml files.
Code Migration
- In all files in tl-engine, search for the regular expression {{{
^(\s*)\*\s*Copyright \(c\) (\d+)(?:\s*-\s*\d+)? Business Operation Systems(?: GmbH)?\. All Rights Reserved(\.)?.*$ }}} and replace it 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), search for matches with the regular expression {{{
(?s)<--\s*Copyright \(c\) (\d+)(?:\s*-\s*\d+)? Business Operation Systems(?: GmbH)?\. All Rights Reserved(\.)?.*--> }}} 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
- The copyright check during the build continues to run.
- The 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.