1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-18 20:50:10 +01:00

add framagit.org to known git repo locations

This commit is contained in:
Izzy 2020-10-13 17:07:37 +02:00
parent 7f53e52aee
commit 261a5cca44
No known key found for this signature in database
GPG Key ID: 5841AA5BBD64591E

View File

@ -1804,7 +1804,7 @@ def get_app_from_url(url):
app.RepoType = 'git' app.RepoType = 'git'
app.SourceCode = url app.SourceCode = url
app.IssueTracker = url + '/issues' app.IssueTracker = url + '/issues'
elif parsed.netloc == 'gitlab.com': elif parsed.netloc == 'gitlab.com' or parsed.netloc == 'framagit.org':
# git can be fussy with gitlab URLs unless they end in .git # git can be fussy with gitlab URLs unless they end in .git
if url.endswith('.git'): if url.endswith('.git'):
url = url[:-4] url = url[:-4]