Skip to content
Snippets Groups Projects
Commit a51aa6de authored by Ariel D'Alessandro's avatar Ariel D'Alessandro
Browse files

ci-license-scan: Manually check whitelisted files

Files whitelisted in debian/apertis/copyright.whitelist are used to
instruct the scanner process not to raise an error which allows the
pipeline to succeed and merge the change. However, as a side effect, the
entries in debian/apertis/copyright with offending licenses are being
removed, dropping important information.

BOM generator for Apertis binary packages needs the whole information.
scan-copyright scanner must be called without a whitelist, so the
pipeline keeps license information for all the present files in the
source package.

This MR adapts ci-license-scan script to generate license information
for all the files, without failing on whitelisted offending ones.

Link: https://phabricator.apertis.org/T7878



Signed-off-by: default avatarAriel D'Alessandro <ariel.dalessandro@collabora.com>
parent fd3df13c
No related branches found
No related tags found
2 merge requests!226T7878: ci-license-scan: Manually check whitelisted files,!93WIP: documentation-builder: Rebase on Apertis instead of Debian Buster
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment