From 0e517b614334b1ede7173216011fb41b6215aa4b Mon Sep 17 00:00:00 2001 From: "Antoine R. Dumont (@ardumont)" Date: Thu, 28 Jun 2018 14:34:49 +0200 Subject: [PATCH] swh.lister.gitlab: Use http_url_to_repo key to build the origin url --- swh/lister/gitlab/lister.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swh/lister/gitlab/lister.py b/swh/lister/gitlab/lister.py index 15fe00e..b4eb6e7 100644 --- a/swh/lister/gitlab/lister.py +++ b/swh/lister/gitlab/lister.py @@ -32,7 +32,7 @@ class GitlabLister(SWHIndexingHttpLister): 'name': repo['name'], 'full_name': repo['path_with_namespace'], 'html_url': repo['web_url'], - 'origin_url': repo['web_url'], + 'origin_url': repo['http_url_to_repo'], 'origin_type': 'git', 'description': repo['description'], # FIXME: How to determine the fork nature?