Skip to content

Workaround license scan detecting LGPL-3

Walter Lozano requested to merge wip/wlozano/license-workaround into apertis/v2024dev3

Most of the files under this project are dual license LGPL-3 or GPL-2, which makes it suitable for Apertis. After the rebase on top of Debian Bookworm, the license text was tweaked making our scanner to detect LGPL-3 as license, which is triggering a error in our pipelines.

Usually the fix for this issue is to use copyright.yml to override the license, but that approach is quite dangerous since it could lead to mask real issues in the future, specially when it is needed to override a large number of files.

Instead, remove the part of the license text which confuses our scanner and let ci-license-scan to grab the information from d/copyright. The advantage of this approach is that we won't mask real issues in the future, and if the license text is updated our pipelines will complain.

infrastructure/apertis-issues#401 (closed)

Signed-off-by: Walter Lozano walter.lozano@collabora.com

Merge request reports