From 197c0cb1ac95bc2f43e4864d7d6705c1b2c94702 Mon Sep 17 00:00:00 2001 From: mprahl Date: Thu, 5 Oct 2017 10:53:09 -0400 Subject: [PATCH] Add https git URL to the SCMURLS config option in MBS to be more user-friendly Signed-off-by: mprahl --- roles/mbs/common/templates/config.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/mbs/common/templates/config.py b/roles/mbs/common/templates/config.py index 6b092410eb..414e01457a 100644 --- a/roles/mbs/common/templates/config.py +++ b/roles/mbs/common/templates/config.py @@ -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 %}