Add https git URL to the SCMURLS config option in MBS to be more user-friendly

Signed-off-by: mprahl <mprahl@redhat.com>
This commit is contained in:
mprahl 2017-10-05 10:53:09 -04:00
parent 3375f6279e
commit 197c0cb1ac

View file

@ -135,7 +135,8 @@ class ProdConfiguration(BaseConfiguration):
KOJI_REPOSITORY_URL = 'http://kojipkgs.stg.fedoraproject.org/repos'
MESSAGING_TOPIC_PREFIX = ['org.fedoraproject.stg']
PDC_URL = 'https://pdc.stg.fedoraproject.org/rest_api/v1'
SCMURLS = ["git://pkgs.stg.fedoraproject.org/modules/"]
SCMURLS = ['git://pkgs.stg.fedoraproject.org/modules/',
'https://src.stg.fedoraproject.org/modules/']
# Blocked on https://pagure.io/releng/issue/6799
KOJI_ENABLE_CONTENT_GENERATOR = False
{% else %}
@ -144,7 +145,8 @@ class ProdConfiguration(BaseConfiguration):
KOJI_REPOSITORY_URL = 'http://kojipkgs.fedoraproject.org/repos'
MESSAGING_TOPIC_PREFIX = ['org.fedoraproject.prod']
PDC_URL = 'https://pdc.fedoraproject.org/rest_api/v1'
SCMURLS = ["git://pkgs.fedoraproject.org/modules/"]
SCMURLS = ['git://pkgs.fedoraproject.org/modules/',
'https://src.fedoraproject.org/modules/']
# Made possible by https://pagure.io/releng/issue/6799
KOJI_ENABLE_CONTENT_GENERATOR = True
{% endif %}