mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
import: add notabug.org
This commit is contained in:
parent
3c9eeff7f3
commit
39f7429c9b
1 changed files with 9 additions and 0 deletions
|
|
@ -105,6 +105,15 @@ def get_metadata_from_url(app, url):
|
||||||
app.WebSite = url
|
app.WebSite = url
|
||||||
app.SourceCode = url + '/tree/HEAD'
|
app.SourceCode = url + '/tree/HEAD'
|
||||||
app.IssueTracker = url + '/issues'
|
app.IssueTracker = url + '/issues'
|
||||||
|
elif url.startswith('https://notabug.org/'):
|
||||||
|
projecttype = 'notabug'
|
||||||
|
if url.endswith('.git'):
|
||||||
|
url = url[:-4]
|
||||||
|
repo = url + '.git'
|
||||||
|
repotype = 'git'
|
||||||
|
app.SourceCode = url
|
||||||
|
app.IssueTracker = url + '/issues'
|
||||||
|
app.WebSite = ""
|
||||||
elif url.startswith('https://bitbucket.org/'):
|
elif url.startswith('https://bitbucket.org/'):
|
||||||
if url.endswith('/'):
|
if url.endswith('/'):
|
||||||
url = url[:-1]
|
url = url[:-1]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue