chiark / gitweb /
Importer: Fix duplicated urls
authorBoris Kraut <krt@nurfuerspam.de>
Sun, 22 Mar 2015 02:24:43 +0000 (03:24 +0100)
committerBoris Kraut <krt@nurfuerspam.de>
Sun, 22 Mar 2015 02:24:43 +0000 (03:24 +0100)
fdroidserver/import.py

index 9f3e42ea064f5de7372975115db2148c841d0907..fa9c02537a3d8adda95ce0dc9497e2819babd393 100644 (file)
@@ -142,11 +142,12 @@ def main():
         repotype = 'git'
         sourcecode = url
         issuetracker = url + '/issues'
+        website = ""
     elif url.startswith('https://gitlab.com/'):
         projecttype = 'gitlab'
         repo = url
         repotype = 'git'
-        sourcecode = url
+        sourcecode = url + '/tree/HEAD'
         issuetracker = url + '/issues'
     elif url.startswith('https://gitorious.org/'):
         projecttype = 'gitorious'