{%- if source_type and source_user and source_repo and source_type in ("github", "gitlab") -%} {%- if source_type == "github" -%} {%- set source_url = "https://github.com/{}/{}".format(source_user, source_repo) -%} {%- else -%} {%- set source_url = "https://gitlab.com/{}/{}".format(source_user, source_repo) -%} {%- endif -%} {{ source_user }}/{{ source_repo }} 0 0 {%- endif -%}