From e88c8810394be51fd7c3d09ec8a021072b195aa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kadl=C4=8D=C3=ADk?= Date: Mon, 13 Mar 2017 15:55:23 +0100 Subject: [PATCH 1/2] Cast branch to string or otherwise it fails --- module_build_service/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_build_service/utils.py b/module_build_service/utils.py index 37232309..02f28115 100644 --- a/module_build_service/utils.py +++ b/module_build_service/utils.py @@ -364,7 +364,7 @@ def _fetch_mmd(url, branch = None, allow_local_url = False): 'does not match the branch "{1}"'.format( mmd.stream, scm.branch)) else: - mmd.stream = scm.branch + mmd.stream = str(scm.branch) # If the version is in the modulemd, throw an exception since the version # is generated by pdc-updater From c49876440e05743b9806c814084af85eda1de592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kadl=C4=8D=C3=ADk?= Date: Mon, 13 Mar 2017 15:56:05 +0100 Subject: [PATCH 2/2] Frontend now expects even branch --- contrib/submit-build.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/submit-build.json b/contrib/submit-build.json index c5a42739..ad494680 100644 --- a/contrib/submit-build.json +++ b/contrib/submit-build.json @@ -1,3 +1,4 @@ { - "scmurl": "git://pkgs.stg.fedoraproject.org/modules/testmodule.git?#789dc7b" + "scmurl": "git://pkgs.stg.fedoraproject.org/modules/testmodule.git?#789dc7b", + "branch": "master" }