add license scanning template
This enables the license compliance tool on Gitlab: https://git-r3lab.uni.lu/help/user/compliance/license_compliance/index
Merge request reports
Activity
@yjarosz might know more
@laurent.heirendt, @yjarosz Looking into details I think the problem is with one of our dependencies (
django-cron
). Apparently there are some errors during the process of discovering a license (in fact the dependency has no license information on the meta/code level) and the whole pipeline crash - probably there is problem with error handling. Not sure how to fix it because I don't have access to the source of the pipeline and I can only guess based on the output.@piotr.gawron what's wrong? seems that the pipeline passed?
@yjarosz sure it passes but do you see any information gathered about licenses?
because I see either:
or
but it is not merged... last time it also did not appears immediately after merge, but after a second CI run. I think you have to merge and run CI in your default branch so it is seen on the UI
Edited by Yohan JaroszNOTE: Note: If the license compliance report doesn't have anything to compare to, no information will be displayed in the merge request area. That is the case when you add the license_scanning job in your .gitlab-ci.yml for the first time. Consecutive merge requests will have something to compare to and the license compliance report will be shown properly.
Then what is the point of this scanner? What is the purpose?
I thought it will list all licenses detected in the repo/fail if licenses don't meet some criteria. But if it's just going to compare with previous commit it's not so useful.
Edited by Piotr Gawronmentioned in commit 43505c0f