mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-19 19:40:17 +02:00
Merge branch 'import' into 'master'
Importer: Fix duplicated urls Importer uses provided URL for the "website" as default. If "sourcecode" is set to the same, this causes a lint error. For Github the website is now empty while Gitlab's sourcecode is no longer the bas project url. See merge request !46
This commit is contained in:
commit
71d8888308
@ -142,11 +142,12 @@ def main():
|
|||||||
repotype = 'git'
|
repotype = 'git'
|
||||||
sourcecode = url
|
sourcecode = url
|
||||||
issuetracker = url + '/issues'
|
issuetracker = url + '/issues'
|
||||||
|
website = ""
|
||||||
elif url.startswith('https://gitlab.com/'):
|
elif url.startswith('https://gitlab.com/'):
|
||||||
projecttype = 'gitlab'
|
projecttype = 'gitlab'
|
||||||
repo = url
|
repo = url
|
||||||
repotype = 'git'
|
repotype = 'git'
|
||||||
sourcecode = url
|
sourcecode = url + '/tree/HEAD'
|
||||||
issuetracker = url + '/issues'
|
issuetracker = url + '/issues'
|
||||||
elif url.startswith('https://gitorious.org/'):
|
elif url.startswith('https://gitorious.org/'):
|
||||||
projecttype = 'gitorious'
|
projecttype = 'gitorious'
|
||||||
|
Loading…
Reference in New Issue
Block a user