1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/dbscripts/templates/authors.conf.j2
Jelle van der Waa ca0457e271
dbscripts: tasks: add a temporary authors mapping task
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
2023-05-19 00:33:10 +02:00

14 lines
435 B
Django/Jinja

#jinja2: lstrip_blocks: True
{% set ns = namespace(packager=false) %}
{% for user in arch_users | sort %}
{% set ns.packager = false %}
{% for group in packager_groups | sort %}
{% if group in arch_users[user].groups %}
{% set ns.packager = true %}
{% endif %}
{% endfor %}
{% if ns.packager is sameas true %}
{{ arch_users[user].name }} <{{ arch_users[user].email }}> {{ user }}
{% endif %}
{% endfor %}