diff options
Diffstat (limited to 'config/report/license-compliance/body.tex')
-rw-r--r-- | config/report/license-compliance/body.tex | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/report/license-compliance/body.tex b/config/report/license-compliance/body.tex new file mode 100644 index 000000000..ce9eb4860 --- /dev/null +++ b/config/report/license-compliance/body.tex @@ -0,0 +1,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 %} |