summaryrefslogtreecommitdiffstats
path: root/config/report/license-compliance/body.tex
blob: ce9eb486013c6c7277070f3debae32ebfe4a4175 (plain)
1
2
3
4
5
6
7
8
9
10
11
{% from "package.tex" import package %}
{{ raise("Invalid image name '" + target + "'!") if not target in images }}
{{ raise("Image '" + target + "' has no packages!") if not images.get(target).pkgs }}
{% if target %}
{% set pkgs = images.get(target).pkgs|sort %}
{% else %}
{% set pkgs = packages.keys()|sort %}
{% endif %}
{%- for pkg in pkgs if not packages.get(pkg).licenses in ('ignore', 'proprietary') +%}
{{- package(packages.get(pkg)) }}
{%- endfor %}