mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue