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:
parent
7f53e52aee
commit
261a5cca44
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user