[{{ repo_id }}]
name={{ name }}
{{- " (" + arch + ")" if arch }}
baseurl={{ url | fix_url_https_backend }}
type=rpm-md
skip_if_unavailable=True
gpgcheck={{ config.REPO_GPGCHECK | default("1")}}
gpgkey={{ pubkey_url | fix_url_https_backend  }}
repo_gpgcheck=0
{% if cost %}
cost={{ cost }}
{% endif %}
enabled=1
enabled_metadata=1
{% if copr_dir.copr.module_hotfixes %}
module_hotfixes=1
{% endif %}

{%- if repo_priority is not none %}
priority={{ repo_priority }}
{%- endif %}
