mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
import: fix issue tracker links
This commit is contained in:
parent
712deb4396
commit
75bde83fb8
1 changed files with 3 additions and 3 deletions
|
|
@ -91,7 +91,7 @@ def get_metadata_from_url(app, url):
|
||||||
repo = url
|
repo = url
|
||||||
repotype = 'git'
|
repotype = 'git'
|
||||||
app['Source Code'] = url
|
app['Source Code'] = url
|
||||||
app['issuetracker'] = url + '/issues'
|
app['Issue Tracker'] = url + '/issues'
|
||||||
app['Web Site'] = ""
|
app['Web Site'] = ""
|
||||||
elif url.startswith('https://gitlab.com/'):
|
elif url.startswith('https://gitlab.com/'):
|
||||||
projecttype = 'gitlab'
|
projecttype = 'gitlab'
|
||||||
|
|
@ -102,13 +102,13 @@ def get_metadata_from_url(app, url):
|
||||||
repo = url + '.git'
|
repo = url + '.git'
|
||||||
repotype = 'git'
|
repotype = 'git'
|
||||||
app['Source Code'] = url + '/tree/HEAD'
|
app['Source Code'] = url + '/tree/HEAD'
|
||||||
app['issuetracker'] = url + '/issues'
|
app['Issue Tracker'] = url + '/issues'
|
||||||
elif url.startswith('https://bitbucket.org/'):
|
elif url.startswith('https://bitbucket.org/'):
|
||||||
if url.endswith('/'):
|
if url.endswith('/'):
|
||||||
url = url[:-1]
|
url = url[:-1]
|
||||||
projecttype = 'bitbucket'
|
projecttype = 'bitbucket'
|
||||||
app['Source Code'] = url + '/src'
|
app['Source Code'] = url + '/src'
|
||||||
app['issuetracker'] = url + '/issues'
|
app['Issue Tracker'] = url + '/issues'
|
||||||
# Figure out the repo type and adddress...
|
# Figure out the repo type and adddress...
|
||||||
repotype, repo = getrepofrompage(app['Source Code'])
|
repotype, repo = getrepofrompage(app['Source Code'])
|
||||||
if not repotype:
|
if not repotype:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue