summaryrefslogtreecommitdiffstats
path: root/config/report/license-report/body.tex
blob: 7b03f7cfac4d0468d88fe5c84ff41dc04c1b486e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{% 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 %}
{{ init_dot(packages, pkgs) }}
{%- for pkg in pkgs if not packages.get(pkg).licenses in ('ignore') +%}
{{- package(packages.get(pkg)) }}
{%- endfor %}