Skip to content
Snippets Groups Projects
Commit 1ecd9f75 authored by Walter Lozano's avatar Walter Lozano
Browse files

Add additional tweaks to clarify FOSSology status


To avoid misunderstandings about the status of FOSSology in Apertis add
additional tweaks, including a warning.

Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
parent aa25c47b
No related branches found
No related tags found
1 merge request!502Add additional tweaks to clarify FOSSology status
Pipeline #424136 passed with warnings
......@@ -70,6 +70,13 @@ As this tool provides a web bases UI, it presents an additional advantage, as it
For all the reasons mentioned above we understand this would a good choice for improving the current Apertis workflow.
{{% notice warning %}}
Apertis currently uses scan-copyrights as default scanner. Initial integration of FOSSology is already available but not
enabled.
{{% /notice %}}
## CI Pipeline integration
In order to avoid manual tasks, the license detection needs to be integrated into the CI process.
......@@ -115,7 +122,7 @@ This is typically done with the help of [`debhelper`](https://manpages.debian.or
Apertis extended `debhelper` by including a new command `dh_setup_copyright` to perform the source file name extraction using `dwarf2sources` as described above, as well as copy in any copyright reports coming from source files that are part of external packages. Typically the binaries are stripped (using a debhelper command called `dh_strip`) prior to packaging, removing the debug symbols from the binary and reducing its size. For this reason `dh_setup_copyright` is placed before this step in the `dh` sequence. Whilst the debug symbols are kept, packaged separately in the `dbgsym` package, it's easier to perform the mapping before this is done. All the results from this command are stored in the binary package under `/usr/share/doc/<package>/`.
Following this same idea, Apertis also extends `debhelper` the command `dh_installdocs` to install the license report generated by FOSSolgy in the binary under `/usr/share/doc/<package>/copyright_report`.
Following this same idea, Apertis also extends `debhelper` the command `dh_installdocs` to install the license report generated by the scanner under `/usr/share/doc/<package>/copyright_report`.
Despite that, this solution should work for most packages. Some packages might
instead need special handing, for instance because they are not using debhelper.
......
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