swh.lister.gitlab: Use http_url_to_repo key to build the origin url

This commit is contained in:
Antoine R. Dumont (@ardumont) 2018-06-28 14:34:49 +02:00
parent 7a0e3a2379
commit 0e517b6143
No known key found for this signature in database
GPG key ID: 52E2E9840D10C3B8

View file

@ -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?