1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-02 15:30:38 +02:00

Merge branch 'framagit' into 'master'

add framagit.org to known git repo locations

See merge request fdroid/fdroidserver!815
This commit is contained in:
Hans-Christoph Steiner 2020-10-14 09:28:47 +00:00
commit b72fb25453

View File

@ -1804,7 +1804,7 @@ def get_app_from_url(url):
app.RepoType = 'git'
app.SourceCode = url
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
if url.endswith('.git'):
url = url[:-4]